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

How do I make a script using the animation tool?

Asked by 10 years ago

Like if I make a code where you would say something(emotes) or in general how would I play it?

0
You mean the animation plugin ? Hippalectryon 3 — 10y
0
No I mean if I use the animation part and put in an animation Id, how would I play that. wwwo197 5 — 10y

1 answer

Log in to vote
3
Answered by 10 years ago
local animation = Instance.new("Animation")
animation.AnimationId = "http://www.roblox.com/Asset?ID=144884906"

local animTrack = Humanoid:LoadAnimation(animation)
animTrack:Play()
0
OMG thanks! :D wwwo197 5 — 10y
Ad

Answer this question