Hey there!
I need help with something and it's a bit complicated for me, I really can't think straight when I do it..
I want a skript that the flint and steel given to you has 1 durability and looks like it will break but when you kill a player it charges to be placed only once then if you used it, it will say you need to get a kill to charge the flint and steel..
Sorry for my english
My current skript is :
I need help with something and it's a bit complicated for me, I really can't think straight when I do it..
I want a skript that the flint and steel given to you has 1 durability and looks like it will break but when you kill a player it charges to be placed only once then if you used it, it will say you need to get a kill to charge the flint and steel..
Sorry for my english
My current skript is :
Code:
options:
items-unbreakable: flint and steel
on right click with flint and steel:
if clicked block is set:
set {_waited} to difference between {flint.%player%.lastused} and now
if {_waited} is less than 5 seconds:
cancel event
message "&eYou have to wait &a%difference between 5 seconds and {_waited}%"
stop
else:
set {flint.%player%.lastused} to now
on place:
if event-block is fire:
if player's gamemode is not creative:
wait 2 seconds
set event-block to air
on item damage:
cancel event