My simulator shop is still not working even after I asked a question they told me to add an ontouched script to add on to my original script but it is not pulling up the GUI when we load in.
Ontouched Script :
local taken = false
script.Parent.Touched:Connect(function(hit) if hit then
if part.Parent:FindFirstChild("Humanoid") then local plr = players:GetPlayerFromCharacter(part.Parent) if taken == false then taken = true game.ReplicatedStorage.Gui:FindFirstChild("Shop"):Clone().Parent = plr.PlayerGui end end end)
Original Script :
game.Workspace.ShopPart.Touched:Connect(function(hit) if hit then script.Parent.Shop.Frame.Visible = true end end)

6 comments
Format your code clicking on the small lua icon at the top of the text box.
Can you show us the full script with codeblocks and variables?
What do you mean?
Here is another script
here i posted the answer
Make sure the frame is in a ScreenGui and if you do, check if the "Enabled" property of the ScreenGui is checked.