moglbys dorobic do tych linijek? nie chce oddzielnego skryptu bo w jednym skrypcie mam rzeczy na craftowanie
on script load:
register new shaped recipe for tnt named "&8» &cRzucane TNT &8«" with lore "&8• &7Postaw na ziemi aby &9rzucic tnt!" using tnt, tnt, tnt, tnt, tnt, tnt, tnt, tnt, tnt
variables:
{ddds.rzucanetnt.%player%} = false
on place tnt:
if player's tool is tnt named "&8» &cRzucane TNT &8«" with lore "&8• &7Postaw na ziemi aby &9rzucic tnt!":
cancel event
on right click with tnt:
if player's tool is tnt named "&8» &cRzucane TNT &8«" with lore "&8• &7Postaw na ziemi aby &9rzucic tnt!":
if {aneria.rzucanetnt.%player%} is false:
if player's gamemode is creative:
set {ddds.rzucanetnt.%player%} to true
shoot tnt with speed 0.5
wait 5 seconds
set {aneria.rzucanetnt.%player%} to false
stop
else:
set {aneria.rzucanetnt.%player%} to true
remove 1 tnt named "&8» &cRzucane TNT &8«" with lore "&8• &7Postaw na ziemi aby &9rzucic tnt!" from player
shoot tnt with speed 0.5
wait 5 seconds
set {ddds.rzucanetnt.%player%} to false
stop
else:
send "&c&lBlad: &7Musisz poczekac przed nastepnym rzutem!"