**--This is a server script inside a part and it prints but its not making the Gui Visible:** script.Parent.MouseButton1Click:Connect(function() print("AAAAAAAAAAA") game:GetService("StarterGui").AskToBuy.Frame.Visible=true end)
you cant change the startergui so instead u do this
script.Parent.MouseButton1Click:Connect(function() print("AAAAAAAAAAA") game:GetService("Players").LocalPlayer.PlayerGui.AskToBuy.Frame.Visible = true--this access ur own gui instead of the gui everyone has and spawns with end)