Roblox Studio Tutorial | How to make a run script!

Опубликовано: 25 Октябрь 2024
на канале: Gael RBLX
46
3

blah
Hope you enjoyed the video!
Espero que te allas disfrutado mi video!
;3
________________________________________
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
script:
repeat wait() until game.Players.LocalPlayer

m = game.Players.LocalPlayer:GetMouse()

m.KeyDown:connect(function(key)
if key == "0" then --"Shift to run" 0 == shift
print("Running")
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 23
end
end)

m.KeyUp:connect(function(key)
if key == "0" then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
end
end)