
252 Views
774 Executions
Rainbow name highschool
Universal Script 📌
createbypro0First script
2 months ago
Reviewed by QueueSherlockPaid revieweron How review works
Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Rainbow name
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 = UDim2.new(0, 200, 0, 50)
billboard.StudsOffset = Vector3.new(0, 2.8, 0)
billboard.AlwaysOnTop = true
billboard.Parent = head
local nameLabel = Instance.new("TextLabel")
nameLabel.Size = UDim2.fromScale(1, 1)
nameLabel.BackgroundTransparency = 1
nameLabel.Text = player.DisplayName
nameLabel.TextScaled = true
nameLabel.Font = Enum.Font.GothamBold
nameLabel.TextStrokeTransparency = 0.3
nameLabel.Parent = billboard
-- Smooth rainbow animation
local connection
connection = RunService.Heartbeat:Connect(function()
if not billboard.Parent then
connection:Disconnect()
return
end
local hue = (os.clock() * 0.25) % 1
nameLabel.TextColor3 = Color3.fromHSV(hue, 1, 1)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







