
5.2k Views
358 Executions
Speed Acceleration
Universal Script 📌
YFMZombiePublished 5
2 years ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
you can change your max speed and change the acceleration
Updates
Script edited: Create script
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local runService = game:GetService("RunService")
local userInputService = game:GetService("UserInputService")
local screenGui = Instance.new("ScreenGui", player.PlayerGui)
local frame = Instance.new("Frame", screenGui)
frame.Size = UDim2.new(0, 200, 0, 140)
frame.Position = UDim2.new(0.5, -100, 0.1, 0)
frame.BackgroundColor3 = Color3.new(0.2, 0.2, 0.2)
local dragBar = Instance.new("Frame", frame)
dragBar.Size = UDim2.new(1, 0, 0.2, 0)
dragBar.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
dragBar.Active = true
local speedBox = Instance.new("TextBox", frame)
speedBox.Size = UDim2.new(1, 0, 0.3, 0)
speedBox.Position = UDim2.new(0, 0, 0.2, 0)
speedBox.PlaceholderText = "Max Speed"
speedBox.Text = ""
local accelBox = Instance.new("TextBox", frame)
accelBox.Size = UDim2.new(1, 0, 0.3, 0)
accelBox.Position = UDim2.new(0, 0, 0.5, 0)
accelBox.PlaceholderText = "Acceleration"
accelBox.Text = ""
local speedometer = Instance.new("TextLabel", frame)
speedometer.Size = UDim2.new(1, 0, 0.2, 0)
speedometer.Position = UDim2.new(0, 0, 0.8, 0)
speedometer.BackgroundColor3 = Color3.new(0.1, 0.1, 0.1)
speedometer.TextColor3 = Color3.new(1, 1, 1)
speedometer.Text = "Speed: 16"
local maxSpeed = 16
local acceleration = 0
local decelerationMultiplier = 2






can someone explain how acceleration works?
@fakerthefakeman this might be a little late but basically you start off slow and slowly get faster and faster or you can make the acceleration fast and u can be like snap, its mostly for like avatars like if ur avatar is the flash or sonic u can use this script to reenact their speed