Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make shop open when npc is clicked?

Asked by 2 years ago

Basically I want it so that a shop gui is opened in my game when an npc is clicked. I suck with guis, and im also a new scripter though, so i dont know how. basically, you click on an npc and then a shop gui opens with like a working x and buy button. help appreciated

0
Just add a click detector to the NPC and make it when clicked it sets the players UI to enabled. This is achievable in a LocalScript. If you need help I can write an answer. DrShockz 233 — 2y
0
I've never used click detectors- I'd appreciate it if you could write an answer dylindude 64 — 2y

Answer this question