-- 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 Messages(p1)

		local v5 = nil;

		for v2, v3 in ipairs(p1) do
		if v2 then

		else
			break;
		end;
		local v6 = nil;
		v6, v5 = unpack(v3);
		if v6 ~= "Triple Gems Boost" then
			if v6 == "Triple Gems" then
				v1.Signal.Fire("Notification", "You got x" .. v5 .. " Triple Gems Boost!", {
					color = Color3.fromRGB(255, 82, 218)
				});
			elseif v6 ~= "Super Lucky Boost" then
				if v6 == "Super Lucky" then
					v1.Signal.Fire("Notification", "You got x" .. v5 .. " Super Lucky Boost!", {
						color = Color3.fromRGB(255, 82, 218)
					});
				elseif v6 ~= "Ultra Lucky Boost" then
					if v6 == "Ultra Lucky" then
						v1.Signal.Fire("Notification", "You got x" .. v5 .. " Ultra Lucky Boost!", {
							color = Color3.fromRGB(128, 72, 173)
						});
					elseif v6 ~= "Triple Energy Boost" then
						if v6 == "Triple Energy" then
							v1.Signal.Fire("Notification", "You got x" .. v5 .. " Triple Energy Boost!", {
								color = Color3.fromRGB(255, 255, 0)
							});
						else
							v1.Signal.Fire("Notification", "You got " .. v1.Functions.Format.Commas(v5) .. " " .. v6 .. "!", {
								color = Color3.fromRGB(85, 170, 255)
							});
						end;
					else
						v1.Signal.Fire("Notification", "You got x" .. v5 .. " Triple Energy Boost!", {
							color = Color3.fromRGB(255, 255, 0)
						});
					end;
				else
					v1.Signal.Fire("Notification", "You got x" .. v5 .. " Ultra Lucky Boost!", {
						color = Color3.fromRGB(170, 85, 255)
					});
				end;
			else
				v1.Signal.Fire("Notification", "You got x" .. v5 .. " Super Lucky Boost!", {
					color = Color3.fromRGB(255, 82, 218)
				});
			end;
		else
			v1.Signal.Fire("Notification", "You got x" .. v5 .. " Triple Gems Boost!", {
				color = Color3.fromRGB(255, 82, 76)
			});
		end;
		if 1 < #p1 then
			v1.Functions.Wait(0.5);
		end;	
	end;
end;
v1.Network.Fired("Rewards Redeemed"):Connect(function(p2)
	Messages(p2);
end);
v1.Signal.Fired("Rewards Redeemed"):Connect(function(p3)
	Messages(p3);
end);

