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

Can i change default ROBLOX animation at this time?

Asked by 7 years ago
Edited 7 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

Hi i want in my game for first custom jump animation playing on npcs work but on player i tryied all tutorial and no one works please help animation id for jump I want is:651948323 ON npc using


script.Parent.Parent.Button1.Button2.ClickDetector.MouseClick:connect(function(playerWhoClicked) local animation = Instance.new("Animation") animation.AnimationId = "http://www.roblox.com/Asset?ID=651948323" -- your id here local animTrack =script.Parent.Parent:FindFirstChild("Humanoid"):LoadAnimation(animation) -- change Humanoid to the target's Humanoid animTrack:Play() end)

Answer this question