How to make your game have shift run in Roblox Studio | #developertutorial
Hello guys, today I thought to do something different and those who need help developing a game. hope u enjoy the video
Make sure to like share and subscribe
here's the script:
repeat wait() until the game.Players.LocalPlayer
m = game.Players.LocalPlayer:GetMouse()
m.KeyDown:connect(function(key)
if key == "0" then
print ('Sprinting')
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32 --humanoid walkspeed while sprinting
end
end)
m.KeyUp:connect(function(key)
if key == "0" then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 --normal walkspeed
end
end)
Видео How to make your game have shift run in Roblox Studio | #developertutorial канала RBXology
Make sure to like share and subscribe
here's the script:
repeat wait() until the game.Players.LocalPlayer
m = game.Players.LocalPlayer:GetMouse()
m.KeyDown:connect(function(key)
if key == "0" then
print ('Sprinting')
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32 --humanoid walkspeed while sprinting
end
end)
m.KeyUp:connect(function(key)
if key == "0" then game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16 --normal walkspeed
end
end)
Видео How to make your game have shift run in Roblox Studio | #developertutorial канала RBXology
Комментарии отсутствуют
Информация о видео
12 сентября 2020 г. 22:04:36
00:05:05
Другие видео канала