I’m just an stupid i forgot to add the PlayerGui thing.Here’s updated version
Prompt = script.Parent
Prompt.Triggered:Connect(function(Plr)
Plr.PlayerGui.Shop.Frame.Visible = not Plr.PlayerGui.Shop.Frame.Visible
print(Plr.Shop.Frame.Visible)
end
I’ll be mad right now i should sleep early so i can regain my brain
Prompt = script.Parent
Prompt.Triggered:Connect(function(Plr)
Plr.PlayerGui.Shop.Frame.Visible = not Plr.PlayerGui.Shop.Frame.Visible
print(Plr.PlayerGui.Shop.Frame.Visible)
end
Thanks it works. I had no clue you had to access it from the player. and I already changed everything to playergui before you sent the new one. Thanks alot!