Description
This is a script for Lori’s Nightmare. It includes: * auto‑farm; * ability info; * language switching; * game lore; * teleport to the portal; * teleport to kids; * highlighting almost everything; * highlighting the best spots for traps. And so on. If the script gets 10 likes, I’ll make a script for another game.
GAMELori's Nightmare
UPDATEDOct 10, 2026
ACCESSKeyless
PLATFORMDesktop & Mobile
Script source Luau
-- [[ BloxScripts Risk Notice ]]
-- This script has not been verified by BloxScripts.fun. Deal with caution.
--
-- Stay safe:
-- • Never log in on unofficial Roblox sites or lookalike domains.
-- • Real Roblox links use roblox.com (check the .com ending).
-- • Treat fake Roblox login / "claim reward" pages as phishing.
-- [[ End BloxScripts Risk Notice ]]
-- ============ Cool Bacon v4.3.0 ============
local P=game:GetService("Players")
local W=game:GetService("Workspace")
local U=game:GetService("UserInputService")
local TS=game:GetService("TeleportService")
local RS=game:GetService("RunService")
local HHS=game:GetService("HttpService")
local LP=P.LocalPlayer
local mob=U.TouchEnabled and not U.MouseEnabled
local C={K=Color3.fromRGB(255,40,40),D=Color3.fromRGB(40,255,40),T=Color3.fromRGB(255,200,0),M=Color3.fromRGB(255,180,0),R=Color3.fromRGB(255,140,0)}
local S={HK=false,HT=false,HC=false,HD=false,HR=false,AT=false,AC=false,AK=false,LK=false,LD=false,AR=false,SP=0,Tab=1,HL={},FO=nil,lTV=nil,sp=nil,noCoins=0,hopping=false,mini=false,AH=false,healCD=0,healCDMax=2}
local L={"Дети","Опасн","Убийцы","Вики","Лор","ТП","Обнов","Убийца(ESP)","Класс убийцы","ТВ(ESP)","Монеты(ESP)","Починить ТВ","Авто-ТВ","Анти-ранение","Авто-фарм","Дети(ESP)","Класс детей","Капканы","Скорость:","ВКЛ","ВЫКЛ","Выкл","Анти-ранение: ходьба+снятие оглушения","Дети зелёным. Капканы оранж.","Базовая 16. 100%=32. Выкл-стандарт.","КАПКАН","ТП к ТВ","Игроки:","Обновить","Нет игроков","ТП к ТВ","ТП к порталу","ОПАСНЫЕ ДЕТИ","Шанс стать убийцей","Обновить список","Нет данных","Авто-убийство","Мой шанс:","Авто-лечение"}
local TN={"Дети","Акк","Опасн","Убийцы","Вики","Лор","ТП","Обнов"}
local function T(n)return L[n]end
-- Утилиты
local function GP(o)if not o then return nil end if o:IsA("BasePart")then return o.Position end if o:IsA("Model")then local p=o:FindFirstChildWhichIsA("BasePart")if p then return p.Position end if o.PrimaryPart then return o.PrimaryPart.Position end end return nil end
local function CH(i,c,t)if not i or not i.Parent then return nil end local h=Instance.new("Highlight")h.FillColor=c h.OutlineColor=c h.FillTransparency=t or 0.4 h.DepthMode=Enum.HighlightDepthMode.AlwaysOnTop h.Parent=i return h end
local function CN(p)local ls=p:FindFirstChild("leaderstats")if ls then for _,v in ipairs(ls:GetChildren())do local n=v.Name:lower()if n:find("class")or n:find("char")then return tostring(v.Value)end end end if p.Team then return p.Team.Name end if p.Character then return p.Character.Name end return p.Name end
local function FK()local k={}for _,p in ipairs(P:GetPlayers())do if p~=LP and p.Character then local isK=false if p.Team then local tn=p.Team.Name:lower()if tn:find("kill")or tn:find("nightmare")then isK=true end end if not isK and p.Character.Name:lower():find("kill")then isK=true end if isK then table.insert(k,{char=p.Character,name=CN(p)})end end end return k end
local function DS(p)local s=25 if p.Character then local cn=p.Character.Name:lower()if cn:find("kill")or cn:find("nightmare")then s=s+50 end if cn:find("carnivore")or cn:find("phantom")then s=s+30 end end if p.Team then local tn=p.Team.Name:lower()if tn:find("kill")or tn:find("nightmare")then s=s+20 end end local h=0 for i=1,#p.Name do h=(h*31+string.byte(p.Name,i))%100 end s=s+(h%40)if s>100 then s=100 end if s<5 then s=5 end return math.floor(s)end
local function IsFixed(obj)for _,at in ipairs({"Fixed","Repaired","IsFixed"})do if obj:GetAttribute(at)==true then return true end end for _,c in ipairs(obj:GetDescendants())do if c:IsA("BoolValue")then local cn=c.Name:lower()if (cn:find("fixed")or cn:find("repaired"))and c.Value then return true end end end return false end
local function FTV()local tvs={}local f={}for _,o in ipairs(W:GetDescendants())do if o:IsA("ProximityPrompt")then local c=((o.ActionText or "").." "..(o.ObjectText or "")):lower()if c:find("fix")or c:find("repair")or c:find("broken")or c:find("tv")or c:find("television")or c:find("tele")or c:find("screen")or c:find("monitor")or c:find("turn on")or c:find("interact")then local t=o.Parent while t and not t:IsA("BasePart")and not t:IsA("Model")do t=t.Parent end if t and not f[t]then if not IsFixed(t)then f[t]=true table.insert(tvs,{obj=t,prompt=o})end end end end end for _,o in ipairs(W:GetDescendants())do local n=(o.Name or ""):lower()if not f[o]and(o:IsA("BasePart")or o:IsA("Model"))then if n:find("tv")or n:find("television")or n:find("tele")or n:find("screen")or n:find("broken")or n:find("monitor")then if not IsFixed(o)then f[o]=true table.insert(tvs,{obj=o})end end end end local r={}for _,tv in ipairs(tvs)do local pos=GP(tv.obj)if pos then table.insert(r,{obj=tv.obj,pos=pos,prompt=tv.prompt,status="broken"})end end return r end
local function FC()local c={}for _,o in ipairs(W:GetDescendants())do if o.Name:lower():find("coin")then if o:IsA("BasePart")then table.insert(c,o)elseif o:IsA("Model")then local p=o:FindFirstChildWhichIsA("BasePart")if p then table.insert(c,p)end end end end return c end
local function FP()local p={}local f={}for _,o in ipairs(W:GetDescendants())do local n=(o.Name or ""):lower()if(n:find("portal")or n:find("exit")or n:find("escape"))and not f[o]and(o:IsA("BasePart")or o:IsA("Model"))then local a=true if o:IsA("BasePart")then if o.Transparency>=1 then a=false end if o.CanCollide==false and not o:FindFirstChildWhichIsA("ProximityPrompt")then a=false end end for _,at in ipairs({"Active","Enabled","Working","Open","Usable","IsActive"})do if o:GetAttribute(at)==false then a=false end end if a then f[o]=true table.insert(p,o)end end end return p end
local function FCS()for _,o in ipairs(W:GetDescendants())do local n=(o.Name or""):lower()if n:find("cutscene")or n:find("intro")or n:find("lobby")or n:find("spawn")or n:find("start")or n:find("begin")or n:find("hub")or n:find("main")then local p=GP(o)if p then return p end end end for _,o in ipairs(W:GetDescendants())do if o:IsA("SpawnLocation")then return o.Position end end return S.sp end
pcall(function()if LP.Character and LP.Character:FindFirstChild("HumanoidRootPart")then S.sp=LP.Character.HumanoidRootPart.Position end end)
if not S.sp then pcall(function()local ch=LP.Character or LP.CharacterAdded:Wait()ch:WaitForChild("HumanoidRootPart",15)S.sp=ch.HumanoidRootPart.Position end)end
LP.CharacterAdded:Connect(function(ch)ch:WaitForChild("HumanoidRootPart",10)task.wait(1)if ch:FindFirstChild("HumanoidRootPart")then S.sp=ch.HumanoidRootPart.Position end end)
local function SH()
if S.hopping then return end
S.hopping=true
warn("[CB] Server hop started")
local HS=HHS
local placeId=game.PlaceId
local jobId=game.JobId
local servers={}
local cursor=""
local function httpGet(url)
local body=nil
pcall(function()if type(request)=="function" then local res=request({Url=url,Method="GET"})body=res.Body end end)
if not body then pcall(function()body=game:HttpGet(url)end)end
return body
end
pcall(function()
repeat
local url="https://games.roblox.com/v1/games/"..placeId.."/servers/Public?limit=100&cursor="..cursor
local body=httpGet(url)
if body then
local data=HS:JSONDecode(body)
if data and data.data then
for _,sv in ipairs(data.data)do
if sv.playing<sv.maxPlayers and sv.id~=jobId then table.insert(servers,sv.id)end
end
end
cursor=data.nextPageCursor
else break end
until not cursor or #servers>20
end)
if #servers>0 then
local target=servers[math.random(1,#servers)]
pcall(function()TS:TeleportToPlaceInstance(placeId,target,LP)end)
task.wait(3)
pcall(function()TS:TeleportToPlaceInstance(placeId,target,LP)end)
else
pcall(function()TS:Teleport(placeId,LP)end)
end
S.hopping=false
end
local function TPTV()local ch=LP.Character if not ch then return end local r=ch:FindFirstChild("HumanoidRootPart")if not r then return end local s=FTV()if #s==0 then return end local cl,md=nil,math.huge for _,t in ipairs(s)do local d=(t.pos-r.Position).Magnitude if d<md then md=d cl=t end end if cl then r.CFrame=CFrame.new(cl.pos+Vector3.new(0,3,0))end end
local function TPP()local ch=LP.Character if not ch then return end local r=ch:FindFirstChild("HumanoidRootPart")if not r then return end local ps=FP()if #ps==0 then return end local cl,md=nil,math.huge for _,p in ipairs(ps)do local pos=GP(p)if pos then local d=(pos-r.Position).Magnitude if d<md then md=d cl=pos end end end if cl then r.CFrame=CFrame.new(cl+Vector3.new(0,3,0))end end
local function AFT()local ch=LP.Character if not ch then return end local r=ch:FindFirstChild("HumanoidRootPart")if not r then return end local s=FTV()if #s==0 then return end local cl,md=nil,math.huge for _,t in ipairs(s)do local d=(t.pos-r.Position).Magnitude if d<md then md=d cl=t.obj end end if cl then local pos=GP(cl)if pos then r.CFrame=CFrame.new(pos+Vector3.new(0,3,0))end task.wait(0.2)for _,c in ipairs(cl:GetDescendants())do if c:IsA("ProximityPrompt")then pcall(function()fireproximityprompt(c)end)return end end for _,c in ipairs(cl:GetDescendants())do if c:IsA("ClickDetector")then pcall(function()fireclickdetector(c)end)return end end end end
local function FWA(ch,h)local a=ch:FindFirstChild("Animate")if a then for _,sn in ipairs({"walk","run"})do local nd=a:FindFirstChild(sn)if nd then for _,ao in ipairs(nd:GetChildren())do if ao:IsA("Animation")then pcall(function()local an=h:FindFirstChildOfClass("Animator")local tr=an and an:LoadAnimation(ao)or h:LoadAnimation(ao)if tr then tr:Play(0.1)end end)break end end end end end h.AutoRotate=true pcall(function()h:ChangeState(Enum.HumanoidStateType.Running)end)end
local function HealChildren()
if S.healCD>0 then return end
local healed=0
for _,p in ipairs(P:GetPlayers())do
if p~=LP and p.Character then
local isK=false
if p.Team then local tn=p.Team.Name:lower()if tn:find("kill")or tn:find("nightmare")then isK=true end end
if not isK and p.Character.Name:lower():find("kill")then isK=true end
if not isK then
local hum=p.Character:FindFirstChildOfClass("Humanoid")
if hum and hum.Health>0 and hum.Health<hum.MaxHealth then
local ok=false
local hr=p.Character:FindFirstChild("Heal",true)
if hr and hr:IsA("RemoteEvent")then hr:FireServer(hum.MaxHealth)ok=true end
if not ok then hum.Health=hum.MaxHealth ok=true end
if ok then healed=healed+1 end
end
end
end
end
if LP.Character then
local myK=false
if LP.Team then local tn=LP.Team.Name:lower()if tn:find("kill")or tn:find("nightmare")then myK=true end end
if not myK and LP.Character.Name:lower():find("kill")then myK=true end
if not myK then
local mh=LP.Character:FindFirstChildOfClass("Humanoid")
if mh and mh.Health<mh.MaxHealth then mh.Health=mh.MaxHealth healed=healed+1 end
end
end
S.healCD=S.healCDMax
print("Вылечено: "..healed)
end
-- ============ GUI ============
local ok,CG=pcall(function()return game:GetService("CoreGui")end)
if ok and CG then local old=CG:FindFirstChild("CBG")if old then old:Destroy()end end
local pg=LP:FindFirstChild("PlayerGui")if pg then local old=pg:FindFirstChild("CBG")if old then old:Destroy()end end
local sg=Instance.new("ScreenGui")sg.Name="CBG"sg.ResetOnSpawn=false sg.IgnoreGuiInset=true
if ok and CG then pcall(function()sg.Parent=CG end)end
if not sg.Parent then pcall(function()local p=LP:WaitForChild("PlayerGui",5)if p then sg.Parent=p end end)end
if not sg.Parent then sg.Parent=LP:WaitForChild("PlayerGui")end
local pn=Instance.new("Frame")pn.Size=UDim2.new(0,270,0,530)pn.Position=UDim2.new(0.5,-135,0.03,0)pn.BackgroundColor3=Color3.fromRGB(28,28,35)pn.BorderSizePixel=0 pn.Active=true pn.Draggable=true pn.Parent=sg
local pc0=Instance.new("UICorner")pc0.CornerRadius=UDim.new(0,10)pc0.Parent=pn
local tb=Instance.new("Frame")tb.Size=UDim2.new(1,0,0,45)tb.BackgroundColor3=Color3.fromRGB(45,45,60)tb.BorderSizePixel=0 tb.Parent=pn
local tc0=Instance.new("UICorner")tc0.CornerRadius=UDim.new(0,10)tc0.Parent=tb
local tl=Instance.new("TextLabel")tl.Size=UDim2.new(0,140,0,45)tl.Position=UDim2.new(0,10,0,0)tl.BackgroundTransparency=1 tl.Text="Cool Bacon v4.3.0"tl.TextColor3=Color3.fromRGB(255,255,255)tl.Font=Enum.Font.GothamBold tl.TextSize=16 tl.TextXAlignment=Enum.TextXAlignment.Left tl.Parent=tb
local cb=Instance.new("TextButton")cb.Size=UDim2.new(0,35,0,35)cb.Position=UDim2.new(1,-40,0,5)cb.BackgroundColor3=Color3.fromRGB(200,50,50)cb.Text="X"cb.TextColor3=Color3.fromRGB(255,255,255)cb.Font=Enum.Font.GothamBold cb.TextSize=18 cb.BorderSizePixel=0 cb.Parent=tb
local cc0=Instance.new("UICorner")cc0.CornerRadius=UDim.new(0,8)cc0.Parent=cb
cb.MouseButton1Click:Connect(function()sg:Destroy()end)
local mb=Instance.new("TextButton")mb.Size=UDim2.new(0,35,0,35)mb.Position=UDim2.new(1,-80,0,5)mb.BackgroundColor3=Color3.fromRGB(60,60,75)mb.Text="-"mb.TextColor3=Color3.fromRGB(255,255,255)mb.Font=Enum.Font.GothamBold mb.TextSize=20 mb.BorderSizePixel=0 mb.Parent=tb
local mbc=Instance.new("UICorner")mbc.CornerRadius=UDim.new(0,8)mbc.Parent=mb
local AvatarBtn=Instance.new("TextButton")
AvatarBtn.Size=UDim2.new(0,32,0,32)AvatarBtn.Position=UDim2.new(1,-118,0,7)AvatarBtn.BackgroundColor3=Color3.fromRGB(60,60,75)
AvatarBtn.Text=""AvatarBtn.BorderSizePixel=0 AvatarBtn.AutoButtonColor=false AvatarBtn.Parent=tb
local abbc=Instance.new("UICorner")abbc.CornerRadius=UDim.new(0,16)abbc.Parent=AvatarBtn
local AvatarImg=Instance.new("ImageLabel")
AvatarImg.Size=UDim2.new(1,0,1,0)AvatarImg.BackgroundTransparency=1
AvatarImg.Image="rbxthumb://type=AvatarHeadShot&id="..LP.UserId.."&w=150&h=150"AvatarImg.ClipsDescendants=true AvatarImg.Parent=AvatarBtn
local aimgc=Instance.new("UICorner")aimgc.CornerRadius=UDim.new(0,16)aimgc.Parent=AvatarImg
local fullH=530
local miniH=45
mb.MouseButton1Click:Connect(function()
S.min=not S.min
if S.min then
pn.Size=UDim2.new(0,270,0,miniH)
mb.Text="+"
for _,c in ipairs(pn:GetChildren())do if c~=tb and c~=pc0 then c.Visible=false end end
else
pn.Size=UDim2.new(0,270,0,fullH)
mb.Text="-"
for _,c in ipairs(pn:GetChildren())do if c~=pc0 then c.Visible=true end end
end
end)
local Tbs={}
local Ts={}
for i=1,8 do
local b=Instance.new("TextButton")
b.Size=UDim2.new(1/8,-3,0,40)
b.Position=UDim2.new((i-1)/8,2,0,50)
b.BackgroundColor3=Color3.fromRGB(50,50,65)
b.Text=TN[i]
b.TextColor3=Color3.fromRGB(255,255,255)
b.Font=Enum.Font.GothamBold b.TextSize=8 b.BorderSizePixel=0 b.Parent=pn
local uc=Instance.new("UICorner")uc.CornerRadius=UDim.new(0,6)uc.Parent=b
Tbs[i]=b
end
local cf=Instance.new("Frame")cf.Size=UDim2.new(1,-10,0,380)cf.Position=UDim2.new(0,5,0,95)cf.BackgroundTransparency=1 cf.Parent=pn
for i=1,15 do
Ts[i]=Instance.new("ScrollingFrame")
Ts[i].Size=UDim2.new(1,0,1,0)
Ts[i].BackgroundTransparency=1
Ts[i].ScrollBarThickness=6
Ts[i].Active=true
Ts[i].Visible=(i==1)
Ts[i].Parent=cf
end
local function ShowTab(idx)
S.Tab=idx
for _,b in ipairs(Tbs)do b.BackgroundColor3=Color3.fromRGB(50,50,65)end
for j=1,15 do Ts[j].Visible=(j==idx)end
end
for i=1,8 do Tbs[i].MouseButton1Click:Connect(function()ShowTab(i)end)end
for i,b in ipairs(Tbs)do b.BackgroundColor3=(i==1)and Color3.fromRGB(70,130,220)or Color3.fromRGB(50,50,65)end
local MT=function(par,ti,onC,offC,sk,py)
local b=Instance.new("TextButton")
b.Size=UDim2.new(1,-15,0,38)b.Position=UDim2.new(0,2,0,py)b.BackgroundColor3=offC
b.Text=T(ti)..": "..T(21)b.TextColor3=Color3.fromRGB(255,255,255)b.Font=Enum.Font.GothamBold b.TextSize=14 b.BorderSizePixel=0 b.Parent=par
local cr=Instance.new("UICorner")cr.CornerRadius=UDim.new(0,6)cr.Parent=b
b.MouseButton1Click:Connect(function()
S[sk]=not S[sk]
if S[sk]then b.Text=T(ti)..": "..T(20)b.BackgroundColor3=onC
else b.Text=T(ti)..": "..T(21)b.BackgroundColor3=offC end
end)
return b
end
-- ============ TAB 1 ============
MT(Ts[1],8,Color3.fromRGB(200,50,50),Color3.fromRGB(60,60,70),"HK",5)
MT(Ts[1],9,Color3.fromRGB(200,50,50),Color3.fromRGB(60,60,70),"LK",48)
MT(Ts[1],10,Color3.fromRGB(200,170,0),Color3.fromRGB(60,60,70),"HT",91)
MT(Ts[1],11,Color3.fromRGB(200,150,0),Color3.fromRGB(60,60,70),"HC",134)
local TvB=Instance.new("TextButton")
TvB.Size=UDim2.new(1,-15,0,38)TvB.Position=UDim2.new(0,2,0,177)
TvB.BackgroundColor3=Color3.fromRGB(50,50,70)
TvB.Text=T(12)TvB.TextColor3=Color3.fromRGB(255,255,255)
TvB.Font=Enum.Font.GothamBold TvB.TextSize=14 TvB.BorderSizePixel=0 TvB.Parent=Ts[1]
local tvc=Instance.new("UICorner")tvc.CornerRadius=UDim.new(0,6)tvc.Parent=TvB
TvB.MouseButton1Click:Connect(AFT)
MT(Ts[1],13,Color3.fromRGB(0,160,0),Color3.fromRGB(50,50,70),"AT",220)
MT(Ts[1],14,Color3.fromRGB(0,200,100),Color3.fromRGB(40,60,50),"AR",263)
local HealB=Instance.new("TextButton")
HealB.Size=UDim2.new(1,-15,0,38)HealB.Position=UDim2.new(0,2,0,306)
HealB.BackgroundColor3=Color3.fromRGB(0,180,0)HealB.Text="Лечить детей"
HealB.TextColor3=Color3.fromRGB(255,255,255)
HealB.Font=Enum.Font.GothamBold HealB.TextSize=14 HealB.BorderSizePixel=0 HealB.Parent=Ts[1]
local hbc=Instance.new("UICorner")hbc.CornerRadius=UDim.new(0,6)hbc.Parent=HealB
HealB.MouseButton1Click:Connect(function()HealChildren()HealB.Text="ГОТОВО"task.delay(1,function()HealB.Text="Лечить детей"end)end)
MT(Ts[1],39,Color3.fromRGB(0,200,0),Color3.fromRGB(60,60,70),"AH",349)
Ts[1].CanvasSize=UDim2.new(0,0,0,470)
-- ============ TAB 2 ============
local AIT=Instance.new("TextLabel")
AIT.Size=UDim2.new(1,-10,0,24)AIT.Position=UDim2.new(0,2,0,5)AIT.BackgroundTransparency=1
AIT.Text="О СКРИПТЕ"AIT.TextColor3=Color3.fromRGB(100,200,255)
AIT.Font=Enum.Font.GothamBold AIT.TextSize=14 AIT.TextXAlignment=Enum.TextXAlignment.Left AIT.Parent=Ts[2]
local AInfo=Instance.new("TextLabel")
AInfo.Size=UDim2.new(1,-10,0,105)AInfo.Position=UDim2.new(0,2,0,32)
AInfo.BackgroundColor3=Color3.fromRGB(40,40,55)AInfo.BackgroundTransparency=0.3
AInfo.Text=" Cool Bacon v4.3.0\n Автор: eggs_banana67\n Платформа: "..(mob and "Mobile" or "PC").."\n Функции: ESP, авто-ТВ, лечение,\n авто-фарм, авто-убийство, сервер-хоп"
AInfo.TextColor3=Color3.fromRGB(220,220,230)AInfo.Font=Enum.Font.Gotham AInfo.TextSize=11
AInfo.TextWrapped=true AInfo.TextXAlignment=Enum.TextXAlignment.Left AInfo.TextYAlignment=Enum.TextYAlignment.Top
AInfo.BorderSizePixel=0 AInfo.Parent=Ts[2]
local aic=Instance.new("UICorner")aic.CornerRadius=UDim.new(0,4)aic.Parent=AInfo
local CreateAccBtn=Instance.new("TextButton")
CreateAccBtn.Size=UDim2.new(1,-10,0,48)CreateAccBtn.Position=UDim2.new(0,2,0,150)
CreateAccBtn.BackgroundColor3=Color3.fromRGB(70,130,220)CreateAccBtn.Text="🔒 Создать аккаунт"
CreateAccBtn.TextColor3=Color3.fromRGB(255,255,255)CreateAccBtn.Font=Enum.Font.GothamBold CreateAccBtn.TextSize=15
CreateAccBtn.BorderSizePixel=0 CreateAccBtn.Parent=Ts[2]
local cabc=Instance.new("UICorner")cabc.CornerRadius=UDim.new(0,6)cabc.Parent=CreateAccBtn
local LoginAccBtn=Instance.new("TextButton")
LoginAccBtn.Size=UDim2.new(1,-10,0,48)LoginAccBtn.Position=UDim2.new(0,2,0,206)
LoginAccBtn.BackgroundColor3=Color3.fromRGB(0,170,120)LoginAccBtn.Text="🔓 Войти в аккаунт"
LoginAccBtn.TextColor3=Color3.fromRGB(255,255,255)LoginAccBtn.Font=Enum.Font.GothamBold LoginAccBtn.TextSize=15
LoginAccBtn.BorderSizePixel=0 LoginAccBtn.Parent=Ts[2]
local labc=Instance.new("UICorner")labc.CornerRadius=UDim.new(0,6)labc.Parent=LoginAccBtn
local Filler=Instance.new("TextLabel")
Filler.Size=UDim2.new(1,-10,0,90)Filler.Position=UDim2.new(0,2,0,265)
Filler.BackgroundColor3=Color3.fromRGB(30,30,45)Filler.BackgroundTransparency=0.3
Filler.Text=" 💾 Все аккаунты сохраняются в файл\n cool_bacon_account.json\n При повторном запуске последний\n активный аккаунт подгрузится."
Filler.TextColor3=Color3.fromRGB(180,180,220)Filler.Font=Enum.Font.Gotham Filler.TextSize=10
Filler.TextWrapped=true Filler.TextXAlignment=Enum.TextXAlignment.Left Filler.TextYAlignment=Enum.TextYAlignment.Top
Filler.BorderSizePixel=0 Filler.Parent=Ts[2]
local fc2=Instance.new("UICorner")fc2.CornerRadius=UDim.new(0,4)fc2.Parent=Filler
Ts[2].CanvasSize=UDim2.new(0,0,0,400)
-- ============ ХРАНИЛИЩЕ ============
local SAVE_FILE="cool_bacon_account.json"
local createdAccounts={}
local myAccount=nil
local activeKey=nil
local function SaveAll()
local arr={}
for _,acc in pairs(createdAccounts)do table.insert(arr,acc)end
local data={accounts=arr,active=activeKey}
pcall(function() if writefile then writefile(SAVE_FILE,HHS:JSONEncode(data)) end end)
end
local function LoadAll()
local d=nil
pcall(function() if isfile and isfile(SAVE_FILE) then d=HHS:JSONDecode(readfile(SAVE_FILE)) end end)
if not d then return end
if d.accounts then
for _,acc in ipairs(d.accounts)do if acc.key then createdAccounts[acc.key]=acc end end
if d.active and createdAccounts[d.active]then myAccount=createdAccounts[d.active]activeKey=d.active end
else
if d.key then createdAccounts[d.key]=d myAccount=d activeKey=d.key end
end
end
LoadAll()
for _,acc in pairs(createdAccounts)do
if not acc.friends then acc.friends={} end
if not acc.friendRequests then acc.friendRequests={} end
if not acc.sentRequests then acc.sentRequests={} end
if acc.online==nil then acc.online=false end
if not acc.banner then acc.banner="hair" end
if not acc.roles then acc.roles={vip=false,mod=false,verified=false,tester=false} end
if acc.bannedUntil==nil then acc.bannedUntil=0 end
end
local function IsCoolBaconAcc(a)
if not a then return false end
return (a.first.." "..a.last):lower():gsub("%s+"," ")=="cool bacon"
end
local function IsCoolBacon()return IsCoolBaconAcc(myAccount)end
local function IsAccOnline(key)local a=createdAccounts[key]return a and a.online==true end
local function IsBanned(a)return a and a.bannedUntil and a.bannedUntil>os.time() end
local function GetAccList()
local list={}
for _,acc in pairs(createdAccounts)do table.insert(list,acc)end
table.sort(list,function(a,b)return (a.first.." "..a.last):lower()<(b.first.." "..b.last):lower()end)
return list
end
local function GetFriendsOf(a)
local list={}
if not a or not a.friends then return list end
for k,_ in pairs(a.friends)do if createdAccounts[k]then table.insert(list,createdAccounts[k])end end
return list
end
local function GetIncoming(a)
local list={}
if not a or not a.friendRequests then return list end
for k,_ in pairs(a.friendRequests)do if createdAccounts[k]then table.insert(list,createdAccounts[k])end end
return list
end
local function GetRelStatus(tk)
if not myAccount then return "none" end
if myAccount.friends and myAccount.friends[tk]then return "friend" end
if myAccount.sentRequests and myAccount.sentRequests[tk]then return "sent" end
if myAccount.friendRequests and myAccount.friendRequests[tk]then return "incoming" end
return "none"
end
local function RolesBadges(a)
if not a or not a.roles then return "" end
local s=""
if a.roles.vip then s=s.."👑" end
if a.roles.mod then s=s.."🛡" end
if a.roles.verified then s=s.."☑" end
if a.roles.tester then s=s.."🧪" end
if IsBanned(a)then s=s.."🚫" end
return s
end
local function ShowToast(text,color)
task.spawn(function()
local msg=Instance.new("TextLabel")
msg.Size=UDim2.new(0,240,0,36)msg.Position=UDim2.new(0.5,-120,0,10)
msg.BackgroundColor3=color or Color3.fromRGB(0,150,100)
msg.Text=text msg.TextColor3=Color3.fromRGB(255,255,255)
msg.Font=Enum.Font.GothamBold msg.TextSize=12
msg.BorderSizePixel=0 msg.ZIndex=200 msg.Parent=sg
local mc=Instance.new("UICorner")mc.CornerRadius=UDim.new(0,8)mc.Parent=msg
task.wait(2.2)
if msg and msg.Parent then msg:Destroy()end
end)
end
-- Баннеры
local BANNER_STYLES={
hair={name="💇 Hair",colors={ColorSequenceKeypoint.new(0,Color3.fromRGB(120,70,20)),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(180,120,50)),ColorSequenceKeypoint.new(1,Color3.fromRGB(90,50,15))},rotation=15,emoji1="💇♂️",emoji2="🕶️"},
gold={name="👑 Gold",colors={ColorSequenceKeypoint.new(0,Color3.fromRGB(200,160,30)),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255,220,80)),ColorSequenceKeypoint.new(1,Color3.fromRGB(140,100,10))},rotation=45,emoji1="👑",emoji2="⭐"},
neon={name="💜 Neon",colors={ColorSequenceKeypoint.new(0,Color3.fromRGB(200,0,200)),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(120,0,255)),ColorSequenceKeypoint.new(1,Color3.fromRGB(255,0,150))},rotation=90,emoji1="⚡",emoji2="✨"},
rainbow={name="🌈 Rainbow",colors={ColorSequenceKeypoint.new(0,Color3.fromRGB(255,0,0)),ColorSequenceKeypoint.new(0.2,Color3.fromRGB(255,200,0)),ColorSequenceKeypoint.new(0.4,Color3.fromRGB(0,255,0)),ColorSequenceKeypoint.new(0.6,Color3.fromRGB(0,200,255)),ColorSequenceKeypoint.new(0.8,Color3.fromRGB(150,0,255)),ColorSequenceKeypoint.new(1,Color3.fromRGB(255,0,0))},rotation=0,emoji1="🌈",emoji2="⭐"},
ice={name="❄ Ice",colors={ColorSequenceKeypoint.new(0,Color3.fromRGB(180,230,255)),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(80,150,220)),ColorSequenceKeypoint.new(1,Color3.fromRGB(180,230,255))},rotation=30,emoji1="❄",emoji2="🧊"},
fire={name="🔥 Fire",colors={ColorSequenceKeypoint.new(0,Color3.fromRGB(180,20,0)),ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255,120,0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(120,10,0))},rotation=70,emoji1="🔥",emoji2="💥"}
}
local BANNER_ORDER={"hair","gold","neon","rainbow","ice","fire"}
local RebuildAccDetail
local RebuildAccountInfo
local RebuildAdminPanel
local RebuildManagePanel
local RebuildAllProfiles
local function CycleBannerFor(acc)
if not acc then return end
if not IsCoolBacon()then ShowToast("⛔ Только Cool Bacon",Color3.fromRGB(180,60,60))return end
local cur=acc.banner or "hair"
local idx=1
for i,v in ipairs(BANNER_ORDER)do if v==cur then idx=i break end end
idx=idx+1
if idx>#BANNER_ORDER then idx=1 end
acc.banner=BANNER_ORDER[idx]
SaveAll()
ShowToast("🎨 "..acc.first..": "..BANNER_STYLES[acc.banner].name,Color3.fromRGB(150,100,200))
RebuildAccDetail(acc)
if IsCoolBacon()then RebuildManagePanel()end
end
local function SendFriendRequest(tk)
if not myAccount then return end
if tk==activeKey then return end
myAccount.sentRequests=myAccount.sentRequests or {}
myAccount.friends=myAccount.friends or {}
if myAccount.friends[tk]then return end
local t=createdAccounts[tk]
if not t then return end
t.friendRequests=t.friendRequests or {}
if myAccount.sentRequests[tk]then
myAccount.sentRequests[tk]=nil
t.friendRequests[myAccount.key]=nil
ShowToast("📭 Запрос отменён",Color3.fromRGB(180,80,80))
else
myAccount.sentRequests[tk]=true
t.friendRequests[myAccount.key]=true
ShowToast("📤 Запрос отправлен",Color3.fromRGB(70,130,220))
end
SaveAll()
RebuildAccountInfo()
end
local function RemoveFriend(tk)
if not myAccount or not myAccount.friends then return end
myAccount.friends[tk]=nil
local t=createdAccounts[tk]
if t and t.friends then t.friends[myAccount.key]=nil end
SaveAll()
ShowToast("💔 Убрано",Color3.fromRGB(180,80,80))
RebuildAccountInfo()
end
local function AcceptRequest(fk)
if not myAccount then return end
myAccount.friends=myAccount.friends or {}
myAccount.friendRequests=myAccount.friendRequests or {}
myAccount.friendRequests[fk]=nil
myAccount.friends[fk]=true
local t=createdAccounts[fk]
if t then
t.friends=t.friends or {}
t.sentRequests=t.sentRequests or {}
t.sentRequests[myAccount.key]=nil
t.friends[myAccount.key]=true
end
SaveAll()
ShowToast("✓ Теперь вы друзья!",Color3.fromRGB(0,150,100))
RebuildAccountInfo()
end
local function DeclineRequest(fk)
if not myAccount then return end
myAccount.friendRequests=myAccount.friendRequests or {}
myAccount.friendRequests[fk]=nil
local t=createdAccounts[fk]
if t then
t.sentRequests=t.sentRequests or {}
t.sentRequests[myAccount.key]=nil
end
SaveAll()
ShowToast("✕ Отклонён",Color3.fromRGB(180,80,80))
RebuildAccountInfo()
end
local function ToggleMyOnline()
if not myAccount then return end
myAccount.online=not myAccount.online
SaveAll()
ShowToast(myAccount.online and "🌐 Вы в сети" or "💤 Вы оффлайн",myAccount.online and Color3.fromRGB(0,150,100) or Color3.fromRGB(100,100,120))
RebuildAccountInfo()
end
local function MakeAccountCard(parent,acc,y,isSelf)
local online=IsAccOnline(acc.key)
local rel=isSelf and "self" or GetRelStatus(acc.key)
local cool=IsCoolBaconAcc(acc)
local banned=IsBanned(acc)
local card=Instance.new("TextButton")
card.Size=UDim2.new(1,-10,0,52)card.Position=UDim2.new(0,5,0,y)
card.BackgroundColor3=cool and Color3.fromRGB(60,45,25) or Color3.fromRGB(40,40,55)
card.BorderSizePixel=0 card.Text=""card.AutoButtonColor=false card.Parent=parent
local cdc=Instance.new("UICorner")cdc.CornerRadius=UDim.new(0,4)cdc.Parent=card
if cool then
local str=Instance.new("UIStroke")str.Color=Color3.fromRGB(255,200,80)str.Thickness=2 str.Parent=card
end
local dot=Instance.new("TextLabel")
dot.Size=UDim2.new(0,14,0,14)dot.Position=UDim2.new(0,6,0,8)
dot.BackgroundTransparency=1 dot.Text="●"
dot.TextColor3=online and Color3.fromRGB(80,200,80) or Color3.fromRGB(120,120,130)
dot.Font=Enum.Font.GothamBold dot.TextSize=12 dot.ZIndex=2 dot.Parent=card
local nm=Instance.new("TextLabel")
nm.Size=UDim2.new(1,-140,0,20)nm.Position=UDim2.new(0,22,0,6)
nm.BackgroundTransparency=1
nm.Text=RolesBadges(acc).." "..acc.first.." "..acc.last
nm.TextColor3=cool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
nm.Font=Enum.Font.GothamBold nm.TextSize=12
nm.TextXAlignment=Enum.TextXAlignment.Left nm.ZIndex=2 nm.Parent=card
local stt=Instance.new("TextLabel")
stt.Size=UDim2.new(1,-140,0,16)stt.Position=UDim2.new(0,22,0,28)
stt.BackgroundTransparency=1
if banned then stt.Text="🚫 забанен"stt.TextColor3=Color3.fromRGB(255,100,100)
else stt.Text=(online and "в сети" or "не в сети")..(isSelf and " (вы)" or "")
stt.TextColor3=online and Color3.fromRGB(80,200,80) or Color3.fromRGB(150,150,170)end
stt.Font=Enum.Font.Gotham stt.TextSize=10
stt.TextXAlignment=Enum.TextXAlignment.Left stt.ZIndex=2 stt.Parent=card
card.MouseButton1Click:Connect(function()RebuildAccDetail(acc)ShowTab(12)end)
if not isSelf then
local btn=Instance.new("TextButton")
btn.Size=UDim2.new(0,86,0,32)btn.Position=UDim2.new(1,-92,0,10)
btn.TextColor3=Color3.fromRGB(255,255,255)btn.Font=Enum.Font.GothamBold btn.TextSize=10
btn.BorderSizePixel=0 btn.ZIndex=3 btn.Parent=card
local bc=Instance.new("UICorner")bc.CornerRadius=UDim.new(0,4)bc.Parent=btn
if rel=="friend" then
btn.BackgroundColor3=Color3.fromRGB(0,150,100)btn.Text="✓ Друг"
btn.MouseButton1Click:Connect(function()RemoveFriend(acc.key)end)
elseif rel=="sent" then
btn.BackgroundColor3=Color3.fromRGB(180,160,60)btn.Text="⏳ Отправлен"
btn.MouseButton1Click:Connect(function()SendFriendRequest(acc.key)end)
elseif rel=="incoming" then
btn.BackgroundColor3=Color3.fromRGB(70,130,220)btn.Text="📩 Принять"
btn.MouseButton1Click:Connect(function()AcceptRequest(acc.key)end)
else
btn.BackgroundColor3=Color3.fromRGB(70,130,220)btn.Text="+ В друзья"
btn.MouseButton1Click:Connect(function()SendFriendRequest(acc.key)end)
end
end
return y+56
end
-- ============ TAB 10 ============
RebuildAccountInfo=function()
for _,c in ipairs(Ts[10]:GetChildren())do c:Destroy()end
if not myAccount then
local w=Instance.new("TextLabel")
w.Size=UDim2.new(1,-20,0,80)w.Position=UDim2.new(0,10,0,120)
w.BackgroundColor3=Color3.fromRGB(35,35,50)w.BackgroundTransparency=0.2
w.Text="У вас нет аккаунта\nОткрой 'Акк' → 'Создать аккаунт'"
w.TextColor3=Color3.fromRGB(180,180,200)w.Font=Enum.Font.Gotham w.TextSize=13
w.TextWrapped=true w.BorderSizePixel=0 w.Parent=Ts[10]
local wc=Instance.new("UICorner")wc.CornerRadius=UDim.new(0,4)wc.Parent=w
Ts[10].CanvasSize=UDim2.new(0,0,0,300)
return
end
local y=8
local cool=IsCoolBaconAcc(myAccount)
local banned=IsBanned(myAccount)
local meBtn=Instance.new("TextButton")
meBtn.Size=UDim2.new(1,-10,0,72)meBtn.Position=UDim2.new(0,5,0,y)
meBtn.BackgroundColor3=Color3.fromRGB(45,45,65)meBtn.Text=""meBtn.AutoButtonColor=true
meBtn.BorderSizePixel=0 meBtn.Parent=Ts[10]
local meC=Instance.new("UICorner")meC.CornerRadius=UDim.new(0,6)meC.Parent=meBtn
meBtn.MouseButton1Click:Connect(function()RebuildAccDetail(myAccount)ShowTab(12)end)
local av=Instance.new("ImageLabel")
av.Size=UDim2.new(0,60,0,60)av.Position=UDim2.new(0,6,0,6)
av.BackgroundColor3=Color3.fromRGB(50,50,65)av.BorderSizePixel=0
av.Image="rbxthumb://type=AvatarHeadShot&id="..LP.UserId.."&w=150&h=150"
av.ClipsDescendants=true av.ZIndex=2 av.Parent=meBtn
local avc=Instance.new("UICorner")avc.CornerRadius=UDim.new(0,30)avc.Parent=av
local n=Instance.new("TextLabel")
n.Size=UDim2.new(1,-130,0,22)n.Position=UDim2.new(0,74,0,8)
n.BackgroundTransparency=1
n.Text=RolesBadges(myAccount).." "..myAccount.first.." "..myAccount.last
n.TextColor3=cool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
n.Font=Enum.Font.GothamBold n.TextSize=15
n.TextXAlignment=Enum.TextXAlignment.Left n.ZIndex=2 n.Parent=meBtn
local st=Instance.new("TextLabel")
st.Size=UDim2.new(1,-130,0,16)st.Position=UDim2.new(0,74,0,30)
st.BackgroundTransparency=1
if banned then st.Text="🚫 забанен"st.TextColor3=Color3.fromRGB(255,100,100)
else st.Text=(myAccount.online and "● онлайн" or "○ оффлайн")
st.TextColor3=myAccount.online and Color3.fromRGB(80,200,80) or Color3.fromRGB(150,150,170)end
st.Font=Enum.Font.Gotham st.TextSize=11
st.TextXAlignment=Enum.TextXAlignment.Left st.ZIndex=2 st.Parent=meBtn
local pw=Instance.new("TextLabel")
pw.Size=UDim2.new(1,-130,0,16)pw.Position=UDim2.new(0,74,0,48)
pw.BackgroundTransparency=1 pw.Text="🔑 "..(myAccount.pass or "")
pw.TextColor3=Color3.fromRGB(255,180,120)pw.Font=Enum.Font.Gotham pw.TextSize=10
pw.TextXAlignment=Enum.TextXAlignment.Left pw.ZIndex=2 pw.Parent=meBtn
local arrow=Instance.new("TextLabel")
arrow.Size=UDim2.new(0,20,0,72)arrow.Position=UDim2.new(1,-24,0,0)
arrow.BackgroundTransparency=1 arrow.Text="›"
arrow.TextColor3=Color3.fromRGB(180,180,200)
arrow.Font=Enum.Font.GothamBold arrow.TextSize=22 arrow.ZIndex=2 arrow.Parent=meBtn
y=y+78
local tgl=Instance.new("TextButton")
tgl.Size=UDim2.new(1,-10,0,30)tgl.Position=UDim2.new(0,5,0,y)
tgl.BackgroundColor3=myAccount.online and Color3.fromRGB(0,150,100) or Color3.fromRGB(90,90,110)
tgl.Text=myAccount.online and "🌐 Вы в сети (клик — оффлайн)" or "💤 Вы оффлайн (клик — онлайн)"
tgl.TextColor3=Color3.fromRGB(255,255,255)tgl.Font=Enum.Font.GothamBold tgl.TextSize=11
tgl.BorderSizePixel=0 tgl.Parent=Ts[10]
local tgc=Instance.new("UICorner")tgc.CornerRadius=UDim.new(0,4)tgc.Parent=tgl
tgl.MouseButton1Click:Connect(ToggleMyOnline)
y=y+36
if IsCoolBacon()then
local mgBtn=Instance.new("TextButton")
mgBtn.Size=UDim2.new(1,-10,0,38)mgBtn.Position=UDim2.new(0,5,0,y)
mgBtn.BackgroundColor3=Color3.fromRGB(255,180,0)
mgBtn.Text="🛠 Управление (админ)"
mgBtn.TextColor3=Color3.fromRGB(0,0,0)
mgBtn.Font=Enum.Font.GothamBold mgBtn.TextSize=13
mgBtn.BorderSizePixel=0 mgBtn.Parent=Ts[10]
local mgc=Instance.new("UICorner")mgc.CornerRadius=UDim.new(0,6)mgc.Parent=mgBtn
mgBtn.MouseButton1Click:Connect(function()RebuildManagePanel()ShowTab(13)end)
y=y+44
local admBtn=Instance.new("TextButton")
admBtn.Size=UDim2.new(1,-10,0,38)admBtn.Position=UDim2.new(0,5,0,y)
admBtn.BackgroundColor3=Color3.fromRGB(200,50,200)
admBtn.Text="⭐ Все аккаунты + пароли"
admBtn.TextColor3=Color3.fromRGB(255,255,255)
admBtn.Font=Enum.Font.GothamBold admBtn.TextSize=12
admBtn.BorderSizePixel=0 admBtn.Parent=Ts[10]
local admc=Instance.new("UICorner")admc.CornerRadius=UDim.new(0,6)admc.Parent=admBtn
admBtn.MouseButton1Click:Connect(function()RebuildAdminPanel()ShowTab(11)end)
y=y+44
end
local incoming=GetIncoming(myAccount)
if #incoming>0 then
local fh=Instance.new("TextLabel")
fh.Size=UDim2.new(1,-10,0,22)fh.Position=UDim2.new(0,5,0,y)
fh.BackgroundColor3=Color3.fromRGB(180,120,0)fh.BackgroundTransparency=0.3
fh.Text=" 📩 Запросы ("..#incoming..")"
fh.TextColor3=Color3.fromRGB(255,255,255)fh.Font=Enum.Font.GothamBold fh.TextSize=12
fh.TextXAlignment=Enum.TextXAlignment.Left fh.BorderSizePixel=0 fh.Parent=Ts[10]
local fhc=Instance.new("UICorner")fhc.CornerRadius=UDim.new(0,4)fhc.Parent=fh
y=y+26
for _,reqAcc in ipairs(incoming)do
local card=Instance.new("Frame")
card.Size=UDim2.new(1,-10,0,52)card.Position=UDim2.new(0,5,0,y)
card.BackgroundColor3=Color3.fromRGB(50,42,25)card.BorderSizePixel=0 card.Parent=Ts[10]
local cdc=Instance.new("UICorner")cdc.CornerRadius=UDim.new(0,4)cdc.Parent=card
local nml=Instance.new("TextLabel")
nml.Size=UDim2.new(1,-150,0,20)nml.Position=UDim2.new(0,8,0,6)
nml.BackgroundTransparency=1 nml.Text=reqAcc.first.." "..reqAcc.last
nml.TextColor3=Color3.fromRGB(255,255,255)nml.Font=Enum.Font.GothamBold nml.TextSize=12
nml.TextXAlignment=Enum.TextXAlignment.Left nml.Parent=card
local accB=Instance.new("TextButton")
accB.Size=UDim2.new(0,58,0,30)accB.Position=UDim2.new(1,-124,0,11)
accB.BackgroundColor3=Color3.fromRGB(0,150,100)accB.Text="✓"
accB.TextColor3=Color3.fromRGB(255,255,255)accB.Font=Enum.Font.GothamBold accB.TextSize=14
accB.BorderSizePixel=0 accB.Parent=card
local abc=Instance.new("UICorner")abc.CornerRadius=UDim.new(0,4)abc.Parent=accB
accB.MouseButton1Click:Connect(function()AcceptRequest(reqAcc.key)end)
local decB=Instance.new("TextButton")
decB.Size=UDim2.new(0,58,0,30)decB.Position=UDim2.new(1,-62,0,11)
decB.BackgroundColor3=Color3.fromRGB(180,60,60)decB.Text="✕"
decB.TextColor3=Color3.fromRGB(255,255,255)decB.Font=Enum.Font.GothamBold decB.TextSize=14
decB.BorderSizePixel=0 decB.Parent=card
local dbc=Instance.new("UICorner")dbc.CornerRadius=UDim.new(0,4)dbc.Parent=decB
decB.MouseButton1Click:Connect(function()DeclineRequest(reqAcc.key)end)
y=y+56
end
end
local myFriends=GetFriendsOf(myAccount)
local fh=Instance.new("TextLabel")
fh.Size=UDim2.new(1,-10,0,22)fh.Position=UDim2.new(0,5,0,y)
fh.BackgroundColor3=Color3.fromRGB(0,120,90)fh.BackgroundTransparency=0.3
fh.Text=" 👥 Мои друзья ("..#myFriends..")"
fh.TextColor3=Color3.fromRGB(255,255,255)fh.Font=Enum.Font.GothamBold fh.TextSize=12
fh.TextXAlignment=Enum.TextXAlignment.Left fh.BorderSizePixel=0 fh.Parent=Ts[10]
local fhc=Instance.new("UICorner")fhc.CornerRadius=UDim.new(0,4)fhc.Parent=fh
y=y+26
if #myFriends==0 then
local nf=Instance.new("TextLabel")
nf.Size=UDim2.new(1,-10,0,26)nf.Position=UDim2.new(0,5,0,y)
nf.BackgroundTransparency=1 nf.Text="Пока нет друзей"
nf.TextColor3=Color3.fromRGB(150,150,170)nf.Font=Enum.Font.Gotham nf.TextSize=11
nf.TextXAlignment=Enum.TextXAlignment.Left nf.Parent=Ts[10]
y=y+30
else
for _,fr in ipairs(myFriends)do y=MakeAccountCard(Ts[10],fr,y,false)end
end
y=y+6
-- Кнопка "Все профили" → открывает Ts[14]
local allProfBtn=Instance.new("TextButton")
allProfBtn.Size=UDim2.new(1,-10,0,52)allProfBtn.Position=UDim2.new(0,5,0,y)
allProfBtn.BackgroundColor3=Color3.fromRGB(70,130,220)
allProfBtn.Text="🌐 Все профили ("..#GetAccList()..")"
allProfBtn.TextColor3=Color3.fromRGB(255,255,255)
allProfBtn.Font=Enum.Font.GothamBold allProfBtn.TextSize=14
allProfBtn.BorderSizePixel=0 allProfBtn.Parent=Ts[10]
local apbc=Instance.new("UICorner")apbc.CornerRadius=UDim.new(0,8)apbc.Parent=allProfBtn
allProfBtn.MouseButton1Click:Connect(function()
RebuildAllProfiles()
ShowTab(14)
end)
y=y+60
Ts[10].CanvasSize=UDim2.new(0,0,0,y+10)
end
-- ============ TAB 14: Все профили (карточки) ============
RebuildAllProfiles=function()
for _,c in ipairs(Ts[14]:GetChildren())do c:Destroy()end
local hdr=Instance.new("TextLabel")
hdr.Size=UDim2.new(1,-100,0,26)hdr.Position=UDim2.new(0,2,0,5)
hdr.BackgroundTransparency=1 hdr.Text="🌐 ВСЕ ПРОФИЛИ"
hdr.TextColor3=Color3.fromRGB(100,200,255)
hdr.Font=Enum.Font.GothamBold hdr.TextSize=13
hdr.TextXAlignment=Enum.TextXAlignment.Left hdr.Parent=Ts[14]
local CloseBtn=Instance.new("TextButton")
CloseBtn.Size=UDim2.new(0,90,0,26)CloseBtn.Position=UDim2.new(1,-95,0,5)
CloseBtn.BackgroundColor3=Color3.fromRGB(100,100,120)CloseBtn.Text="← Назад"
CloseBtn.TextColor3=Color3.fromRGB(255,255,255)
CloseBtn.Font=Enum.Font.GothamBold CloseBtn.TextSize=11
CloseBtn.BorderSizePixel=0 CloseBtn.Parent=Ts[14]
local cbcc=Instance.new("UICorner")cbcc.CornerRadius=UDim.new(0,4)cbcc.Parent=CloseBtn
CloseBtn.MouseButton1Click:Connect(function()RebuildAccountInfo()ShowTab(10)end)
local list=GetAccList()
local gap=8
local cardW=115
local cardH=110
local startY=42
local col=0
local row=0
for _,acc in ipairs(list)do
local cool=IsCoolBaconAcc(acc)
local online=IsAccOnline(acc.key)
local banned=IsBanned(acc)
local xPos=5 + col*(cardW+gap)
local yPos=startY + row*(cardH+gap)
local card=Instance.new("TextButton")
card.Size=UDim2.new(0,cardW,0,cardH)
card.Position=UDim2.new(0,xPos,0,yPos)
card.BackgroundColor3=Color3.fromRGB(30,30,45)
card.BorderSizePixel=0 card.Text=""card.AutoButtonColor=false
card.Parent=Ts[14]
local cdc=Instance.new("UICorner")cdc.CornerRadius=UDim.new(0,8)cdc.Parent=card
local cstroke=Instance.new("UIStroke")
cstroke.Color=cool and Color3.fromRGB(255,200,80) or (banned and Color3.fromRGB(200,60,60) or Color3.fromRGB(60,60,90))
cstroke.Thickness=cool and 2 or 1
cstroke.Parent=card
-- Баннер
local banner=Instance.new("Frame")
banner.Size=UDim2.new(1,0,0,70)banner.Position=UDim2.new(0,0,0,0)
banner.BackgroundColor3=Color3.fromRGB(70,130,220)
banner.BorderSizePixel=0 banner.ZIndex=2 banner.Parent=card
local bnc=Instance.new("UICorner")bnc.CornerRadius=UDim.new(0,8)bnc.Parent=banner
local fix=Instance.new("Frame")
fix.Size=UDim2.new(1,0,0,20)fix.Position=UDim2.new(0,0,1,-20)
fix.BackgroundColor3=Color3.fromRGB(30,30,45)
fix.BorderSizePixel=0 fix.ZIndex=3 fix.Parent=banner
local bg=Instance.new("UIGradient")
if cool then
local style=BANNER_STYLES[acc.banner or "hair"] or BANNER_STYLES.hair
bg.Color=ColorSequence.new(style.colors)
bg.Rotation=style.rotation
elseif banned then
bg.Color=ColorSequence.new({
ColorSequenceKeypoint.new(0,Color3.fromRGB(90,20,20)),
ColorSequenceKeypoint.new(1,Color3.fromRGB(200,40,40))
})
else
bg.Color=ColorSequence.new({
ColorSequenceKeypoint.new(0,Color3.fromRGB(70,130,220)),
ColorSequenceKeypoint.new(1,Color3.fromRGB(140,80,200))
})
end
bg.Parent=banner
if cool then
local style=BANNER_STYLES[acc.banner or "hair"] or BANNER_STYLES.hair
local e1=Instance.new("TextLabel")
e1.Size=UDim2.new(0,24,0,24)e1.Position=UDim2.new(0,4,0,2)
e1.BackgroundTransparency=1 e1.Text=style.emoji1
e1.TextColor3=Color3.fromRGB(255,255,255)e1.TextSize=18
e1.Font=Enum.Font.GothamBold e1.ZIndex=5 e1.Parent=banner
local e2=Instance.new("TextLabel")
e2.Size=UDim2.new(0,24,0,24)e2.Position=UDim2.new(1,-28,0,2)
e2.BackgroundTransparency=1 e2.Text=style.emoji2
e2.TextColor3=Color3.fromRGB(255,255,255)e2.TextSize=18
e2.Font=Enum.Font.GothamBold e2.ZIndex=5 e2.Parent=banner
end
local avFrame=Instance.new("Frame")
avFrame.Size=UDim2.new(0,44,0,44)avFrame.Position=UDim2.new(0.5,-22,0,26)
avFrame.BackgroundColor3=cool and Color3.fromRGB(120,80,30) or Color3.fromRGB(40,40,60)
avFrame.BorderSizePixel=0 avFrame.ZIndex=4 avFrame.Parent=banner
local avc=Instance.new("UICorner")avc.CornerRadius=UDim.new(0,22)avc.Parent=avFrame
local avs=Instance.new("UIStroke")
avs.Color=cool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
avs.Thickness=2 avs.Parent=avFrame
if cool then
local face=Instance.new("TextLabel")
face.Size=UDim2.new(1,0,1,0)face.BackgroundTransparency=1
face.Text="😎"face.TextSize=24
face.Font=Enum.Font.GothamBold face.ZIndex=5 face.Parent=avFrame
else
local init=Instance.new("TextLabel")
init.Size=UDim2.new(1,0,1,0)init.BackgroundTransparency=1
init.Text=string.upper(string.sub(acc.first,1,1))..string.upper(string.sub(acc.last,1,1))
init.TextColor3=Color3.fromRGB(255,255,255)init.Font=Enum.Font.GothamBold init.TextSize=16
init.ZIndex=5 init.Parent=avFrame
end
local dot=Instance.new("TextLabel")
dot.Size=UDim2.new(0,14,0,14)dot.Position=UDim2.new(1,-18,0,50)
dot.BackgroundTransparency=1
dot.Text=banned and "🚫" or (online and "●" or "○")
dot.TextColor3=banned and Color3.fromRGB(255,80,80) or (online and Color3.fromRGB(80,255,120) or Color3.fromRGB(180,180,190))
dot.Font=Enum.Font.GothamBold dot.TextSize=14
dot.ZIndex=6 dot.Parent=banner
local nm=Instance.new("TextLabel")
nm.Size=UDim2.new(1,-6,0,20)nm.Position=UDim2.new(0,3,0,74)
nm.BackgroundTransparency=1
nm.Text=RolesBadges(acc)..(acc.first.." "..acc.last)
nm.TextColor3=cool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
nm.Font=Enum.Font.GothamBold nm.TextSize=11
nm.TextTruncate=Enum.TextTruncate.AtEnd
nm.TextXAlignment=Enum.TextXAlignment.Center nm.ZIndex=3 nm.Parent=card
local stt=Instance.new("TextLabel")
stt.Size=UDim2.new(1,-6,0,14)stt.Position=UDim2.new(0,3,0,93)
stt.BackgroundTransparency=1
if banned then stt.Text="🚫 забанен"stt.TextColor3=Color3.fromRGB(255,120,120)
elseif online then stt.Text="● в сети"stt.TextColor3=Color3.fromRGB(80,220,120)
else stt.Text="○ оффлайн"stt.TextColor3=Color3.fromRGB(150,150,170)
end
stt.Font=Enum.Font.Gotham stt.TextSize=9
stt.TextXAlignment=Enum.TextXAlignment.Center stt.ZIndex=3 stt.Parent=card
card.MouseButton1Click:Connect(function()
RebuildAccDetail(acc)
ShowTab(12)
end)
col=col+1
if col>=2 then
col=0
row=row+1
end
end
local totalRows=math.max(row+1,1)
local totalH=startY + totalRows*(cardH+gap) + 20
Ts[14].CanvasSize=UDim2.new(0,0,0,totalH)
end
-- ============ TAB 12 ============
RebuildAccDetail=function(acc)
for _,c in ipairs(Ts[12]:GetChildren())do c:Destroy()end
if not acc then return end
local online=IsAccOnline(acc.key)
local isSelf=acc.key==activeKey
local rel=isSelf and "self" or GetRelStatus(acc.key)
local cool=IsCoolBaconAcc(acc)
local banned=IsBanned(acc)
local banner=Instance.new("Frame")
banner.Size=UDim2.new(1,0,0,110)banner.Position=UDim2.new(0,0,0,0)
banner.BackgroundColor3=Color3.fromRGB(70,130,220)banner.BorderSizePixel=0 banner.Parent=Ts[12]
local bg=Instance.new("UIGradient")
if cool then
local style=BANNER_STYLES[acc.banner or "hair"] or BANNER_STYLES.hair
bg.Color=ColorSequence.new(style.colors)
bg.Rotation=style.rotation
local e1=Instance.new("TextLabel")
e1.Size=UDim2.new(0,40,0,40)e1.Position=UDim2.new(0,12,0,10)
e1.BackgroundTransparency=1 e1.Text=style.emoji1
e1.TextColor3=Color3.fromRGB(255,255,255)e1.Font=Enum.Font.GothamBold e1.TextSize=28
e1.ZIndex=5 e1.Parent=banner
local e2=Instance.new("TextLabel")
e2.Size=UDim2.new(0,40,0,40)e2.Position=UDim2.new(1,-52,0,10)
e2.BackgroundTransparency=1 e2.Text=style.emoji2
e2.TextColor3=Color3.fromRGB(255,255,255)e2.Font=Enum.Font.GothamBold e2.TextSize=28
e2.ZIndex=5 e2.Parent=banner
local vip=Instance.new("TextLabel")
vip.Size=UDim2.new(0,140,0,20)vip.Position=UDim2.new(0.5,-70,0,5)
vip.BackgroundTransparency=1 vip.Text="👑 VIP ACCOUNT 👑"
vip.TextColor3=Color3.fromRGB(255,255,255)vip.Font=Enum.Font.GothamBold vip.TextSize=11
vip.TextStrokeTransparency=0.3 vip.ZIndex=5 vip.Parent=banner
else
bg.Color=ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.fromRGB(70,130,220)),ColorSequenceKeypoint.new(1,Color3.fromRGB(140,80,200))})
bg.Rotation=45
end
bg.Parent=banner
local BackBtn=Instance.new("TextButton")
BackBtn.Size=UDim2.new(0,32,0,32)BackBtn.Position=UDim2.new(0,8,0,8)
BackBtn.BackgroundColor3=Color3.fromRGB(0,0,0)BackBtn.BackgroundTransparency=0.5
BackBtn.Text="←"BackBtn.TextColor3=Color3.fromRGB(255,255,255)BackBtn.Font=Enum.Font.GothamBold BackBtn.TextSize=16
BackBtn.BorderSizePixel=0 BackBtn.ZIndex=8 BackBtn.Parent=banner
local bbc=Instance.new("UICorner")bbc.CornerRadius=UDim.new(0,8)bbc.Parent=BackBtn
BackBtn.MouseButton1Click:Connect(function()RebuildAccountInfo()ShowTab(10)end)
local av=Instance.new("Frame")
av.Size=UDim2.new(0,70,0,70)av.Position=UDim2.new(0.5,-35,0,35)
av.BackgroundColor3=cool and Color3.fromRGB(120,80,30) or Color3.fromRGB(30,30,45)
av.BorderSizePixel=0 av.ZIndex=4 av.Parent=banner
local avc=Instance.new("UICorner")avc.CornerRadius=UDim.new(0,35)avc.Parent=av
local avStroke=Instance.new("UIStroke")
avStroke.Color=cool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
avStroke.Thickness=3 avStroke.Parent=av
local init=Instance.new("TextLabel")
init.Size=UDim2.new(1,0,1,0)init.BackgroundTransparency=1
if cool then init.Text="😎"init.TextSize=42
else init.Text=string.upper(string.sub(acc.first,1,1))..string.upper(string.sub(acc.last,1,1))init.TextSize=26 end
init.TextColor3=Color3.fromRGB(255,255,255)init.Font=Enum.Font.GothamBold
init.ZIndex=5 init.Parent=av
local dotDot=Instance.new("TextLabel")
dotDot.Size=UDim2.new(0,20,0,20)dotDot.Position=UDim2.new(0.5,-10,0,96)
dotDot.BackgroundTransparency=1
dotDot.Text=banned and "🚫" or (online and "●" or "○")
dotDot.TextColor3=banned and Color3.fromRGB(255,80,80) or (online and Color3.fromRGB(80,255,120) or Color3.fromRGB(180,180,190))
dotDot.Font=Enum.Font.GothamBold dotDot.TextSize=20 dotDot.ZIndex=5 dotDot.Parent=banner
local y=120
local nm=Instance.new("TextLabel")
nm.Size=UDim2.new(1,-10,0,26)nm.Position=UDim2.new(0,5,0,y)
nm.BackgroundTransparency=1
nm.Text=RolesBadges(acc).." "..acc.first.." "..acc.last
nm.TextColor3=cool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
nm.Font=Enum.Font.GothamBold nm.TextSize=18 nm.Parent=Ts[12]
y=y+28
local st=Instance.new("TextLabel")
st.Size=UDim2.new(1,-10,0,20)st.Position=UDim2.new(0,5,0,y)
st.BackgroundTransparency=1
if banned then
local left=acc.bannedUntil-os.time()
local txt="∞"
if left<3600 then txt=math.floor(left/60).." мин"
elseif left<86400 then txt=math.floor(left/3600).." ч"
elseif left<7776000 then txt=math.floor(left/86400).." дн"end
st.Text="🚫 забанен ("..txt..")"
st.TextColor3=Color3.fromRGB(255,100,100)
else
st.Text=online and "● в сети" or "○ не в сети"
st.TextColor3=online and Color3.fromRGB(80,200,80) or Color3.fromRGB(150,150,170)
end
st.Font=Enum.Font.Gotham st.TextSize=12 st.Parent=Ts[12]
y=y+26
local inf=Instance.new("Frame")
inf.Size=UDim2.new(1,-10,0,80)inf.Position=UDim2.new(0,5,0,y)
inf.BackgroundColor3=Color3.fromRGB(35,35,50)inf.BorderSizePixel=0 inf.Parent=Ts[12]
local infc=Instance.new("UICorner")infc.CornerRadius=UDim.new(0,4)infc.Parent=inf
local il=Instance.new("TextLabel")
il.Size=UDim2.new(1,-16,1,-8)il.Position=UDim2.new(0,8,0,4)
il.BackgroundTransparency=1
il.Text=" Имя: "..acc.first.."\n Фамилия: "..acc.last.."\n 🔒 Пароль скрыт\n Друзей: "..#GetFriendsOf(acc)
il.TextColor3=Color3.fromRGB(200,200,220)il.Font=Enum.Font.Gotham il.TextSize=11
il.TextXAlignment=Enum.TextXAlignment.Left il.TextYAlignment=Enum.TextYAlignment.Top
il.TextWrapped=true il.Parent=inf
y=y+88
if IsCoolBacon()then
local bannerBtn=Instance.new("TextButton")
bannerBtn.Size=UDim2.new(1,-10,0,38)bannerBtn.Position=UDim2.new(0,5,0,y)
bannerBtn.BackgroundColor3=Color3.fromRGB(150,100,200)
bannerBtn.Text="🎨 Сменить баннер: "..(BANNER_STYLES[acc.banner or "hair"] or BANNER_STYLES.hair).name
bannerBtn.TextColor3=Color3.fromRGB(255,255,255)
bannerBtn.Font=Enum.Font.GothamBold bannerBtn.TextSize=12
bannerBtn.BorderSizePixel=0 bannerBtn.Parent=Ts[12]
local bbc2=Instance.new("UICorner")bbc2.CornerRadius=UDim.new(0,6)bbc2.Parent=bannerBtn
bannerBtn.MouseButton1Click:Connect(function()CycleBannerFor(acc)end)
y=y+44
end
if not isSelf then
local actionBtn=Instance.new("TextButton")
actionBtn.Size=UDim2.new(1,-10,0,40)actionBtn.Position=UDim2.new(0,5,0,y)
actionBtn.TextColor3=Color3.fromRGB(255,255,255)actionBtn.Font=Enum.Font.GothamBold actionBtn.TextSize=13
actionBtn.BorderSizePixel=0 actionBtn.Parent=Ts[12]
local abc=Instance.new("UICorner")abc.CornerRadius=UDim.new(0,6)abc.Parent=actionBtn
if rel=="friend" then
actionBtn.BackgroundColor3=Color3.fromRGB(0,150,100)
actionBtn.Text="✓ Уже в друзьях (убрать)"
actionBtn.MouseButton1Click:Connect(function()RemoveFriend(acc.key)end)
elseif rel=="sent" then
actionBtn.BackgroundColor3=Color3.fromRGB(180,160,60)
actionBtn.Text="⏳ Запрос отправлен"
actionBtn.MouseButton1Click:Connect(function()SendFriendRequest(acc.key)end)
elseif rel=="incoming" then
actionBtn.BackgroundColor3=Color3.fromRGB(70,130,220)
actionBtn.Text="📩 Принять запрос"
actionBtn.MouseButton1Click:Connect(function()AcceptRequest(acc.key)end)
else
actionBtn.BackgroundColor3=Color3.fromRGB(70,130,220)
actionBtn.Text="+ Отправить запрос"
actionBtn.MouseButton1Click:Connect(function()SendFriendRequest(acc.key)end)
end
y=y+46
if rel=="friend" and online and not banned then
local jBtn=Instance.new("TextButton")
jBtn.Size=UDim2.new(1,-10,0,40)jBtn.Position=UDim2.new(0,5,0,y)
jBtn.BackgroundColor3=Color3.fromRGB(60,180,100)jBtn.Text="🚪 Зайти к нему"
jBtn.TextColor3=Color3.fromRGB(255,255,255)jBtn.Font=Enum.Font.GothamBold jBtn.TextSize=13
jBtn.BorderSizePixel=0 jBtn.Parent=Ts[12]
local jbc=Instance.new("UICorner")jbc.CornerRadius=UDim.new(0,6)jbc.Parent=jBtn
jBtn.MouseButton1Click:Connect(function()ShowToast("🚪 Зашли к "..acc.first,Color3.fromRGB(0,170,120))end)
y=y+46
end
else
local meBtn=Instance.new("TextButton")
meBtn.Size=UDim2.new(1,-10,0,36)meBtn.Position=UDim2.new(0,5,0,y)
meBtn.BackgroundColor3=online and Color3.fromRGB(0,150,100) or Color3.fromRGB(90,90,110)
meBtn.Text=online and "🌐 Сменить на оффлайн" or "💤 Сменить на онлайн"
meBtn.TextColor3=Color3.fromRGB(255,255,255)meBtn.Font=Enum.Font.GothamBold meBtn.TextSize=12
meBtn.BorderSizePixel=0 meBtn.Parent=Ts[12]
local mec=Instance.new("UICorner")mec.CornerRadius=UDim.new(0,6)mec.Parent=meBtn
meBtn.MouseButton1Click:Connect(function()ToggleMyOnline()RebuildAccDetail(acc)end)
y=y+44
end
local theirFriends=GetFriendsOf(acc)
local fh=Instance.new("TextLabel")
fh.Size=UDim2.new(1,-10,0,22)fh.Position=UDim2.new(0,5,0,y)
fh.BackgroundColor3=Color3.fromRGB(60,60,100)fh.BackgroundTransparency=0.3
fh.Text=" 👥 Друзья ("..#theirFriends..")"
fh.TextColor3=Color3.fromRGB(255,255,255)fh.Font=Enum.Font.GothamBold fh.TextSize=12
fh.TextXAlignment=Enum.TextXAlignment.Left fh.BorderSizePixel=0 fh.Parent=Ts[12]
local fhc=Instance.new("UICorner")fhc.CornerRadius=UDim.new(0,4)fhc.Parent=fh
y=y+26
if #theirFriends==0 then
local nf=Instance.new("TextLabel")
nf.Size=UDim2.new(1,-10,0,26)nf.Position=UDim2.new(0,5,0,y)
nf.BackgroundTransparency=1 nf.Text="Нет друзей"
nf.TextColor3=Color3.fromRGB(150,150,170)nf.Font=Enum.Font.Gotham nf.TextSize=11
nf.TextXAlignment=Enum.TextXAlignment.Left nf.Parent=Ts[12]
y=y+30
else
for _,fr in ipairs(theirFriends)do
local frOnline=IsAccOnline(fr.key)
local card=Instance.new("TextButton")
card.Size=UDim2.new(1,-10,0,34)card.Position=UDim2.new(0,5,0,y)
card.BackgroundColor3=Color3.fromRGB(40,40,55)card.BorderSizePixel=0
card.Text=""card.AutoButtonColor=false card.Parent=Ts[12]
local cdc=Instance.new("UICorner")cdc.CornerRadius=UDim.new(0,4)cdc.Parent=card
local dt=Instance.new("TextLabel")
dt.Size=UDim2.new(0,14,0,14)dt.Position=UDim2.new(0,6,0,10)
dt.BackgroundTransparency=1 dt.Text="●"
dt.TextColor3=frOnline and Color3.fromRGB(80,200,80) or Color3.fromRGB(120,120,130)
dt.Font=Enum.Font.GothamBold dt.TextSize=12 dt.ZIndex=2 dt.Parent=card
local frl=Instance.new("TextLabel")
frl.Size=UDim2.new(1,-30,1,0)frl.Position=UDim2.new(0,22,0,0)
frl.BackgroundTransparency=1
frl.Text=RolesBadges(fr).." "..fr.first.." "..fr.last..(frOnline and " • в сети" or " • офлайн")
frl.TextColor3=Color3.fromRGB(255,255,255)frl.Font=Enum.Font.Gotham frl.TextSize=11
frl.TextXAlignment=Enum.TextXAlignment.Left frl.ZIndex=2 frl.Parent=card
card.MouseButton1Click:Connect(function()RebuildAccDetail(fr)end)
y=y+38
end
end
Ts[12].CanvasSize=UDim2.new(0,0,0,y+15)
end
-- ============ TAB 13 ============
RebuildManagePanel=function()
for _,c in ipairs(Ts[13]:GetChildren())do c:Destroy()end
if not IsCoolBacon()then
local w=Instance.new("TextLabel")
w.Size=UDim2.new(1,-20,0,60)w.Position=UDim2.new(0,10,0,120)
w.BackgroundColor3=Color3.fromRGB(60,30,30)w.BackgroundTransparency=0.2
w.Text="⛔ Доступ запрещён\nТолько для Cool Bacon"
w.TextColor3=Color3.fromRGB(255,150,150)w.Font=Enum.Font.GothamBold w.TextSize=14
w.TextWrapped=true w.BorderSizePixel=0 w.Parent=Ts[13]
local wc=Instance.new("UICorner")wc.CornerRadius=UDim.new(0,4)wc.Parent=w
Ts[13].CanvasSize=UDim2.new(0,0,0,220)
return
end
local hdr=Instance.new("TextLabel")
hdr.Size=UDim2.new(1,-100,0,26)hdr.Position=UDim2.new(0,2,0,5)
hdr.BackgroundTransparency=1 hdr.Text="🛠 УПРАВЛЕНИЕ"
hdr.TextColor3=Color3.fromRGB(255,220,80)hdr.Font=Enum.Font.GothamBold hdr.TextSize=13
hdr.TextXAlignment=Enum.TextXAlignment.Left hdr.Parent=Ts[13]
local CloseBtn=Instance.new("TextButton")
CloseBtn.Size=UDim2.new(0,90,0,26)CloseBtn.Position=UDim2.new(1,-95,0,5)
CloseBtn.BackgroundColor3=Color3.fromRGB(100,100,120)CloseBtn.Text="← Закрыть"
CloseBtn.TextColor3=Color3.fromRGB(255,255,255)CloseBtn.Font=Enum.Font.GothamBold CloseBtn.TextSize=11
CloseBtn.BorderSizePixel=0 CloseBtn.Parent=Ts[13]
local cbcc=Instance.new("UICorner")cbcc.CornerRadius=UDim.new(0,4)cbcc.Parent=CloseBtn
CloseBtn.MouseButton1Click:Connect(function()RebuildAccountInfo()ShowTab(10)end)
local y=40
for _,acc in ipairs(GetAccList())do
local isCool=IsCoolBaconAcc(acc)
local banned=IsBanned(acc)
local card=Instance.new("Frame")
card.Size=UDim2.new(1,-10,0,140)card.Position=UDim2.new(0,5,0,y)
card.BackgroundColor3=isCool and Color3.fromRGB(60,45,25) or Color3.fromRGB(35,35,50)
card.BorderSizePixel=0 card.Parent=Ts[13]
local cdc=Instance.new("UICorner")cdc.CornerRadius=UDim.new(0,6)cdc.Parent=card
local nm=Instance.new("TextLabel")
nm.Size=UDim2.new(1,-12,0,20)nm.Position=UDim2.new(0,8,0,4)
nm.BackgroundTransparency=1
nm.Text=RolesBadges(acc).." "..acc.first.." "..acc.last
nm.TextColor3=isCool and Color3.fromRGB(255,220,120) or Color3.fromRGB(255,255,255)
nm.Font=Enum.Font.GothamBold nm.TextSize=13
nm.TextXAlignment=Enum.TextXAlignment.Left nm.Parent=card
local stt=Instance.new("TextLabel")
stt.Size=UDim2.new(1,-12,0,14)stt.Position=UDim2.new(0,8,0,24)
stt.BackgroundTransparency=1
local banInfo=""
if banned then
local left=acc.bannedUntil-os.time()
local txt="∞"
if left<3600 then txt=math.floor(left/60).." мин"
elseif left<86400 then txt=math.floor(left/3600).." ч"
elseif left<7776000 then txt=math.floor(left/86400).." дн"end
banInfo="🚫 "..txt.." "
end
stt.Text=banInfo.."🔑 "..(acc.pass or "—")
stt.TextColor3=banned and Color3.fromRGB(255,120,120) or Color3.fromRGB(140,140,160)
stt.Font=Enum.Font.Gotham stt.TextSize=9
stt.TextXAlignment=Enum.TextXAlignment.Left stt.Parent=card
local rBtns={
{key="vip",label="👑 VIP",color=Color3.fromRGB(200,150,0)},
{key="mod",label="🛡 MOD",color=Color3.fromRGB(70,130,220)},
{key="verified",label="☑ Галка",color=Color3.fromRGB(70,170,220)},
{key="tester",label="🧪 Тест",color=Color3.fromRGB(150,80,200)}
}
local bw=58
local gap=3
for i,rb in ipairs(rBtns)do
local b=Instance.new("TextButton")
b.Size=UDim2.new(0,bw,0,26)b.Position=UDim2.new(0,8+(i-1)*(bw+gap),0,42)
local has=acc.roles and acc.roles[rb.key]
b.BackgroundColor3=has and rb.color or Color3.fromRGB(50,50,65)
b.Text=rb.label b.TextColor3=has and Color3.fromRGB(255,255,255) or Color3.fromRGB(180,180,200)
b.Font=Enum.Font.GothamBold b.TextSize=9 b.BorderSizePixel=0 b.Parent=card
local bc=Instance.new("UICorner")bc.CornerRadius=UDim.new(0,4)bc.Parent=b
b.MouseButton1Click:Connect(function()
acc.roles=acc.roles or {vip=false,mod=false,verified=false,tester=false}
acc.roles[rb.key]=not acc.roles[rb.key]
SaveAll()
ShowToast((acc.roles[rb.key] and "✅ +" or "❌ -")..rb.label,Color3.fromRGB(150,100,200))
RebuildManagePanel()
end)
end
local row2Y=72
local bnBtn=Instance.new("TextButton")
bnBtn.Size=UDim2.new(0,86,0,26)bnBtn.Position=UDim2.new(0,8,0,row2Y)
bnBtn.BackgroundColor3=Color3.fromRGB(150,100,200)
bnBtn.Text="🎨 "..(BANNER_STYLES[acc.banner or "hair"] or BANNER_STYLES.hair).name
bnBtn.TextColor3=Color3.fromRGB(255,255,255)bnBtn.Font=Enum.Font.GothamBold bnBtn.TextSize=9
bnBtn.BorderSizePixel=0 bnBtn.Parent=card
local bnc=Instance.new("UICorner")bnc.CornerRadius=UDim.new(0,4)bnc.Parent=bnBtn
bnBtn.MouseButton1Click:Connect(function()CycleBannerFor(acc)RebuildManagePanel()end)
local banBtn=Instance.new("TextButton")
banBtn.Size=UDim2.new(0,86,0,26)banBtn.Position=UDim2.new(0,98,0,row2Y)
banBtn.BackgroundColor3=banned and Color3.fromRGB(0,150,100) or Color3.fromRGB(200,100,0)
banBtn.Text=banned and "✅ Разбан" or "🚫 Забанить"
banBtn.TextColor3=Color3.fromRGB(255,255,255)banBtn.Font=Enum.Font.GothamBold banBtn.TextSize=9
banBtn.BorderSizePixel=0 banBtn.Parent=card
local bbc2=Instance.new("UICorner")bbc2.CornerRadius=UDim.new(0,4)bbc2.Parent=banBtn
banBtn.MouseButton1Click:Connect(function()
if IsCoolBaconAcc(acc)then ShowToast("⛔ Нельзя забанить Cool Bacon",Color3.fromRGB(180,60,60))return end
if banned then
acc.bannedUntil=0
ShowToast("✅ Разбанен: "..acc.first,Color3.fromRGB(0,150,100))
else
local durs={3600,86400,7*86400,30*86400,9999999999}
local durNames={"1 час","1 день","7 дней","30 дней","∞"}
local ci=acc._banIdx or 1
acc.bannedUntil=os.time()+durs[ci]
acc._banIdx=(ci % #durs)+1
ShowToast("🚫 "..acc.first.." → "..durNames[ci],Color3.fromRGB(200,100,0))
end
SaveAll()
RebuildManagePanel()
end)
local delBtn=Instance.new("TextButton")
delBtn.Size=UDim2.new(0,74,0,26)delBtn.Position=UDim2.new(0,188,0,row2Y)
delBtn.BackgroundColor3=Color3.fromRGB(180,40,40)delBtn.Text="🗑 Удалить"
delBtn.TextColor3=Color3.fromRGB(255,255,255)delBtn.Font=Enum.Font.GothamBold delBtn.TextSize=9
delBtn.BorderSizePixel=0 delBtn.Parent=card
local dbc=Instance.new("UICorner")dbc.CornerRadius=UDim.new(0,4)dbc.Parent=delBtn
delBtn.MouseButton1Click:Connect(function()
if IsCoolBaconAcc(acc)then ShowToast("⛔ Нельзя удалить Cool Bacon",Color3.fromRGB(180,60,60))return end
createdAccounts[acc.key]=nil
if activeKey==acc.key then
myAccount=nil
activeKey=nil
BW.Visible=false
BWName.Text=""
end
SaveAll()
ShowToast("🗑 Удалён: "..acc.first,Color3.fromRGB(180,60,60))
RebuildManagePanel()
RebuildAccountInfo()
end)
local hin=Instance.new("TextLabel")
hin.Size=UDim2.new(1,-12,0,14)hin.Position=UDim2.new(0,8,0,102)
hin.BackgroundTransparency=1
hin.Text="key: "..acc.key
hin.TextColor3=Color3.fromRGB(120,120,140)hin.Font=Enum.Font.Gotham hin.TextSize=8
hin.TextXAlignment=Enum.TextXAlignment.Left hin.Parent=card
y=y+146
end
Ts[13].CanvasSize=UDim2.new(0,0,0,y+10)
end
-- ============ TAB 11 Admin ============
RebuildAdminPanel=function()
for _,c in ipairs(Ts[11]:GetChildren())do c:Destroy()end
local hdr=Instance.new("TextLabel")
hdr.Size=UDim2.new(1,-100,0,26)hdr.Position=UDim2.new(0,2,0,5)
hdr.BackgroundTransparency=1 hdr.Text="⭐ ALL ACCOUNTS + PASSWORDS"
hdr.TextColor3=Color3.fromRGB(255,220,80)hdr.Font=Enum.Font.GothamBold hdr.TextSize=12
hdr.TextXAlignment=Enum.TextXAlignment.Left hdr.Parent=Ts[11]
local CloseBtn=Instance.new("TextButton")
CloseBtn.Size=UDim2.new(0,90,0,26)CloseBtn.Position=UDim2.new(1,-95,0,5)
CloseBtn.BackgroundColor3=Color3.fromRGB(100,100,120)CloseBtn.Text="← Закрыть"
CloseBtn.TextColor3=Color3.fromRGB(255,255,255)CloseBtn.Font=Enum.Font.GothamBold CloseBtn.TextSize=11
CloseBtn.BorderSizePixel=0 CloseBtn.Parent=Ts[11]
local cbcc=Instance.new("UICorner")cbcc.CornerRadius=UDim.new(0,4)cbcc.Parent=CloseBtn
CloseBtn.MouseButton1Click:Connect(function()RebuildAccountInfo()ShowTab(10)end)
local y=40
for i,acc in ipairs(GetAccList())do
local card=Instance.new("Frame")
card.Size=UDim2.new(1,-10,0,66)card.Position=UDim2.new(0,2,0,y)
card.BackgroundColor3=Color3.fromRGB(35,35,50)card.BorderSizePixel=0 card.Parent=Ts[11]
local cdc=Instance.new("UICorner")cdc.CornerRadius=UDim.new(0,4)cdc.Parent=card
local idx=Instance.new("TextLabel")
idx.Size=UDim2.new(0,26,0,20)idx.Position=UDim2.new(0,6,0,4)
idx.BackgroundTransparency=1 idx.Text="#"..i
idx.TextColor3=Color3.fromRGB(255,220,80)idx.Font=Enum.Font.GothamBold idx.TextSize=12
idx.TextXAlignment=Enum.TextXAlignment.Left idx.Parent=card
local nm=Instance.new("TextLabel")
nm.Size=UDim2.new(1,-40,0,20)nm.Position=UDim2.new(0,30,0,4)
nm.BackgroundTransparency=1 nm.Text=RolesBadges(acc).." "..acc.first.." "..acc.last
nm.TextColor3=Color3.fromRGB(255,255,255)nm.Font=Enum.Font.GothamBold nm.TextSize=13
nm.TextXAlignment=Enum.TextXAlignment.Left nm.Parent=card
local pw=Instance.new("TextLabel")
pw.Size=UDim2.new(1,-12,0,18)pw.Position=UDim2.new(0,6,0,26)
pw.BackgroundTransparency=1
pw.Text="🔑 "..(acc.pass or "—")..(IsBanned(acc) and " • 🚫" or (acc.online and " • 🟢" or " • ⚪"))
pw.TextColor3=Color3.fromRGB(255,150,150)pw.Font=Enum.Font.Gotham pw.TextSize=11
pw.TextXAlignment=Enum.TextXAlignment.Left pw.Parent=card
local kl=Instance.new("TextLabel")
kl.Size=UDim2.new(1,-12,0,14)kl.Position=UDim2.new(0,6,0,46)
kl.BackgroundTransparency=1 kl.Text="key: "..(acc.key or "—")
kl.TextColor3=Color3.fromRGB(140,140,160)kl.Font=Enum.Font.Gotham kl.TextSize=9
kl.TextXAlignment=Enum.TextXAlignment.Left kl.Parent=card
y=y+70
end
Ts[11].CanvasSize=UDim2.new(0,0,0,y+20)
end
-- ============ TAB 9 ============
local ACT_T=Instance.new("TextLabel")
ACT_T.Size=UDim2.new(1,-100,0,26)ACT_T.Position=UDim2.new(0,2,0,5)
ACT_T.BackgroundTransparency=1 ACT_T.Text="🔒 АККАУНТ"
ACT_T.TextColor3=Color3.fromRGB(100,200,255)ACT_T.Font=Enum.Font.GothamBold ACT_T.TextSize=13
ACT_T.TextXAlignment=Enum.TextXAlignment.Left ACT_T.Parent=Ts[9]
local BackBtn9=Instance.new("TextButton")
BackBtn9.Size=UDim2.new(0,90,0,26)BackBtn9.Position=UDim2.new(1,-95,0,5)
BackBtn9.BackgroundColor3=Color3.fromRGB(100,100,120)BackBtn9.Text="← Назад"
BackBtn9.TextColor3=Color3.fromRGB(255,255,255)BackBtn9.Font=Enum.Font.GothamBold BackBtn9.TextSize=11
BackBtn9.BorderSizePixel=0 BackBtn9.Parent=Ts[9]
local bbc9=Instance.new("UICorner")bbc9.CornerRadius=UDim.new(0,4)bbc9.Parent=BackBtn9
BackBtn9.MouseButton1Click:Connect(function()ShowTab(2)end)
local NIn=Instance.new("TextBox")
NIn.Size=UDim2.new(1,-10,0,32)NIn.Position=UDim2.new(0,2,0,56)
NIn.BackgroundColor3=Color3.fromRGB(45,45,60)
NIn.PlaceholderText="Введите имя"NIn.Text=""
NIn.TextColor3=Color3.fromRGB(255,255,255)NIn.PlaceholderColor3=Color3.fromRGB(140,140,160)
NIn.Font=Enum.Font.Gotham NIn.TextSize=13
NIn.BorderSizePixel=0 NIn.ClearTextOnFocus=false NIn.Parent=Ts[9]
local ninc=Instance.new("UICorner")ninc.CornerRadius=UDim.new(0,4)ninc.Parent=NIn
local SIn=Instance.new("TextBox")
SIn.Size=UDim2.new(1,-10,0,32)SIn.Position=UDim2.new(0,2,0,110)
SIn.BackgroundColor3=Color3.fromRGB(45,45,60)
SIn.PlaceholderText="Введите фамилию"SIn.Text=""
SIn.TextColor3=Color3.fromRGB(255,255,255)SIn.PlaceholderColor3=Color3.fromRGB(140,140,160)
SIn.Font=Enum.Font.Gotham SIn.TextSize=13
SIn.BorderSizePixel=0 SIn.ClearTextOnFocus=false SIn.Parent=Ts[9]
local sinc=Instance.new("UICorner")sinc.CornerRadius=UDim.new(0,4)sinc.Parent=SIn
local PIn=Instance.new("TextBox")
PIn.Size=UDim2.new(1,-10,0,32)PIn.Position=UDim2.new(0,2,0,164)
PIn.BackgroundColor3=Color3.fromRGB(45,45,60)
PIn.PlaceholderText="Введите пароль"PIn.Text=""
PIn.TextColor3=Color3.fromRGB(255,255,255)PIn.PlaceholderColor3=Color3.fromRGB(140,140,160)
PIn.Font=Enum.Font.Gotham PIn.TextSize=13
PIn.BorderSizePixel=0 PIn.ClearTextOnFocus=false PIn.Parent=Ts[9]
local pinc=Instance.new("UICorner")pinc.CornerRadius=UDim.new(0,4)pinc.Parent=PIn
local ErrL=Instance.new("TextLabel")
ErrL.Size=UDim2.new(1,-10,0,32)ErrL.Position=UDim2.new(0,2,0,200)
ErrL.BackgroundTransparency=1 ErrL.Text=""
ErrL.TextColor3=Color3.fromRGB(255,80,80)ErrL.Font=Enum.Font.GothamBold ErrL.TextSize=10
ErrL.TextWrapped=true ErrL.TextXAlignment=Enum.TextXAlignment.Left ErrL.Parent=Ts[9]
local CrB=Instance.new("TextButton")
CrB.Size=UDim2.new(1,-10,0,40)CrB.Position=UDim2.new(0,2,0,238)
CrB.BackgroundColor3=Color3.fromRGB(70,130,220)CrB.Text="Создать аккаунт"
CrB.TextColor3=Color3.fromRGB(255,255,255)CrB.Font=Enum.Font.GothamBold CrB.TextSize=14
CrB.BorderSizePixel=0 CrB.Parent=Ts[9]
local crbc=Instance.new("UICorner")crbc.CornerRadius=UDim.new(0,6)crbc.Parent=CrB
local LoginB=Instance.new("TextButton")
LoginB.Size=UDim2.new(1,-10,0,40)LoginB.Position=UDim2.new(0,2,0,282)
LoginB.BackgroundColor3=Color3.fromRGB(0,170,120)LoginB.Text="Войти в аккаунт"
LoginB.TextColor3=Color3.fromRGB(255,255,255)LoginB.Font=Enum.Font.GothamBold LoginB.TextSize=14
LoginB.BorderSizePixel=0 LoginB.Parent=Ts[9]
local lbc=Instance.new("UICorner")lbc.CornerRadius=UDim.new(0,6)lbc.Parent=LoginB
local StL=Instance.new("TextLabel")
StL.Size=UDim2.new(1,-10,0,18)StL.Position=UDim2.new(0,2,0,328)
StL.BackgroundTransparency=1 StL.Text=""
StL.TextColor3=Color3.fromRGB(80,200,80)StL.Font=Enum.Font.Gotham StL.TextSize=11
StL.TextXAlignment=Enum.TextXAlignment.Left StL.Parent=Ts[9]
Ts[9].CanvasSize=UDim2.new(0,0,0,370)
local function ResetPanel()
NIn.Text=""
SIn.Text=""
PIn.Text=""
ErrL.Text=""
StL.Text=""
CrB.BackgroundColor3=Color3.fromRGB(70,130,220)
CrB.Text="Создать аккаунт"
LoginB.BackgroundColor3=Color3.fromRGB(0,170,120)
LoginB.Text="Войти в аккаунт"
end
CreateAccBtn.MouseButton1Click:Connect(function()ResetPanel()ShowTab(9)end)
LoginAccBtn.MouseButton1Click:Connect(function()ResetPanel()ShowTab(9)end)
AvatarBtn.MouseButton1Click:Connect(function()RebuildAccountInfo()ShowTab(10)end)
CrB.MouseButton1Click:Connect(function()
local n=NIn.Text:gsub("^%s+",""):gsub("%s+$","")
local s=SIn.Text:gsub("^%s+",""):gsub("%s+$","")
local p=PIn.Text
if n=="" or s=="" then ErrL.Text="⚠ Введите имя и фамилию!"StL.Text=""return end
if p=="" then ErrL.Text="⚠ Введите пароль!"StL.Text=""return end
local key=(n.."|"..s):lower()
if createdAccounts[key]then
ErrL.Text="⚠ Такой аккаунт уже создан!"StL.Text=""
CrB.BackgroundColor3=Color3.fromRGB(200,50,50)CrB.Text="ОШИБКА"
task.delay(1.5,function()CrB.Text="Создать аккаунт"CrB.BackgroundColor3=Color3.fromRGB(70,130,220)end)
return
end
if myAccount then myAccount.online=false end
local acc={first=n,last=s,pass=p,key=key,online=true,friends={},friendRequests={},sentRequests={},banner="hair",roles={vip=false,mod=false,verified=false,tester=false},bannedUntil=0}
createdAccounts[key]=acc
myAccount=acc
activeKey=key
SaveAll()
ErrL.Text=""StL.Text="✔ Аккаунт создан!"
CrB.BackgroundColor3=Color3.fromRGB(0,180,0)CrB.Text="ГОТОВО"
BWName.Text=n.." "..s
BW.Visible=true
RebuildAccountInfo()
task.delay(1.2,function()
CrB.Text="Создать аккаунт"
CrB.BackgroundColor3=Color3.fromRGB(70,130,220)
StL.Text=""
ShowTab(10)
end)
end)
LoginB.MouseButton1Click:Connect(function()
local n=NIn.Text:gsub("^%s+",""):gsub("%s+$","")
local s=SIn.Text:gsub("^%s+",""):gsub("%s+$","")
local p=PIn.Text
if n=="" or s=="" or p=="" then ErrL.Text="⚠ Заполните все поля!"StL.Text=""return end
local key=(n.."|"..s):lower()
local saved=createdAccounts[key]
if not saved then
ErrL.Text="⚠ Аккаунт не найден!"StL.Text=""
LoginB.BackgroundColor3=Color3.fromRGB(200,50,50)LoginB.Text="НЕ НАЙДЕН"
task.delay(1.5,function()LoginB.Text="Войти в аккаунт"LoginB.BackgroundColor3=Color3.fromRGB(0,170,120)end)
return
end
if (saved.pass or "")~=p then
ErrL.Text="⚠ Неверный пароль!"StL.Text=""
LoginB.BackgroundColor3=Color3.fromRGB(200,50,50)LoginB.Text="ПАРОЛЬ НЕВЕРНЫЙ"
task.delay(1.5,function()LoginB.Text="Войти в аккаунт"LoginB.BackgroundColor3=Color3.fromRGB(0,170,120)end)
return
end
if IsBanned(saved)then
local left=saved.bannedUntil-os.time()
local txt="∞"
if left<3600 then txt=math.floor(left/60).." мин"
elseif left<86400 then txt=math.floor(left/3600).." ч"
elseif left<7776000 then txt=math.floor(left/86400).." дн"end
ErrL.Text="🚫 Забанен. Осталось: "..txt
StL.Text=""
LoginB.BackgroundColor3=Color3.fromRGB(200,50,50)LoginB.Text="ЗАБАНЕН"
task.delay(2,function()LoginB.Text="Войти в аккаунт"LoginB.BackgroundColor3=Color3.fromRGB(0,170,120)end)
return
end
if not saved.friends then saved.friends={} end
if not saved.friendRequests then saved.friendRequests={} end
if not saved.sentRequests then saved.sentRequests={} end
if not saved.banner then saved.banner="hair" end
if not saved.roles then saved.roles={vip=false,mod=false,verified=false,tester=false} end
if myAccount then myAccount.online=false end
saved.online=true
myAccount=saved
activeKey=key
SaveAll()
ErrL.Text=""StL.Text="✔ Вход выполнен!"
LoginB.BackgroundColor3=Color3.fromRGB(0,200,100)LoginB.Text="OK"
BWName.Text=saved.first.." "..saved.last
BW.Visible=true
RebuildAccountInfo()
task.delay(1.2,function()
LoginB.Text="Войти в аккаунт"
LoginB.BackgroundColor3=Color3.fromRGB(0,170,120)
StL.Text=""
ShowTab(10)
end)
end)
-- ============ Виджет в углу ============
local BW=Instance.new("Frame")
BW.Size=UDim2.new(0,200,0,58)BW.Position=UDim2.new(0,10,1,-70)
BW.BackgroundColor3=Color3.fromRGB(22,22,32)BW.BackgroundTransparency=0.1
BW.BorderSizePixel=0 BW.Visible=false BW.ZIndex=10 BW.Parent=sg
local bwc=Instance.new("UICorner")bwc.CornerRadius=UDim.new(0,8)bwc.Parent=BW
local bwStroke=Instance.new("UIStroke")
bwStroke.Color=Color3.fromRGB(70,130,220)bwStroke.Thickness=2 bwStroke.Parent=BW
local BWAv=Instance.new("ImageLabel")
BWAv.Size=UDim2.new(0,46,0,46)BWAv.Position=UDim2.new(0,6,0,6)
BWAv.BackgroundColor3=Color3.fromRGB(50,50,65)BWAv.BorderSizePixel=0
BWAv.Image="rbxthumb://type=AvatarHeadShot&id="..LP.UserId.."&w=150&h=150"
BWAv.ClipsDescendants=true BWAv.ZIndex=11 BWAv.Parent=BW
local bwavc=Instance.new("UICorner")bwavc.CornerRadius=UDim.new(0,23)bwavc.Parent=BWAv
local BWName=Instance.new("TextLabel")
BWName.Size=UDim2.new(1,-62,0,22)BWName.Position=UDim2.new(0,56,0,8)
BWName.BackgroundTransparency=1 BWName.Text=""
BWName.TextColor3=Color3.fromRGB(255,255,255)BWName.Font=Enum.Font.GothamBold BWName.TextSize=14
BWName.TextXAlignment=Enum.TextXAlignment.Left BWName.ZIndex=11 BWName.Parent=BW
local BWStat=Instance.new("TextLabel")
BWStat.Size=UDim2.new(1,-62,0,18)BWStat.Position=UDim2.new(0,56,0,30)
BWStat.BackgroundTransparency=1 BWStat.Text="● онлайн"
BWStat.TextColor3=Color3.fromRGB(80,200,80)BWStat.Font=Enum.Font.Gotham BWStat.TextSize=10
BWStat.TextXAlignment=Enum.TextXAlignment.Left BWStat.ZIndex=11 BWStat.Parent=BW
if myAccount then
BWName.Text=RolesBadges(myAccount).." "..myAccount.first.." "..myAccount.last
BW.Visible=true
end
-- ============ TAB 3 ============
local DT=Instance.new("TextLabel")DT.Size=UDim2.new(1,-10,0,24)DT.Position=UDim2.new(0,2,0,5)DT.BackgroundTransparency=1 DT.Text=T(33)DT.TextColor3=Color3.fromRGB(255,100,100)DT.Font=Enum.Font.GothamBold DT.TextSize=14 DT.TextXAlignment=Enum.TextXAlignment.Left DT.Parent=Ts[3]
local DS2=Instance.new("TextLabel")DS2.Size=UDim2.new(1,-10,0,20)DS2.Position=UDim2.new(0,2,0,30)DS2.BackgroundTransparency=1 DS2.Text=T(34)DS2.TextColor3=Color3.fromRGB(180,180,200)DS2.Font=Enum.Font.Gotham DS2.TextSize=11 DS2.Parent=Ts[3]
local DRB=Instance.new("TextButton")DRB.Size=UDim2.new(0,120,0,30)DRB.Position=UDim2.new(0,2,0,55)DRB.BackgroundColor3=Color3.fromRGB(70,130,220)DRB.Text=T(35)DRB.TextColor3=Color3.fromRGB(255,255,255)DRB.Font=Enum.Font.GothamBold DRB.TextSize=12 DRB.BorderSizePixel=0 DRB.Parent=Ts[3]
local drc=Instance.new("UICorner")drc.CornerRadius=UDim.new(0,4)drc.Parent=DRB
local MyL=Instance.new("TextLabel")MyL.Size=UDim2.new(1,-10,0,32)MyL.Position=UDim2.new(0,2,0,90)MyL.BackgroundColor3=Color3.fromRGB(40,40,55)MyL.BackgroundTransparency=0.3 MyL.Text=" "..T(38)..DS(LP).."% "MyL.TextColor3=Color3.fromRGB(255,220,100)MyL.Font=Enum.Font.GothamBold MyL.TextSize=16 MyL.TextXAlignment=Enum.TextXAlignment.Left MyL.BorderSizePixel=0 MyL.Parent=Ts[3]
local mylc=Instance.new("UICorner")mylc.CornerRadius=UDim.new(0,4)mylc.Parent=MyL
local DL=Instance.new("ScrollingFrame")DL.Size=UDim2.new(1,-10,0,260)DL.Position=UDim2.new(0,2,0,128)DL.BackgroundTransparency=1 DL.ScrollBarThickness=6 DL.Active=true DL.Parent=Ts[3]
Ts[3].CanvasSize=UDim2.new(0,0,0,400)
local function RD()
for _,o in ipairs(DL:GetChildren())do if o:IsA("TextButton")or o:IsA("TextLabel")or o:IsA("Frame")then o:Destroy()end end
local kids={}
for _,p in ipairs(P:GetPlayers())do if p~=LP then table.insert(kids,{p=p,s=DS(p),c=CN(p)})end end
table.sort(kids,function(a,b)return a.s>b.s end)
if #kids==0 then
local n=Instance.new("TextLabel")
n.Size=UDim2.new(1,-10,0,30)n.Position=UDim2.new(0,2,0,0)n.BackgroundTransparency=1 n.Text=T(36)n.TextColor3=Color3.fromRGB(180,180,200)n.Font=Enum.Font.Gotham n.TextSize=12 n.Parent=DL
DL.CanvasSize=UDim2.new(0,0,0,40)
return
end
local y=0
for _,k in ipairs(kids)do
local sc
if k.s>=70 then sc=Color3.fromRGB(200,50,50)elseif k.s>=50 then sc=Color3.fromRGB(200,150,50)else sc=Color3.fromRGB(80,180,80)end
local card=Instance.new("Frame")card.Size=UDim2.new(1,-10,0,50)card.Position=UDim2.new(0,2,0,y)card.BackgroundColor3=sc card.BackgroundTransparency=0.7 card.BorderSizePixel=0 card.Parent=DL
local cc=Instance.new("UICorner")cc.CornerRadius=UDim.new(0,4)cc.Parent=card
local nl=Instance.new("TextLabel")nl.Size=UDim2.new(1,-70,0,20)nl.Position=UDim2.new(0,6,0,3)nl.BackgroundTransparency=1 nl.Text=k.p.Name nl.TextColor3=Color3.fromRGB(255,255,255)nl.Font=Enum.Font.GothamBold nl.TextSize=13 nl.TextXAlignment=Enum.TextXAlignment.Left nl.Parent=card
local cl=Instance.new("TextLabel")cl.Size=UDim2.new(1,-70,0,16)cl.Position=UDim2.new(0,6,0,24)cl.BackgroundTransparency=1 cl.Text=k.c cl.TextColor3=Color3.fromRGB(200,200,210)cl.Font=Enum.Font.Gotham cl.TextSize=10 cl.TextXAlignment=Enum.TextXAlignment.Left cl.Parent=card
local sl=Instance.new("TextLabel")sl.Size=UDim2.new(0,55,0,50)sl.Position=UDim2.new(1,-60,0,0)sl.BackgroundTransparency=1 sl.Text=k.s.."%"sl.TextColor3=sc sl.Font=Enum.Font.GothamBold sl.TextSize=16 sl.Parent=card
y=y+54
end
DL.CanvasSize=UDim2.new(0,0,0,y+10)
end
DRB.MouseButton1Click:Connect(RD)
-- ============ TAB 4 ============
MT(Ts[4],16,Color3.fromRGB(0,180,0),Color3.fromRGB(60,60,70),"HD",5)
MT(Ts[4],17,Color3.fromRGB(0,180,0),Color3.fromRGB(60,60,70),"LD",48)
MT(Ts[4],18,Color3.fromRGB(255,140,0),Color3.fromRGB(70,50,30),"HR",91)
MT(Ts[4],37,Color3.fromRGB(200,50,50),Color3.fromRGB(60,60,70),"AK",134)
local I2=Instance.new("TextLabel")I2.Size=UDim2.new(1,-15,0,40)I2.Position=UDim2.new(0,2,0,177)I2.BackgroundTransparency=1 I2.Text="ТП к каждому ребёнку и атака"I2.TextColor3=Color3.fromRGB(180,180,200)I2.Font=Enum.Font.Gotham I2.TextSize=11 I2.TextWrapped=true I2.Parent=Ts[4]
local ST=Instance.new("TextLabel")ST.Size=UDim2.new(1,-15,0,24)ST.Position=UDim2.new(0,2,0,222)ST.BackgroundTransparency=1 ST.Text=T(19)ST.TextColor3=Color3.fromRGB(255,220,100)ST.Font=Enum.Font.GothamBold ST.TextSize=13 ST.TextXAlignment=Enum.TextXAlignment.Left ST.Parent=Ts[4]
local SO=Instance.new("TextButton")SO.Size=UDim2.new(0,70,0,30)SO.Position=UDim2.new(0,2,0,250)SO.BackgroundColor3=Color3.fromRGB(70,130,220)SO.Text=T(22)SO.TextColor3=Color3.fromRGB(255,255,255)SO.Font=Enum.Font.GothamBold SO.TextSize=12 SO.BorderSizePixel=0 SO.Parent=Ts[4]
local soc=Instance.new("UICorner")soc.CornerRadius=UDim.new(0,4)soc.Parent=SO
local SBs={}
local function USpd()
SO.BackgroundColor3=Color3.fromRGB(50,50,65)
for _,s in ipairs(SBs)do s.b.BackgroundColor3=Color3.fromRGB(50,50,65)end
if S.SP==0 then SO.BackgroundColor3=Color3.fromRGB(70,130,220)
else for _,s in ipairs(SBs)do if s.p==S.SP then s.b.BackgroundColor3=Color3.fromRGB(0,200,100)end end end
end
for i,pct in ipairs({10,20,30,40,50,60,70,80,90,100})do
local row=math.floor((i-1)/5)
local col=(i-1)%5
local b=Instance.new("TextButton")
b.Size=UDim2.new(1/5,-8,0,30)b.Position=UDim2.new(col*(1/5),4,0,250+(row+1)*34)
b.BackgroundColor3=Color3.fromRGB(50,50,65)b.Text=pct.."%"
b.TextColor3=Color3.fromRGB(255,255,255)b.Font=Enum.Font.GothamBold b.TextSize=12 b.BorderSizePixel=0 b.Parent=Ts[4]
local bc=Instance.new("UICorner")bc.CornerRadius=UDim.new(0,4)bc.Parent=b
b.MouseButton1Click:Connect(function()S.SP=pct USpd()end)
table.insert(SBs,{b=b,p=pct})
end
SO.MouseButton1Click:Connect(function()S.SP=0 USpd()end)
local SI=Instance.new("TextLabel")SI.Size=UDim2.new(1,-15,0,30)SI.Position=UDim2.new(0,2,0,250+3*34)SI.BackgroundTransparency=1 SI.Text=T(25)SI.TextColor3=Color3.fromRGB(180,180,200)SI.Font=Enum.Font.Gotham SI.TextSize=10 SI.TextWrapped=true SI.Parent=Ts[4]
Ts[4].CanvasSize=UDim2.new(0,0,0,430)
-- ============ TAB 5 ============
local function BE(parent,data,cardH)
local y=0
for _,e in ipairs(data)do
if e.cat then
local cl=Instance.new("TextLabel")cl.Size=UDim2.new(1,-10,0,26)cl.Position=UDim2.new(0,2,0,y)cl.BackgroundColor3=e.color cl.BackgroundTransparency=0.3 cl.Text=" "..e.cat cl.TextColor3=Color3.fromRGB(255,255,255)cl.Font=Enum.Font.GothamBold cl.TextSize=12 cl.BorderSizePixel=0 cl.TextXAlignment=Enum.TextXAlignment.Left cl.Parent=parent
y=y+30
else
local card=Instance.new("Frame")card.Size=UDim2.new(1,-10,0,cardH)card.Position=UDim2.new(0,2,0,y)card.BackgroundColor3=Color3.fromRGB(40,40,55)card.BorderSizePixel=0 card.Parent=parent
local wc=Instance.new("UICorner")wc.CornerRadius=UDim.new(0,4)wc.Parent=card
local nl=Instance.new("TextLabel")nl.Size=UDim2.new(1,-12,0,18)nl.Position=UDim2.new(0,6,0,3)nl.BackgroundTransparency=1 nl.Text=e.name or e.title nl.TextColor3=Color3.fromRGB(255,220,100)nl.Font=Enum.Font.GothamBold nl.TextSize=13 nl.TextXAlignment=Enum.TextXAlignment.Left nl.Parent=card
local dl=Instance.new("TextLabel")dl.Size=UDim2.new(1,-12,0,cardH-22)dl.Position=UDim2.new(0,6,0,20)dl.BackgroundTransparency=1 dl.Text=e.desc dl.TextColor3=Color3.fromRGB(200,200,210)dl.Font=Enum.Font.Gotham dl.TextSize=10 dl.TextWrapped=true dl.TextXAlignment=Enum.TextXAlignment.Left dl.Parent=card
y=y+cardH+4
end
end
return y
end
local WD={{cat="ВЫЖИВШИЕ",color=Color3.fromRGB(80,180,80)},{name="Lori",desc="Базовый персонаж"},{name="Coby",desc="Ускорение"},{name="Spy",desc="Невидимость"},{name="Nobita",desc="Быстрый ремонт ТВ"},{name="Tve",desc="Обнаружение убийцы"},{name="Peri",desc="Защита от атаки"},{name="Daisy",desc="Безопасная зона"},{name="Soni",desc="Доп. монеты"},{name="Pincat",desc="Притягивает монеты"},{name="Dani",desc="Бесшумное движение"},{name="Bani",desc="Двойной прыжок"},{name="Mori",desc="Регенерация HP"},{name="Wiz",desc="Телепорт"},{name="Luna",desc="Ночное видение"},{name="Flynn",desc="Ускорение при низком HP"},{name="Maou",desc="Усиленный удар"},{cat="ПОДДЕРЖКА",color=Color3.fromRGB(80,180,200)},{name="Bacon",desc="Находит союзников 8с"},{name="Gus",desc="Лечит союзников"},{name="Acorn",desc="Подъём союзников"},{name="Maggi",desc="Бафф скорости"},{name="Ricci",desc="Доп. время"},{cat="СТРАЖИ",color=Color3.fromRGB(200,100,80)},{name="Pigi",desc="Оглушает убийцу 3с"},{name="Hiro",desc="Устанавливает капканы"},{name="Azazil",desc="Отбрасывает убийцу"},{cat="УБИЙЦЫ",color=Color3.fromRGB(200,50,50)},{name="Nightmare",desc="Базовый убийца, ломает ТВ"},{name="Carnivore",desc="Скорость+дальняя атака"},{name="Phantom",desc="Телепорт сквозь стены"},{name="Tarantula",desc="Ловит в паутину"}}
Ts[5].CanvasSize=UDim2.new(0,0,0,BE(Ts[5],WD,42))
-- ============ TAB 6 ============
local LD2={{cat="ЛОКАЦИИ",color=Color3.fromRGB(100,150,220)},{title="Главный зал",desc="Центр карты."},{title="Кухня",desc="Узкие проходы."},{title="Библиотека",desc="Тихая зона."},{title="Подвал",desc="Тёмный."},{title="Крыша",desc="Открытая."},{title="Спальня",desc="Много укрытий."},{title="Сад",desc="Открытое пространство."},{title="Чердак",desc="Редко посещается."},{title="Гараж",desc="Удобно для ремонта."},{cat="ТАЙНЫ",color=Color3.fromRGB(180,100,200)},{title="Сломанные ТВ",desc="Не чинить."},{title="Монеты",desc="Открывают персонажей."},{title="Капканы",desc="Убийца ставит у дверей."},{title="Бесконечная ночь",desc="Починить все ТВ=рассвет."}}
local ly=BE(Ts[6],LD2,60)ly=ly+10
local lH=Instance.new("TextLabel")lH.Size=UDim2.new(1,-10,0,30)lH.Position=UDim2.new(0,2,0,ly)lH.BackgroundColor3=Color3.fromRGB(80,50,120)lH.BackgroundTransparency=0.2 lH.Text=" ИСТОРИЯ ИГРЫ"lH.TextColor3=Color3.fromRGB(255,255,255)lH.Font=Enum.Font.GothamBold lH.TextSize=14 lH.TextXAlignment=Enum.TextXAlignment.Left lH.BorderSizePixel=0 lH.Parent=Ts[6]
local lhC=Instance.new("UICorner")lhC.CornerRadius=UDim.new(0,4)lhC.Parent=lH
ly=ly+34
local lt="Когда-то в старом доме жила семья. Каждый вечер они собирались у телевизора. Но однажды ночью ТВ сломался — и из него вышел Кошмар.\n\nКошмар питается страхом и тишиной. Когда телевизоры работают, их свет ослабляет Кошмар.\n\nДети должны чинить телевизоры. У каждого свои способности.\n\nУбийцы — воплощения Кошмара.\n\nЕсли дети починят все ТВ — наступает рассвет."
local lC=Instance.new("Frame")lC.Size=UDim2.new(1,-10,0,240)lC.Position=UDim2.new(0,2,0,ly)lC.BackgroundColor3=Color3.fromRGB(35,35,50)lC.BorderSizePixel=0 lC.Parent=Ts[6]
local lCC=Instance.new("UICorner")lCC.CornerRadius=UDim.new(0,4)lCC.Parent=lC
local ll=Instance.new("TextLabel")ll.Size=UDim2.new(1,-16,1,-8)ll.Position=UDim2.new(0,8,0,4)ll.BackgroundTransparency=1 ll.Text=lt ll.TextColor3=Color3.fromRGB(200,200,220)ll.Font=Enum.Font.Gotham ll.TextSize=11 ll.TextWrapped=true ll.TextXAlignment=Enum.TextXAlignment.Left ll.TextYAlignment=Enum.TextYAlignment.Top ll.Parent=lC
ly=ly+244
Ts[6].CanvasSize=UDim2.new(0,0,0,ly)
-- ============ TAB 7 ============
local TTB=Instance.new("TextButton")
TTB.Size=UDim2.new(1,-10,0,42)TTB.Position=UDim2.new(0,5,0,10)
TTB.BackgroundColor3=Color3.fromRGB(200,170,0)
TTB.Text=T(27)TTB.TextColor3=Color3.fromRGB(255,255,255)
TTB.Font=Enum.Font.GothamBold TTB.TextSize=14 TTB.BorderSizePixel=0 TTB.Parent=Ts[7]
local ttbc=Instance.new("UICorner")ttbc.CornerRadius=UDim.new(0,6)ttbc.Parent=TTB
TTB.MouseButton1Click:Connect(TPTV)
local TPB=Instance.new("TextButton")
TPB.Size=UDim2.new(1,-10,0,42)TPB.Position=UDim2.new(0,5,0,60)
TPB.BackgroundColor3=Color3.fromRGB(180,80,255)
TPB.Text=T(32)TPB.TextColor3=Color3.fromRGB(255,255,255)
TPB.Font=Enum.Font.GothamBold TPB.TextSize=14 TPB.BorderSizePixel=0 TPB.Parent=Ts[7]
local tpc=Instance.new("UICorner")tpc.CornerRadius=UDim.new(0,6)tpc.Parent=TPB
TPB.MouseButton1Click:Connect(TPP)
local acBtn=MT(Ts[7],15,Color3.fromRGB(255,180,0),Color3.fromRGB(70,50,20),"AC",110)
local SHB=Instance.new("TextButton")
SHB.Size=UDim2.new(1,-10,0,42)SHB.Position=UDim2.new(0,5,0,158)
SHB.BackgroundColor3=Color3.fromRGB(200,50,50)
SHB.Text="Сервер-хоп"SHB.TextColor3=Color3.fromRGB(255,255,255)
SHB.Font=Enum.Font.GothamBold SHB.TextSize=14 SHB.BorderSizePixel=0 SHB.Parent=Ts[7]
local shbc=Instance.new("UICorner")shbc.CornerRadius=UDim.new(0,6)shbc.Parent=SHB
SHB.MouseButton1Click:Connect(SH)
local allAccBtn=Instance.new("TextButton")
allAccBtn.Size=UDim2.new(1,-10,0,54)allAccBtn.Position=UDim2.new(0,5,0,215)
allAccBtn.BackgroundColor3=Color3.fromRGB(255,180,0)
allAccBtn.Text="⭐ Все аккаунты + пароли"
allAccBtn.TextColor3=Color3.fromRGB(0,0,0)
allAccBtn.Font=Enum.Font.GothamBold allAccBtn.TextSize=13
allAccBtn.BorderSizePixel=0 allAccBtn.Parent=Ts[7]
local aabc=Instance.new("UICorner")aabc.CornerRadius=UDim.new(0,6)aabc.Parent=allAccBtn
allAccBtn.MouseButton1Click:Connect(function()
if not IsCoolBacon()then
ShowToast("⛔ Только для Cool Bacon",Color3.fromRGB(180,60,60))
return
end
RebuildAdminPanel()
ShowTab(11)
end)
local allAccBtn2=Instance.new("TextButton")
allAccBtn2.Size=UDim2.new(1,-10,0,54)allAccBtn2.Position=UDim2.new(0,5,0,278)
allAccBtn2.BackgroundColor3=Color3.fromRGB(200,50,200)
allAccBtn2.Text="🛠 Управление аккаунтами"
allAccBtn2.TextColor3=Color3.fromRGB(255,255,255)
allAccBtn2.Font=Enum.Font.GothamBold allAccBtn2.TextSize=13
allAccBtn2.BorderSizePixel=0 allAccBtn2.Parent=Ts[7]
local aabc2=Instance.new("UICorner")aabc2.CornerRadius=UDim.new(0,6)aabc2.Parent=allAccBtn2
allAccBtn2.MouseButton1Click:Connect(function()
if not IsCoolBacon()then
ShowToast("⛔ Только для Cool Bacon",Color3.fromRGB(180,60,60))
return
end
RebuildManagePanel()
ShowTab(13)
end)
local infoL=Instance.new("TextLabel")
infoL.Size=UDim2.new(1,-10,0,40)infoL.Position=UDim2.new(0,5,0,340)
infoL.BackgroundTransparency=1
infoL.Text="⭐ Секретный доступ только для Cool Bacon"
infoL.TextColor3=Color3.fromRGB(255,180,0)
infoL.Font=Enum.Font.Gotham infoL.TextSize=10
infoL.TextWrapped=true infoL.TextXAlignment=Enum.TextXAlignment.Center infoL.Parent=Ts[7]
Ts[7].CanvasSize=UDim2.new(0,0,0,400)
-- ============ TAB 8 ============
local UD={{cat="v4.3.0",color=Color3.fromRGB(100,200,255)},{title="Версия",desc="v4.3.0 by eggs_banana67"},{title="Платформа",desc=mob and"Mobile"or"PC"},{cat="НОВОЕ",color=Color3.fromRGB(80,180,80)},{title="Кнопка 'Все профили'",desc="Красивые карточки в новой вкладке"},{title="Управление",desc="🛠 Роли, баны, удаление"},{title="Баннеры",desc="🎨 6 стилей"},{title="Смена баннера",desc="Из профиля (Ts[12])"},{cat="ФУНКЦИИ",color=Color3.fromRGB(180,100,200)},{title="ESP",desc="Убийцы, дети, ТВ, монеты, капканы"},{title="Скорость",desc="10% — 100%"},{title="Авто-ТВ",desc="Ремонт ТВ"},{title="Авто-фарм",desc="Полёт сквозь монеты + ноклип + хоп"}}
Ts[8].CanvasSize=UDim2.new(0,0,0,BE(Ts[8],UD,50))
-- ============ Основные циклы ============
local function CE()
for _,h in ipairs(S.HL)do if h and h.Parent then h:Destroy()end end
S.HL={}
if S.HK or S.LK then
for _,k in ipairs(FK())do
if S.HK then table.insert(S.HL,CH(k.char,C.K,0.3))end
if S.LK then
local hd=k.char:FindFirstChild("Head")or k.char:FindFirstChild("HumanoidRootPart")
if hd then
local bb=Instance.new("BillboardGui")bb.Name="CBL"bb.Size=UDim2.new(0,200,0,50)bb.AlwaysOnTop=true bb.Parent=hd
local f=Instance.new("Frame")f.Size=UDim2.new(1,0,1,0)f.BackgroundColor3=Color3.fromRGB(20,20,30)f.BackgroundTransparency=0.3 f.BorderSizePixel=0 f.Parent=bb
local l=Instance.new("TextLabel")l.Size=UDim2.new(1,0,1,0)l.BackgroundTransparency=1 l.Text=k.name l.TextColor3=C.K l.Font=Enum.Font.GothamBold l.TextSize=14 l.TextWrapped=true l.Parent=f
table.insert(S.HL,bb)
end
end
end
end
if S.HD or S.LD then
for _,p in ipairs(P:GetPlayers())do
if p~=LP and p.Character then
local isK=false
for _,k in ipairs(FK())do if k.char==p.Character then isK=true break end end
if not isK then
if S.HD then table.insert(S.HL,CH(p.Character,C.D,0.3))end
end
end
end
end
if S.HT then for _,t in ipairs(FTV())do if t.status=="broken"then table.insert(S.HL,CH(t.obj,C.T,0.4))end end end
if S.HC then for _,c in ipairs(FC())do table.insert(S.HL,CH(c,C.M,0.3))end end
if S.HR then
for _,o in ipairs(W:GetDescendants())do
if o:IsA("BasePart")then
local n=o.Name:lower()
if n:find("door")or n:find("trap")or n:find("window")then table.insert(S.HL,CH(o,C.R,0.7))end
end
end
end
end
task.spawn(function()while true do task.wait(1.5)CE()end end)
task.spawn(function()
while true do
task.wait(0.2)
local ch=LP.Character
if ch then
local h=ch:FindFirstChildOfClass("Humanoid")
if h and S.SP>0 then
local ts=16*(1+S.SP/100)
if math.abs(h.WalkSpeed-ts)>0.5 then h.WalkSpeed=ts end
local tj=50*(1+S.SP/200)
if math.abs(h.JumpPower-tj)>0.5 then h.JumpPower=tj end
end
end
end
end)
task.spawn(function()
while true do
task.wait(0.05)
if S.AR then
local ch=LP.Character
if ch then
local h=ch:FindFirstChildOfClass("Humanoid")
if h then
if h.PlatformStand then h.PlatformStand=false end
local hs=h:GetState()
if hs==Enum.HumanoidStateType.Physics or hs==Enum.HumanoidStateType.FallingDown or hs==Enum.HumanoidStateType.Seated then
pcall(function()h:ChangeState(Enum.HumanoidStateType.GettingUp)end)
task.wait(0.05)
pcall(function()h:ChangeState(Enum.HumanoidStateType.Running)end)
end
if h.WalkSpeed<8 then
if S.SP>0 then h.WalkSpeed=16*(1+S.SP/100)else h.WalkSpeed=16 end
end
for _,v in ipairs(ch:GetDescendants())do
if v:IsA("BoolValue")then
local vn=v.Name:lower()
if vn:find("ragdoll")or vn:find("stun")or vn:find("ko")or vn:find("hit")or vn:find("grab")then v.Value=false end
end
end
for _,v in ipairs(ch:GetDescendants())do
if v:IsA("BodyVelocity")or v:IsA("BodyAngularVelocity")or v:IsA("BodyGyro")or v:IsA("BodyForce")then pcall(function()v:Destroy()end)end
end
for _,an in ipairs({"Stunned","Ragdoll","KO","Hit","Grabbed","Frozen","Downed"})do
if ch:GetAttribute(an)then ch:SetAttribute(an,false)end
end
FWA(ch,h)
end
end
else task.wait(0.5)end
end
end)
task.spawn(function()while true do task.wait(2)if S.AT then AFT()end end end)
task.spawn(function()
while true do
task.wait(0.3)
if S.AC and not S.hopping then
local ch=LP.Character
if not ch then task.wait(1)
else
local r=ch:FindFirstChild("HumanoidRootPart")
if r then
local coins=FC()
if #coins>0 then
S.noCoins=0
local cl,md=nil,math.huge
for _,c in ipairs(coins)do
local d=(c.Position-r.Position).Magnitude
if d<md then md=d cl=c end
end
if cl then
if not S.FO then S.FO=r.CFrame end
local cp=cl.Position
r.CFrame=CFrame.new(cp-Vector3.new(0,10,0))
task.wait(0.05)
for i=1,12 do
r.CFrame=CFrame.new(cp+Vector3.new(0,-10+i*2,0))
task.wait(0.02)
end
task.wait(0.05)
end
else
S.noCoins=S.noCoins+1
if S.noCoins>=10 then
warn("[CB] No coins, hop")
SH()
task.wait(10)
S.noCoins=0
else
local cs=FCS()
if cs then r.CFrame=CFrame.new(cs+Vector3.new(0,3,0))
elseif S.FO then r.CFrame=S.FO end
S.FO=nil
end
end
else task.wait(0.5)end
end
end
end
end)
task.spawn(function()
while true do
task.wait(0.5)
if S.AK then
local ch=LP.Character
if ch then
local r=ch:FindFirstChild("HumanoidRootPart")
if r then
for _,p in ipairs(P:GetPlayers())do
if S.AK and p~=LP and p.Character then
local ph=p.Character:FindFirstChildOfClass("Humanoid")
local tr=p.Character:FindFirstChild("HumanoidRootPart")
if tr and ph and ph.Health>0 then
local isK=false
if p.Team then local tn=p.Team.Name:lower()if tn:find("kill")or tn:find("nightmare")then isK=true end end
if not isK and p.Character.Name:lower():find("kill")then isK=true end
if not isK then
r.CFrame=tr.CFrame*CFrame.new(0,0,3)
task.wait(0.1)
for _,o in ipairs(p.Character:GetDescendants())do
if o:IsA("ProximityPrompt")then pcall(function()fireproximityprompt(o)end)end
end
task.wait(0.3)
end
end
end
end
end
end
end
end
end)
RS.Stepped:Connect(function()local ch=LP.Character if ch and S.AC then for _,p in ipairs(ch:GetDescendants())do if p:IsA("BasePart")then p.CanCollide=false end end end end)
task.spawn(function()while true do task.wait(5)if S.Tab==3 then RD()if MyL and MyL.Parent then MyL.Text=" "..T(38)..DS(LP).."% "end end end end)
task.spawn(function()while true do task.wait(0.1)if S.healCD>0 then S.healCD=S.healCD-0.1 if S.healCD<0 then S.healCD=0 end end end end)
task.spawn(function()
while true do
task.wait(0.5)
if S.AH and S.healCD==0 then
local anyHurt=false
for _,p in ipairs(P:GetPlayers())do
if p~=LP and p.Character then
local isK=false
if p.Team then local tn=p.Team.Name:lower()if tn:find("kill")or tn:find("nightmare")then isK=true end end
if not isK and p.Character.Name:lower():find("kill")then isK=true end
if not isK then
local hum=p.Character:FindFirstChildOfClass("Humanoid")
if hum and hum.Health>0 and hum.Health<hum.MaxHealth then anyHurt=true break end
end
end
end
if anyHurt then HealChildren()end
end
end
end)
warn("Cool Bacon v4.3.0 loaded! "..(mob and"Mobile"or"PC"))Review the source before using it. Executions count successful copies, capped at 10 per user and network per script in 24 hours.
Community discussion
0Start the conversation.


Your community, in one place