1 | script.Parent.MouseButton 1 Click:Connect( function () |
2 | game.StarterGui.WhichGive.BACKVIII.Visible = true |
3 | end ) |
BACKVIII is the Frame I wanted the script to make visible.
The problem is that you put StarterGui instead of the PlayerGui
Fixed code here:
1 | local player = game.Players.LocalPlayer |
2 | local playerGui = player:FindFirstChild( "PlayerGui" ) |
3 |
4 | script.Parent.MouseButton 1 Click:Connect( function () |
5 | playerGui.WhichGive.BACKVIII.Visible = true |
6 | end ) |
also make sure this is in a localscript
There's something weird going on with your brackets