#Offhand Disable

1 messages · Page 1 of 1 (latest)

proud wagon
#

Hello, i'm really new to skript, so i need someone to point me in the right direction. how do i make it so, if youre holding a certain item that has custom model data, it makes it so you can't equip anything in your offhand, it makes you drop anything in ur offhand

#

I want to learn myself, so only point me in the right direction, dont give me the script

sacred scaffold
#

should be an event for when you put something in your offhand

#

just cancel it

lunar hedge
#

im not sure, but I think that event might only be called for the F keybind, and might not be called for placing items in offhand via inventory screen

#

You could use on inventory close:, and then if the offhand slot != air, set it to air and then add the item back into the players inv

snow oak
#

for pressing f u would use on swap hand items: cancel event