Hello i am making a fnaf like game and need jumpscare animation to pop up on the screen i tried a viewframe gui but it doesn't update i do not know how to update it so i asked here
if someone is wondering this is the code for the dummy to do the animation:
local animation = script:WaitForChild('Animation')
local humanoid = script.Parent:WaitForChild('Humanoid')
local dance = humanoid:LoadAnimation(animation)
dance:Play()
Please help me i need it!

1 comment
Sorry can't help I'm still learning how to actually script and since you are making a FNAF like game I want to try it and if you want I test play it?