Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://pastebin.com/CjU1mGfx"))()
- local Window = Library.new("Speed Hack")
- local Speed = Window:AddSlider({
- Title = "Speed",
- Value = 16,
- Min = 16,
- Max = 50,
- Precision = 1
- })
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- function SetCharacterHumanoidWalkSpeed(value)
- local Humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid")
- if Humanoid then
- Humanoid.WalkSpeed = value
- end
- end
- local RunService = game:GetService("RunService")
- local UserInputService = game:GetService("UserInputService")
- local ContextActionService = game:GetService("ContextActionService")
- UserInputService.InputBegan:Connect(function(Input, GameProcessed)
- if not GameProcessed and Input.KeyCode == Enum.KeyCode =="E" and ContextActionService:DeviceType() == Enum.DeviceType.Mobile then
- SetCharacterHumanoidWalkSpeed(Speed.Value)
- end
- end)
- RunService.Heartbeat:Connect(function()
- if ContextActionService:DeviceType() == Enum.DeviceType.Mobile then
- SetCharacterHumanoidWalkSpeed(Speed.Value)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment