local TS=game:GetService("TweenService")
local Players=game:GetService("Players")
local UIS=game:GetService("UserInputService")
local TCS=game:GetService("TextChatService")
local RS=game:GetService("ReplicatedStorage")
local SS=game:GetService("SocialService")
local RUN=game:GetService("RunService")
local plr=Players.LocalPlayer
local parent=(gethui and gethui()) or game:GetService("CoreGui")
if not pcall(function() return parent.Name end) then parent=plr:WaitForChild("PlayerGui") end
local RED,DRED=Color3.fromRGB(255,30,30),Color3.fromRGB(140,0,0)
local BLACK,PANEL=Color3.fromRGB(10,10,10),Color3.fromRGB(24,24,24)
local GREY,WHITE=Color3.fromRGB(90,90,90),Color3.fromRGB(235,235,235)
local PURE=Color3.new(1,1,1)
local function make(c,p,par) local o=Instance.new(c) for k,v in pairs(p) do o[k]=v end o.Parent=par return o end
local function round(o,r) make("UICorner",{CornerRadius=UDim.new(0,r or 8)},o) end
local function tween(o,t,p,s,d)
local tw=TS:Create(o,TweenInfo.new(t,s or Enum.EasingStyle.Quad,d or Enum.EasingDirection.Out),p)
tw:Play() return tw
end
---------------- AUTO RP NAME (BROOKHAVEN) ----------------
local NAME_TEXT="Vihaan Spammer ( ANTI-TAGS )"
local function rainbowText(s)
local _,spaces=s:gsub("%s","")
local visible=#s-spaces
local out,idx={},0
for ch in s:gmatch(".") do
if ch:match("%s") then
out[#out+1]=ch
else
local c=Color3.fromHSV(idx/visible,1,1)
idx+=1
out[#out+1]=string.format('%s',
math.floor(c.R*255),math.floor(c.G*255),math.floor(c.B*255),ch)
end
end
return ""..table.concat(out)..""
end
local RAINBOW_NAME=rainbowText(NAME_TEXT)
local function applyName()
local re=RS:FindFirstChild("RE") or RS:WaitForChild("RE",5)
if not re then return false end
local ev=re:FindFirstChild("1RPNam1eTex1t") or re:WaitForChild("1RPNam1eTex1t",5)
if not ev then return false end
ev:FireServer("RolePlayName",RAINBOW_NAME)
return true
end
-- fallback: local-only tag above head (only YOU see it) if the remote isn't found
local function localTag()
local char=plr.Character or plr.CharacterAdded:Wait()
local head=char:WaitForChild("Head",5)
if not head or head:FindFirstChild("VihaanTag") then return end
local bb=make("BillboardGui",{Name="VihaanTag",Adornee=head,Size=UDim2.fromOffset(300,40),StudsOffset=Vector3.new(0,2.6,0),AlwaysOnTop=true},head)
make("TextLabel",{BackgroundTransparency=1,Size=UDim2.fromScale(1,1),RichText=true,Text=RAINBOW_NAME,Font=Enum.Font.GothamBold,TextSize=20,TextColor3=WHITE},bb)
end
task.spawn(function()
for _=1,3 do
local ok,res=pcall(applyName)
if not(ok and res) then pcall(localTag) end
task.wait(1.5)
end
end)
plr.CharacterAdded:Connect(function()
task.wait(2)
local ok,res=pcall(applyName)
if not(ok and res) then pcall(localTag) end
end)
-- rainbow helper (all gradients rotate together)
local keys={}
for i=0,6 do keys[#keys+1]=ColorSequenceKeypoint.new(i/6,Color3.fromHSV(i/6,1,1)) end
local RAINBOW=ColorSequence.new(keys)
local grads={}
local function rainbowOn(o) local g=make("UIGradient",{Color=RAINBOW},o) grads[#grads+1]=g return g end
local rconn=RUN.Heartbeat:Connect(function()
local r=(tick()*90)%360
for _,g in ipairs(grads) do g.Rotation=r end
end)
---------------- SHARINGAN (built from UI shapes) ----------------
local function sharingan(S,par)
local root=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Size=UDim2.fromOffset(S,S),BackgroundColor3=Color3.fromRGB(200,0,0),BorderSizePixel=0},par)
round(root,S)
make("UIStroke",{Color=Color3.new(0,0,0),Thickness=4},root)
local ring=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.5,.5),Size=UDim2.fromScale(.74,.74),BackgroundTransparency=1,BorderSizePixel=0},root)
round(ring,S)
make("UIStroke",{Color=Color3.new(0,0,0),Thickness=2},ring)
local rotor=make("Frame",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,BorderSizePixel=0},root)
local function dot(a,r,sz)
local d=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.5+r*math.cos(a),.5+r*math.sin(a)),Size=UDim2.fromScale(sz,sz),BackgroundColor3=Color3.new(0,0,0),BorderSizePixel=0},rotor)
round(d,S)
end
for k=0,2 do
local a=math.rad(90+k*120)
dot(a,.37,.17) dot(a+.22,.37,.11) dot(a+.4,.36,.065)
end
local pupil=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.5,.5),Size=UDim2.fromScale(.2,.2),BackgroundColor3=Color3.new(0,0,0),BorderSizePixel=0},root)
round(pupil,S)
return root,rotor
end
local function fadeOut(root,t)
for _,d in ipairs(root:GetDescendants()) do
if d:IsA("Frame") then tween(d,t,{BackgroundTransparency=1})
elseif d:IsA("UIStroke") then tween(d,t,{Transparency=1}) end
end
tween(root,t,{BackgroundTransparency=1})
end
---------------- WELCOME SCREEN ----------------
do
local w=make("ScreenGui",{Name="VihaanWelcome",IgnoreGuiInset=true,ResetOnSpawn=false},parent)
local bg=make("Frame",{Size=UDim2.fromScale(1,1),BackgroundColor3=Color3.new(0,0,0),BackgroundTransparency=1,BorderSizePixel=0},w)
local card=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.5,.5),Size=UDim2.fromOffset(340,150),BackgroundColor3=BLACK,BackgroundTransparency=1,BorderSizePixel=0,ZIndex=2},w)
round(card,14)
local st=make("UIStroke",{Color=RED,Thickness=2,Transparency=1},card)
local sc=make("UIScale",{Scale=.85},card)
local t1=make("TextLabel",{BackgroundTransparency=1,Size=UDim2.new(1,0,0,60),Position=UDim2.fromOffset(0,28),Font=Enum.Font.GothamBlack,Text="VIHAAN SPAMMER",TextSize=32,TextColor3=RED,TextTransparency=1},card)
local t2=make("TextLabel",{BackgroundTransparency=1,Size=UDim2.new(1,0,0,30),Position=UDim2.fromOffset(0,92),Font=Enum.Font.GothamMedium,Text="Welcome to Vihaan Spammer",TextSize=16,TextColor3=WHITE,TextTransparency=1},card)
local A,ar=sharingan(240,w)
local B,br=sharingan(240,w)
A.ZIndex=5 B.ZIndex=6
A.Position=UDim2.new(0,-160,.5,0)
B.Position=UDim2.new(1,160,.5,0)
tween(bg,.4,{BackgroundTransparency=.35})
tween(A,1.5,{Position=UDim2.new(.5,70,.5,0)},Enum.EasingStyle.Quint,Enum.EasingDirection.InOut)
tween(B,1.5,{Position=UDim2.new(.5,-70,.5,0)},Enum.EasingStyle.Quint,Enum.EasingDirection.InOut)
tween(ar,2.4,{Rotation=540},Enum.EasingStyle.Sine)
tween(br,2.4,{Rotation=-540},Enum.EasingStyle.Sine)
task.delay(1.1,function()
tween(card,.5,{BackgroundTransparency=.05})
tween(sc,.6,{Scale=1},Enum.EasingStyle.Back)
tween(st,.5,{Transparency=0})
tween(t1,.6,{TextTransparency=0})
tween(t2,.8,{TextTransparency=0})
task.spawn(function()
for _=1,3 do
tween(st,.5,{Thickness=4},Enum.EasingStyle.Sine).Completed:Wait()
tween(st,.5,{Thickness=2},Enum.EasingStyle.Sine).Completed:Wait()
end
end)
end)
task.wait(1.9)
fadeOut(A,.6) fadeOut(B,.6)
task.delay(.7,function() A:Destroy() B:Destroy() end)
task.wait(2.8)
tween(bg,.5,{BackgroundTransparency=1})
tween(card,.5,{BackgroundTransparency=1})
tween(sc,.5,{Scale=.9})
tween(st,.5,{Transparency=1})
tween(t1,.5,{TextTransparency=1})
tween(t2,.5,{TextTransparency=1})
task.wait(.6)
w:Destroy()
end
---------------- MAIN GUI ----------------
local gui=make("ScreenGui",{Name="VihaanMain",ResetOnSpawn=false},parent)
local main=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.5,.5),Size=UDim2.fromOffset(380,270),BackgroundColor3=BLACK,BorderSizePixel=0},gui)
round(main,12)
local ms=make("UIScale",{Scale=.8},main)
rainbowOn(make("UIStroke",{Color=PURE,Thickness=3},main))
tween(ms,.45,{Scale=1},Enum.EasingStyle.Back)
local titleBar=make("Frame",{Size=UDim2.new(1,0,0,36),BackgroundColor3=PANEL,BorderSizePixel=0},main)
round(titleBar,12)
local titleLbl=make("TextLabel",{BackgroundTransparency=1,Position=UDim2.fromOffset(14,0),Size=UDim2.new(1,-90,1,0),Font=Enum.Font.GothamBlack,Text="VIHAAN SPAMMER",TextSize=16,TextColor3=PURE,TextXAlignment=Enum.TextXAlignment.Left},titleBar)
rainbowOn(titleLbl)
local closeBtn=make("TextButton",{AnchorPoint=Vector2.new(1,.5),Position=UDim2.new(1,-8,.5,0),Size=UDim2.fromOffset(26,26),BackgroundColor3=DRED,Text="X",Font=Enum.Font.GothamBold,TextSize=14,TextColor3=WHITE},titleBar)
round(closeBtn,6)
local minBtn=make("TextButton",{AnchorPoint=Vector2.new(1,.5),Position=UDim2.new(1,-40,.5,0),Size=UDim2.fromOffset(26,26),BackgroundColor3=Color3.fromRGB(45,45,45),Text="-",Font=Enum.Font.GothamBold,TextSize=18,TextColor3=WHITE},titleBar)
round(minBtn,6)
local function draggable(handle,target,onClick)
local drag,ds,sp0,moved
handle.InputBegan:Connect(function(i)
if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then
drag,ds,sp0,moved=true,i.Position,target.Position,false
end
end)
UIS.InputChanged:Connect(function(i)
if drag and (i.UserInputType==Enum.UserInputType.MouseMovement or i.UserInputType==Enum.UserInputType.Touch) then
local d=i.Position-ds
if d.Magnitude>5 then moved=true end
if moved then target.Position=UDim2.new(sp0.X.Scale,sp0.X.Offset+d.X,sp0.Y.Scale,sp0.Y.Offset+d.Y) end
end
end)
UIS.InputEnded:Connect(function(i)
if drag and (i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch) then
drag=false
if not moved and onClick then onClick() end
end
end)
end
draggable(titleBar,main)
-- Mini (minimized) square
local mini=make("TextButton",{Name="Mini",AnchorPoint=Vector2.new(.5,.5),Size=UDim2.fromOffset(52,52),BackgroundColor3=BLACK,Text="",AutoButtonColor=false,Visible=false},gui)
round(mini,16)
rainbowOn(make("UIStroke",{Color=PURE,Thickness=3},mini))
local mscale=make("UIScale",{Scale=0},mini)
rainbowOn(make("TextLabel",{BackgroundTransparency=1,Size=UDim2.fromScale(1,1),Font=Enum.Font.GothamBlack,Text="VS",TextSize=20,TextColor3=PURE},mini))
local minimized=false
local function minimize()
if minimized then return end
minimized=true
tween(ms,.25,{Scale=.05},Enum.EasingStyle.Back,Enum.EasingDirection.In)
task.wait(.25)
mini.Position=main.Position
main.Visible=false
mscale.Scale=0
mini.Visible=true
tween(mscale,.35,{Scale=1},Enum.EasingStyle.Back)
end
local function restore()
if not minimized then return end
minimized=false
tween(mscale,.2,{Scale=0})
task.wait(.2)
mini.Visible=false
main.Position=mini.Position
main.Visible=true
tween(ms,.35,{Scale=1},Enum.EasingStyle.Back)
end
draggable(mini,mini,restore)
minBtn.MouseButton1Click:Connect(minimize)
-- Tabs
local tabBar=make("Frame",{Position=UDim2.fromOffset(0,36),Size=UDim2.new(1,0,0,34),BackgroundTransparency=1},main)
local content=make("Frame",{Position=UDim2.fromOffset(0,72),Size=UDim2.new(1,0,1,-72),BackgroundTransparency=1,ClipsDescendants=true},main)
local names={"SPAMMER","FEEDBACK","INVITE"}
local pages,tabs={},{}
local current
local function selectTab(n)
for k,p in pairs(pages) do p.Visible=(k==n) end
if current~=n then
pages[n].Position=UDim2.fromOffset(18,0)
tween(pages[n],.25,{Position=UDim2.fromOffset(0,0)})
end
current=n
for k,b in pairs(tabs) do
b.TextColor3=(k==n) and WHITE or GREY
b.Underline.BackgroundTransparency=(k==n) and 0 or 1
end
end
for i,n in ipairs(names) do
local b=make("TextButton",{Position=UDim2.new((i-1)/3,0,0,0),Size=UDim2.new(1/3,0,1,0),BackgroundTransparency=1,Text=n,Font=Enum.Font.GothamBold,TextSize=14,TextColor3=GREY},tabBar)
local u=make("Frame",{Name="Underline",AnchorPoint=Vector2.new(.5,1),Position=UDim2.new(.5,0,1,0),Size=UDim2.new(.7,0,0,3),BackgroundColor3=PURE,BorderSizePixel=0,BackgroundTransparency=1},b)
rainbowOn(u)
tabs[n]=b
pages[n]=make("Frame",{Size=UDim2.fromScale(1,1),BackgroundTransparency=1,Visible=false},content)
b.MouseButton1Click:Connect(function() selectTab(n) end)
end
local function btn(text,pos,size,color,par)
local b=make("TextButton",{Position=pos,Size=size,BackgroundColor3=color,Text=text,Font=Enum.Font.GothamBold,TextSize=14,TextColor3=WHITE},par)
round(b,8)
local u=make("UIScale",{},b)
b.MouseEnter:Connect(function() tween(u,.15,{Scale=1.04}) end)
b.MouseLeave:Connect(function() tween(u,.15,{Scale=1}) end)
return b
end
local function status(par,y)
return make("TextLabel",{Position=UDim2.fromOffset(12,y),Size=UDim2.new(1,-24,0,20),BackgroundTransparency=1,Font=Enum.Font.Gotham,TextSize=13,TextColor3=GREY,Text="",TextXAlignment=Enum.TextXAlignment.Left},par)
end
---------------- SPAMMER TAB ----------------
local sp=pages["SPAMMER"]
local msgBox=make("TextBox",{Position=UDim2.fromOffset(12,6),Size=UDim2.new(1,-24,0,38),BackgroundColor3=PANEL,PlaceholderText="Type your message...",PlaceholderColor3=GREY,Text="",ClearTextOnFocus=false,Font=Enum.Font.Gotham,TextSize=14,TextColor3=WHITE},sp)
round(msgBox,8)
make("UIStroke",{Color=DRED,Thickness=1},msgBox)
local delayLabel=make("TextLabel",{Position=UDim2.fromOffset(12,52),Size=UDim2.new(1,-24,0,20),BackgroundTransparency=1,Font=Enum.Font.GothamMedium,TextSize=13,TextColor3=WHITE,Text="Delay: 3.0s",TextXAlignment=Enum.TextXAlignment.Left},sp)
local MINd,MAXd,delay=1,10,3
local hit=make("Frame",{Position=UDim2.fromOffset(12,76),Size=UDim2.new(1,-24,0,26),BackgroundTransparency=1},sp)
local track=make("Frame",{AnchorPoint=Vector2.new(0,.5),Position=UDim2.fromScale(0,.5),Size=UDim2.new(1,0,0,8),BackgroundColor3=PANEL,BorderSizePixel=0},hit)
round(track,4)
local fill=make("Frame",{Size=UDim2.fromScale(.22,1),BackgroundColor3=PURE,BorderSizePixel=0},track)
round(fill,4)
rainbowOn(fill)
local knob=make("Frame",{AnchorPoint=Vector2.new(.5,.5),Position=UDim2.fromScale(.22,.5),Size=UDim2.fromOffset(18,18),BackgroundColor3=WHITE,BorderSizePixel=0},track)
round(knob,9)
local function setSlider(rel)
rel=math.clamp(rel,0,1)
delay=math.floor((MINd+rel*(MAXd-MINd))*10+.5)/10
fill.Size=UDim2.fromScale(rel,1)
knob.Position=UDim2.fromScale(rel,.5)
delayLabel.Text=string.format("Delay: %.1fs",delay)
end
setSlider((delay-MINd)/(MAXd-MINd))
do
local sliding=false
local function fromInput(i) setSlider((i.Position.X-track.AbsolutePosition.X)/track.AbsoluteSize.X) end
hit.InputBegan:Connect(function(i)
if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then sliding=true fromInput(i) end
end)
UIS.InputChanged:Connect(function(i)
if sliding and (i.UserInputType==Enum.UserInputType.MouseMovement or i.UserInputType==Enum.UserInputType.Touch) then fromInput(i) end
end)
UIS.InputEnded:Connect(function(i)
if i.UserInputType==Enum.UserInputType.MouseButton1 or i.UserInputType==Enum.UserInputType.Touch then sliding=false end
end)
end
local startBtn=btn("START",UDim2.fromOffset(12,112),UDim2.new(.5,-18,0,36),RED,sp)
local stopBtn=btn("STOP",UDim2.new(.5,6,0,112),UDim2.new(.5,-18,0,36),GREY,sp)
local spStatus=status(sp,156)
spStatus.Text="Status: idle"
local function sendChat(msg)
if TCS.ChatVersion==Enum.ChatVersion.TextChatService then
local ch=TCS:FindFirstChild("TextChannels")
local g=ch and ch:FindFirstChild("RBXGeneral")
if g then g:SendAsync(msg) end
else
local ev=RS:FindFirstChild("DefaultChatSystemChatEvents")
local say=ev and ev:FindFirstChild("SayMessageRequest")
if say then say:FireServer(msg,"All") end
end
end
local PREFIX="$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$"
local runId=0
startBtn.MouseButton1Click:Connect(function()
if msgBox.Text:gsub("%s","")=="" then
spStatus.Text="Status: type a message first"
spStatus.TextColor3=RED
return
end
runId+=1
local my=runId
spStatus.Text="Status: running"
spStatus.TextColor3=RED
task.spawn(function()
while runId==my do
pcall(sendChat,PREFIX..msgBox.Text.."TMX")
task.wait(delay)
end
end)
end)
stopBtn.MouseButton1Click:Connect(function()
runId+=1
spStatus.Text="Status: stopped"
spStatus.TextColor3=GREY
end)
---------------- FEEDBACK TAB ----------------
local fb=pages["FEEDBACK"]
make("TextLabel",{Position=UDim2.fromOffset(12,4),Size=UDim2.new(1,-24,0,20),BackgroundTransparency=1,Font=Enum.Font.GothamMedium,TextSize=13,TextColor3=WHITE,Text="Rate Vihaan Spammer",TextXAlignment=Enum.TextXAlignment.Left},fb)
local rating,stars=0,{}
local row=make("Frame",{Position=UDim2.fromOffset(12,26),Size=UDim2.new(1,-24,0,30),BackgroundTransparency=1},fb)
make("UIListLayout",{FillDirection=Enum.FillDirection.Horizontal,Padding=UDim.new(0,6)},row)
local function paint() for i,s in ipairs(stars) do s.TextColor3=(i<=rating) and RED or GREY end end
for i=1,5 do
local s=make("TextButton",{Size=UDim2.fromOffset(34,30),BackgroundTransparency=1,Text="★",Font=Enum.Font.GothamBold,TextSize=28,TextColor3=GREY},row)
s.MouseButton1Click:Connect(function() rating=i paint() end)
stars[i]=s
end
local fbBox=make("TextBox",{Position=UDim2.fromOffset(12,62),Size=UDim2.new(1,-24,0,64),BackgroundColor3=PANEL,PlaceholderText="Write your feedback...",PlaceholderColor3=GREY,Text="",ClearTextOnFocus=false,MultiLine=true,TextWrapped=true,TextXAlignment=Enum.TextXAlignment.Left,TextYAlignment=Enum.TextYAlignment.Top,Font=Enum.Font.Gotham,TextSize=13,TextColor3=WHITE},fb)
round(fbBox,8)
make("UIStroke",{Color=DRED,Thickness=1},fbBox)
make("UIPadding",{PaddingLeft=UDim.new(0,8),PaddingTop=UDim.new(0,6),PaddingRight=UDim.new(0,8)},fbBox)
local submit=btn("SUBMIT",UDim2.fromOffset(12,134),UDim2.new(1,-24,0,34),RED,fb)
local fbStatus=status(fb,172)
submit.MouseButton1Click:Connect(function()
if rating==0 then
fbStatus.Text="Pick a star rating first"
fbStatus.TextColor3=RED
return
end
print("[Vihaan Spammer] Feedback:",rating.."/5",fbBox.Text,plr.Name)
fbStatus.Text="Thanks for your feedback!"
fbStatus.TextColor3=WHITE
fbBox.Text=""
rating=0
paint()
end)
---------------- INVITE TAB ----------------
local inv=pages["INVITE"]
make("TextLabel",{Position=UDim2.fromOffset(12,14),Size=UDim2.new(1,-24,0,40),BackgroundTransparency=1,Font=Enum.Font.Gotham,TextSize=14,TextColor3=WHITE,TextWrapped=true,Text="Invite your friends to this server using Roblox's built-in invite menu."},inv)
local invBtn=btn("OPEN ROBLOX INVITE",UDim2.fromOffset(12,68),UDim2.new(1,-24,0,42),RED,inv)
local invStatus=status(inv,118)
invBtn.MouseButton1Click:Connect(function()
local ok,can=pcall(function() return SS:CanSendGameInviteAsync(plr) end)
if ok and can then
pcall(function() SS:PromptGameInvite(plr) end)
invStatus.Text="Invite menu opened"
invStatus.TextColor3=WHITE
else
invStatus.Text="Invites aren't available in this game"
invStatus.TextColor3=RED
end
end)
---------------- WATERMARK ----------------
make("TextLabel",{AnchorPoint=Vector2.new(1,1),Position=UDim2.new(1,-12,1,-10),Size=UDim2.fromOffset(260,20),BackgroundTransparency=1,Font=Enum.Font.RobotoMono,Text=string.upper("Vihaan Developments"),TextSize=14,TextColor3=Color3.fromRGB(0,140,255),TextXAlignment=Enum.TextXAlignment.Right},gui)
---------------- CLOSE ----------------
closeBtn.MouseButton1Click:Connect(function()
runId+=1
tween(ms,.3,{Scale=0},Enum.EasingStyle.Back,Enum.EasingDirection.In)
task.wait(.3)
rconn:Disconnect()
gui:Destroy()
end)
selectTab("SPAMMER")