How do you check if a place exists

How do you check if a place exists. I do not know how to do this.
I tried to use pcall function to teleport and if it failed it runs a different placeid using math.random()

I want to teleport multi-able players to a random place on Roblox using a random placeid and checking if the placeid is valid if it is it will teleport the players to that place or else it will pick another placeid.
Is it possible to do this?

1 Like

If a place exists? Why do you need this?

1 Like

I want to teleport multi-able players to a random place on Roblox using a random placeid and checking if the placeid is valid if it is it will teleport the players to that place or else it will pick another placeid.

1 Like