//#CLIENTSIDE function onCreated() { this.allowed = {"account1","account2"}; } function onActionGrab() //can use function onPlayerTouchsMe if you need to { if (player.account in this.allowed) { hide; sleep(2); show; } }