I am trying to make a dancing NPC. I have the script and stuff that makes it play. I am wanting to use animations made by Roblox like Monkey and Jumping Wave but when I put the IDs in they don’t work… Here is my script. Can’t tell if its a Script Problem or what?
local Humanoid = script.Parent:WaitForChild("Humanoid")
local Animation = Humanoid:LoadAnimation(script:FindFirstChildOfClass("Animation"))
Animation.Looped = true
Animation:Play()
the game can only load animations you publish to roblox. Publish the animation as your animation or a group animation (whichever the game is under) then edit your script like this:
local tool = script.Parent
local Anim = Instance.new("Animation")
Anim.AnimationId = "rbxassetid://" --add your animation id after the "//"
local track = track = script.Parent.Parent.Humanoid:LoadAnimation(Anim) --change this to however many "Parents" are needed to get to the humanoid.
track.Priority = Enum.AnimationPriority.Action
track.Looped = true
track:Play()
not possible. Unless you can get the animation inside of roblox studio, there is no possible way to re-upload an animation made by roblox.
Edit: I’m not sure, but it might work through inserting it with InsertService.
You don’t need the chrome extension to get it. Here’s the URL of the item: Monkey - Roblox . As you can see, there are numbers, 3716636630, use those to set the animation.