How to make Running Script | ROBLOX Studio

5 Просмотры
Издатель
Here you can see how to make running script in ROBLOX Studio for your game in ROBLOX

Script: game:GetService("UserInputService").InputBegan:connect(function(input,gameprocesed)
if == then
for i = 1,16 do
wait()
= +
:WaitForChild("Humanoid").WalkSpeed = :WaitForChild("Humanoid").WalkSpeed + 1
end
end
end)

game:GetService("UserInputService").InputEnded:connect(function(input,gameprocesed)
if == then
for i = 1,16 do
wait()
= -
:WaitForChild("Humanoid").WalkSpeed = :WaitForChild("Humanoid").WalkSpeed - 1
end
end
end)

:WaitForChild("Humanoid").Died:connect(function()
= 70
= 16
= true
end)
Категория
Фантази онлайн
Комментариев нет.
Яндекс.Метрика