generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Animation Failed to Load Error

Previous Thread :: Next Thread 
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 12:44 PM
I've created my own animation for eating a muffin, and now I have a script to play it when the tool is equipped and there is a mouse click. When I go into test mode, it works. When I go into the real game, whether it's F.E. or not, the animation does not play. I check the console, and the error says 'Animation Failed to Load'. Does anyone know how to fix this?

Here's the script:
local Tool = script.Parent
local Anim = nil
local Ready = true

Tool.Activated:Connect(function()
if Tool.Parent.Humanoid.Health > 0 and Ready == true then
Ready = false
Anim = Tool.Parent.Humanoid:LoadAnimation(script:WaitForChild("Anim"))
Anim:Play()
wait(0)
Ready = true
end
end)

Tool.Unequipped:Connect(function()
if Anim then Anim:Stop() end
Ready = true
end)


you've been twinqled
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 12:51 PM
1


you've been twinqled
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 12:53 PM
2.-.


you've been twinqled
Report Abuse
Briicks is online. Briicks
Joined: 03 Apr 2015
Total Posts: 1796
08 Sep 2017 01:00 PM
I have the same problem.


Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 01:01 PM
3


you've been twinqled
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 01:10 PM
4


you've been twinqled
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 01:15 PM
How many times do i have to bump this x_x


you've been twinqled
Report Abuse
twinqle is online. twinqle
Joined: 23 Nov 2016
Total Posts: 1613
08 Sep 2017 01:22 PM
7


you've been twinqled
Report Abuse
CaedenTheCondoum is not online. CaedenTheCondoum
Joined: 24 Aug 2017
Total Posts: 23
08 Sep 2017 01:25 PM
this man must be very lonely, i feel bad :(


UP DAB DOWN DAB
Report Abuse
CaedenTheCondoum is not online. CaedenTheCondoum
Joined: 24 Aug 2017
Total Posts: 23
08 Sep 2017 01:46 PM
lol


UP DAB DOWN DAB
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image