It was working until the Roblox update and I don't know how to fix it. The script is in StarterGui.

LocalSCRIPT: local player = game:GetService("Players").LocalPlayer local Shop = workspace.Shoppart --I have a part in the Workspace named "Shoppart"

Shop.Touched:Connect(function(hit) if hit.Parent == player.Character then script.Parent.ShopGui.ScrollingFrame.Visible = true
end end)

I tried changing the part name but nothing works, I keep getting errors. Please help!

2 comments

0

What is the error?

0

And, please put it into code blocks.