May you show us the script? Did you replace my variables with yours?
True. But didn’t he want to disable the movement of the players? Or did I get the meaning in a wrong way?
i mean anything is fine, i just dont want people to buy weapons outside the shop
Then you could just follow @kevine8854 's method since it just works in the same way - prevent players buy items outside the shop.
Yeah, so i basically just make it so when the player touches this invisible part. it disables the Shop Ui?
1 Like
You can! Everything is just up to you.
I believe for my dialog, I use.a heartbeat to monitor player distance and just close the GUI when they leave.
On the server-side, You have to make your own cooldown system when player buy item once.