So I have been trying to make a shop for my game and I am trying to make it so that if you touch an invisible part then a GUI will appear where you can purchase items. I have tried to create this but it doesn't work. Does anyone know how to do it?
Make Sure You Have A Gui And Frame And Everything In The Position You Want First!
Then Do This Code:
function OnTouched (Part) game.Workspace.ScreenGui.Parent = game.players.Localplayer.PlayerGui --Change ScreenGui To -- Whatever -- The Gui Name Is
Hope This Helped.