Hello. The player keeps falling out of the map and I tried the last 2 solutions on the last But didn't So can someone please help.
choosemap:Destroy()
for _,plr in pairs(game.Players:GetChildren()) do
if plr.Backpack:FindFirstChild("Sword") then
plr.Backpack.Sword:Destroy()
if plr.Backpack:FindFirstChild("Handgun")
then plr.Backpack.Handgun:Destroy()
end -- here!
for i,v in pairs(game.Players:GetPlayers()) do
v.Character:MoveTo(Vector3.new(game.Workspace.Spawns))
end
end
end
end

3 comments
You need to iterate through Spawns and give their Vector3 Position. I recommend you use SetPrimaryPartCFrame however, as MoveTo applies Vectors which factor collision (spawning you on roofs etc...)
You should also be deleting the map after teleportation:P
Can you make an solution? Thanks.