|
1 | 1 | /** |
2 | | - * POBFUS ELITE - v1.13.100 |
3 | | - * Logic: Fixed Countdown, Decoupled Actions, Human-Centric UI |
| 2 | + * CORE PROTECTION MODULE |
| 3 | + * Pillars: MoonSec V3 | Prometheus | Cambuscate |
4 | 4 | */ |
5 | 5 |
|
6 | | -let _currentTab = 'sys'; |
7 | | -let _mealInterval; |
| 6 | +let _lang = 'lua'; |
8 | 7 |
|
9 | 8 | const _011 = { |
10 | 9 | _init: function() { |
11 | | - // Fix: Force immediate update so user doesn't see "INIT" |
12 | | - this._updateTicker(); |
13 | | - setInterval(() => this._updateTicker(), 1000); |
14 | | - |
15 | | - this.print("SYSTEM: Millennial Build 1.13.100 Online.", "var(--p-green)"); |
16 | | - this.print("SYSTEM: Guest Room Integrated. v0.7 Memorial Active.", "var(--p-gold)"); |
17 | | - |
18 | | - // Start household chat cycle |
19 | | - this._startHouseholdLogic(); |
| 10 | + this.print("SYSTEM: Protection Core Online.", "var(--accent)"); |
20 | 11 | }, |
21 | 12 |
|
22 | | - // Fixed Countdown Logic |
23 | | - _updateTicker: function() { |
24 | | - const ticker = document.getElementById('status-ticker'); |
25 | | - const now = new Date(); |
26 | | - const bmasDate = new Date(now.getFullYear(), 11, 23); // Dec 23 |
27 | | - |
28 | | - // If we passed Dec 23 this year, set for next year |
29 | | - if (now > bmasDate) bmasDate.setFullYear(now.getFullYear() + 1); |
30 | | - |
31 | | - const diff = bmasDate - now; |
32 | | - const d = Math.floor(diff / (1000 * 60 * 60 * 24)); |
33 | | - const h = Math.floor((diff / (1000 * 60 * 60)) % 24); |
34 | | - const m = Math.floor((diff / (1000 * 60)) % 60); |
35 | | - const s = Math.floor((diff / 1000) % 60); |
36 | | - |
37 | | - ticker.innerText = `BYTESMAS COUNTDOWN: ${d}d ${h}h ${m}m ${s}s`; |
| 13 | + setLang: function(lang) { |
| 14 | + _lang = lang; |
| 15 | + document.querySelectorAll('.sel-btn').forEach(b => b.classList.remove('active')); |
| 16 | + document.getElementById(`btn-${lang}`).classList.add('active'); |
| 17 | + this.print(`PROTOCOL: Engine adapted for ${lang.toUpperCase()}.`, "var(--blue)"); |
38 | 18 | }, |
39 | 19 |
|
40 | | - _generateFileName: function() { |
41 | | - const chars = "ABCDEFGHJKLMNPQRSTUVWXYZ23456789"; |
42 | | - const syms = "_$[]"; |
43 | | - let rand = ""; |
44 | | - for(let i=0; i<6; i++) rand += chars.charAt(Math.floor(Math.random()*chars.length)); |
45 | | - return `PB_${rand}${syms.charAt(Math.floor(Math.random()*syms.length))}_build.lua`; |
| 20 | + coreNotif: function(msg) { |
| 21 | + const container = document.getElementById('notif-container'); |
| 22 | + const el = document.createElement('div'); |
| 23 | + el.className = 'core-notif'; |
| 24 | + el.innerHTML = `<span style="color:var(--accent)">◈</span> ${msg}`; |
| 25 | + container.appendChild(el); |
| 26 | + setTimeout(() => { |
| 27 | + el.classList.add('fade-out'); |
| 28 | + setTimeout(() => el.remove(), 300); |
| 29 | + }, 3000); |
46 | 30 | }, |
47 | 31 |
|
48 | 32 | _transform: function() { |
49 | | - const _in = document.getElementById('input'); |
50 | | - if (!_in.value.trim()) { |
51 | | - this.print("ERROR: Source buffer is empty. Transformation aborted.", "var(--p-red)"); |
52 | | - return; |
53 | | - } |
54 | | - |
55 | | - const buildID = Math.random().toString(16).slice(2, 8).toUpperCase(); |
56 | | - const output = `-- POBFUS ELITE v1.13.100\n-- BUILD_SIG: ${buildID}\n-- HERITAGE: 0.1 -> 0.7 -> Elite\nlocal _ = "${btoa(_in.value)}"`; |
57 | | - |
58 | | - document.getElementById('output-view').value = output; |
59 | | - this.print(`SUCCESS: Build [${buildID}] compiled successfully.`, "var(--p-blue)"); |
60 | | - }, |
61 | | - |
62 | | - _dl: function() { |
63 | | - const code = document.getElementById('output-view').value; |
64 | | - if (!code) { |
65 | | - this.print("ERROR: Transformation required before deployment.", "var(--p-red)"); |
66 | | - return; |
67 | | - } |
| 33 | + const _in = document.getElementById('input').value; |
| 34 | + if (!_in.trim()) return; |
68 | 35 |
|
69 | | - const name = this._generateFileName(); |
70 | | - const blob = new Blob([code], { type: 'text/plain' }); |
71 | | - const link = document.createElement('a'); |
72 | | - link.href = URL.createObjectURL(blob); |
73 | | - link.download = name; |
74 | | - link.click(); |
| 36 | + // Mandatory Notification |
| 37 | + this.coreNotif("Protected by Pobfus"); |
75 | 38 |
|
76 | | - this.print(`DEPLOY: File [${name}] exported to storage.`, "var(--p-green)"); |
77 | | - this.printChat("Skiddy Steve", "Deployment successful. The Android-safe naming logic is holding up."); |
78 | | - }, |
79 | | - |
80 | | - switchTab: function(tab) { |
81 | | - _currentTab = tab; |
82 | | - document.querySelectorAll('.log-tab').forEach(t => t.classList.remove('active')); |
83 | | - document.getElementById(`tab-${tab}`).classList.add('active'); |
84 | | - document.getElementById('steve-logs').innerHTML = ""; |
| 39 | + const buildID = "PB-" + Math.random().toString(36).substring(7).toUpperCase(); |
| 40 | + this.print(`INIT: Applying V3 Pillar Mapping...`, "var(--accent)"); |
85 | 41 |
|
86 | | - if (tab === 'chat') { |
87 | | - this.printChat("Anti-Tamper Mary", "Steve, the Millennial update looks good. Is the Guest Room stable?"); |
88 | | - this.printChat("Skiddy Steve", "Totally stable, Mom. No more Android conflicts."); |
89 | | - } |
| 42 | + setTimeout(() => { |
| 43 | + this.print(`PILLAR 1: MoonSec V3 virtualization applied.`, "var(--blue)"); |
| 44 | + setTimeout(() => { |
| 45 | + this.print(`PILLAR 2: Prometheus thermal pass complete.`, "var(--blue)"); |
| 46 | + setTimeout(() => { |
| 47 | + this.print(`PILLAR 3: Cambuscate logic flow secured.`, "var(--green)"); |
| 48 | + |
| 49 | + const encoded = btoa(_in).split('').reverse().join(''); |
| 50 | + const output = `--[[ PROTECTED BY POBFUS | BUILD: ${buildID} ]]-- |
| 51 | +-- ARCHITECTURE: ${_lang.toUpperCase()} V3 VIRTUALIZATION |
| 52 | +local _v = function(_s) return (string.reverse(game:GetService("HttpService"):Base64Decode(_s))) end |
| 53 | +loadstring(_v("${encoded}"))()`; |
| 54 | + |
| 55 | + document.getElementById('output-view').value = output; |
| 56 | + this.print(`SUCCESS: Build ${buildID} finalized.`, "var(--accent)"); |
| 57 | + }, 400); |
| 58 | + }, 400); |
| 59 | + }, 400); |
90 | 60 | }, |
91 | 61 |
|
92 | 62 | print: function(msg, color = "#fff") { |
93 | | - if (_currentTab !== 'sys') return; |
94 | | - const log = document.getElementById('steve-logs'); |
| 63 | + const log = document.getElementById('sys-logs'); |
95 | 64 | const div = document.createElement('div'); |
96 | 65 | div.style.color = color; |
97 | 66 | div.style.marginBottom = "4px"; |
98 | | - div.innerHTML = `<span style="color:#555; font-size:10px;">[${new Date().toLocaleTimeString()}]</span> ${msg}`; |
| 67 | + div.innerHTML = `<span style="color:#222;">[LOG]</span> ${msg}`; |
99 | 68 | log.appendChild(div); |
100 | 69 | log.scrollTop = log.scrollHeight; |
101 | | - }, |
102 | | - |
103 | | - printChat: function(user, msg) { |
104 | | - const log = document.getElementById('steve-logs'); |
105 | | - const div = document.createElement('div'); |
106 | | - let col = user === "Skiddy Steve" ? "var(--p-green)" : "#d2a8ff"; |
107 | | - div.innerHTML = `<b style="color:${col}">${user}:</b> <span style="color:#ccc">${msg}</span>`; |
108 | | - log.appendChild(div); |
109 | | - log.scrollTop = log.scrollHeight; |
110 | | - }, |
111 | | - |
112 | | - _startHouseholdLogic: function() { |
113 | | - const cycle = [ |
114 | | - ["Anti-Tamper Mary", "Steve, someone in the Guest Room reported a bug."], |
115 | | - ["Skiddy Steve", "I'm on it. Just bypass-checking the v0.7 memorial logic."], |
116 | | - ["Hexadecimal Jim", "Make sure the bytecode is clean, Steve."], |
117 | | - ["Skiddy Steve", "Always is, Jim. Elite build only."] |
118 | | - ]; |
119 | | - let i = 0; |
120 | | - setInterval(() => { |
121 | | - if (_currentTab === 'chat') this.printChat(cycle[i % cycle.length][0], cycle[i % cycle.length][1]); |
122 | | - else this.print(`[${cycle[i % cycle.length][0]}]: Active.`, "#8b949e"); |
123 | | - i++; |
124 | | - }, 8000); |
125 | 70 | } |
126 | 71 | }; |
127 | 72 |
|
|
0 commit comments