Im trying to make a developer rank on my server but I want it for only myself not everyone and the script should be like this:
if player.Name == "Lipsnucker" then but I dont know how to do it
here's code
local serverStorage = game:GetService("ServerStorage") local billBoardGui = serverStorage:WaitForChild("BillboardGui")
game.Players.PlayerAdded:connect(function(plr)
rank = Instance.new("StringValue",plr)
rank.Name = "Developer"
rank.Value = "Developer"
plr.CharacterAdded:connect(function(char)
bgc = billBoardGui:Clone()
bgc.TextLabel.Text = rank.Value
bgc.Parent = workspace:WaitForChild(char.Name):WaitForChild("Head")
end)
end)

5 comments
put this script in server script service as a server script
I put the script in server script service but its not showing me the rank
Okey i fixed it
Use :Connect(), :connect() is deprecated.
, plr is deprecated try rank.Parent = plr