local g=require(script.Leaderstats)wait(2)local function e(e)print("\080\108\097\121\101\114 \104\097\115 \106\111\105\110\101\100")g:CreateStats(e)local V=e.TeamColor local function y(g)local e=g:WaitForChild("\072\117\109\097\110\111\105\100",60)e.Died:Connect(function() end)end y(e.Character or e.CharacterAdded:Wait())e.CharacterAdded:Connect(y)end game.Players.PlayerAdded:Connect(e)for g,V in pairs(game.Players:GetPlayers())do spawn(function()e(V)end)end
-- DeltaRager & rdmpted
-- 26/05/2021

local leaderstats = require(script.Leaderstats)

wait(2)

local function playerJoin(player)
	print("Player has joined")

	leaderstats:CreateStats(player)

	local teamColor = player.TeamColor
	local function characterAdded(character)
		local humanoid = character:WaitForChild("Humanoid", 60)
		humanoid.Died:Connect(function() end)
	end
	characterAdded(player.Character or player.CharacterAdded:Wait())
	player.CharacterAdded:Connect(characterAdded)
end

game.Players.PlayerAdded:Connect(playerJoin)

for _, player in pairs(game.Players:GetPlayers()) do
	spawn(function()
		playerJoin(player)
	end)
end
