In this guide, I will show you how to make something happen (In my case, to run a repeater) when you are in a area.
First, you place down a zone, then place down a counter and wire repeater. Set the wire repeater’s delay to 0.0. Then, make wires like this: Player enters zone -----> increment counter. Then, make these wires: Player leaves zone -----> Repeat the wire pulse and make these wires: When the wire repeater receives a pulse -----> Decrement counter. This is what it should look like now:
Then, place a property, call it “In zone” then edit the counter so that the when the counter changes, update a property. And change the property type to a number. Then, place down a checker and set it to check the value of the property. Make check one see if the property is one.
Then set the repeater’s delay to 0.5. And set the wires to this: Repeater runs task —> Run check And then do this wiring: Check passes -----> Do whatever you want to happen
Well, for example, if I wanted any players that enter the zone to gain a speed boost, I could just wire the zone to a speed modifier to save memory, right?