``My animation will not work for my friend and i don't know why, let me add a little context. so me and a friend decided to make a dragon ball game and my friend made a run animation but the animation wont play for me but it will run for him (ALSO THE SCRIPT IS A RUN SCRIPT)

here is the code

local plr = game.Players.LocalPlayer local char = Player.Character local UIS = game:GetService("UserInputService") local Speed = 25

UIS.InputBegan:Connect(function(key) if key.KeyCode == Enum.KeyCode.LeftShift then char.Humanoid.WalkSpeed = Speed local Anim = Instance.new('Animation') Anim.AnimationId = 'rbxassetid://4629278681' local PlayAnim = char.Humanoid:LoadAnimation(Anim)

		PlayAnim:Play()
end

end)

UIS.InputEnded:Connect(function(key) if key.KeyCode == Enum.KeyCode.LeftShift then char.Humanoid.WalkSpeed = 16 end end)

1 comment

0

Speak to me on discord so i can actually get your answer because i wont remember i made this page lol Tsukiko Otsutsuki#6890