I'm in studio, editing a hurtscript with Animations. I'm overall happy that everything works.
UNTIL.
I started getting error Animation failed to load : Workspace.Part.Script.Anim And I have made NO KNOWN EDITS since it worked.
This has happened before, but incase it's not roblox's problem, here you are.
script.Parent.Touched:connect(function(hit)
if hit.Parent:findFirstChild("Torso") and not debounce then
debounce=true
hit.Parent.Humanoid:LoadAnimation(script.Anim):Play()
hit.Parent.Humanoid.Health=hit.Parent.Humanoid.Health-20
hit.Parent.Torso.Velocity=Vector3.new(0,100,0)
script.Parent.Transparency=0.3
wait(.1)
script.Parent.Transparency=0.7
wait(.5)
debounce=false
end
end)
Like I said, this is a non-exported animation. I have an image here of the explorer. https://gyazo.com/27e616319c9a4147064a591d67617a66
Please help asap.
I, of course, will give the correct answer their respectable accept and +1 rep.
Thanks in advance~
-Chem

6 comments
I have had this same problem. It is roblox's fault because of their new studio update. You shouldn't expect answers soon, because of how new this update is.
sigh -.-
i know... it happend with my press "E" to roll script
I am pretty sure all roblox animations now have to require them to be exported or something.
I see....can they be played by the animation object once exported?
on a side note, animations you create cannot be played in new games you create,but not save to your list of games