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
|
  |
| 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
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
| |
|
nacker
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
| |
|
nacker
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
| |
|
nacker
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
| |
|
nacker
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
| |
|
nacker
|
  |
| Joined: 06 Oct 2009 |
| Total Posts: 6034 |
|
| |
|
zac4545
|
  |
| Joined: 19 Aug 2009 |
| Total Posts: 2324 |
|
|
| 12 Jan 2014 09:30 PM |
| you cant use loadanimation yet |
|
|
| Report Abuse |
|
|