Run it
Copy the script and paste it into your executor.
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local function createRainbowName(player, character)
local head = character:WaitForChild("Head", 10)
if not head then return end
-- Remove an old tag if one exists
local oldTag = head:FindFirstChild("RainbowName")
if oldTag then
oldTag:Destroy()
end
local billboard = Instance.new("BillboardGui")
billboard.Name = "RainbowName"
billboard.Adornee = head
billboard.Size = .(, , , )
billboard.StudsOffset = .(, , )
billboard.AlwaysOnTop =
billboard.Parent = head
nameLabel = .()
nameLabel.Size = .(, )
nameLabel.BackgroundTransparency =
nameLabel.Text = player.DisplayName
nameLabel.TextScaled =
nameLabel.Font = .Font.GothamBold
nameLabel.TextStrokeTransparency =
nameLabel.Parent = billboard
connection
connection = RunService.Heartbeat:(()
billboard.Parent
connection:()
hue = (.() * ) %
nameLabel.TextColor3 = .(hue, , )
)
(player)
player.CharacterAdded:((character)
(player, character)
)
player.Character
(player, player.Character)
Players.PlayerAdded:(setupPlayer)
_, player (Players:())
(player)
Rainbow name

Universal