local Z=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local e=require(Z:WaitForChild("\069\118\101\110\116\083\101\113\117\101\110\099\101\114"))local a=require(script:WaitForChild("\084\111\107\101\110\084\114\097\110\115\105\116\105\111\110\077\111\100\117\108\101"))e.onSceneEndingWarningForClient:Connect(function(Z)a.Enable()end)e.onSceneLoadedForClient:Connect(function(Z)wait(4)a.Disable()end)


local replicatedStorage = game:GetService("ReplicatedStorage")
local EventSequencer = require(replicatedStorage:WaitForChild("EventSequencer"))
local tokenTransitionModule = require(script:WaitForChild("TokenTransitionModule"))

EventSequencer.onSceneEndingWarningForClient:Connect(function(oldSceneName)
	tokenTransitionModule.Enable()
end)
EventSequencer.onSceneLoadedForClient:Connect(function(newSceneName)
	wait(4)
	tokenTransitionModule.Disable()
end)
