-- 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()
	v1.WorldCmds.Load(v1.StatService.Get().World);
end;
Update();
local u1 = false;
function PreventPlayersDead()
	local v2 = v1.WorldCmds.GetMap();
	if not v2 then
		return;
	end;
	local v3 = v1.PlayerModule.Get("RootPart");
	local v4 = v2:FindFirstChild("PlayerSpawns"):GetChildren();
	if v3.Position.Y < -50 then
		if not u1 then
			u1 = true;
			v3.CFrame = v4[math.random(1, #v4)].CFrame + Vector3.new(0, 8, 0);
			task.wait(0.25);
			u1 = false;
		end;
	end;
end;
v1.Network.Fired("Force Load World"):Connect(function(p1)
	v1.WorldCmds.Load(p1);
end);
coroutine.wrap(function()
	while true do
		PreventPlayersDead();
		v1.RenderStepped();	
	end;
end)();

