|
| 13 Oct 2015 09:03 AM |
I coded a tool to play an animation when equipped but it does not play when equipped.Could someone explain the reason for it?
Here it is- local Humanoid = game.Players.LocalPlayer.Character.Humanoid local anim=Instance.new("Animation") anim.Name = "Drawanim" anim.AnimationId = 'http://www.roblox.com/asset/?id=305299714' anim.Parent = workspace
script.Parent.Equipped:connect(function (idk) playanim = Humanoid:LoadAnimation(anim) playanim:Play() end)
|
|
|
| Report Abuse |
|
| |