Hejka.
Mam pewien problem. Mianowicie chce zeby rzucanego tnt nie dalo sie rzucac na spawn.
Podam moj skript. Jesli ktos chce moze przerobic tak zeby sie nie dalo rzucac na regionie spawn.
on rightclick:
if name of player's tool is "&4Rzucane TnT":
set {tnt.%player%} to true
shoot a TNT from player with speed 0.4
remove 1 tnt named "&4Rzucane TnT" from player
wait 2 second
set {tnt.%player%} to false
on place tnt:
if {tnt.%player%} is true:
cancel event
on script load:
register new shaped recipe for TNT of infinity 1 named "&4Rzucane TnT" using iron ingot, iron ingot, iron ingot, iron ingot, tnt, iron ingot, iron ingot, iron ingot, iron ingot
Z gory dzieki.