I can't figure out how to make it so only I can see the gui, and nobody else. I see no reason why my code doesn't work. Is it that I'm using a normal script instead of a local? I don't know the difference. Thanks!
wait(0.5)
if game.Players.LocalPlayer.Name == "Gridfinned" then
script.Parent.Enabled = false
else
script.Parent.Enabled = false
end

7 comments
use a local. also theyre both false so its never gonna be enabled?
Is this code in a GUI?
DinozCreates I used True for the first one before and only switched it to false to test it. I'll try using a local script though.
I tried using a local script and changed the first one to true but it still doesn't show up on my screen, and TypicallyPacific the Parent is the GUI.
look at this https://scriptinghelpers.org/guides/server-client-relationship-in-roblox
Nevermind, once i used a local script it worked, i just accidentally wrote "True" instead of "true" Thanks! <3
mark as [Solved]