RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Create a running script holding shift key"
-- local script local UserInputService = game:GetService("UserInputService") local player = game:GetService("Players").LocalPlayer local running = false UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.LeftShift then running = true player.Character.Humanoid.WalkSpeed = 30 end end) UserInputService.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.LeftShift then running = false player.Character.Humanoid.WalkSpeed = 16 end end)