Blackout Excluding Select Player

I’m trying to make a game where, if a player buys an item, a black barrier set over the closed-in area is activated for everyone except the player. I have tried so many different combinations of devices, wires, and active scopes, that I have just about given up. The way that I want this to play out is that only the player that bought the item can see. For everyone else, the arena is blacked out for a set amount of time and then goes back to normal. I attempted invisibility before this, but was unsuccessful. Is there a way for the select blackout to happen, or should I redirect to something else?

only solution i know is a giant black prop appearing, but that’s for everyone so sorry.

Welcome back!

place down a vending machine, a relay (all other players), a trigger with a delay of 30, and a giant black barrier (black-tint with an alpha of 1.00, player-scoped) that is not Activate in game and Collision-off.

Vending machine → Relay (all other players)
Relay → Barrier (activate barrier)
Relay → Trigger (trigger)
Trigger → Barrier (deactivate)

1 Like

wait i thought that that was only for half the players?
correct me if im wrong

what do you mean by that?

Step 1: Wire a button to a trigger. (Button pressed → trigger)
Step 2: Put these blocks into the trigger:


Make sure that the property is player scoped.
Step 3: Make a relay(all players) that receives on relayAllPlayers, and wire it to a checker.
Step 4: Make this check run in the checker:

Step 5: Wire the checker to the barrier. (Check fails → Activate Barrier)
Step 6: Wire the checker to another trigger (With a delay of how long you want the barrier to stay, then wire the trigger to the barrier (Check Fails → Trigger, Triggered → Deactivate barrier)

@hugheseg don’t forget to mark a solution please!

1 Like

I thought that that relay audience only ran on behalf of half the players.

you don’t exactly need to use block code. it’s simple to do without.

also how do I message the mods to temp. suspend my account, I wanna take a break from this place.

Go to “More” in the upper left hand corner of this webpage, press groups, press moderators, then message them.

1 Like

thanks.

Well, goodbye @Undertale :frowning:
You will be missed

o7
/|
/\

1 Like

You don’t have to involves block, read my post again.

So with the barrier, is the active scope global or player?

I did.
I’ll just test it, the only problem I have, is the relay, I’m not sure what it does.

Player.

1 Like

If you set it to global, everyone will get “Blind” despite the relay when you purchased it.

mmmm
Mine does NOT work. I think it is bc of the checker, I think checkers don’t work with properties.

Thank you all SOOO much! It finally works! I have been on and off of this map for almost a year and am so close to finishing it. I hope that everyone has awesome help and breakthroughs through their life. Thank you again.

Yep. You are right. Mah bad guys, mark a solution please!

1 Like

No problem! good luck on your game!

2 Likes