Animation not playing when :Play( )is called

local prompt = script.Parent

prompt.Triggered:Connect(function(player)
	local animator = workspace.PortalModel:WaitForChild("AnimationController").Animator
	local animtrack = animator:LoadAnimation(script.Animation)
	animtrack:Play()
end)




When i trigger the prompt, the animation will not play.

1 Like

This is incorrectly formatted. Please provide more information.

They need to bring back applying to join the dev forum

My bad.Its been a long time since i last posted

Be more specific, like what script is this. Also show the hierarchy of portal model

i fixed it it was on a client script in workspace