How do I make it so if a player has a specific name like bob, they get a gold key?
Maybe make “bob” a separate team, and allow the item granter to only be picked up by the “bob” team… Hopefully this helps!
k but how do I make it so when they enter a zone it checks it it is the name and if it is grant item
Hmmm, is there a way to make the zone only “respondant” (made up word btw) to that specific team?
This might not make sense
okay ill just say this (to trying to be rude) so when a player enters zone it triggers a trigger that checks it how do I do the block code part for the trigger that checks the name. Although your way might work though
I believe you can use player ids for this, I might be wrong?
If you think my way might work, you should try it!
I’m an am@teur in code btw
yeah that but hate to break it but im making a map and making cheats for only those who know and i dont think player ids will work because it might change
Wdym by “cheats”?
so i’m making bedwars, i’m making it so if your name is (specific thing) then a barrier bridge will form for you
- Lifecycle (game start)
- Relay (all players)
- Trigger
- Item Granter (grant the item you prefer, make it grant item when receive on [Grant-Item] channel)
Lifecycle (event occurs) → Relay (trigger relay)
Relay (triggered relay) → Trigger (trigger)
Inside of the trigger, create a block [when triggered] like this:
Also notice that block code is case sensitive.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.