I have altered the script and edited it several times. I have no clue why this doesn't work. Inside of the script is the Animation, and it doesn't play in-game, but does when I use "Run" mode in studio.
local animation = script:WaitForChild('Animation') local humanoid = script.Parent:WaitForChild('Humanoid') local anim = humanoid:LoadAnimation(animation) anim:Play()
The most likely reason is, in fact, you do not own the animation. If you do not own the animation, then it won't load. This happened to me one time when I was the noobiest scripter in all of Roblox, and it wasn't very long ago (like only six months ago lol). So the point is, the most likely reason is that you do not own the animation or you own it but your game is a group game or maybe vice versa. or actually you might have to own the animation to play it in a group game IDK because it has been a long time since I have messed with animations. Just telling you right now, there is like a 99.99% chance that it isn'y your script but instead it is that you do not own the animation. that is my point I hope this helps you Sincerely, DominusInfinitus (keep developing games!)