local Q=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))while not Q.Loaded do(game:GetService("\082\117\110\083\101\114\118\105\099\101")).Heartbeat:Wait()end function Update()local I=Q.StatService.Get()if not I then return end Q.Settings.VFXEnabled=I.Settings.VFX==1 Q.Settings.SFXEnabled=I.Settings.SFX==1 Q.Settings.MusicEnabled=I.Settings.Music==1 end Update();(Q.Signal.Fired("\083\116\097\116 \067\104\097\110\103\101\100")):Connect(function(Q)if Q=="\083\101\116\116\105\110\103\115"then Update()end end)
-- Decompiled with the Synapse X Luau decompiler.

local v1 = require(game.ReplicatedStorage:WaitForChild("Resources"))
while not v1.Loaded do
	game:GetService("RunService").Heartbeat:Wait()
end
function Update()
	local v2 = v1.StatService.Get()
	if not v2 then
		return
	end
	v1.Settings.VFXEnabled = v2.Settings.VFX == 1
	v1.Settings.SFXEnabled = v2.Settings.SFX == 1
	v1.Settings.MusicEnabled = v2.Settings.Music == 1
end
Update()
v1.Signal.Fired("Stat Changed"):Connect(function(p1)
	if p1 == "Settings" then
		Update()
	end
end)
