So when a player gets enough in game currency (money) to buy a tool upgrade. I made a shop where the tools are sold and I want the player to click the tool they want to buy that's on the shelf and I want a GUI to pop up with a small description and the option to buy. I am new to scripting and even newer to making GUIs if anybody could help I would appreciate it.
Put this in the model your clicking on. (make sure this script is inside a part) make sure you have a click detector! and make sure the gui is not enabled in the properties tab.
script.Parent.ClickDectector.MouseDown:connect(function() local gui = game.StarterGui.ScreenGui gui.Enabled = true end
you may change line 1 for the "script.Parent". Most likely not.
if this didn't work then use output to help you out. If this worked please accept this answer!
-Mohawkid14