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 2 years ago
Edited 2 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 — 2y
0
Is there an alternative? Mafincho 43 — 2y

Answer this question