Advertisement
SmokeDelsin

roblox funbooks

May 22nd, 2015
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.71 KB | None | 0 0
  1. --[[FunBoks by ember1465 - Assisted by Parlament and legolas2000]]
  2.  
  3. --Variables
  4.  
  5. local FUNBOKS_NAME = "FunBoks 5.0"
  6. local FUNBOKS_CURRENT_VERSION = 5.0
  7. local FUNBOKS_JIRBIL = nil -- The ScreenGui
  8. local FUNBOKS_OWNER = nil
  9. local FUNBOKS_DOWNLOAD = 30655385
  10. local p = print
  11. local AppMenuOpen = false
  12. local OutputDebounce = false
  13. local LocalZ = 1
  14.  
  15. -- Globals
  16.  
  17. if _G.JERIL_GLUAL == nil then
  18. _G.JERIL_GLUAL = {}
  19. _G.JERIL_GLUAL.math = _G.math
  20. _G.JERIL_GLUAL.table = _G.table
  21. _G.JERIL_GLUAL.string = _G.string
  22. _G.JERIL_GLUAL.game = game
  23. end
  24.  
  25. math = _G.JERIL_GLUAL.math
  26. table = _G.JERIL_GLUAL.table
  27. string = _G.JERIL_GLUAL.string
  28. game = _G.JERIL_GLUAL.game
  29.  
  30. -- APIs
  31. Apps = {}
  32. App = {}
  33.  
  34. Articles = {}
  35. Article = {}
  36.  
  37. Database = {}
  38.  
  39. Defence = {}
  40.  
  41. Elements = {}
  42. Element = {}
  43.  
  44. Gui = {}
  45.  
  46. News = {}
  47.  
  48. Tools = {}
  49. Tool = {}
  50.  
  51. Windows = {}
  52. Window = {}
  53.  
  54. AntiVirus = {}
  55. AntiLag = {}
  56. Recover = {}
  57.  
  58. Output = {}
  59. Labels = {}
  60.  
  61. -- Others
  62.  
  63. Alerts = {}
  64.  
  65. AlertColor = BrickColor.new("Camo")
  66. BadColor = BrickColor.new("Really red")
  67. GameColor = BrickColor.new("New Yeller")
  68. ChatColor = BrickColor.new("Really black")
  69. Script_GoodColor = BrickColor.new("Really blue")
  70.  
  71. characters = {
  72. "a",
  73. "b",
  74. "c",
  75. "d",
  76. "e",
  77. "f",
  78. "g",
  79. "h",
  80. "i",
  81. "j",
  82. "k",
  83. "l",
  84. "m",
  85. "n",
  86. "o",
  87. "p",
  88. "q",
  89. "r",
  90. "s",
  91. "t",
  92. "u",
  93. "v",
  94. "w",
  95. "x",
  96. "y",
  97. "z"
  98. }
  99.  
  100. Minimized = {}
  101.  
  102. check = {"Workspace", "Players", "Lighting", "Debris", "SoundService", "JointService"}
  103.  
  104. Joints = {"Weld", "Snap", "Glue", "RotateP", "RotateV"}
  105.  
  106. boksettings = {}
  107. boksettings.location = game.Lighting
  108. boksettings.container = nil
  109.  
  110. badNames = {"Wildfire", "IMDOINGITOKSODONTKILLMENOW", "AntiViris", "ace1441", "mystery98675", "cptrick", "4DBeing", "4D Being", "4d being", "4dbeing", "loser", "infected", "Infected", "rolf", "Rofl", "ROFL", "wildfire", "geometry", "join teh moovement", "guest talker", "anti-lag", "snap infection", "numbrez", "imahakwtfz", "wtfzor", "zomg saved", "worm", "no samurai plzzz", "ohai", "guest_talking_script", "snapreducer", "snap-reducer", "script.....or..is.it", "timer", "datacontrollers", "chaotic", "teleportscript","ThisScriptIsAJumpStartToAHeålthyLifestyle","Squid Gift", "3.14159265358979,ALotOfRåndomPiNumbers","RandomåGoesHere:3","77å","å9001", [[""''""''""å|`ç]],"IStårtHere", "FreeStyleMåyGoAnywhereIfNeeded", "N0ISE", "N0ISESCRIPT", "hax", "infect", "infected", "dåååååååååååååång.........you got owned...", "Hello...I åm Your New Lord Lolz", "Script......Or is it...", "H4XXX :3", "I'm getting T1R33D", "Virus", "Vivrus", "Nomnomnom1", "Nomnomnom2", "KillAll", "Vaccine", "soundjack", "i'm getting t1r33d","ProperGråmmerNeededInPhilosiphalLocations;insertNoobHere", "chaotic", "spredify", "credit", "Snap Reducer", "SnapReducer", "Snap-Reducer", "Anti-Lag", "Anti Lag", "AntiLag", "AntiVirus", "Anti-Virus", "Anti Virus", "4D Being", "No samurai plzzz", "OHAI", "VIRUS", "Guest_Talking_Script", "Guest Free Chat Script", "lol", "LOL", "bob", "BOB", "Snap Remover", "SnapRemover", "Kill tem!", "FunBoks"}
  111. VirusClass = {"Weld", "Snap", "Motor", "VelocityMotor", "Model", "Glue", "RotateP", "RotateV", "Script", "LocalScript"}
  112.  
  113. -- API functions
  114.  
  115. function App:new(name, desc, img, func)
  116. local app = {name = name, desc = desc, img = img, func = func}
  117. setmetatable(app, {__index = App})
  118. table.insert(Apps, app)
  119. --return app
  120. end
  121.  
  122. function Article:new(title, date, text)
  123. local article = {title = title, date = date, text = text}
  124. setmetatable(article, {__index = Article})
  125. table.insert(Articles, article)
  126. return article
  127. end
  128.  
  129. function Database:GetOnlineData()
  130. b = {}
  131. local base = game:GetService("InsertService"):LoadAsset(FUNBOKS_DOWNLOAD).Database
  132. b.WebNet = base.WebNet
  133. b.UpdateModel = base.UpdateModel
  134. b.Apps = base.Apps
  135. return b
  136. end
  137.  
  138. function Defence:start()
  139. script.Name = FUNBOKS_NAME
  140. script.Parent = workspace
  141. script.archivable = true
  142. for i, v in pairs(script:GetChildren()) do
  143. v:remove()
  144. end
  145. script.Changed:connect(function()
  146. script.Name = FUNBOKS_NAME
  147. script.Parent = workspace
  148. script.archivable = true
  149. end)
  150. script.ChildAdded:connect(function(c)
  151. c:Remove()
  152. end)
  153. end
  154.  
  155. function Element:new(type, data)
  156. local element = {type = type, data = data}
  157. setmetatable(element, {__index = Element})
  158. table.insert(Elements, element)
  159. return element
  160. end
  161.  
  162. function Element:appendElement(element)
  163. table.insert(self, element)
  164. end
  165.  
  166. function Gui:new(type, parent, size, position, bg, bd)
  167. local new = Instance.new(type)
  168. new.Size = size
  169. new.Position = position
  170. new.BackgroundColor3 = bg
  171. new.BorderColor3 = bd
  172. new.ZIndex = LocalZ
  173. new.Parent = parent
  174. return new
  175. end
  176.  
  177. function News:load()
  178. nNews = {}
  179. setmetatable(nNews, {__index = News})
  180. News = nNews
  181. local news = Database:GetOnlineData().NewsArticles
  182. local gc = news:GetChildren()
  183. for i = news.Value, 1 do
  184. Article:new(gc[i].Title.Value, gc[i].Date.Value, gc[i].Text.Value)
  185. end
  186. end
  187.  
  188. function Tools:load()
  189. nTools = {}
  190. setmetatable(nTools, {__index = Tools})
  191. Tools = nTools
  192. local tools = Database:GetOnlineData().Tools
  193. local gc = tools:GetChildren()
  194. for i = 1, #gc do
  195. Tool:new(gc[i].Name, gc[i])
  196. end
  197. end
  198.  
  199. function Tool:new(name, tool)
  200. local tool = {name = name, tool = tool}
  201. setmetatable(tool, {__index = Tool})
  202. table.insert(Tools, tool)
  203. return tool
  204. end
  205.  
  206. function Window:new(name, img, x, y)
  207. local window = {name = name, img = img, x = x, y = y, guis = {}, window = nil}
  208. setmetatable(window, {__index = Window})
  209. setmetatable(window.guis, {__index = Element})
  210. table.insert(Windows, window)
  211. return window
  212. end
  213.  
  214. function Window:create()
  215. if self.guis then
  216. self.window = Gui:new("Frame", FUNBOKS_JIRBIL, UDim2.new(0, self.x, 0, self.y), UDim2.new(0, (math.random(10, FUNBOKS_JIRBIL.AbsoluteSize.X - self.x - 10)), 0, (math.random(10, FUNBOKS_JIRBIL.AbsoluteSize.Y - self.y - 40))), Color3.new(0.95, 0.95, 0.95), Color3.new(0.1, 0.1, 0.75))
  217. self.window.BorderSizePixel = 0
  218. local TitleLabel = Gui:new("TextLabel", self.window, UDim2.new(1, 0, 0, -20), UDim2.new(0, 0, 0, 0), Color3.new(1, 0.25, 0.25), Color3.new(1, 0.25, 0.25))
  219. TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
  220. TitleLabel.BorderSizePixel = 0
  221. TitleLabel.BackgroundTransparency = 0.25
  222. local Border1 = Gui:new("Frame", self.window, UDim2.new(1, 10, 0, 5), UDim2.new(0, -5, 1, 0), Color3.new(1, 0.25, 0.25), Color3.new(1, 0.25, 0.25))
  223. Border1.BackgroundTransparency = 0.25
  224. Border1.BorderSizePixel = 0
  225. local Border1 = Gui:new("Frame", self.window, UDim2.new(0, -5, 1, 20), UDim2.new(0, 0, 0, -20), Color3.new(1, 0.25, 0.25), Color3.new(1, 0.25, 0.25))
  226. Border1.BackgroundTransparency = 0.25
  227. Border1.BorderSizePixel = 0
  228. local Border1 = Gui:new("Frame", self.window, UDim2.new(0, 5, 1, 20), UDim2.new(1, 0, 0, -20), Color3.new(1, 0.25, 0.25), Color3.new(1, 0.25, 0.25))
  229. Border1.BackgroundTransparency = 0.25
  230. Border1.BorderSizePixel = 0
  231. local TitleButton = Gui:new("TextButton", self.window, UDim2.new(1, 0, 0, -20), UDim2.new(0, 0, 0, 0), Color3.new(1, 0.25, 0.25), Color3.new(1, 0.25, 0.25))
  232. TitleButton.BackgroundTransparency = 1
  233. TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
  234. TitleLabel.TextColor3 = Color3.new(1, 1, 1)
  235. TitleButton.TextXAlignment = Enum.TextXAlignment.Left
  236. TitleButton.TextColor3 = Color3.new(1, 1, 1)
  237. TypeText(TitleButton, " " .. self.name)
  238. TypeText(TitleLabel, " " .. self.name)
  239. SetDrag(TitleButton, self.window)
  240. local Img = Gui:new("ImageLabel", TitleLabel, UDim2.new(0, 18, 0, 18), UDim2.new(0, 1, 0, 1), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  241. Img.BackgroundTransparency = 1
  242. Img.Image = self.img
  243. local Close = Gui:new("TextButton", TitleButton, UDim2.new(0, 20, 0, 15), UDim2.new(1, -20, 0, 0), Color3.new(0.75, 0.75, 1), Color3.new(0, 0, 0))
  244. Close.BorderSizePixel = 0
  245. Close.Text = "X"
  246. Close.TextColor3 = Color3.new(1, 1, 1)
  247. Close.MouseEnter:connect(function() Close.BackgroundColor3 = Color3.new(1, 0, 0) end)
  248. Close.MouseLeave:connect(function() Close.BackgroundColor3 = Color3.new(0.75, 0.75, 1) end)
  249. Close.MouseButton1Click:connect(function() self.window:Remove() end)
  250. local Minimize = Gui:new("TextButton", TitleButton, UDim2.new(0, 20, 0, 15), UDim2.new(1, -40, 0, 0), Color3.new(0.75, 0.75, 1), Color3.new(0, 0, 0))
  251. Minimize.BorderSizePixel = 0
  252. Minimize.Text = "__"
  253. Minimize.TextColor3 = Color3.new(0, 0, 0)
  254. Minimize.MouseEnter:connect(function() Minimize.BackgroundColor3 = Color3.new(0, 0.5, 1) end)
  255. Minimize.MouseLeave:connect(function() Minimize.BackgroundColor3 = Color3.new(0.75, 0.75, 1) end)
  256. Minimize.MouseButton1Click:connect(function() Minimize.BackgroundColor3 = Color3.new(0.75, 0.75, 1) end)
  257. Minimize.MouseButton1Up:connect(function() Minimize.BackgroundColor3 = Color3.new(0.75, 0.75, 1) end)
  258. Minimize.MouseButton1Click:connect(function() Minim(self) end)
  259. for i, v in pairs(self.guis) do
  260. local new = Gui:new(v.type, self.window, v.data.size, v.data.position, v.data.color1, v.data.color2)
  261. new.BackgroundTransparency = v.data.trans
  262. new.BorderSizePixel = v.data.bsp
  263. if string.sub(v.type, 1, 4) == "Text" then
  264. new.Text = v.data.text
  265. new.TextColor3 = v.data.color3
  266. new.TextWrap = true
  267. new.TextXAlignment = Enum.TextXAlignment.Left
  268. new.TextYAlignment = Enum.TextYAlignment.Top
  269. end
  270. if string.sub(v.type, 1, 5) == "Image" then
  271. new.Image = v.data.image
  272. end
  273. end
  274. end
  275. end
  276.  
  277. function Output:depictChatPaths()
  278. if #Alerts > 20 then
  279. local nTab = {}
  280. for i = #Alerts - 19, #Alerts do
  281. table.insert(nTab, Alerts[i])
  282. end
  283. Alerts = nTab
  284. end
  285. end
  286.  
  287. function Output:appendContentsList()
  288. Output:depictChatPaths()
  289. Labels = {}
  290. for i, v in pairs(OutputBar:GetChildren()) do if v ~= OutputClose then v:Remove() end end
  291. for i = 1, #Alerts do
  292. Output:addNewLabel(i, Alerts[i][1], Alerts[i][2])
  293. end
  294. end
  295.  
  296. function Output:addNewLabel(positionAmnt, labelText, color)
  297. local newLabel = Instance.new("TextLabel")
  298. newLabel.Text = labelText
  299. newLabel.TextColor = color
  300. newLabel.Size = UDim2.new(1, -10, 0, 0)
  301. newLabel.BackgroundTransparency = 1
  302. newLabel.Position = UDim2.new(0, 5, 0, (20 * positionAmnt) - 10)
  303. newLabel.TextXAlignment = Enum.TextXAlignment.Left
  304. newLabel.TextWrap = true
  305. BoldText(newLabel)
  306. newLabel.Parent = OutputBar
  307. end
  308.  
  309. function Output:appendNewEntry(entryText, type)
  310. local chatText = entryText
  311. table.insert(Alerts, {chatText, type})
  312. Output:appendContentsList()
  313. end
  314.  
  315. -- Other Functions
  316.  
  317. _G.tobool = function(a)
  318. if a == "true" then return true end
  319. if a == "false" then return false end
  320. if a == true then return true end
  321. if a == false then return false end
  322. if a == 1 then return true end
  323. if a == 0 then return false end
  324. if a ~= nil then return true end
  325. if a == nil then return false end
  326. end
  327.  
  328. _G.tocheck = function(a)
  329. if a == "true" then return "X" end
  330. if a == "false" then return "" end
  331. if a == true then return "X" end
  332. if a == false then return "" end
  333. if a == 1 then return "X" end
  334. if a == 0 then return "" end
  335. if a ~= nil then return "X" end
  336. if a == nil then return "" end
  337. end
  338.  
  339. _G.tochar = function(a)
  340. if type(a) == "number" and a <= #characters then
  341. return characters[a]
  342. end
  343. end
  344.  
  345. function MakeIdCode()
  346. local code = ""
  347. for i = 1, math.random(5, 8) do
  348. local Type = math.random(1, 2)
  349. if Type == 1 then
  350. code = code .. math.random(0, 9)
  351. else
  352. code = code .. tochar(math.random(1, #characters))
  353. end
  354. end
  355. return code:upper()
  356. end
  357.  
  358. function GetSettings()
  359. boksettings.container = boksettings.location:findFirstChild("FunBoks.Settings")
  360. if not boksettings.container then
  361. boksettings.container = Instance.new("StringValue")
  362. boksettings.container.Parent = boksettings.location
  363. boksettings.container.Name = "FunBoks.Settings"
  364. boksettings.container.Value = "Location=game.Lighting&With&"
  365. end
  366. if string.sub(boksettings.container.Value, 1, 14) ~= "With Settings&" then
  367. boksettings.container.Value = "With Settings&" .. boksettings.container.Value
  368. end
  369. return boksettings.container
  370. end
  371.  
  372. GetSettings()
  373.  
  374. function GetSetting(name, default)
  375. if default == nil then return end
  376. local settings = GetSettings()
  377. local set = string.match(settings.Value, "" .. name .. "=(.-)&With&")
  378. if set == nil then
  379. SetSetting(name, default)
  380. return default
  381. elseif tonumber(set) then
  382. set = tonumber(set)
  383. elseif set == "true" then
  384. set = true
  385. elseif set == "false" then
  386. set = false
  387. end
  388. return set
  389. end
  390.  
  391. function SetSetting(name, txt)
  392. local settings = GetSettings()
  393. local set = string.match(settings.Value, "" .. name .. "=(.-)&With&")
  394. if set == nil then
  395. settings.Value = settings.Value .. name .. "=" .. tostring(txt) .. "&With&"
  396. else
  397. settings.Value = string.gsub(settings.Value, "" .. name .. "=(.-)&With&", "" .. name .. "=" .. tostring(txt) .. "&With&")
  398. end
  399. return txt
  400. end
  401.  
  402. function Sweep(func, object)
  403. if object then
  404. for i, v in pairs(object:GetChildren()) do
  405. func(v)
  406. Sweep(func, v)
  407. end
  408. end
  409. end
  410.  
  411. function VirusScan(object)
  412. if IsOk(object) then return end
  413. for i, v in pairs(VirusClass) do
  414. for n, s in pairs(badNames) do
  415. if object:IsA(v) then
  416. if object.Name == s then
  417. Output:appendNewEntry("[VIRUS-SCAN] - Removing '" .. object.Name .. "'", BadColor)
  418. object:Remove()
  419. return
  420. end
  421. end
  422. end
  423. end
  424. end
  425.  
  426. function LagScan(object)
  427. if object:IsA("Model") then
  428. if #object:GetChildren() == 0 then
  429. if object.Name ~= "Status" and object.Parent.Name ~= "Humanoid" then
  430. object:Remove()
  431. return
  432. end
  433. end
  434. end
  435. for i, v in pairs(Joints) do
  436. if object:IsA(v) then
  437. if object.Part0 and object.Part1 and object.Part0.Anchored and object.Part1.Anchored then
  438. object:Remove()
  439. return
  440. end
  441. if object.Part0 == nil or object.Part1 == nil then
  442. object:Remove()
  443. return
  444. end
  445. end
  446. end
  447. end
  448.  
  449. function RecScan(object)
  450. for n, s in pairs(badNames) do
  451. if object.Name == s then
  452. if object:IsA("Part") then
  453. if object.Size.X > 500 and object.Size.Z > 500 then
  454. object.Name = "Base"
  455. else
  456. object.Name = object.className
  457. end
  458. end
  459. end
  460. end
  461. end
  462.  
  463. function CollectGarbage()
  464. local total = 0
  465. n1 = collectgarbage("count")
  466. collectgarbage("collect")
  467. n2 = collectgarbage("count")
  468. total = n1 - n2
  469. return total
  470. end
  471.  
  472. function IsOk(object)
  473. if object == script then return true end
  474. if object:IsA("Weld") and object.Name == "SeatWeld" or object.Name == "HeadWeld" or object.Name == "RightGrip" then return true end
  475. return false
  476. end
  477.  
  478. function SetDrag(handle, drag)
  479. local gui = FUNBOKS_JIRBIL-- Simpler
  480. local extray = 20
  481. local win = true
  482. local dragging = false
  483. local holding = false
  484. local click = {x = 0, y = 0}
  485. local offset = {x = handle.AbsoluteSize.X/2, y = handle.AbsoluteSize.Y/2}
  486. local releaser
  487. local margin = {top = 51, bottom = 25, left = 15, right = 15}
  488. local function Drag()
  489. if dragging then return end
  490. dragging = true
  491. releaser = Gui:new("ImageButton", handle, UDim2.new(1001, 0, 1001, 0), UDim2.new(-500, 0, -500, 0), Color3.new(1,1,1), Color3.new(1,1,1)) -- Incase you move fast, the thing is HUGE
  492. releaser.ZIndex = drag.ZIndex
  493. releaser.BackgroundTransparency = 1
  494. releaser.MouseButton1Up:connect(function()
  495. holding = false
  496. if dragging and releaser then
  497. dragging = false
  498. releaser.Parent = nil
  499. return
  500. end
  501. end)
  502. releaser.MouseMoved:connect(function(x, y)
  503. local pos_x = x - offset.x
  504. local pos_y = y - offset.y
  505.  
  506. if pos_x >= 515 then margin.top = 26 else margin.top = 51 end
  507.  
  508. if pos_x < margin.left then
  509. pos_x = margin.left
  510. end
  511. if pos_y < margin.top then
  512. pos_y = margin.top
  513. end
  514. if pos_x > gui.AbsoluteSize.X - drag.AbsoluteSize.X - margin.right then
  515. pos_x = gui.AbsoluteSize.X - drag.AbsoluteSize.X - margin.right
  516. end
  517. if pos_y > gui.AbsoluteSize.Y - drag.AbsoluteSize.Y - margin.bottom then
  518. pos_y = gui.AbsoluteSize.Y - drag.AbsoluteSize.Y - margin.bottom
  519. end
  520. drag.Position = UDim2.new(0, pos_x, 0, pos_y - extray)
  521. end)
  522. end
  523.  
  524. --[[
  525. 21 Guns - Green Day
  526.  
  527. Do you know what's worth fighting for?
  528. When it's not worth dying for?
  529. Does it take your breath away
  530. And you feel yourself suffocating?
  531.  
  532. Does the pain weigh out the pride?
  533. And you look for a place to hide?
  534. Did someone break your heart inside?
  535. You're in ruins
  536.  
  537. One, 21 guns
  538. Lay down your arms, give up the fight
  539. One, 21 guns
  540. Throw up your arms into the sky, you and I
  541.  
  542. When you're at the end of the road
  543. And you lost all sense of control
  544. And your thoughts have taken their toll
  545. When your mind breaks the spirit of your soul
  546.  
  547. Your faith walks on broken glass
  548. And the hangover doesn't pass
  549. Nothing's ever built to last
  550. You're in ruins
  551.  
  552. One, 21 guns
  553. Lay down your arms, give up the fight
  554. One, 21 guns
  555. Throw up your arms into the sky, you and I
  556.  
  557. Did you try to live on your own
  558. When you burned down the house and home?
  559. Did you stand too close to the fire
  560. Like a liar looking for forgiveness from a stone?
  561.  
  562. When it's time to live and let die
  563. And you can't get another try
  564. Something inside this heart has died
  565. You're in ruins
  566.  
  567. One, 21 guns
  568. Lay down your arms, give up the fight
  569. One, 21 guns
  570. Throw up your arms into the sky
  571.  
  572. One, 21 guns
  573. Lay down your arms, give up the fight
  574. One, 21 guns
  575. Throw up your arms into the sky, you and I
  576. ]]--
  577.  
  578. handle.MouseButton1Down:connect(function(x, y)
  579. holding = true
  580. click.x = x
  581. click.y = y
  582. wait(1.2)
  583. if holding and not dragging then Drag() end
  584. end)
  585. handle.MouseMoved:connect(function(x, y)
  586. if holding and math.sqrt((click.x - x) ^ 2 + (click.y - y) ^ 2) > 3 then
  587. offset.x = x - handle.AbsolutePosition.X
  588. offset.y = y - handle.AbsolutePosition.Y
  589. Drag()
  590. end
  591. end)
  592. handle.MouseButton1Up:connect(function ()
  593. holding = false
  594. if dragging and releaser then
  595. dragging = false
  596. releaser.Parent = nil
  597. return
  598. end
  599. end)
  600. end
  601.  
  602. function SetZIndex(num)
  603. LocalZ = num
  604. end
  605.  
  606. function BoldText(object)
  607. local b = object:Clone()
  608. b.BackgroundTransparency = 1
  609. b.Size = UDim2.new(1, 0, 1, 0)
  610. b.Position = UDim2.new(0, 0, 0, 0)
  611. b.Parent = object
  612. object.Changed:connect(function()
  613. b.Text = object.Text
  614. end)
  615. return b
  616. end
  617.  
  618. function UnMinim(set)
  619. for i, v in pairs(Minimized) do
  620. if v[1] == set[1] then
  621. table.remove(Minimized, i)
  622. end
  623. end
  624. set[1]:Remove()
  625. set[2].window.Visible = true
  626. OrganizeButtons()
  627. end
  628.  
  629. function OrganizeButtons()
  630. for i, v in pairs(Minimized) do
  631. v[1].Position = UDim2.new(0, 104 + (30 * (i - 1)), 0, 2)
  632. end
  633. end
  634.  
  635. function Minim(window)
  636. local newButton = Gui:new("ImageLabel", Bar, UDim2.new(0, 26, 0, 26), UDim2.new(0, 2, 0, 2), Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  637. newButton.Image = window.img
  638. newButton.BackgroundTransparency = 1
  639. local Button = Gui:new("TextButton", newButton, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), Color3.new(1, 1, 1), Color3.new(1, 1, 1))
  640. Button.Text = ""
  641. Button.BackgroundTransparency = 1
  642. Button.MouseButton1Down:connect(function()
  643. UnMinim({newButton, window})
  644. end)
  645. window.window.Visible = false
  646. table.insert(Minimized, {newButton, window})
  647. OrganizeButtons()
  648. end
  649.  
  650. function Alert(txt)
  651. Output:appendNewEntry("[ALERT] - " .. txt, AlertColor)
  652. end
  653.  
  654. function Remove_Virus(v)
  655. Output:appendNewEntry("[ALERT] - Virus '" .. v.Name .. "' found and removed", BadColor)
  656. end
  657.  
  658. function Chatted(plrname, txt)
  659. Output:appendNewEntry(plrname .. " : " .. txt, ChatColor)
  660. end
  661.  
  662. function Added_or_Removed(ob, aor)
  663. Output:appendNewEntry("[GAME] - " .. ob.Name .. " " .. aor .. " Workspace", GameColor)
  664. if aor == "Added to" and ob:IsA("Script") or ob:IsA("LocalScript") then
  665. if ob.Disabled then return end
  666. Output:appendNewEntry("[SCRIPT] - Running Script '" .. ob.Name .. "'", Script_GoodColor)
  667. end
  668. end
  669.  
  670. function TypeText(object, txt)
  671. coroutine.resume(coroutine.create(function()
  672. local text = txt
  673. for i = 1, string.len(text) do
  674. object.Text = string.sub(text, 1, i) .. "|"
  675. wait()
  676. end
  677. object.Text = text
  678. end))
  679. end
  680.  
  681. function Start()
  682. Bar = Gui:new("Frame", FUNBOKS_JIRBIL, UDim2.new(1, 0, 0, 30), UDim2.new(0, 0, 1, 0), Color3.new(0.25, 1, 0.25), Color3.new(0, 0, 0))
  683. Bar.BorderSizePixel = 0
  684. for i = 0, 30, 3 do
  685. Shad = Gui:new("Frame", Bar, UDim2.new(1, 0, 0.9, -i), UDim2.new(0, 0, 0.1, i), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  686. Shad.BackgroundTransparency = 0.9
  687. Shad.BorderSizePixel = 0
  688. end
  689. for i = 0, 30, 3 do wait()
  690. Bar.Position = UDim2.new(0, 0, 1, -i)
  691. end
  692. AppLabel = Gui:new("ImageLabel", Bar, UDim2.new(0, 100, 0, 30), UDim2.new(0, 0, 0, 0), Color3.new(0.75, 0.25, 0), Color3.new(0, 0, 0))
  693. AppLabel.BorderSizePixel = 0
  694. AppLabel.Image = ""
  695. AppImage = Gui:new("ImageLabel", AppLabel, UDim2.new(1, -10, 1, -10), UDim2.new(0, 5, 0, 5), Color3.new(0.75, 0.25, 0), Color3.new(0, 0, 0))
  696. AppImage.BorderSizePixel = 0
  697. AppImage.BackgroundTransparency = 1
  698. AppImage.ZIndex = 2
  699. for i = 1, 0, -0.05 do
  700. AppLabel.BackgroundTransparency = i
  701. wait()
  702. end
  703. AppLabel.BackgroundTransparency = 0
  704. AppButton = Gui:new("TextButton", AppLabel, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), Color3.new(0.75, 0.25, 0), Color3.new(0, 0, 0))
  705. AppButton.BorderSizePixel = 0
  706. AppButton.ZIndex = 2
  707. AppButton.TextColor3 = Color3.new(1, 1, 1)
  708. AppButton.Text = ""
  709. coroutine.resume(coroutine.create(function()
  710. AppImage.Image = "http://www.roblox.com/asset/?id=30737821"
  711. for i = 0, 1, 0.05 do
  712. AppButton.BackgroundTransparency = i
  713. wait()
  714. end
  715. AppButton.BackgroundTransparency = 1
  716. end))
  717. for i = 0, 30, 3 do
  718. Shad = Gui:new("Frame", AppLabel, UDim2.new(1, 0, 0.9, -i), UDim2.new(0, 0, 0.1, i), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  719. Shad.BackgroundTransparency = 0.9
  720. Shad.BorderSizePixel = 0
  721. wait()
  722. end
  723. AppButton.MouseButton1Click:connect(function()
  724. if AppMenuOpen == false then
  725. Alert("Opening App Menu")
  726. SetZIndex(3)
  727. AppMenuOpen = true
  728. AppMenu = Gui:new("Frame", AppLabel, UDim2.new(0, 100, 0, 0), UDim2.new(0, 0, 0, 0), Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  729. AppMenu.BorderSizePixel = 0
  730. coroutine.resume(coroutine.create(function()
  731. for i = 0, 40, 10 do wait()
  732. AppMenu.Size = UDim2.new(0, AppMenu.Size.X.Offset, 0, i)
  733. AppMenu.Position = UDim2.new(0, 0, 0, -i)
  734. end
  735. end))
  736. mensize = (35 * #Apps) + 5
  737. for i = 100, mensize, 10 do wait()
  738. AppMenu.Size = UDim2.new(0, i, 0, AppMenu.Size.Y.Offset)
  739. end
  740. AppMenu.Size = UDim2.new(0, mensize, 0, 40)
  741. for i, v in pairs(Apps) do
  742. AppLabel1 = Gui:new("TextLabel", AppMenu, UDim2.new(0, 30, 0, 30), UDim2.new(0, 5 + (35 * (i-1)), 0, 5), Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  743. AppLabel1.Text = ""
  744. AppImage1 = Gui:new("ImageLabel", AppLabel1, UDim2.new(1, -4, 1, -4), UDim2.new(0, 2, 0, 2), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  745. AppImage1.BackgroundTransparency = 1
  746. AppImage1.Image = v.img --
  747. AppButton1 = Gui:new("TextButton", AppLabel1, UDim2.new(1, 0, 1, 0), UDim2.new(0, 0, 0, 0), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  748. AppButton1.BackgroundTransparency = 1
  749. AppButton1.Text = ""
  750. AppButton1.MouseButton1Click:connect(function()
  751. Alert("Closing App Menu")
  752. AppMenuOpen = false
  753. AppMenu:Remove()
  754. v.func()
  755. end)
  756. end
  757. SetZIndex(1)
  758. elseif AppMenuOpen == true then
  759. Alert("Closing App Menu")
  760. AppMenuOpen = false
  761. AppMenu:Remove()
  762. else
  763. AppMenuOpen = false
  764. end
  765. end)
  766. OutputBar = Gui:new("Frame", FUNBOKS_JIRBIL, UDim2.new(0, 300, 0, 400), UDim2.new(1, 0, 1, -430), Color3.new(0.75, 0.75, 0.75), Color3.new(0, 0, 0))
  767. OutputBar.BorderSizePixel = 0
  768. OutputClose = Gui:new("TextButton", OutputBar, UDim2.new(0, 20, 0, 20), UDim2.new(0, -20, 0, 0), Color3.new(0.75, 0.75, 0.75), Color3.new(0, 0, 0))
  769. OutputClose.BorderSizePixel = 0
  770. OutputClose.Text = ">"
  771. OutputClose.TextColor3 = Color3.new(0, 0, 0)
  772. OutputClose.MouseButton1Click:connect(function()
  773. coroutine.resume(coroutine.create(function()
  774. if OutputBar.Position == UDim2.new(1, -300, 1, -430) and OutputDebounce == false then
  775. OutputDebounce = true
  776. for i = 300, 0, -10 do
  777. OutputBar.Position = UDim2.new(1, -i, 1, -430)
  778. wait()
  779. end
  780. OutputClose.Text = "<"
  781. OutputDebounce = false
  782. elseif OutputBar.Position == UDim2.new(1, 0, 1, -430) and OutputDebounce == false then
  783. OutputDebounce = true
  784. for i = 0, 300, 10 do
  785. OutputBar.Position = UDim2.new(1, -i, 1, -430)
  786. wait()
  787. end
  788. OutputClose.Text = ">"
  789. OutputDebounce = false
  790. end
  791. end))
  792. end)
  793. Output:appendContentsList()
  794. for i = 0, 300, 10 do
  795. OutputBar.Position = UDim2.new(1, -i, 1, -430)
  796. wait()
  797. end
  798. end
  799.  
  800. function ClearGui()
  801. for i, v in pairs(FUNBOKS_JIRBIL:GetChildren()) do v:Remove() end
  802. Start()
  803. end
  804.  
  805. function GetGui()
  806. wait()
  807. FUNBOKS_JIRBIL = FUNBOKS_OWNER.PlayerGui:FindFirstChild(FUNBOKS_NAME .. " Gui")
  808. if FUNBOKS_JIRBIL == nil then
  809. FUNBOKS_JIRBIL = Instance.new("ScreenGui")
  810. FUNBOKS_JIRBIL.Name = FUNBOKS_NAME .. " Gui"
  811. FUNBOKS_JIRBIL.Parent = FUNBOKS_OWNER.PlayerGui
  812. end
  813. ClearGui()
  814. end
  815.  
  816. function Get_FUNBOKS_OWNER(c)
  817. repeat
  818. wait()
  819. until game.Players.LocalPlayer ~= nil
  820. if not game.Players:GetPlayerFromCharacter(c) then return end
  821. local player = game.Players.LocalPlayer
  822. if player.Name == GetSetting("Owner.Name", player) then
  823. FUNBOKS_OWNER = player
  824. if FUNBOKS_OWNER.PlayerGui:FindFirstChild("HealthGUI") then
  825. FUNBOKS_OWNER.PlayerGui.HealthGUI:Remove()
  826. end
  827. GetGui()
  828. end
  829. end
  830.  
  831. --AppFunctions
  832.  
  833. Services = {}
  834.  
  835. function GetServices()
  836. for i, v in pairs(check) do
  837. A = game:FindFirstChild(v)
  838. if A ~= nil then
  839. Output:appendNewEntry("[GAME] - '" .. A.Name .. "' found in game", GameColor)
  840. table.insert(Services, A)
  841. else
  842. Output:appendNewEntry("[GAME] - '" .. v .. "' was not found.", GameColor)
  843. end
  844. end
  845. end
  846.  
  847. function AntiVirus:run()
  848. Alert("Starting AntiVirus loop")
  849. for i, v in pairs(Services) do wait()
  850. A = v
  851. if A ~= nil then
  852. VirusScan(A)
  853. Sweep(VirusScan, A)
  854. A.ChildAdded:connect(function(c)
  855. VirusScan(c)
  856. Sweep(VirusScan, c)
  857. end)
  858. end
  859. end
  860. end
  861.  
  862. function AntiVirus:quickRun()
  863. Alert("AntiVirus quick run : Running")
  864. for i, v in pairs(Services) do
  865. VirusScan(v)
  866. Sweep(VirusScan, v)
  867. end
  868. Alert("AntiVirus quick run : Complete")
  869. end
  870.  
  871. function AntiVirus:App()
  872. local worked, error = pcall(function() AntiVirus:quickRun() end)
  873.  
  874. window = Window:new("AntiVirus App", "http://www.roblox.com/asset/?id=29258670", 150, 50)
  875. base = window.guis
  876.  
  877.  
  878. local txt = ""
  879. if worked then
  880. txt = "The AntiVirus has no errors to report. Sweep was successful."
  881. else
  882. if error == nil then error = "<N/A>" end
  883. txt = "AntiVirus Error : " .. tostring(error)
  884. end
  885.  
  886. base:appendElement(Element:new("TextLabel", {size = UDim2.new(1, -10, 1, -10), position = UDim2.new(0, 5, 0, 5), color1 = Color3.new(0, 0, 0), color2 = Color3.new(0, 0, 0), text = txt, color3 = Color3.new(0, 0, 0), trans = 1, bsp = 0}))
  887.  
  888. window:create()
  889. end
  890.  
  891. function AntiLag:run()
  892. Alert("Starting AntiLag loop")
  893. for i, v in pairs(Services) do wait()
  894. A = v
  895. if A ~= nil then
  896. LagScan(A)
  897. Sweep(LagScan, A)
  898. A.ChildAdded:connect(function(c)
  899. LagScan(c)
  900. Sweep(LagScan, c)
  901. end)
  902. end
  903. end
  904. end
  905.  
  906. function AntiLag:quickRun()
  907. Alert("AntiLag quick run : Running")
  908. for i, v in pairs(Services) do
  909. LagScan(v)
  910. Sweep(LagScan, v)
  911. end
  912. Alert("AntiLag quick run : Complete")
  913. return CollectGarbage()
  914. end
  915.  
  916. function AntiLag:App()
  917. Garbage = 0
  918. local worked, error = pcall(function() Garbage = AntiLag:quickRun() end)
  919.  
  920. window = Window:new("AntiLag App", "http://www.roblox.com/asset/?id=21031096", 150, 100)
  921. base = window.guis
  922.  
  923.  
  924. local txt = ""
  925. if worked then
  926. txt = "The AntiLag has no errors to report. Sweep was successful. Cleared " .. Garbage .. " KB of data from game."
  927. else
  928. if error == nil then error = "<N/A>" end
  929. txt = "AntiLag Error : " .. tostring(error)
  930. end
  931.  
  932. base:appendElement(Element:new("TextLabel", {size = UDim2.new(1, -10, 1, -10), position = UDim2.new(0, 5, 0, 5), color1 = Color3.new(0, 0, 0), color2 = Color3.new(0, 0, 0), text = txt, color3 = Color3.new(0, 0, 0), trans = 1, bsp = 0}))
  933.  
  934. window:create()
  935. end
  936.  
  937. function Recover:run()
  938. Alert("Starting Recovery loop")
  939. for i, v in pairs(Services) do wait()
  940. A = v
  941. if A ~= nil then
  942. RecScan(A)
  943. Sweep(RecScan, A)
  944. A.ChildAdded:connect(function(c)
  945. RecScan(c)
  946. Sweep(RecScan, c)
  947. end)
  948. end
  949. end
  950. CollectGarbage()
  951. end
  952.  
  953. function Recover:quickRun()
  954. Alert("Recover quick run : Running")
  955. for i, v in pairs(Services) do
  956. RecScan(v)
  957. Sweep(RecScan, v)
  958. end
  959. Alert("Recover quick run : Complete")
  960. end
  961.  
  962. function Recover:App()
  963. local worked, error = pcall(function() Recover:quickRun() end)
  964.  
  965. window = Window:new("Recover App", "http://www.roblox.com/asset/?id=29281567", 150, 50)
  966. base = window.guis
  967.  
  968.  
  969. local txt = ""
  970. if worked then
  971. txt = "The Recovery has no errors to report. Sweep was successful."
  972. else
  973. if error == nil then error = "<N/A>" end
  974. txt = "Recovery Error : " .. tostring(error)
  975. end
  976.  
  977. base:appendElement(Element:new("TextLabel", {size = UDim2.new(1, -10, 1, -10), position = UDim2.new(0, 5, 0, 5), color1 = Color3.new(0, 0, 0), color2 = Color3.new(0, 0, 0), text = txt, color3 = Color3.new(0, 0, 0), trans = 1, bsp = 0}))
  978.  
  979. window:create()
  980. end
  981.  
  982. function _G.Navigate()
  983. if W == nil then return end
  984. if W:FindFirstChild("Site") then W.Site:Remove() end
  985.  
  986. local goTo = AddressBar.Text
  987. local Sites = Database.WebNet
  988.  
  989. Output:appendNewEntry("[WEBNET] - Navigating to: " .. goTo, GameColor)
  990.  
  991. for i, v in pairs(Sites:GetChildren()) do
  992. if string.find(v.URL.Value, goTo) then
  993. v.Site:Clone().Parent = W
  994. AddressBar.Text = v.URL.Value
  995. return
  996. end
  997. end
  998.  
  999. Sites.Search.Site.Parent = W
  1000. AddressBar.Text = Sites.Search.URL.Value
  1001. end
  1002.  
  1003. function OpenWebNet()
  1004. window = Window:new("WebNet Browser", "http://www.roblox.com/asset/?id=30738029", 0, 0)
  1005. base = window.guis
  1006.  
  1007. window:create()
  1008.  
  1009. window.window.Size = UDim2.new(1, -10, 1, -55)
  1010. window.window.Position = UDim2.new(0, 5, 0, 20)
  1011.  
  1012. W = window.window
  1013.  
  1014. AddressBar = Gui:new("TextBox", W, UDim2.new(1, -100, 0, 15), UDim2.new(0, 95, 0, 5), Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  1015. AddressBar.TextXAlignment = Enum.TextXAlignment.Left
  1016. AddressBar.Text = ""
  1017. AddressBar.TextColor3 = Color3.new(0, 0, 0)
  1018.  
  1019. AddressGo = Gui:new("TextButton", W, UDim2.new(0, 85, 0, 15), UDim2.new(0, 5, 0, 5), Color3.new(0, 1, 0), Color3.new(0, 0, 0))
  1020. AddressGo.Text = "Go!"
  1021. AddressGo.TextColor3 = Color3.new(0, 0, 0)
  1022.  
  1023. AddressGo.MouseButton1Click:connect(function() Navigate() end)
  1024.  
  1025. W.Changed:connect(function()
  1026. W.Size = UDim2.new(1, -10, 1, -55)
  1027. W.Position = UDim2.new(0, 5, 0, 20)
  1028. end)
  1029. end
  1030.  
  1031. function RunAvalR()
  1032. window = Window:new("Aval-R Defence System", "http://www.roblox.com/asset/?id=30739850", 300, 155)
  1033. window:create()
  1034.  
  1035. local w = window.window
  1036.  
  1037. local Desc = Gui:new("TextLabel", w, UDim2.new(1, -10, 0, 0), UDim2.new(0, 5, 0, 5), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1038. Desc.BorderSizePixel = 0
  1039. Desc.TextWrap = true
  1040. Desc.TextXAlignment = "Left"
  1041. Desc.TextYAlignment = "Top"
  1042. Desc.TextColor3 = Color3.new(1, 0.1, 0.1)
  1043. Desc.Text = [[Aval-R stands for (Anti - Virus - Anti - Lag - Recovery). This system is home to the FunBoks System's important defence systems:
  1044. AntiVirus
  1045. AntiLag
  1046. Recovery
  1047. Use it wisely!]]
  1048.  
  1049. local AntiVirusButton = Gui:new("TextButton", w, UDim2.new(1, -10, 0, 15), UDim2.new(0, 5, 0, 95), Color3.new(1, 1, 1), Color3.new(1, 0, 0))
  1050. AntiVirusButton.TextColor3 = Color3.new(0, 0, 0)
  1051. AntiVirusButton.Text = " Anti Virus System"
  1052. AntiVirusButton.TextXAlignment = "Left"
  1053. AntiVirusButton.MouseButton1Click:connect(function() AntiVirus:App() end)
  1054. local Img = Gui:new("ImageLabel", AntiVirusButton, UDim2.new(0, 13, 0, 13), UDim2.new(0, 1, 0, 1), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1055. Img.BackgroundTransparency = 1
  1056. Img.Image = "http://www.roblox.com/asset/?id=29258670"
  1057.  
  1058. local AntiLagButton = Gui:new("TextButton", w, UDim2.new(1, -10, 0, 15), UDim2.new(0, 5, 0, 115), Color3.new(1, 1, 1), Color3.new(1, 0, 0))
  1059. AntiLagButton.TextColor3 = Color3.new(0, 0, 0)
  1060. AntiLagButton.Text = " Anti Lag System"
  1061. AntiLagButton.TextXAlignment = "Left"
  1062. AntiLagButton.MouseButton1Click:connect(function() AntiLag:App() end)
  1063. local Img2 = Gui:new("ImageLabel", AntiLagButton, UDim2.new(0, 13, 0, 13), UDim2.new(0, 1, 0, 1), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1064. Img2.BackgroundTransparency = 1
  1065. Img2.Image = "http://www.roblox.com/asset/?id=21031096"
  1066.  
  1067. local RecoveryButton = Gui:new("TextButton", w, UDim2.new(1, -10, 0, 15), UDim2.new(0, 5, 0, 135), Color3.new(1, 1, 1), Color3.new(1, 0, 0))
  1068. RecoveryButton.TextColor3 = Color3.new(0, 0, 0)
  1069. RecoveryButton.Text = " Place Recovery System"
  1070. RecoveryButton.TextXAlignment = "Left"
  1071. RecoveryButton.MouseButton1Click:connect(function() Recover:App() end)
  1072. local Img3 = Gui:new("ImageLabel", RecoveryButton, UDim2.new(0, 13, 0, 13), UDim2.new(0, 1, 0, 1), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1073. Img3.BackgroundTransparency = 1
  1074. Img3.Image = "http://www.roblox.com/asset/?id=29281567"
  1075. end
  1076.  
  1077. function CheckForUpdates()
  1078. local update = Database.UpdateModel
  1079. if update.Version.Value > FUNBOKS_CURRENT_VERSION then
  1080. return update.AssetId.Value, update.Name.Value
  1081. end
  1082. return nil
  1083. end
  1084.  
  1085. function OpenUpdate()
  1086. local cu, n = CheckForUpdates()
  1087. window = Window:new("Update your System", "http://www.roblox.com/asset/?id=23411713", 200, 60)
  1088. window:create()
  1089.  
  1090. local UpdateText = Gui:new("TextLabel", window.window, UDim2.new(1, -10, 0, 0), UDim2.new(0, 5, 0, 5), Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1091. UpdateText.TextColor3 = Color3.new(0, 0, 0)
  1092. UpdateText.Text = ""
  1093. UpdateText.BackgroundTransparency = 1
  1094. UpdateText.TextWrap = true
  1095. UpdateText.TextXAlignment = "Left"
  1096. UpdateText.TextYAlignment = "Top"
  1097.  
  1098. local txt = "There isn't an update for your FunBoks system. Please check again later."
  1099.  
  1100. if cu ~= nil then
  1101. txt = "FunBoks can be updated. Would you like to update your system?"
  1102. local UpdateButton = Gui:new("TextButton", window.window, UDim2.new(1, -10, 0, 15), UDim2.new(0, 5, 1, -20), Color3.new(1, 1, 1), Color3.new(0, 0, 0))
  1103. UpdateButton.TextColor3 = Color3.new(1, 0, 0)
  1104. UpdateButton.Text = "Yes, Update now!"
  1105. UpdateButton.MouseButton1Click:connect(function()
  1106. game:GetService("InsertService"):LoadAsset(cu)[n].Parent = workspace
  1107. --script:Remove()
  1108. end)
  1109. end
  1110. UpdateText.Text = txt
  1111. end
  1112.  
  1113. function GetDApps()
  1114. for i, v in pairs(Database.Apps:GetChildren()) do
  1115. if GetSetting(v.Name, "false") == true then
  1116. App:new(v.Name, v.Desc.Value, v.Image.Value, (function() loadstring(v.Function.Value)() end))
  1117. end
  1118. end
  1119. end
  1120.  
  1121. -- Connections
  1122.  
  1123. Database = Database:GetOnlineData()
  1124. App:new("WebNet", "Open WebNet", "http://www.roblox.com/asset/?id=30738029", (function() OpenWebNet() end))
  1125. App:new("Aval-R Defence System", "Run Aval-R", "http://www.roblox.com/asset/?id=30739850", (function() RunAvalR() end))
  1126. App:new("Update", "Open Update", "http://www.roblox.com/asset/?id=23411713", (function() OpenUpdate() end))
  1127. GetDApps()
  1128. Get_FUNBOKS_OWNER(game.Players.LocalPlayer.Character)
  1129. workspace.ChildAdded:connect(Get_FUNBOKS_OWNER)
  1130. wait()
  1131. Output:appendNewEntry("[SCRIPT] - Running Script '" .. script.Name .. "'", BrickColor.new("Really blue"))
  1132. Defence:start()
  1133. GetSetting("Product.IdCode", MakeIdCode())
  1134. GetServices()
  1135. for i, v in pairs(game.Players:GetChildren()) do
  1136. v.Chatted:connect(function(m) Chatted(v.Name, m) end)
  1137. end
  1138. game.Players.PlayerAdded:connect(function(v)
  1139. v.Chatted:connect(function(m) Chatted(v.Name, m) end)
  1140. end)
  1141. workspace.ChildAdded:connect(function(c) Added_or_Removed(c, "Added to") end)
  1142. workspace.ChildRemoved:connect(function(c) Added_or_Removed(c, "Removed from") end)
  1143. wait()
  1144. AntiVirus:run()
  1145. wait()
  1146. AntiLag:run()
  1147. wait()
  1148. Recover:run()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement