I’ve seen other post on this problem but it was for all ranks above a certain number, but with mine is every rank.
This is a small part of the script(there is a whole bunch of elseif’s for the other ranks.):
if Player:GetRankInGroup(6783583) == 255 then
local ClonedGui = OverHeadGui:Clone()
ClonedGui.Parent = game.Workspace:WaitForChild(plr.Name).Head
ClonedGui.Label.Text = "Owner"
Your script would want to be a server script and look like this:
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
-- UI stuff goes in here
end)
plr:LoadCharacter()
end)
You may find that you have to reset at least once to get the UI to appear on the player due to the .CharacterEvent not firing when a player is first added (roblox issue don’t ask lol) but the work around to this is by putting plr:LoadCharacter() at the end of the PlayerAdded event (look where I put it in the above script) and this should trigger the characteradded event