Hi there!
I’ve been a little too lazy to properly create good-looking nametags, so i’ve made a module for it!
get it here! SiebeYolo's Fancy Nametag Module - Roblox
Some sample code:
local nametag = require(6638489340) -- Get the module
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
nametag.Create( -- Create nametag
char, -- Player's character
Color3.new(1, 0.666667, 0), -- First gradient color (Top)
Color3.new(1, 0.2, 0) -- Second gradient color (Bottom)
)
end)
end)
The result:
Edit: Rainbow nametags!
To make your nametag into a rainbow nametag, just add “Rainbow” or “rainbow” like this:
local nametag = require(6638489340) -- Get the module
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
nametag.Create( -- Create nametag
char, -- Player's character
Color3.new(1, 0.666667, 0), -- First gradient color (Will be ignored)
Color3.new(1, 0.2, 0) , -- Second color(will be ignored)
"Rainbow", -- Name of the effect we'll be using
5 -- Rainbow wave speed (optional)
)
end)
end)