i already made some code but non of it works i would like someone to help me i dont care if its completely different aslong as it works.
The code i made:
local AdminGUI = game.StarterGui.ADMINGUIDontTryMeHackersIGotALongNameSoYouAreTooLazyToTypeHAHA
local script = game.ReplicatedStorage.CheckForAdmin
if player.Name == "EnzoTDZ_YT" or player.Name == "smifflar102" then
print("An Administrator Is In Your Game.")
wait(1)
end
else
AdminGUI:Destroy()
script:Destroy()

2 comments
Naming your remote something difficult to type isn't good security. You should look at https://forum.scriptinghelpers.org/topic/112 for advice.
Thanks but I just put it in serverstorage and a script in serverscriptservice