HOW TO MAKE YOUR OWN WALKING AND RUNNING ANIMATION IN ROBLOX STUDIO
Описание
⚠️ 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, анимация ходьбы
Рекомендуемые видео



















