So when I set the Value to true the death sound still plays, meaning that the script did not see that the Value was true:
local Position = Vector3.new() local Monster1 = game.Workspace.Nightmare local Monster2 = game.Workspace.Nightmare2 wait(25) Monster1.Position = Vector3.new(4.366, 6.608, 20.635) print("Moved") if Monster1.Position == Vector3.new(4.366, 6.608, 20.635) and game.Workspace.EndoCurtain7.Curtain.Value.Value == true then wait(3) Monster1.Position = Vector3.new(-41.254, 9.873, 15.47) print("Ran") else wait(10) game.Workspace.DeathSound:Play() end if Monster2.Position == Vector3.new(10.852, 6.541, 21.017) and game.Workspace.EndoCurtain1.Curtain.Value.Value == true then wait(3) Monster2.Position = Vector3.new(-41.254, 9.873, 15.47) print("Ran") else wait(10) game.Workspace.DeathSound:Play() end wait(15) Monster2.Position = Vector3.new(10.852, 6.541, 21.017)
Any ideas?
My best guess is to make it loop. Looking at the program it will only ever run once.