--teleport players to the map

local SpawnPoints = ClonedMap:FindFirstChild("SpawnPoints")

if not SpawnPoints then

print ("SpawnPoints not found!")

end

local AvailableSpawnPoints = SpawnPoints:GetChildren()

for i, player in pairs(plrs) do

if player then

character = player.Character

if character then

character:FindFirstChild("HumanoidRootPart").CFrame = AvailableSpawnPoints[1].CFrame

table.remove(AvailableSpawnPoints,1)

local Sword = ServerStorage.Sword:Clone()

Sword.Parent = player.Backpack

else

if not player then

table.remove(plrs,i)

end

end

end

end

Status.Value = "Get ready to play!"

wait (2)

for i = GameLength,0,-1 do

for x, player in pairs(plrs) do

if player then

character = player.Character

if not character then

--Left the game

else

if character:FindFirstChild("GameTag") then

1 comment

0

Stop spamming