Как сделать бег на Shift в Roblox Studio

Аватар автора
Romantic Tech Trends
Скрипт: local player = game.Players.LocalPlayer local sprint = 30 -- Скорость бега local walk = 16 -- Скорость ходьбы game:GetService("UserInputService").InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.LeftShift then player.Character:FindFirstChild("Humanoid").WalkSpeed = sprint end end) game:GetService("UserInputService").InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.LeftShift then player.Character:FindFirstChild("Humanoid").WalkSpeed = walk end end) Теги: roblox studio, roblox, роблокс, роблокс студио, роблокс студио уроки, роблокс студио гайд, роблокс студио туториал, уроки по роблокс студио, roblox studio tutorial, lua, игра, гайды, скриптинг, studio lua.

0/0


0/0

0/0

0/0