Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local button = script.Parent
- local player = game:GetService('Players')
- local sprinting = false
- local function sprint()
- local player = player.LocalPlayer
- if sprinting then
- sprinting = false
- button.Text='SuperJumper: off'
- script.Parent.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
- player.Character.Humanoid.JumpPower = 16
- else
- sprinting = true
- button.Text ='SuperJumper: on'
- script.Parent.BackgroundColor3 = Color3.fromRGB(25, 213, 4)
- player.Character.Humanoid.JumpPower = 250
- end
- end
- button.MouseButton1Click:Connect(sprint)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement