cat > /mnt/user-data/outputs/RainbowNameScript.
lua << 'ENDOFSCRIPT'
-- ╔══════════════════════════════════════════════╗
-- ║ Rainbow Name Script by Claude ║
-- ║ Works with 1RPNam1eTex1t + 1RPNam1eColo1r ║
-- ╚══════════════════════════════════════════════╝
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local RE = game:GetService("ReplicatedStorage"):WaitForChild("RE")
local TextRemote = RE:FindFirstChild("1RPNam1eTex1t")
local ColorRemote = RE:FindFirstChild("1RPNam1eColo1r")
-- ══════════════════════════════════════════
-- FONT LIST
-- ══════════════════════════════════════════
local fonts = {
"Normal", "GothamBold", "Montserrat",
"SourceSans", "RobotoMono", "Oswald",
"Arial", "FredokaOne", "Cartoon",
"Antique", "Bodoni", "Garamond"
}
-- ══════════════════════════════════════════
-- SETTINGS
-- ══════════════════════════════════════════
local config = {
name = "YourName",
speed = 0.20,
rainbowOn = false,
running = false,
fontIndex = 1,
currentConnection = nil,
hue = 0,
}
-- ══════════════════════════════════════════
-- FONT CONVERSION TABLE
-- ══════════════════════════════════════════
local fontMap = {
Normal =
{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U
","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","
p","q","r","s","t","u","v","w","x","y","z"},
{"𝐀","𝐁","𝐂","𝐃","𝐄","𝐅","𝐆","𝐇","𝐈","𝐉","𝐊","𝐋","𝐌","𝐍","𝐎","𝐏","𝐐","𝐑","
Bold =
𝐒","𝐓","𝐔","𝐕","𝐖","𝐗","𝐘","𝐙","𝐚","𝐛","𝐜","𝐝","𝐞","𝐟","𝐠","𝐡","𝐢","𝐣","𝐤","
𝐥","𝐦","𝐧","𝐨","𝐩","𝐪","𝐫","𝐬","𝐭","𝐮","𝐯","𝐰","𝐱","𝐲","𝐳"},
{"𝐴","𝐵","𝐶","𝐷","𝐸","𝐹","𝐺","𝐻","𝐼","𝐽","𝐾","𝐿","𝑀","𝑁","𝑂","𝑃","𝑄","𝑅","
Italic =
𝑆","𝑇","𝑈","𝑉","𝑊","𝑋","𝑌","𝑍","𝑎","𝑏","𝑐","𝑑","𝑒","𝑓","𝑔","ℎ","𝑖","𝑗","𝑘","𝑙"
,"𝑚","𝑛","𝑜","𝑝","𝑞","𝑟","𝑠","𝑡","𝑢","𝑣","𝑤","𝑥","𝑦","𝑧"},
{"𝒜","ℬ","𝒞","𝒟","ℰ","ℱ","𝒢","ℋ","ℐ","𝒥","𝒦","ℒ","ℳ","𝒩","𝒪","𝒫","𝒬","ℛ","
Script =
𝒮","𝒯","𝒰","𝒱","𝒲","𝒳","𝒴","𝒵","𝒶","𝒷","𝒸","𝒹","ℯ","𝒻","ℊ","𝒽","𝒾","𝒿","𝓀"
,"𝓁","𝓂","𝓃","ℴ","𝓅","𝓆","𝓇","𝓈","𝓉","𝓊","𝓋","𝓌","𝓍","𝓎","𝓏"},
{"𝔄","𝔅","ℭ","𝔇","𝔈","𝔉","𝔊","ℌ","ℑ","𝔍","𝔎","𝔏","𝔐","𝔑","𝔒","𝔓","𝔔","ℜ"
Fraktur =
,"𝔖","𝔗","𝔘","𝔙","𝔚","𝔛","𝔜","ℨ","𝔞","𝔟","𝔠","𝔡","𝔢","𝔣","𝔤","𝔥","𝔦","𝔧","𝔨","𝔩
","𝔪","𝔫","𝔬","𝔭","𝔮","𝔯","𝔰","𝔱","𝔲","𝔳","𝔴","𝔵","𝔶","𝔷"},
{"𝔸","𝔹","ℂ","𝔻","𝔼","𝔽","𝔾","ℍ","𝕀","𝕁","𝕂","𝕃","𝕄","ℕ","𝕆","ℙ","ℚ","ℝ","
DoubleStruck =
𝕊","𝕋","𝕌","𝕍","𝕎","𝕏","𝕐","ℤ","𝕒","𝕓","𝕔","𝕕","𝕖","𝕗","𝕘","𝕙","𝕚","𝕛","𝕜","
𝕝","𝕞","𝕟","𝕠","𝕡","𝕢","𝕣","𝕤","𝕥","𝕦","𝕧","𝕨","𝕩","𝕪","𝕫"},
Circled =
{"Ⓐ","Ⓑ","Ⓒ","Ⓓ","Ⓔ","Ⓕ","Ⓖ","Ⓗ","Ⓘ","Ⓙ","Ⓚ","Ⓛ","Ⓜ","Ⓝ","Ⓞ","Ⓟ","Ⓠ","Ⓡ","Ⓢ","
Ⓣ","Ⓤ","Ⓥ","Ⓦ","Ⓧ","Ⓨ","Ⓩ","ⓐ","ⓑ","ⓒ","ⓓ","ⓔ","ⓕ","ⓖ","ⓗ","ⓘ","ⓙ","ⓚ","ⓛ","ⓜ
","ⓝ","ⓞ","ⓟ","ⓠ","ⓡ","ⓢ","ⓣ","ⓤ","ⓥ","ⓦ","ⓧ","ⓨ","ⓩ"},
Fullwidth =
{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U
","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","
p","q","r","s","t","u","v","w","x","y","z"},
SmallCaps =
{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U
","V","W","X","Y","Z","ᴀ","ʙ","ᴄ","ᴅ","ᴇ","ꜰ","ɢ","ʜ","ɪ","ᴊ","ᴋ","ʟ","ᴍ","ɴ","ᴏ","
ᴘ","Q","ʀ","s","ᴛ","ᴜ","ᴠ","ᴡ","x","ʏ","ᴢ"},
Superscript =
{"ᴬ","ᴮ","ᶜ","ᴰ","ᴱ","ᶠ","ᴳ","ᴴ","ᴵ","ᴶ","ᴷ","ᴸ","ᴹ","ᴺ","ᴼ","ᴾ","Q","ᴿ","ˢ","ᵀ","ᵁ
","ᵛ","ᵂ","ˣ","ʸ","ᶻ","ᵃ","ᵇ","ᶜ","ᵈ","ᵉ","ᶠ","ᵍ","ʰ","ⁱ","ʲ","ᵏ","ˡ","ᵐ","ⁿ","ᵒ","
ᵖ","q","ʳ","ˢ","ᵗ","ᵘ","ᵛ","ʷ","ˣ","ʸ","ᶻ"},
Strikethrough=
{"A̶","B̶","C̶","D̶","E̶","F̶","G̶","H̶","I̶","J̶","K̶","L̶","M̶","N̶","O̶","P̶","Q̶","R̶","S̶","T̶","U̶
","V̶","W̶","X̶","Y̶","Z̶","a̶","b̶","c̶","d̶","e̶","f̶","g̶","h̶","i̶","j̶","k̶","l̶","m̶","n̶","o̶","
p̶","q̶","r̶","s̶","t̶","u̶","v̶","w̶","x̶","y̶","z̶"},
Underline =
{"A̲ ","B̲ ","C̲ ","D̲ ","E̲ ","F̲ ","G̲ ","H̲ ","I̲ ","J̲ ","K̲ ","L̲ ","M̲ ","N̲ ","O̲ ","P̲ ","Q̲ ","R̲ ","S̲ ","T̲ ","U̲
","V̲ ","W̲ ","X̲ ","Y̲ ","Z̲ ","a̲ ","b̲ ","c̲ ","d̲ ","e̲ ","f̲ ","g̲ ","h̲ ","i̲ ","j̲ ","k̲ ","l̲ ","m̲ ","n̲ ","o̲ ","
p̲ ","q̲ ","r̲ ","s̲ ","t̲ ","u̲ ","v̲ ","w̲ ","x̲ ","y̲ ","z̲ "},
}
local fontNames =
{"Normal","Bold","Italic","Script","Fraktur","DoubleStruck","Circled","Fullwidth","
SmallCaps","Superscript","Strikethrough","Underline"}
local currentFontIdx = 1
-- ══════════════════════════════════════════
-- CONVERT NAME TO FONT
-- ══════════════════════════════════════════
local normalUpper = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
local normalLower = "abcdefghijklmnopqrstuvwxyz"
local function convertToFont(text, fontName)
if fontName == "Normal" then return text end
local fnt = fontMap[fontName]
if not fnt then return text end
local result = ""
for i = 1, #text do
local ch = text:sub(i,i)
local found = false
for j = 1, 26 do
if ch == normalUpper:sub(j,j) then
result = result .. fnt[j]
found = true; break
end
end
if not found then
for j = 1, 26 do
if ch == normalLower:sub(j,j) then
result = result .. fnt[26+j]
found = true; break
end
end
end
if not found then result = result .. ch end
end
return result
end
-- ══════════════════════════════════════════
-- SEND REMOTE FUNCTIONS
-- ══════════════════════════════════════════
local function sendName(nameStr)
if TextRemote then
TextRemote:FireServer("RolePlayName", nameStr)
end
end
local function sendColor(action, color)
if ColorRemote then
ColorRemote:FireServer(action, color)
end
end
-- ══════════════════════════════════════════
-- RAINBOW LOOP
-- ══════════════════════════════════════════
local function stopRainbow()
[Link] = false
if [Link] then
[Link]:Disconnect()
[Link] = nil
end
end
local function startRainbow()
stopRainbow()
[Link] = true
local lastSent = 0
[Link] = [Link]:Connect(function()
if not [Link] then return end
local now = tick()
if now - lastSent >= [Link] then
lastSent = now
[Link] = ([Link] + 0.02) % 1
local color = [Link]([Link], 1, 1)
local fontName = fontNames[currentFontIdx]
local converted = convertToFont([Link], fontName)
sendColor("PickingRPNameColor", color)
sendName(converted)
end
end)
end
-- ══════════════════════════════════════════
-- BUILD GUI
-- ══════════════════════════════════════════
local ScreenGui = [Link]("ScreenGui")
[Link] = "RainbowNameUI"
[Link] = false
[Link] = [Link]
-- Remove old instance if exists
local old = game:GetService("CoreGui"):FindFirstChild("RainbowNameUI")
if old then old:Destroy() end
-- ── Toggle Logo Button (always visible, draggable) ──
local LogoBtn = [Link]("ImageButton")
[Link] = "LogoBtn"
[Link] = [Link](0, 48, 0, 48)
[Link] = [Link](0, 20, 0.5, -24)
LogoBtn.BackgroundColor3 = [Link](15, 15, 20)
[Link] = 0
[Link] = "rbxassetid://7072719338"
[Link] = 10
[Link] = ScreenGui
local LogoCorner = [Link]("UICorner")
[Link] = [Link](1, 0)
[Link] = LogoBtn
local LogoStroke = [Link]("UIStroke")
[Link] = [Link](0, 1, 1)
[Link] = 2.5
[Link] = LogoBtn
-- ── Main Frame ──
local MainFrame = [Link]("Frame")
[Link] = "MainFrame"
[Link] = [Link](0, 320, 0, 370)
[Link] = [Link](0.5, -160, 0.5, -185)
MainFrame.BackgroundColor3 = [Link](8, 8, 14)
[Link] = 0.15
[Link] = 0
[Link] = true
[Link] = true
[Link] = 5
[Link] = ScreenGui
local MainCorner = [Link]("UICorner")
[Link] = [Link](0, 16)
[Link] = MainFrame
local MainStroke = [Link]("UIStroke")
[Link] = [Link](0, 1, 1)
[Link] = 2
[Link] = MainFrame
-- ── Title Bar ──
local TitleBar = [Link]("Frame")
[Link] = [Link](1, 0, 0, 44)
TitleBar.BackgroundColor3 = [Link](12, 12, 20)
[Link] = 0.1
[Link] = 0
[Link] = 6
[Link] = MainFrame
local TitleBarCorner = [Link]("UICorner")
[Link] = [Link](0, 16)
[Link] = TitleBar
local TitleLabel = [Link]("TextLabel")
[Link] = [Link](1, -90, 1, 0)
[Link] = [Link](0, 14, 0, 0)
[Link] = 1
[Link] = "🌈 Rainbow Name"
TitleLabel.TextColor3 = [Link](1, 1, 1)
[Link] = 15
[Link] = [Link]
[Link] = [Link]
[Link] = 7
[Link] = TitleBar
-- Close Button (X)
local CloseBtn = [Link]("TextButton")
[Link] = [Link](0, 30, 0, 30)
[Link] = [Link](1, -38, 0, 7)
CloseBtn.BackgroundColor3 = [Link](200, 50, 50)
[Link] = 0.2
[Link] = "✕"
CloseBtn.TextColor3 = [Link](1, 1, 1)
[Link] = 14
[Link] = [Link]
[Link] = 0
[Link] = 8
[Link] = TitleBar
local CloseCorner = [Link]("UICorner")
[Link] = [Link](0, 8)
[Link] = CloseBtn
-- Minimize/Hide Button (─)
local HideBtn = [Link]("TextButton")
[Link] = [Link](0, 30, 0, 30)
[Link] = [Link](1, -72, 0, 7)
HideBtn.BackgroundColor3 = [Link](50, 50, 180)
[Link] = 0.2
[Link] = "─"
HideBtn.TextColor3 = [Link](1, 1, 1)
[Link] = 14
[Link] = [Link]
[Link] = 0
[Link] = 8
[Link] = TitleBar
local HideCorner = [Link]("UICorner")
[Link] = [Link](0, 8)
[Link] = HideBtn
-- ── Content Area ──
local Content = [Link]("Frame")
[Link] = [Link](1, -20, 1, -54)
[Link] = [Link](0, 10, 0, 50)
[Link] = 1
[Link] = 6
[Link] = MainFrame
local UIPad = [Link]("UIListLayout")
[Link] = [Link](0, 10)
[Link] = [Link]
[Link] = Content
-- ── Helper: Section Label ──
local function makeLabel(parent, text, order)
local lbl = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 18)
[Link] = 1
[Link] = text
lbl.TextColor3 = [Link](180, 180, 255)
[Link] = 12
[Link] = [Link]
[Link] = [Link]
[Link] = 7
[Link] = order
[Link] = parent
return lbl
end
-- ── Helper: Rounded TextBox ──
local function makeInput(parent, placeholder, order)
local box = [Link]("TextBox")
[Link] = [Link](1, 0, 0, 36)
box.BackgroundColor3 = [Link](20, 20, 35)
[Link] = 0.2
[Link] = ""
[Link] = placeholder
box.PlaceholderColor3 = [Link](100, 100, 130)
box.TextColor3 = [Link](1, 1, 1)
[Link] = 14
[Link] = [Link]
[Link] = 0
[Link] = false
[Link] = 7
[Link] = order
[Link] = parent
local c = [Link]("UICorner"); [Link] = [Link](0,10); [Link] =
box
local s = [Link]("UIStroke"); [Link] = [Link](80,80,160);
[Link] = 1.2; [Link] = box
return box
end
-- ── Helper: Action Button ──
local function makeButton(parent, text, color, order)
local btn = [Link]("TextButton")
[Link] = [Link](1, 0, 0, 38)
btn.BackgroundColor3 = color
[Link] = 0.15
[Link] = text
btn.TextColor3 = [Link](1,1,1)
[Link] = 14
[Link] = [Link]
[Link] = 0
[Link] = 7
[Link] = order
[Link] = parent
local c = [Link]("UICorner"); [Link] = [Link](0,10); [Link] =
btn
local s = [Link]("UIStroke"); [Link] = color; [Link] = 1.5;
[Link] = 0.4; [Link] = btn
return btn
end
-- ── Name Input ──
makeLabel(Content, " ✏️ Enter Your Name", 1)
local NameBox = makeInput(Content, "Type your name here...", 2)
[Link] = [Link]
-- ── Speed Input ──
makeLabel(Content, " ⚡ Font Change Speed (seconds)", 3)
local SpeedBox = makeInput(Content, "Default: 0.20", 4)
[Link] = tostring([Link])
-- ── Font Display ──
makeLabel(Content, " 🔤 Current Font Style", 5)
local FontDisplay = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 36)
FontDisplay.BackgroundColor3 = [Link](20, 20, 40)
[Link] = 0.2
[Link] = "◀ " .. fontNames[currentFontIdx] .. " ▶"
FontDisplay.TextColor3 = [Link](200, 200, 255)
[Link] = 14
[Link] = [Link]
[Link] = 0
[Link] = 7
[Link] = 6
[Link] = Content
local FDCorner = [Link]("UICorner"); [Link] = [Link](0,10);
[Link] = FontDisplay
local FDStroke = [Link]("UIStroke"); [Link] =
[Link](80,80,160); [Link] = 1.2; [Link] = FontDisplay
-- Font prev/next buttons side by side
local FontBtnRow = [Link]("Frame")
[Link] = [Link](1, 0, 0, 36)
[Link] = 1
[Link] = 7
[Link] = 7
[Link] = Content
local FontRowLayout = [Link]("UIListLayout")
[Link] = [Link]
[Link] = [Link](0,8)
[Link] = FontBtnRow
local PrevFontBtn = makeButton(FontBtnRow, "◀ Prev Font",
[Link](60,60,160), 1)
[Link] = [Link](0.5, -4, 1, 0)
local NextFontBtn = makeButton(FontBtnRow, "Next Font ▶",
[Link](60,60,160), 2)
[Link] = [Link](0.5, -4, 1, 0)
-- ── Rainbow Toggle ──
local RainbowBtn = makeButton(Content, "🌈 Rainbow Name [ OFF ]",
[Link](40, 120, 40), 8)
-- ── Status Label ──
local StatusLabel = [Link]("TextLabel")
[Link] = [Link](1, 0, 0, 22)
[Link] = 1
[Link] = "Status: Idle"
StatusLabel.TextColor3 = [Link](150, 150, 150)
[Link] = 12
[Link] = [Link]
[Link] = [Link]
[Link] = 7
[Link] = 9
[Link] = Content
-- ══════════════════════════════════════════
-- RAINBOW HUE OUTLINE ANIMATION
-- ══════════════════════════════════════════
local outlineHue = 0
[Link]:Connect(function()
outlineHue = (outlineHue + 0.005) % 1
local c = [Link](outlineHue, 1, 1)
[Link] = c
[Link] = c
end)
-- ══════════════════════════════════════════
-- LOGO DRAG SUPPORT
-- ══════════════════════════════════════════
local draggingLogo = false
local logoDragStart, logoStartPos
[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
draggingLogo = true
logoDragStart = [Link]
logoStartPos = [Link]
end
end)
[Link]:Connect(function(input)
if [Link] == [Link].MouseButton1 then
draggingLogo = false
end
end)
[Link]:Connect(function(input)
if draggingLogo and [Link] == [Link]
then
local delta = [Link] - logoDragStart
[Link] = [Link](
[Link],
[Link] + delta.X,
[Link],
[Link] + delta.Y
)
end
end)
-- ══════════════════════════════════════════
-- BUTTON LOGIC
-- ══════════════════════════════════════════
-- Update font display
local function refreshFontDisplay()
[Link] = "◀ " .. fontNames[currentFontIdx] .. " ▶"
end
PrevFontBtn.MouseButton1Click:Connect(function()
currentFontIdx = currentFontIdx - 1
if currentFontIdx < 1 then currentFontIdx = #fontNames end
refreshFontDisplay()
[Link] = "Font: " .. fontNames[currentFontIdx]
StatusLabel.TextColor3 = [Link](150, 200, 255)
end)
NextFontBtn.MouseButton1Click:Connect(function()
currentFontIdx = currentFontIdx + 1
if currentFontIdx > #fontNames then currentFontIdx = 1 end
refreshFontDisplay()
[Link] = "Font: " .. fontNames[currentFontIdx]
StatusLabel.TextColor3 = [Link](150, 200, 255)
end)
RainbowBtn.MouseButton1Click:Connect(function()
-- Read latest name + speed from boxes
local nameVal = [Link] ~= "" and [Link] or "YourName"
local speedVal = tonumber([Link])
if not speedVal or speedVal <= 0 then speedVal = 0.20 end
[Link] = nameVal
[Link] = speedVal
[Link] = not [Link]
if [Link] then
[Link] = "🌈 Rainbow Name [ ON ]"
RainbowBtn.BackgroundColor3 = [Link](30, 160, 80)
[Link] = "Status: Running 🟢"
StatusLabel.TextColor3 = [Link](80, 255, 120)
startRainbow()
else
[Link] = "🌈 Rainbow Name [ OFF ]"
RainbowBtn.BackgroundColor3 = [Link](40, 120, 40)
[Link] = "Status: Stopped 🔴"
StatusLabel.TextColor3 = [Link](255, 100, 100)
stopRainbow()
end
end)
-- Hide/Show toggle
HideBtn.MouseButton1Click:Connect(function()
[Link] = not [Link]
[Link] = not [Link]
if [Link] then
[Link] = [Link](0, 320, 0, 370)
else
[Link] = [Link](0, 320, 0, 44)
end
end)
-- Logo toggles MainFrame visibility
LogoBtn.MouseButton1Click:Connect(function()
[Link] = not [Link]
end)
-- Close / Destroy
CloseBtn.MouseButton1Click:Connect(function()
stopRainbow()
ScreenGui:Destroy()
end)
-- ══════════════════════════════════════════
-- PARENT TO COREGUI
-- ══════════════════════════════════════════
if syn and syn.protect_gui then
pcall(syn.protect_gui, ScreenGui)
end
[Link] = game:GetService("CoreGui")
print("✅ Rainbow Name Script Loaded!")
print("👆 Click the logo button to show/hide the UI")
ENDOFSCRIPT
echo "Done"