I copied word for word from this one video. https://www.youtube.com/watch?v=TfeWj3zGAkM
First attempt:
local BillboardGui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local clonedgui = BillboardGui:Clone() clonedgui.TextLabel.Text = "Vee" clonedgui.TextLabel.TextColor3 = Color3.fromRGB(0,170,255) clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head end) end)
it was fine it worked. But i wanted to have it for a specific person, so i tried to follow the video again.
Second attempt:
local BillboardGui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if player.Name == "VeeMiland" then local clonedgui = BillboardGui:Clone() clonedgui.TextLabel.Text = "Player" clonedgui.TextLabel.TextColor3 = Color3.fromRGB(36,154,136) clonedgui.Parent = game.Workspace:WaitForChild(player.Name).Head end end) end)
this time it worked i thought but i was wrong. So i testing it typing "Orange" instead of my username " VeeMiland". It stayed above my avatars name. even though I changed the username. I want it for a specific person. it worked for him why not for me. I followed it exactly like the video. Please help it keeps saying: 23:27:24.077 - ContentProvider:PreloadAsync() failed for rbxassetid://99666917
I will make the script more simple and also fix it so here we go..
local BillboardGui = game:GetService("ServerStorage"):WaitForChild("BillboardGui") game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local clonedgui = BillboardGui:Clone() clonedgui.Parent = character.Head if player.Name == "VeeMiland" then clonedgui.TextLabel.Text = "Admin" -- Put what happens if the players name is VeeMiland -- else -- Change this to elseif if you want another if statement here, you will want to make the highest ranks at the bottom of the script so that the last name the game changes it to will be the highest rank -- clonedgui.TextLabel.Text = "Guest" --What happens if the players name is not VeeMiland -- end end) end)