#How can i make that i can open my Chest GUI with /scriptevent

1 messages · Page 1 of 1 (latest)

silk rapids
#

I am trying to make it so my gui AtmMain only opens with a script event like /scriptevent atm:open instead of using a item

unreal sequoia
#

oh i know

#
system.afterEvents.scriptEventReceive.subscribe(({id, sourceEntity}) => {
    if (id == "atm:open") primaryMenu(sourceEntity)
})```
#

if you do /scriptevent atm:open
it will open the menu