Bad Code (and Rap)

dark rap

August 4th, 2024suno

歌词

--!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

推荐歌曲

Digital Daydreams
Digital Daydreams

lofi,jazz,warm,cozy,ChillBeats,instrumental,Emotional,acustic,bass line

Breaking the Chains
Breaking the Chains

fast tempo, rock, strong, instrumental rock, electric, high-energy, distorted guitars, driving rhythm

Tambose'e
Tambose'e

Hardstyle X Reggae catchy bomb egiptyan disco, female vocal big bass, big drum. spirit, cheerful

MTK Harus Kuat
MTK Harus Kuat

mix k-pop indonesia culture, upbeat, happy, powerful, piano

Bài Ca Hoa Trí
Bài Ca Hoa Trí

mượt mà ballad piano

Free to Heal
Free to Heal

lofi soothing melancholic

Fucked up
Fucked up

Aggressive EDM

La Verdad nos Libera
La Verdad nos Libera

acústica melódica balada

Infinite Echoes
Infinite Echoes

progressive house, deep house, bass, beat, tech house, piano intro

Acaso 2
Acaso 2

Vintage, Bass Voice, Harmony, 40s, Barroque

Dancing in the Rain
Dancing in the Rain

English、女性ボーカル、かっこいい、ハードロック、パンク

Moon
Moon

Pop, future rock, punk electro, fantasy, soul, carnatic, dark trap, blues, pop, sad

Void
Void

Ambient, relaxing, synth