I want to create a Personal generator, like EggWars.
with a button to turn on/off.
I created " {spawn.%player%} " to turn on and off spawn (summon) items.
Errors on Reload:
Code:
with a button to turn on/off.
I created " {spawn.%player%} " to turn on and off spawn (summon) items.
Errors on Reload:
code_language.skript:
There's no a player in a periodical event.
Code:
code_language.skript:
every 5 seconds in "world":
if {spawn.%player%} is true:
if {level1.%player%} is true:
make console execute command "summon Item %{x1}% %{y1}% %{z1}% {Item:{id:264,Count:5,tag:{display:{Name:""&bDiamond"",Lore:[Diamonds & more Diamonds!]}}}}"
else if {level2.%player%} is true:
make console execute command "summon Item %{x1}% %{y1}% %{z1}% {Item:{id:264,Count:8,tag:{display:{Name:""&bDiamond"",Lore:[Diamonds & more Diamonds!]}}}}"
else:
make console execute command "summon Item %{x1}% %{y1}% %{z1}% {Item:{id:264,Count:2,tag:{display:{Name:""&bDiamond"",Lore:[Diamonds & more Diamonds!]}}}}"
Last edited: