wait()
script.Parent.Touched:connect(function(Hit)
local a = Hit.Parent:FindFirstChild("Humanoid")
local b = a.Parent.Name
local c = game.Players(b)
b.PlayerGui.Shop.Frame.Visible = true
end)
I'm trying to make it so that when you touch a part, it makes the frame of a ScreenGui Visible, which does not work because it says that there is an error in line 5 where Acratixx is not a valid member of Players, when i am clearly in the game. Any Ideas on how to fix this?
