Title says it all,
I'm trying to make a little circle (a shop circle) and you would touch it in order to get the shop gui, but I have no idea how to do it since filtering enable makes it impossible for the script to access the localplayer. I do not wish to use remotes, but if thats the only option please tell me.
Here's my code:
local debounce = false
script.Parent.Touched:connect(function(plr)
if game.Players:FindFirstChild(plr.Parent.Name) then
if debounce == false then
debounce = true
-- how to open the shop gui?
wait(1)
debounce = false
end
end
end)
