Touch a part to open a GUI shop

Could it possibly be because I have the ShopButton in a group of other parts? I wonder if it needs to be by itself

Yup that’s what it was. I fixed it lol

If you have Multiple parts called ShopButton then it’d only select one. It needs to be named something Unique or you could use my Multiple Part option and just add all Parts named “ShopButton” into a table

As a thank you for helping me on this.

1 Like

Would recommend the following changes

  • RenderStepped should be replaced with Heartbeat
  • If the player doesn’t have a character or root part, it should probably just close the shop

possible problems:

  • RenderStepped event never disconnects when not needed
  • Magnitude functions as a sphere as opposed to a cylinder

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.