so im not the best scripter, but i followed a tutorial for something i have done rarely, it worked somewhere in an other script but here i clearly dont know what to do. so the script is here :
and the code in it is:
local Animation = script.Animation
local Humanoid = script.Parent.Humanoid
local AnimationClip = Humanoid.Animator:LoadAnimation(Animation)
repeat wait() until game.Workspace.Triggers.JumpscareTriggers:FindFirstChild("JumpscareTrigger1")==nil
script.Parent = game.Workspace
wait()
AnimationClip.Looped=false
AnimationClip:Play()
--and well its not giving me an error but its also not working
Oh I see. Scripts won’t run in ReplicatedStorage. I’d move your script to ServerScriptService. I’d also clone the Jump scare instead of moving the original. Also on line 2, “Animation” isn’t defined. Maybe it’s defined above. Not sure if you sent the whole script or not.
Now I’m confused, so does our methods help? Does it solve your issue? Or do you need help with the current version you have? I want to see the current version you have so I can help.
so the script seems like perfect, but while looking at ur script (yes the jumpscare finally gets moved)
you have messed up the part with the animation, but i think i can fix that