How do I make something that when I teleport I disable other things

I am making a map where you press buttons to go to different worlds. How do I make it that when you are done with the worlds and you teleport back, how do I make it for that player that they can’t press that button anymore, and that if others haven’t, they can?

There is this wonderful thing called scope!

There are three types of scope.

  • Player. When a setting is changed, it only changes for that player.

  • Team. When a setting is changed, it only changes for that player’s team.

  • Global. When a setting is changed, it applies to all players.

2 Likes

Scope is the thing you need help with.
Make the button’s scope to “Player”, then make it transmit on channel “deactivate” when pressed, next, make the button deactivate itself when receive on "deactivate.

2 Likes

ok I will try that. thanks!

wait what device is that? on the button?

Correct, Button will be the one and only device you will need. Go to the setting of it and make the scope of it from “Global” to “Player” (step 1).

Is that all? or is there other steps

Well, there are two steps:
The first step is to make the scope of button “player” so the availability of it will be base on the individual players.
While the second and last step is for deactivating the button after it was pressed so the players won’t press them again.

are you done with the first step?

2 Likes

yes, I am done with the first step. and I want it so that each player can only press it once

Oh great. For the second step, you have to make the button transmit on the channel “Deactivate” after pressed. type “Deactivate” on that section, then, go to the availability section, and make it Deactivate after received on “Deactivate” channel.
and you are all set after that!

feel free to ask me if you still have questions.

it’s extremely simple.

2 Likes

nope that didn’t work

Well, it should work perfectly. Can I see your settings for the Button?

1 Like

Okay. Do you see then {“When button pressed, transmit on…”} fill-out?


there’s the settings

If so, fill it out with “deactivate”

Than find the {Deactivate button when receiving on…} fill-out

Fill it in with the same “deactivate”, which should appear on a popup anyway.
Test it, and you’re done!

WAIT.

Is that for all your buttons???

No, it is not. Only for one.

Are you sure you input the channel in the correct place?

1 Like

Okay. For the next one, do the same thing but deactivate1 in the fill-outs.
Then deactivate2
On and on and on