local AvailableSpawnPoints = SpawnPoints:GetChildren()
for i, player in pairs(plrs) do
if player then
character = player.Character
if character then
-- teleport them
character:FindFirstChild("HumanoidRootPart").Cframe = AvailableSpawnPoints[1].Cframe
table.remove(AvailableSpawnPoints,1)
there is 10 spawn points on the map grouped together and stuff btw

1 comment
The reason is that "Cframe" is not a valid member of anything. Capitalize the F in CFrame, as that is just how syntax is in Roblox Lua.