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 » Scripting Helpers
Home Search
 

Why dosen't this work?

Previous Thread :: Next Thread 
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
10 Jan 2014 12:24 AM
function des ()
det = script.Parent.Humanoid:LoadAnimation(script.Parent.Slash)
det:Play()
end
script.Parent.Torso.Touched:connect(des)

so im trying to create a NPC with an animation and this is my code. it seems to work in studio but when tested in-game nothing acctualy happens
any solutions?
Report Abuse
Thaeh is not online. Thaeh
Joined: 05 Feb 2011
Total Posts: 7685
10 Jan 2014 12:30 AM
I think LoadAnimation only works in a local script
Report Abuse
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
10 Jan 2014 04:26 PM
doesn't work
Report Abuse
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
11 Jan 2014 02:13 PM
bump
Report Abuse
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
11 Jan 2014 07:23 PM
help?
Report Abuse
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
11 Jan 2014 09:30 PM
bump
Report Abuse
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
12 Jan 2014 06:06 PM
bump
Report Abuse
nacker is online. nacker
Joined: 06 Oct 2009
Total Posts: 6034
12 Jan 2014 09:24 PM
bump
Report Abuse
zac4545 is not online. zac4545
Joined: 19 Aug 2009
Total Posts: 2324
12 Jan 2014 09:30 PM
you cant use loadanimation yet
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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