Hello everyone I have been making a server and wanted to add some features to it :
I made a script with which when you join you receive an item chest and called lobby in slot 0 . I wanted it so that when I right click it it runs a specific command
Here is my code
on join:
set slot 0 of player to chest named "&8» &bLobby &8«"
on rightclick with chest:
if name of tool of player is "&8» &bLobby &8«":
wait 1 tick
execute player command "/lucky list"
this code shows errors please help . I have already made the other command /lucky list