This script is inside a localscript
1 | local player = game.Players.LocalPlayer |
2 | player.PlayerGui.BlackSG.BlackGui.BackgroundTransparency = 0 |
This localscript is inside game.StarterGui
One thing that you could do is to put a local script inside of the gui and then it should work. Here's the script just in case:
1 | script.Parent.BackgroundTransparency = 0 |