I want to check if a animationtrack is loaded and execute this code:
game.Workspace.jumpscares.Noob:SetPrimaryPartCFrame(game.Workspace.animatronicSpawn.CFrame)
game.Workspace.jumpscares.Noob.HumanoidRootPart.Anchored = true
wait(0.19)
player.PlayerGui.scream:Play()
wait(1.10)
player.PlayerGui.scream:Stop()
player.PlayerGui.gameover.Enabled = true
I already tried using Length and TimePosition but it didn't work.

1 comment
The animation is still delayed.