How do I make an overlay button that you cant press whenever your in a certain area but everyone else can press it

like I said I need help

1 Like

Player enters zone → deactivate overlay. The overlay shown/hidden scope has to be set to player.

does it not allow the person in the zone to press it but every other player to press it

1 Like

Yes, it doesn’t exist for that player anymore.
And player leaves zone → show overlay.

ok thank you I will test it out

1 Like

whenever I try to press the overlay it will not work Screenshot 2025-02-13 11.31.15 AM.png

I think i have got it.

First set up a zone with these settings


Then a relay with these

And finally an overlay with these


And then wire zone to relay Player enters zone Trigger relay
And then relay to overlay. Relay triggered Hide overlay



This should be your final result

3 Likes

its still just white

Make it non-visible in game?

already tried that

Only one guide related to this topic…

General Steps:

  1. Identify the Player’s Location/Condition: You’d need to track the player’s position or their current status in the game. You could check if the player is in a specific area, such as inside a specific “zone.”
  2. Disable Button Interactivity: When a player enters a specific area, you would add a function to disable the overlay button for that player. You could implement this by adding a condition in the code that listens for the player’s location, and if they’re in that restricted zone, you disable the button.
  3. Allow Other Players to Click: For other players, you’d leave the button in an enabled state. You would set conditions to check if the player is outside the restricted area and allow them to press the button normally.
1 Like

why chatgpt

2 Likes

lol, I am very slow typer, it literally takes me 2 hours just to make a short guide.

3 Likes

Can I just make it to where there is a button instead of an overlay that if you press it you got to spectator to see the person fight the boss