Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
gui = .()
gui.Name =
gui.Parent = player:()
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.Parent = gui
titleLabel = .()
titleLabel.Name =
titleLabel.Size = .(, , , )
titleLabel.Position = .(, , , )
titleLabel.Text =
titleLabel.TextScaled =
titleLabel.BackgroundColor3 = .(, , )
titleLabel.TextColor3 = .(, , )
titleLabel.Parent = mainFrame
speedBox = .()
speedBox.Name =
speedBox.Size = .(, -, , -)
speedBox.Position = .(, , , )
speedBox.Text =
speedBox.PlaceholderText =
speedBox.TextScaled =
speedBox.Parent = mainFrame
toggleButton = .()
toggleButton.Name =
toggleButton.Size = .(, -, , -)
toggleButton.Position = .(, , , )
toggleButton.Text =
toggleButton.TextScaled =
toggleButton.Parent = mainFrame
exitButton = .()
exitButton.Name =
exitButton.Size = .(, , , )
exitButton.Position = .(, -, , )
exitButton.Text =
exitButton.TextScaled =
exitButton.BackgroundColor3 = .(, , )
exitButton.Parent = mainFrame
character = player.Character player.CharacterAdded:()
humanoid = character:()
speed =
acceleration =
maxSpeed =
deceleration =
isRunning =
isEnabled =
dragging =
dragStart, startPos
()
isRunning =
isRunning humanoid.WalkSpeed < maxSpeed
humanoid.WalkSpeed = .(humanoid.WalkSpeed * acceleration, maxSpeed)
()
()
isRunning =
humanoid.WalkSpeed > speed
humanoid.WalkSpeed = humanoid.WalkSpeed * deceleration
()
humanoid.WalkSpeed = speed
()
newMaxSpeed = (speedBox.Text)
newMaxSpeed newMaxSpeed >
maxSpeed = newMaxSpeed
toggleButton.MouseButton1Click:(()
isEnabled = isEnabled
toggleButton.Text = isEnabled
isEnabled
()
)
speedBox.FocusLost:(()
()
)
mainFrame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.Target == titleLabel
dragging =
dragStart = input.Position
startPos = mainFrame.Position
)
mainFrame.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement dragging
delta = input.Position - dragStart
mainFrame.Position = .(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
)
mainFrame.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
dragging =
)
exitButton.MouseButton1Click:(()
gui:()
)
humanoid.Running:((speed)
speed > isEnabled
()
()
)
humanoid.Died:(()
()
)