Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Animation failed to load~No edits?

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

0

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.

0

sigh -.-

0

i know... it happend with my press "E" to roll script

0

I am pretty sure all roblox animations now have to require them to be exported or something.

0

I see....can they be played by the animation object once exported?

0

on a side note, animations you create cannot be played in new games you create,but not save to your list of games

2 answers

✓ Accepted answer

I am pretty sure all roblox animations now have to require them to be exported or something.

I don't think exporting works either. I have exported my animation and it then tells me it isn't trusted...

1 comment

0

This question was answered two months ago... Plus exporting does work. have an A for effort, though.

This discussion is preserved as it was. New answers, comments, and votes are closed.