Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

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

Asked by 7 years ago

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.

0
Like a safe zone so they cant get killed or remove the weapon? FiredDusk 1466 — 7y
0
so they are unable to be killed, i a dmanperson123 15 — 7y
0
i added a gear wall, i want them to get their gear and then leave and have deactivated their safeness dmanperson123 15 — 7y

1 answer

Log in to vote
0
Answered by
Discern 1007 Moderation Voter
7 years ago
Edited 7 years ago

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.

Ad

Answer this question