-- 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);

