I have made an animation myself, but whenever I try to play it, it says Animation failed to load?
You should provide a script of what you have made but since you did not I made a script for you. put in starterpack as a localscript
01 | --First we need to get the player and humanoid |
02 | local player = game.Players.LocalPlayer --We get the local player |
03 | local character = player.Character or player.CharacterAdded:wait() |
04 | repeat wait() until character -- We then wait for the character to load to make sure it works correctly |
05 | local humanoid = character:WaitForChild( "Humanoid" ) |
06 |
07 | local myAnim = Instance.new( "Animation" ) --we need to create a new animation |
08 | myAnim.AnimationId = "rbxassetid://YOUR ID HERE" --then get our id from when you exported your animation |
09 |
10 | local AnimTrack = humanoid:LoadAnimation(myAnim) -- now we load the animation |
11 | AnimTrack:Play() -- and play |
That is all you have to do hope this helped!
~KIHeros