--Camera.CameraType = Enum.CameraType.Scriptable
--RunServ:BindToRenderStep("MoveCam",Enum.RenderPriority.Camera.Value,function()
--	Camera.CFrame = Character.Head.CFrame
--end)


theAnim:Play()
theAnim.Stopped:Connect(function()
	for _ = 1,5 do
		Character.HumanoidRootPart.Anchored = false
		task.wait()
	end
	--RunServ:UnbindFromRenderStep("MoveCam")
	--Camera.CameraType = Enum.CameraType.Custom
	Gui:Destroy()
end)
theAnim:AdjustSpeed(0)

StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,false)

YesButton.InputBegan:Connect(function(io)
	if io.UserInputType == Enum.UserInputType.MouseButton1 or io.UserInputType == Enum.UserInputType.Touch then
		StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All,true)
		
		t.Completed:Connect(function()
			t:Destroy()
			t2:Destroy()
			t3:Destroy()
			t4:Destroy()
			task.wait(10/60)
			theAnim:AdjustSpeed(1)
		end)
		t:Play()
		t2:Play()
		t3:Play()
		t4:Play()
	end
end)

NoButton.InputBegan:Connect(function(io)
	if io.UserInputType == Enum.UserInputType.MouseButton1 or io.UserInputType == Enum.UserInputType.Touch then
		Player:Kick("ok lol")
	end
end)
