Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is it possible to add a safe zone to my ROBLOX Lobby?

How could I add a safe zone to my lobby as I am creating a gear wall that will give players gear and they can then tp out using a teleporter. I have not tried anything because I do not know where to start.

3 comments

0

Like a safe zone so they cant get killed or remove the weapon?

0

so they are unable to be killed, i a

0

i added a gear wall, i want them to get their gear and then leave and have deactivated their safeness

1 answer

✓ Accepted answer

The most efficient solution is to use Region3 to detect whether a player is in a specific area or not. Since I don't know much about Region3 myself, I will link you to the Wiki page so you can learn more about it here.

If Region3 is too complex, a simpler (but less efficient) alternative is to make walls surrounding the area with Transparency at 1 and CanCollide disabled, and make a script that removes a ForceField when they touch the walls. However, this does not account for when a player leaves the area and comes back into the area. Therefore, Region3 is the best solution.

This discussion is preserved as it was. New answers, comments, and votes are closed.