local players = game:GetService("Players")
local gui = game.ServerStorage.Name_stats
local creatorsgui = game.ServerStorage.Creators
local function createGui(player, character)
local gc = gui:clone()
local cgc = creatorsgui:clone()
local name = player.Name
local level = player.leaderstats.Level
local cnames = {"duckyo01", "tonymayhem" , "Bluefeather2011", "Bladedevv", "Verassi", "Sourskittles"}
while character do
wait()
if name == cnames then
cgc.Parent = character.Head
cgc.Nameandlevel.Text = "Creator | "..name.. ""
else
gc.Parent = character.Head
gc.Nameandlevel.Text = "" ..name.. " | Level: "..level.Value..""
end
end
end
players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
createGui(player, character)
end)
end)
Yes my main account name is duckyo01 so me typing my name wrong is not a reason.

5 comments
You're comparing a string with a table.
so what do i do instead?
you be smarter and get another way to compare all the creator's name
I'm not so sure it works when I do if name == "duckyo01" then
One way to check is to use a for loop or set your table such as [player]=true and then check if cnames[playername]==true then