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

How do I use my own animations in my own place?

Asked by 8 years ago

Alright, so I've got an animation script that works completely fine for other animations. It even works on my animations but only in play solo. For some reason, whenever I play the actual game my animations that I made won't work.

I've copied the IDs from my animations and put them in the necessary places and again - only works in play solo and not in the actual game. Other animations work perfectly fine.

I've also noticed that my animations are not on sale, and there doesn't seem to be a way to put them on sale. Why is this?

1 answer

Log in to vote
0
Answered by
Unlimitus 120
8 years ago

Try this animation script and see if it works.

--[[ Unlimitus ]]--

local animationId = "" -- put just the numbers of the animation ID
local humanoid -- make this the path to the 

local animation = Instance.new("Animation") -- Make the animation Instance
animation.AnimationId = "rbxassetid://"..animationId -- Set the AnimationID
local animationTrack = humanoid:LoadAnimation(animation) -- Load the Animation into the character
animationTrack:Play() -- Play the Animation

Hope this helps!

Ad

Answer this question