Apps Home
|
Create an App
MillerHedz1
Author:
tattokoi
Description
Source Code
Launch App
Current Users
Created by:
Tattokoi
const GOAL_AMOUNT = 55; let totalGoals = 99; let currentTokens = 0; let currentGoal = 1; function updatePanel() { const percent = Math.min((currentTokens / GOAL_AMOUNT) * 100, 100); const title = `Goal ${currentGoal}/${totalGoals} — ${currentTokens}/${GOAL_AMOUNT} tokens`; const panelHtml = ` <div style="width:100%; font-size:15px; text-align:center;"> <div style="margin-bottom:6px;"> Instagram: @tattokoi | X: @Millerh_ </div> <div style="background:#bcdcff; width:100%; height:18px; border-radius:8px;"> <div style="background:#0075ff; width:${percent}%; height:100%; border-radius:8px;"></div> </div> </div> `; cb.drawPanel({ title: title, body: panelHtml }); } cb.onTip(function (tip) { currentTokens += tip.amount; if (currentTokens >= GOAL_AMOUNT) { cb.sendNotice(`🎉 Goal ${currentGoal} completado! Gracias ${tip.from_user}!`); currentTokens = 0; currentGoal++; if (currentGoal > totalGoals) { cb.sendNotice("🔥 Todos los goals completados 🔥"); currentGoal = totalGoals; } } updatePanel(); }); updatePanel();
© Copyright Chaturbate 2011- 2026. All Rights Reserved.