|
| 09 Jul 2015 08:48 PM |
For putting an animation in a character, it says to do this:
local animTrack = Humanoid:LoadAnimation(animation) animTrack:Play()
I made a local script and did this:
local player = game.Players.LocalPlayer local character = player.Character local Humanoid = character.Humanoid local animation = game.Workspace.Animation
local animTrack = Humanoid:LoadAnimation(animation) animTrack:Play()
For some reason it isn't working |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 09 Jul 2015 08:49 PM |
local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:wait() local Humanoid = character:WaitForChild("Humanoid") local animation = game.Workspace.Animation
local animTrack = Humanoid:LoadAnimation(animation) animTrack:Play() |
|
|
| Report Abuse |
|
|
|
| 09 Jul 2015 08:52 PM |
| it doesn't give me any errors in the output but it doesn't work. I still have my normal walking animation |
|
|
| Report Abuse |
|
|