local u=script.Parent.LoadingFrame local k=game:GetService("\071\117\105\083\101\114\118\105\099\101")local F=game.Players.LocalPlayer k:SetGameplayPausedNotificationEnabled(false)local function c()if F.GameplayPaused then u.Visible=true else u.Visible=false end end;(F:GetPropertyChangedSignal("\071\097\109\101\112\108\097\121\080\097\117\115\101\100")):Connect(c)


local LoadingFrame = script.Parent.LoadingFrame
local GuiService = game:GetService("GuiService")
local player = game.Players.LocalPlayer

GuiService:SetGameplayPausedNotificationEnabled(false)

local function onPauseStateChanged()
	if player.GameplayPaused then
		LoadingFrame.Visible = true
	else
		LoadingFrame.Visible = false
	end
end

player:GetPropertyChangedSignal("GameplayPaused"):Connect(onPauseStateChanged)
