Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local originalSpeed = humanoid.WalkSpeed
- local function toggleFakeMacro()
- if humanoid.WalkSpeed == originalSpeed then
- humanoid.WalkSpeed = 150
- else
- humanoid.WalkSpeed = originalSpeed
- end
- end
- local function onKeyPress(input)
- if input.KeyCode == Enum.KeyCode.Q then
- toggleFakeMacro()
- end
- end
- game:GetService("UserInputService").InputBegan:Connect(onKeyPress)
- game:GetService("UserInputService").InputEnded:Connect(onKeyPress)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement