so.. I made this script:
But it doesn't seem to work.
I think the problem is with the if name of chest is, but I can't figure out why.
I don't get an error code or anything and skript is working fine.
Thanks
code_language.skript:
on rightclick on Chest:
if name of chest is "Loot":
cancel event
message "hi" to player
But it doesn't seem to work.
I think the problem is with the if name of chest is, but I can't figure out why.
I don't get an error code or anything and skript is working fine.
Thanks