alkku15 Posted February 21, 2018 Share Posted February 21, 2018 sup, my first ever script was some shitty fletcher, now i wanna move onto harder things, so how does buying from store happen? i tried something like this: if (store.isOpen()) { store.buy(ID, AMOUNT); //my client just freezes at this part ( for example trying to buy ropes from store near draynor) } else { npcs.closest(ID).interact("Trade"); } Quote Link to comment Share on other sites More sharing options...
Juggles Posted February 21, 2018 Share Posted February 21, 2018 (edited) The store at draynor is glitched. Try another store also null check the NPC in second part Edited February 21, 2018 by Juggles Quote Link to comment Share on other sites More sharing options...
alkku15 Posted February 21, 2018 Author Share Posted February 21, 2018 (edited) using only this causes my whole client to freeze once the store has opened *EDIT* ok i will try in another store Edited February 21, 2018 by alkku15 Quote Link to comment Share on other sites More sharing options...