Sunucuya restart atılınca skriptin oluşturduğu hologram siliniyor.
Kod:
on place of chest:
if name of player's tool is "&bPCNW &9» &eCoin Spawner":
set {_owner} to asb owner of island at location of player
if {isspanwer::%{_owner}%} is not set:
set {isspanwer::%{_owner}%} to true
if name of player's tool is "&bPCNW &9» &eCoin Spawner":
set event-block to chest
create holo object "&eCoin &6Spawner;ItemStack:prismarine crystals;;&6Sahibi &9» &e%player%;&6Süre &9» &e10 Saniye;&6Miktar &9» &e1" with id "%event-block's location%" at location 2.8 meters above block
set {_location} to location of targeted block
set {coinspawner::%{_location}%} to {_location}
set {_x} to x coord of event-location
set {_y} to y coord of event-location
set {_z} to z coord of event-location
wait 2 tick
stop