Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I stop an animation inserted into the player?

Asked by
Adryin 120
9 years ago

Heres my script, please tell me.

local plr = script.Parent.Parent.Parent.Parent.Parent script.Parent.MouseButton1Click:connect(function() if plr.Character:findFirstChild("ANIMATE") and plr.Character:findFirstChild("Animation") then plr.Character:findFirstChild("ANIMATE").Disabled = true wait(.1) plr.Character:findFirstChild("ANIMATE"):remove()
--plr.Character:findFirstChild("Animation"):stop() wait() i = plr.Character:findFirstChild("Animation") wait() anim = plr.Character.Animation humanoid = plr.Character.Humanoid load = humanoid:LoadAnimation(anim) wait() load:Stop() wait(4) i:destroy() end end)

0
Please put this in a Code Block NovusTheory 133 — 9y

Answer this question