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

The Little Ol' Spider
The Little Ol' Spider

melodic acoustic country

#심장을울려라
#심장을울려라

Ballad, piano, acoustic guitar, strings, drums, organs, trumpet, flute, bass, Orchestra,

我的畢業歌
我的畢業歌

溫馨 柔和 流行

Otter Books Melody
Otter Books Melody

classic piano symphony mellow storytelling

Queen of Our Own (Slow Version)
Queen of Our Own (Slow Version)

Eurodance, powerful, opera, epic, energetic, orchestral, cinematic

Unrequited Heart
Unrequited Heart

trumpet emo 90's punk tejano

Euphoria Drops
Euphoria Drops

dubstep electronic hardstyle

Morning Rain
Morning Rain

melodic pop

Відбиті Люди
Відбиті Люди

trap rock piano violin drum drum and bass electric male vocals

Deliverance
Deliverance

male vocals, electro, rock, hard rock, guitar, drum, metal, bass, slow

Worst way to play theme 3.1
Worst way to play theme 3.1

beat, synth, pop, funny, comedy, vocaloid, upbeat, electro, electronic

YERA YERA
YERA YERA

amapiano, afrobeat celebratory, electronic basslines, Amapiano, synth, bass, snare

Retour d'un Héros
Retour d'un Héros

sweet Male voice, melodic, emotional, country

Tęcza - old school
Tęcza - old school

60s rock'n'roll, psychedelic rock, strong emotional vocal

Que es poesia
Que es poesia

Post-Indiewave emofolk[math technical][glory glitch[post-post-hardcore]][orchestal romantic[post-clarity]] LightJourner

Die Schatten
Die Schatten

rock, metal, hardcore

Whisked Illusions
Whisked Illusions

1980s,new wave,alternative rock,synthesizer,electronic,female vocalist,synth-pop,

Memory
Memory

pop, male voice