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

Osaka no Tatakai Obachan
Osaka no Tatakai Obachan

metal,rock,power metal,symphonic metal,heavy metal

Eternal Flame
Eternal Flame

epic haunting orchestral

Moonlit Dreams
Moonlit Dreams

kpop exciting

In His Image
In His Image

uplifting pop acoustic

Groovy teatime
Groovy teatime

boombap, Lo-fi house

Singing with a stroke
Singing with a stroke

Swing, mutation funk

Midnight Thunder
Midnight Thunder

electronic bpm240 phonk

Too Late Now
Too Late Now

emotional pop rock

Echoes of Light
Echoes of Light

Pop Ballad with Soulful Male Vocals & Inspirational Message

Sonnenwelt
Sonnenwelt

Motorik-Beat, Mechanical, Cold Atmosphere, Urban Futuristic, Energetic, Repetitive,

Battle Shadows
Battle Shadows

orchestral melancholic slow tempo

Tiny Tim the Baby Elephant
Tiny Tim the Baby Elephant

Joyful African folk, rhythmic drumming, vibrant melodies with marimba and kalimba, rich harmonies, and EDM infusion

Final Poem 最後の詩 (Saigo no uta)
Final Poem 最後の詩 (Saigo no uta)

jpop, slow, flute, guitar, piano, cute female vocal, japan language, anime song, sad emotion

The Midnight Drive
The Midnight Drive

Epic 80's Saxophone

Dark Shadows
Dark Shadows

nordic gothic rock latin

Tu Palabra
Tu Palabra

acoustic rock, acoustic guitar, violin, techno, piano

Izhaar-e-Dil
Izhaar-e-Dil

south asian music,regional music,asian music,bollywood,filmi

good music
good music

dramatic