SERVER
for i,v in pairs(game.Players:GetChildren()) do
for b,j in pairs(workspace[currentMap]:GetChildren()) do
if j.Name == 'spawn' then
j.Name = v.Name.. "'s Spawn"
end
end
end
LOCAL
game.Players.LocalPlayer.Torso.CFrame = workspace["GreenMap"]:FindFirstChild(game.Players.LocalPlayer.Name.. "'s Spawn")
I tried this but I can't get it to work properly.

1 comment
Can you tell what error did you get?