How To Make Shift To Run In Roblox Studio (First tutorial)

Опубликовано: 02 Август 2026
на канале: SxMNI
137
3

Make sure to join my Discord Server here is the link:  / discord  

The Local Script:

local UserInputService = game:GetService("UserInputService")
local Character = script.Parent
local Humanoid = Character:WaitForChild("Humanoid")
local isRunning = false

UserInputService.InputBegan:Connect(function(key)
if key.KeyCode == Enum.KeyCode.LeftShift then
if not isRunning then
isRunning = true
Humanoid.WalkSpeed = 32
else
Humanoid.WalkSpeed = 16
isRunning = false
end
end
end)

Here is the link for Gamer M8's Channel:   / @gamerm8