Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --localscript
- local player = game.Players.LocalPlayer
- local module = require(script.Parent.MainModule)
- local walkspeed = 30
- script.Parent.TextButton.MouseButton1Click:Connect(function()
- module.WalkSpeedUp(player, walkspeed)
- end)
- --module
- local module = {}
- function module.WalkSpeedUp(player, walkspeed)
- player.Character.Humanoid.WalkSpeed = walkspeed
- end
- return module
- --iDevDesire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement