What you will need
x1 Marble Sign
x1 Item Spawner
Optional: x1 Text (That describes what your item is)
Button
Trigger
A few sentries
First of all, Set up your marble sign and item spawner like dis:
Basically, just get a marble sign, put the item spawner underneath it, then move the item spawner to the above layer.
Then, place a button under it. Make it say something like “Steal”. Now, grab a trigger and wire it to the button.
Then, put this block code in the trigger’s “When Triggered” Part.
The red blocks are from the variables section, you make your own variable. Everything else is from the logic, math, essentials, and texts section. The green is text, the random integer part is math, the “Broadcast Message on Channel” is from the Essentials part, the if, do part is from the logic, and yeah.
Now, grab two sentries. Make them both not active on game start. Make them activate when receiving on “Guards attack”, my first channel.
Then, grab an item granter. Make it grant the item when receiving on, “Success!”. And also, make the item you put in the item granter the same as the item you put in the item spawner.
And now you’re done!
- 0/10
- 1/10
- 2/10
- 3/10
- 4/10
- 5/10
- 6/10
- 7/10
- 8/10
- 9/10
- 10/10