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

Playing animation on a blocky rig?

Asked by 3 years ago
Edited 3 years ago

Trying to play an animation on blocky rig. The script gets enabled by a button (button script activates the rig script). The script does get activated but no animation is played.

local animation = script:WaitForChild("Animation")
local humanoid = script.Parent:WaitForChild("Humanoid")
local AnimationFull = humanoid:LoadAnimation(animation)
AnimationFull:Play()
print("ANIMATION PLAYING")

I get "ANIMATION PLAYING" printed.

0
well, it has to be an r6 animation (PS HUMANOID:LOADANIMATION() IS DEPRECATED) 0hsa 193 — 3y
0
Is there an alternative? Mafincho 43 — 3y

Answer this question