I want it pressed in the crafting field. which now works
But when I press these It also uses open gui command. I don't know how to fix the problem please help me.
And in creative mode inventory, I can't move items anywhere.
But when I press these It also uses open gui command. I don't know how to fix the problem please help me.
And in creative mode inventory, I can't move items anywhere.
Code:
on inventory click:
if clicked slot = 1 :
player command "profile %player%"
cancel event
else:
cancel event
on inventory click:
if clicked slot = 2:
command "dm open basics_menu %player%"
cancel event
else:
cancel event
on inventory click:
if clicked slot = 3:
command "dm open basics_menu %player%"
cancel event
else:
cancel event
on inventory click:
if clicked slot = 4:
command "dm open basics_menu %player%"
cancel event
else:
cancel event
on inventory click:
if clicked slot = 0:
open crafting table to player
cancel event
else:
cancel event