Город МОСКОВСКИЙ
00:02:03

HOW TO MAKE YOUR OWN WALKING AND RUNNING ANIMATION IN ROBLOX STUDIO

Аватар
Эпические Битвы
Просмотры:
447
Дата загрузки:
29.10.2023 18:29
Длительность:
00:02:03
Категория:
Видеоигры

Описание

⚠️ If something did not work out for you, write comments, I will help you

SCRIPT (Put in StarterCharacterScript) -
local UIS = game:GetService('UserInputService')
local Player = game.Players.LocalPlayer
local Character = Player.Character

UIS.InputBegan:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 35 --run speed
local Anim = Instance.new('Animation')
Anim.AnimationId = 'rbxassetid://Your ID'
PlayAnim = Character.Humanoid:LoadAnimation(Anim)
PlayAnim:Play()
end
end)

UIS.InputEnded:connect(function(input)
if input.KeyCode == Enum.KeyCode.LeftShift then
Character.Humanoid.WalkSpeed = 16 --default walk speed
PlayAnim:Stop()
end
end)






TEGS: robloxdev, roblox, robloxevent, roblox studio, роблокс студио, walk animation, анимация ходьбы

Рекомендуемые видео