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()
put this in ServerScriptService
game:GetService("ServerStorage") local AdminGUI = game.ServerStorage.ADMINGUIDontTryMeHackersIGotALongNameSoYouAreTooLazyToTypeHAHA game.Players.PlayerAdded:Connect(function(player) if player.Name == "EnzoTDZ_YT" or player.Name == "smifflar102" then local admin = AdminGUI:Clone() admin.Parent = player.PlayerGui end end)