local char = script.Parent --the npc local hum = char:WaitForChild("Humanoid") --the npc's humanoid local animation = hum:LoadAnimation(script.Animation) if char ~= nil then animation:Play() animation:AdjustSpeed(0.5) --plays the animation end
Hey, guys, do you think you can help me turn this into a Local Animation? So basically OnTouch it would trigger the animation for that one player and only that player and no one else can see that animation happen.
I'm not sure it's possible. Unless you created your own animation using CFrame or lerp, I highly doubt it's possible. You could make it OnTouched by creating an OnTouched event found here:
http://wiki.roblox.com/index.php?title=API:Class/BasePart/Touched
Other than that, I don't believe It's possible to have a ROBLOX animation (an uploaded anim) client-sided as it's moving the character.