Bad Code (and Rap)

rap

August 4th, 2024suno

Lyrics

--!strict print("[YTLiveSubs]: Script inserido...") local http = game:GetService('HttpService') local channel_id = 'UCA4yZCVHlHZVknfesTU3XOg' local url = 'https://api.socialcounts.org/youtube-live-subscriber-count/'..channel_id local decoded local subs local diffsubs local data local success local finaldiffsubs -- aquele negócio que mostra a diferença de incritos. -- Ping if script:GetAttribute("Debug") == true then -- Checa se o modo "Debug" foi ativado print("[YTLiveSubs]: Iniciando teste de ping!...") local startTime = os.clock() local success, response = pcall(function() return http:GetAsync("https://www.google.com") end) if success then local deltaTime = os.clock() - startTime print("Pong!: " .. deltaTime .. " segundos") else print("Erro: " .. response) end end -- Fim do Ping function ChecarInscritos() success,data = pcall(function() return http:GetAsync(url) end) --if data then decoded = http:JSONDecode(data) subs = decoded["est_sub"] print(subs) --end end print("[YTLiveSubs]: Calculando First-run...") ChecarInscritos() while true do diffsubs = subs wait(3) -- em resumo, eu coloquei isso para não sobrecarregar a API -- Eu podia tranquilamente não ter feito isso, ou mudade o cooldown para 0.1 ou 0.5, -- Mas a API épública e eu não quero estragar o uso das outras pessoas. - PatoFlamejanteTV ChecarInscritos() print("[YTLiveSubs]: Inscritos atuais: " .. subs) --print("Pong!") -- Avisa que um novo "tick" print("[YTLiveSubs]: Novos inscritos: ".. subs - diffsubs) --matemáticas :nerd: finaldiffsubs = subs - diffsubs for i = 1, finaldiffsubs do for i = 1, finaldiffsubs do local clone = game.Workspace.Noob:Clone() clone.Parent = game.Workspace local ogposition = script.Parent clone:PivotTo( ogposition.PrimaryPart.CFrame * CFrame.new(0, 4 * (i + diffsubs), 0) ) --clone.YoutubeLiveThing.Disabled = true end end print("[YTLiveSubs]: Spawned ".. finaldiffsubs .." Noobs!") end -- 5:47:52 Agosto, 03, 2024 - PatoFlamejanteTV

Recommended

Burn of the Mind
Burn of the Mind

raw electric grunge

Мама и ее цыплята
Мама и ее цыплята

Indie pop soulful dreamy

We Will Be Legend
We Will Be Legend

orchestral adventurous folk

Starlit Night
Starlit Night

hard rock, industrial, rock, metal, guitar, electro, punk, pop, metal, guitar, electro, punk, electronic, heavy metal

Mi Refugio
Mi Refugio

male vocals, pop, upbeat, electro, sadsynthwave, intense, chill, atmospheric, beat, rock, electronic, atmospheric

joy
joy

8-bit,Dad-funky Disco Beat, Guitars-driven, Live Instrumentation, Pop, Melodic Guitar, Wistful, Retro

Underdog
Underdog

groovy funk, cutecore, sad and melodic

Glimmer of hope
Glimmer of hope

rap rock, alternative metal, nu metal, (electric guitars, bass, drums, hip hop beat :1.3)(male vocalist and rapist :1.4)

Me & You
Me & You

emo metal

Tere Pyar Ki Dor
Tere Pyar Ki Dor

rhythmic emotive pop

For a Peaceful Heart
For a Peaceful Heart

alternative,pop,rock,strong beat, female vocal, female vocals, catchy, electro

암흑의 추격자
암흑의 추격자

chill,trap,ROCK,HIP HOP,Electro,rap

Et le travail
Et le travail

Blend of indie rock and synth pop, danceable beats with guitar riffs, slow burning with anthemic chorus.

Retro Dreams 3
Retro Dreams 3

80s, modern talking, pop

Monsters on the Dancefloor
Monsters on the Dancefloor

playful chiptune neoclassical dance fast

The Dawgs of Maryville
The Dawgs of Maryville

anthematic rock aggressive intense