function tp()
	local players = game.Players:GetPlayers()
	for i = 1,#players do
		players[i].Character.HumanoidRootPart.CFrame = game.Workspace.FinalStage.CFrame + Vector3.new(0, 3, 0)
	end
end
script.Parent.Touched:Connect(function()
	script.Parent.Position = Vector3.new(-614.668, 4.155, -119.768) -- Two position here
	for i, v in pairs(game.Players:GetChildren()) do
		--Effect Play
		print("Started")
		--Humming stop
		while true do
			wait (0.04)
			v.PlayerGui.White.Frame.BackgroundTransparency = v.PlayerGui.White.Frame.BackgroundTransparency - 0.02
			if v.PlayerGui.White.Frame.BackgroundTransparency == 0 then
				break
			end
		end
		print("guivisible")
		--makes white gui appear
		while true do
			wait (0.04)
			game.Workspace.Music.LightHumming.Volume = game.Workspace.Music.LightHumming.Volume - 0.02
			if game.Workspace.Music.LightHumming.Volume == 0 then
			break
			end
			wait(3)
			--teleport player
			tp()
			print("teleported")
			--makes white gui disappear
			while true do
			wait (0.04)
			v.PlayerGui.White.Frame.BackgroundTransparency = v.PlayerGui.White.Framet.BackgroundTransparency + 0.02
			if v.PlayerGui.White.Frame.BackgroundTransparency == 1 then
				break
			end
				end
				for i, v in pairs(game.Players:GetChildren()) do
					--opens boss door
					game.Workspace.Music.MetalDoorOpen:Play()
					for i = 1, 25 do 
						game.Workspace.BossTrapDoor.CFrame = game.Workspace.BossTrapDoor.CFrame * CFrame.new(0, 1, 0)
						wait(3)
		end
			end
			end
		end
		end)