Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to I make a unique nametag?

Asked by 4 years ago

I am making a game where instead of the boring nametags above the players heads I want a custom one which has random colors and goes above the persons head. I tried and I can't seem to get it to work. Can anybody help me? Thanks!

Here is the code:

01local colors = {
02    Color3.fromRGB(0, 100, 200), -- Blue
03    Color3.fromRGB(200, 0, 0), -- Red
04    Color3.fromRGB(0, 200, 0), -- Green
05}
06 
07local Players = game:GetService("Players")
08 
09local gui = game.ServerStorage.BillboardGui
10 
11local clone = gui:Clone()
12 
13Players.PlayerAdded:Connect(function(player)
14    gui:Clone()
15    clone.Parent = game.Workspace[player]
View all 22 lines...
0
Wait for character to be added in game, then add the nametag to his head. I also recommend you search how to make nametags on youtube. zuup123 99 — 4y
0
ok, that fixed it, Thanks! kavancraft59 11 — 4y

Answer this question