Universal Script 📌
252 Views
774 Executions

Rainbow name highschool

Universal Script 📌
createbypro0
createbypro0First script
2 months ago

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Rainbow name

View Raw
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

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
1.6M
2.0M
Bumped 3 hours ago
Key System

Script hub

#12 this week

Verified script badgeSnowy Hub 500+ Games & 25600+ Features

Script hub
269.1k
115.7k
Bumped 4 hours ago
Key System
Script hub
171.2k
1.4M
Bumped 7 hours ago
Key System
Script hub
16.6k
3.2k
Bumped 9 hours ago
Key System
Paid
Script hub
17.3k
87.5k
Bumped 9 hours ago
Universal Script 📌
2.0M
4.5k
Bumped 10 hours ago