Advertisement
anaylsis

deadmau5

Jul 20th, 2015
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.00 KB | None | 0 0
  1. --JAJA WILL PUNISH THE SINNERS
  2. -- Click On My Account Name To Look For More Leaked Scripts From Skids Like This supersonicfan111
  3.  
  4. -- // OSHIT
  5. -- // Do not leak, steal, etc.
  6. -- // supersonicfan111
  7. -- // Perplex Admin
  8. --[[
  9.  
  10. __/\\\\\\\\\\\\\_________________________________/\\\\\\\\\\\\\____/\\\\\\_________________________________
  11. _\/\\\/////////\\\______________________________\/\\\/////////\\\_\////\\\_________________________________
  12. _\/\\\_______\/\\\______________________________\/\\\_______\/\\\____\/\\\_________________________________
  13. _\/\\\\\\\\\\\\\/______/\\\\\\\\___/\\/\\\\\\\__\/\\\\\\\\\\\\\/_____\/\\\________/\\\\\\\\___/\\\____/\\\_
  14. _\/\\\/////////______/\\\/////\\\_\/\\\/////\\\_\/\\\/////////_______\/\\\______/\\\/////\\\_\///\\\/\\\/__
  15. _\/\\\______________/\\\\\\\\\\\__\/\\\___\///__\/\\\________________\/\\\_____/\\\\\\\\\\\____\///\\\/____
  16. _\/\\\_____________\//\\///////___\/\\\_________\/\\\________________\/\\\____\//\\///////______/\\\/\\\___
  17. _\/\\\______________\//\\\\\\\\\\_\/\\\_________\/\\\______________/\\\\\\\\\__\//\\\\\\\\\\__/\\\/\///\\\_
  18. _\///________________\//////////__\///__________\///______________\/////////____\//////////__\///____\///__
  19.  
  20. ]]
  21.  
  22.  
  23. script.Name='Perplex Admin_'..math.random()*100
  24. local START=tick()
  25. local END
  26. wait()
  27. PerPlex={}
  28. local Perplex=PerPlex
  29. Perplex.Core = {
  30. Rotation=0,
  31. Betkey='-',
  32. RotIncrease=0.02,
  33. ['KickAge']=175,
  34. ['OxboxStuff']={
  35. SavedDataKey="sCrIptbuilDERox_"
  36. };
  37. ['Logs']={
  38.  
  39. };
  40. ['Reasons']={
  41. ['Ranked']={},
  42. ['Bans']={
  43. 'Banned the creator';
  44. 'Banned the creator\'s friend';
  45. 'Fm\'ing';
  46. 'Pri\'ing';
  47. 'Annoying';
  48. 'BanHappy';
  49. 'UNDEFINED';
  50. 'Total troll';
  51. },
  52. };
  53. ['Ranked'] = {
  54. ['Dee'] = {Rank = 30, Desc = 'all mighty fmer', Color='Teal', TabletSize=Vector3.new(2,3,.1), Pkrot=true};
  55. ['Michael2644sFan2'] = {Rank = 30, Desc = 'Allahuakbar', Color='Black', TabletSize=Vector3.new(2,3,.1), Pkrot=false};
  56. ['ClassifiedDocuments'] = {Rank = 2000000, Desc = 'Semi-Scripter', Color='White', TabletSize=Vector3.new(2,2,.3), Pkrot=true};
  57. ['Opligitory'] = {Rank = 4, Desc = 'A friend of supersonicfan111', Color='Royal purple', TabletSize=Vector3.new(2,2,2), Pkrot=true};
  58. ['Nope'] = {Rank = 6, Desc = 'Gave the bypass to supersonicfan111', Color='Deep orange', TabletSize=Vector3.new(2,2,2), Pkrot=true};
  59. ['but'] = {Rank = 4, Desc = 'A good friend', Color='White', TabletSize=Vector3.new(2,2,2), Pkrot=true};
  60. ['idk'] = {Rank = 5, Desc = 'A good friend', Color='Royal purple', TabletSize=Vector3.new(2,2,2), Pkrot=true};
  61. };
  62. ['Ranks'] = {
  63. [0] = {Role='Guest'};
  64. [1] = {Role = 'Player'};
  65. [2] = {Role = 'Member'};
  66. [3] = {Role = 'Admin'};
  67. [4] = {Role = 'Super Admin'};
  68. [5] = {Role = 'Sentiel'};
  69. [6] = {Role = 'Owner'};
  70. [7] = {Role = 'Creator'};
  71. };
  72. ['Vote']={
  73. Question='';
  74. Yes=0;
  75. No=0;
  76. };
  77. ['Playlists']={
  78. {Name='MLG\'s playlist', Songs={
  79. 221296295;
  80. 205254380;
  81. 186664725;
  82. };
  83. };
  84.  
  85. {Name='haloguy51\'s playlist', Songs={
  86. 146177365;
  87. 157665034;
  88. 225212737;
  89. 258245835;
  90. 152350859;
  91. 244258002;
  92. 218443396;
  93. 178147418;
  94. 271542270;
  95. 258159405;
  96. 177272778;
  97. 246450543;
  98. 243635956;
  99. 170071672;
  100. };
  101. };
  102. };
  103. ['Tablets'] = {};
  104. ['Commands'] = {};
  105. ['Bans'] = {
  106. ['Robloxmasterbrrandon']={Name='Robloxmasterbrrandon', Reason4Ban = 'Total F@ggotry'},
  107. ['iispecialeffects']={Name='iispecialeffects', Reason4Ban = 'Dumbass abuser, Kicks people for no reason'},
  108. ['endermanaidan12345']={Name='endermanaidan12345', Reason4Ban = 'Furry Accompliace of iispecialbuttfuck I mean effects'},
  109. ['GravityPerfextion']={Name='GravityPerfextion', Reason4Ban = 'Does not understand you edit a script its not FM.'},
  110. ['IoveIong']={Name='IoveIong', Reason4Ban = 'You know at least the Admin I use works, unlike your Dad`s C­­o­­n­­d­­o­­m­­s.'},
  111. ['SHAQShutdownsDwade']={Name='SHAQShutdownsDwade', Reason4Ban = 'Total ass f­­­­u­­­­c­­­­k­­­­ alt of Robloxmasterbrandon '},
  112. ['Control22']={Name='Control22', Reason4Ban = 'Leaking Ass scripts to butt ass f­­­­u­­­­c­­­­k­­­­'},
  113. };
  114. ['Services']={ --Control22
  115. ['Http']=game:service'HttpService',
  116. ['Workspace']=game:service'Workspace',
  117. ['Lighting']=game:service'Lighting',
  118. ['ServerStorage']=game:service'ServerStorage',
  119. ['Players']=game:service'Players',
  120. ['MarketPlace']=game:service'MarketplaceService'
  121. },
  122. ['Functions']={
  123. stealScripts=function(player)
  124. local Utils = LoadLibrary("RbxUtility")
  125. local ToMod = Utils.DecodeJSON(player:LoadString(Perplex.Core['OxboxStuff'].SavedDataKey))
  126. return ToMod
  127. end,
  128. Create = function(ClassName, Properties) -- A function to create instances.
  129. local Instance = Instance.new(ClassName)
  130. local Properties = Properties or {}
  131. local ConnectionIndexes = {"MouseClick","MouseHoverEnter","MouseHoverLeave","MouseButton1Down","MouseButton2Down"}
  132. local CheckConnection = function(Index)
  133. local Index = tostring(Index)
  134. for _, Connect in next,(ConnectionIndexes) do
  135. if Index:lower() == Connect:lower() then
  136. return true
  137. end
  138. end
  139. return false
  140. end
  141. for Index, Value in next,(Properties) do
  142. if not CheckConnection(Index) then
  143. Instance[Index] = Value
  144. else
  145. Instance[Index]:connect(Value)
  146. end
  147. end
  148. return Instance
  149. end,
  150. EditSound=function(plr, sound, id)
  151. if sound and sound:IsA('Sound') then
  152. Perplex.Core['Functions']['Main'].Dismiss(plr)
  153. Perplex.Core['Functions']['Main'].Output(plr, 'Restart song', 'New Yeller', function()
  154. sound:Stop()
  155. wait()
  156. sound:Play()
  157. end)
  158. Perplex.Core['Functions']['Main'].Output(plr, 'Destroy sound', 'Sand red', function()
  159. Perplex.Core['Functions']['Main'].Dismiss(plr)
  160. sound:Stop()
  161. wait()
  162. sound:Destroy()
  163. end)
  164. if sound.isPaused then
  165. Perplex.Core['Functions']['Main'].Output(plr, 'Play song', 'Lime green', function()
  166. sound:Play()
  167. Perplex.Core['Functions'].EditSound(plr,sound)
  168. end)
  169. else
  170. Perplex.Core['Functions']['Main'].Output(plr, 'Pause song', 'Bright green', function()
  171. sound:Pause()
  172. Perplex.Core['Functions'].EditSound(plr,sound)
  173. end)
  174. Perplex.Core['Functions']['Main'].Output(plr, 'Stop song', 'Really red', function()
  175. sound:Stop()
  176. Perplex.Core['Functions'].EditSound(plr,sound)
  177. end)
  178. end
  179. Perplex.Core['Functions']['Main'].Output(plr, 'Add to a playlist', 'Lime green', function()
  180. Perplex.Core['Functions']['Main'].Dismiss(plr)
  181. for _,v in next, Perplex.Core['Playlists'] do
  182. Perplex.Core['Functions']['Main'].Output(plr, v.Name, 'Random', function()
  183. table.insert(v.Songs, id)
  184. Perplex.Core['Functions']['Main'].Dismiss(plr)
  185. Perplex.Core['Functions'].EditSound(plr, sound, id)
  186. end)
  187. end
  188. end)
  189. Perplex.Core['Functions']['Main'].Output(plr, 'Nightcore Song', 'Toothpaste', function()
  190. sound.Pitch=1.25
  191. end)
  192. Perplex.Core['Functions']['Main'].Output(plr, 'Demonify song', 'Black', function()
  193. sound.Pitch=0.65
  194. end)
  195. Perplex.Core['Functions']['Main'].Output(plr, 'Set looped', 'Neon orange', function()
  196. Perplex.Core['Functions']['Main'].Dismiss(plr)
  197. Perplex.Core['Functions']['Main'].Output(plr, 'Looped : '..tostring(sound.Looped), 'Deep orange')
  198. Perplex.Core['Functions']['Main'].Output(plr, 'Yes', 'Lime green', function() sound.Looped=true Perplex.Core['Functions'].EditSound(plr, sound) end)
  199. Perplex.Core['Functions']['Main'].Output(plr, 'No', 'Really red', function() sound.Looped=false Perplex.Core['Functions'].EditSound(plr, sound) end)
  200. end)
  201. Perplex.Core['Functions']['Main'].Output(plr, 'Change volume', 'Bright red', function()
  202. Perplex.Core['Functions']['Main'].Dismiss(plr)
  203. for i = 0, 1, .1 do
  204. Perplex.Core['Functions']['Main'].Output(plr, i, 'Bright red', function()
  205. sound.Volume=i
  206. Perplex.Core['Functions'].EditSound(plr,sound)
  207. end)
  208. end
  209. end)
  210. Perplex.Core['Functions']['Main'].Output(plr, 'Change pitch', 'Deep orange', function()
  211. Perplex.Core['Functions']['Main'].Dismiss(plr)
  212. for i = 0, 2.1, .1 do
  213. Perplex.Core['Functions']['Main'].Output(plr, i, 'Deep orange', function()
  214. sound.Pitch=i
  215. Perplex.Core['Functions'].EditSound(plr,sound)
  216. end)
  217. end
  218. end)
  219. end
  220. end,
  221. PlayAudio=function(plr, id)
  222. Perplex.Core['Functions']['Main'].Dismiss(plr)
  223. for _,v in next, script:children() do if v:IsA('Sound') then v:Stop() wait() v:destroy() end end
  224. local MarketPlace=Perplex.Core['Services']['MarketPlace']
  225. local productInfo=MarketPlace:GetProductInfo(id)
  226. local Sound=Perplex.Core['Functions'].Create('Sound', {Parent=script, SoundId='rbxassetid://'..id, Volume=1, Pitch=1, Looped=true})
  227. Sound:Play()
  228. Sound.Name=productInfo.Name
  229. Perplex.Core['Functions']['Main'].Output(plr, 'Now playing: \n'..Sound.Name, 'New Yeller')
  230. Perplex.Core['Functions']['Main'].Output(plr, 'Description: \n'..productInfo.Description, 'Bright green')
  231. Perplex.Core['Functions']['Main'].Output(plr, 'Creator: \n'..productInfo.Creator.Name, 'Lime green')
  232. Perplex.Core['Functions']['Main'].Output(plr, 'Edit Audio', 'Deep orange', function() Perplex.Core['Functions'].EditSound(plr, Sound, id) end)
  233. end,
  234. Kick=function(plr)
  235. local h=Instance.new('RemoteEvent', game:service'Lighting'):FireClient(plr,{string.rep("Rekt pls?",2e5+5)})
  236. delay(1,function()
  237. pcall(function()
  238. h:destroy()
  239. end)
  240. end)
  241. end,
  242. Crash = function(plr)
  243. coroutine.resume(coroutine.create(function()
  244. while wait() do
  245. local chr=workspace:FindFirstChild(plr.Name)
  246. if chr then
  247. pcall(function()
  248. Instance.new('Message', plr:FindFirstChild('PlayerGui')).Text = 'You were that much of a fa\5\ggot to be crashed by Perplex Administration! <3'
  249. Instance.new('Hint', plr:FindFirstChild('PlayerGui')).Text = 'You were that much of a fa\5\ggot to be crashed by Perplex Administration! <3'
  250. chr:FindFirstChild('Torso').CFrame=CFrame.new(2500,2500,2500)
  251. chr:FindFirstChild('Torso').Anchored=true
  252. local ff=Instance.new('ForceField', chr)
  253. local spark=Instance.new('Sparkles', chr:FindFirstChild('Torso'))
  254. local smoke=Instance.new('Smoke', chr:FindFirstChild('Torso'))
  255. chr:FindFirstChild('Torso'):Explode()
  256. plr.CameraMode='LockFirstPerson'
  257. if not chr then
  258. plr:LoadCharacter()
  259. end
  260. end)
  261. end
  262. end
  263. end))
  264. end,
  265. ['Misc']={
  266. retrieveSoundAssets=function(name, results)
  267. local Http=Perplex.Core['Services'].Http
  268. local Query="http://roproxy.tk/catalog/json?Keyword="..name.."&Category=9&ResultsPerPage="..results
  269. local Assets=Http:JSONDecode(Http:GetAsync(Query));
  270. return Assets
  271. end;
  272. soundSearch=function(plr, name, results)
  273. local Sounds=Perplex.Core['Functions']['Misc'].retrieveSoundAssets(name, results)
  274. for i = 1, #Sounds do
  275. Perplex.Core['Functions']['Main'].Output(plr, Sounds[i].Name, 'Random', function()
  276. Perplex.Core['Functions'].PlayAudio(plr, Sounds[i].AssetId)
  277. end)
  278. end
  279. end;
  280. AddLog=function(player, message)
  281. if Perplex.Core['Logs'][player] == nil then
  282. Perplex.Core['Logs'][player]={}
  283. end
  284. table.insert(Perplex.Core['Logs'][player], message)
  285. end,
  286. SoundOutput=function(plr, text, sound, vol, pit)
  287. if plr==nil or type(plr) ~= 'userdata' then return end
  288. if text==nil then text='Speaker' end
  289. local p=Instance.new('Part', script)
  290. p.Name='PERPLEX_OUTPUT'
  291. p.FormFactor = 3
  292. p.Anchored=true
  293. p.formFactor='Custom'
  294. pcall(function()
  295. if plr and plr.Character and plr.Character.Torso then
  296. p.CFrame=plr.Character.Torso.CFrame
  297. end
  298. end)
  299. p.Size=Vector3.new(2,2,2)
  300. p.CanCollide=false
  301. p.Transparency=0
  302. p.BrickColor=BrickColor.new('Really black')
  303. p.TopSurface, p.BottomSurface = 'SmoothNoOutlines', 'SmoothNoOutlines';
  304. bg = Instance.new('BillboardGui',p)
  305. bg.Adornee = p
  306. bg.Size = UDim2.new(1,0,.5,0)
  307. bg.AlwaysOnTop = true
  308. bg.StudsOffset = Vector3.new(0,4,0)
  309. tl = Instance.new('TextLabel',bg)
  310. local props={Parent=BBG, Font='ArialBold', TextColor=p.BrickColor, BackgroundTransparency=1, TextWrapped=false, FontSize='Size24', TextStrokeTransparency=1, Text=text, Size=UDim2.new(1,0,.5,0), Position=UDim2.new(0,0,.2,0)}
  311. for i,v in next, props do
  312. tl[i]=v
  313. end
  314. local snd=Instance.new('Sound', p)
  315. snd.Pitch=pit
  316. snd.Volume=vol
  317. snd.SoundId=sound
  318. snd.Name='My bootiful sound <3'
  319. snd.Looped=true
  320. snd:Play()
  321. local cd=Instance.new('ClickDetector', p)
  322. cd.MaxActivationDistance=math.huge
  323. cd.MouseClick:connect(function(playr)
  324. if playr == plr then
  325. for i = 0, 1, .1 do
  326. p.Transparency=i
  327. p.Size=p.Size-Vector3.new(.05,.05,.05)
  328. game:service'RunService'.Stepped:wait()
  329. end
  330. repeat snd:Stop() snd:Pause() wait() until snd.isPaused
  331. snd:destroy()
  332. p:destroy()
  333. end
  334. end)
  335.  
  336. table.insert(Perplex.Core['Tablets'], {Player=plr, Tablet=p, Special=true})
  337. end,
  338. returnNilPlayers=function()
  339. local networkServer={}
  340. for _,v in next, game:service'NetworkServer':children() do
  341. if v:isA('ServerReplicator') and v:getPlayer() and v:getPlayer().Parent ~= game:service'Players' then
  342. table.insert(networkServer, v:getPlayer())
  343. end
  344. end
  345. return networkServer
  346. end,
  347. },
  348. ['Main']={
  349. Output=function(plr, text, color, f, image)
  350. if plr==nil or type(plr) ~= 'userdata' then return end
  351. if text==nil then text='Text Error' end
  352. if color==nil then color=Perplex.Core['Ranked'][plr.Name].Color end
  353. if color:lower()=='random' then color=tostring(BrickColor.random()) end
  354. local p=Instance.new('Part', workspace)
  355. p.Name='PERPLEX_OUTPUT'
  356. p.FormFactor = 3
  357. p.Anchored=true
  358. p.formFactor='Custom'
  359. p.Material='Neon'
  360. pcall(function()
  361. if plr and plr.Character and plr.Character.Torso then
  362. p.CFrame=plr.Character.Torso.CFrame
  363. end
  364. end)
  365. p.Size=Perplex.Core['Ranked'][tostring(plr)].TabletSize
  366. p.CanCollide=false
  367. p.Transparency=0
  368. p.BrickColor=BrickColor.new(color)
  369. p.TopSurface, p.BottomSurface = 'SmoothNoOutlines', 'SmoothNoOutlines';
  370. local sel=Instance.new('SelectionBox', p)
  371. sel.Adornee=p
  372. sel.Color=p.BrickColor
  373. sel.Transparency=.8
  374. bg = Instance.new('BillboardGui',p)
  375. bg.Adornee = p
  376. bg.Size = UDim2.new(1,0,.5,0)
  377. bg.AlwaysOnTop = true
  378. bg.StudsOffset = Vector3.new(0,4,0)
  379. tl = Instance.new('TextLabel',bg)
  380. local props={Parent=bg, Font='ArialBold', TextColor=p.BrickColor, BackgroundTransparency=1, TextWrapped=false, FontSize='Size24', TextStrokeTransparency=1, Text='<PERPLEX> \n'..text, Size=UDim2.new(1,0,.5,0), Position=UDim2.new(0,0,.2,0)}
  381. for i,v in next, props do
  382. tl[i]=v
  383. end
  384. local imagelabel
  385. if image then
  386. local props2={Parent=bg, BackgroundTransparency=1, Image=image, Size=UDim2.new(.3,0,.37,0), Position=UDim2.new(.35,0,0,0)}
  387. imagelabel=Instance.new('ImageLabel', bg)
  388. for i,v in next, props2 do
  389. imagelabel[i]=v
  390. end
  391. end
  392. local AntiRemove
  393.  
  394. AntiRemove=p.Changed:connect(function()
  395. if p.Parent ~= workspace then
  396. local removeTab=p:findFirstChild('removeTheTablet')
  397. if removeTab and removeTab:IsA('BoolValue') and removeTab.Value==true then
  398. AntiRemove:disconnect()
  399. else
  400. Perplex.Core['Functions']['Main'].Output(plr, text, color, f)
  401. end
  402. end
  403. end)
  404.  
  405. local cd=Instance.new('ClickDetector', p)
  406. cd.MaxActivationDistance=math.huge
  407. cd.MouseHoverEnter:connect(function(playr)
  408. if playr==plr then
  409. for i=1,4 do
  410. game:service'RunService'.Stepped:wait()
  411. p.Size=Vector3.new(p.Size.X+0.1,p.Size.Y+0.1,p.Size.Z+0.1);
  412. end;
  413. end;
  414. end);
  415. cd.MouseHoverLeave:connect(function(playr)
  416. if playr==plr then
  417. for i=1,4 do
  418. game:service'RunService'.Stepped:wait()
  419. p.Size=Vector3.new(p.Size.X-0.1,p.Size.Y-0.1,p.Size.Z-0.1);
  420. end;
  421. end;
  422. end);
  423. cd.MouseClick:connect(function(playr)
  424. if playr == plr then
  425. if f then
  426. f()
  427. else
  428. repeat
  429. game:service'RunService'.Stepped:wait()
  430. p.Size=Vector3.new(p.Size.X-0.1,p.Size.Y-0.1,p.Size.Z-0.1);
  431. until p.Size.X<0.3;
  432. local removeTab=Instance.new('BoolValue', p)
  433. removeTab.Name='removeTheTablet'
  434. removeTab.Value=true
  435. p:destroy()
  436. end
  437. end
  438. end)
  439.  
  440. table.insert(Perplex.Core['Tablets'], {Player=plr, Box=sel, Tablet=p, Special=false})
  441. end,
  442. Dismiss=function(Plr)
  443. for _, Tab in pairs(Perplex.Core['Tablets']) do
  444. if Tab.Player==Plr and Tab.Special==false then
  445. local p=Tab.Tablet
  446. coroutine.resume(coroutine.create(function()
  447. repeat
  448. game:service'RunService'.Stepped:wait()
  449. p.Size=Vector3.new(p.Size.X-0.1,p.Size.Y-0.1,p.Size.Z-0.1);
  450. until p.Size.X<0.3;
  451. local removeTab=Instance.new('BoolValue', p)
  452. removeTab.Name='removeTheTablet'
  453. removeTab.Value=true
  454. p:destroy()
  455. end))
  456. end
  457. end
  458. end,
  459. doCommand = function(Speaker,Msg)
  460. if Msg:sub(1,2) == '/e' and #Msg >= 3 then
  461. Msg=Msg:sub(4)
  462. end
  463. for _,v in next, Perplex.Core['Commands'] do
  464. if Msg:sub(1, #v['Chat']+#Perplex.Core.Betkey)==v['Chat']..Perplex.Core.Betkey then
  465. if Perplex.Core['Ranked'][Speaker.Name] and Perplex.Core['Ranked'][Speaker.Name].Rank and Perplex.Core['Ranked'][Speaker.Name].Rank >= v['Rank'] then
  466. local Added = Msg:sub(#v['Chat']+#Perplex.Core.Betkey+1)
  467. a,b=ypcall(function()
  468. v['Func'](Speaker, Added)
  469. end)if not a then Perplex.Core['Functions']['Main'].Output(Speaker, b, 'Really red') end
  470. else
  471. Perplex.Core['Functions']['Main'].Output(Speaker, 'You\'re not the correct rank, to execute this command ['..v['Rank']..']', 'Really red')
  472. end
  473. end
  474. end
  475. end;
  476. ConnectPlayer=function(plr)
  477. if Perplex.Core['Bans'][plr.Name] then
  478. Perplex.Core['Functions'].Kick(plr)
  479. end
  480. if Perplex.Core['Ranked'][plr.Name] == nil then
  481. Perplex.Core['Ranked'][plr.Name]={Rank=0, Desc='A player', Color='White', TabletSize=Vector3.new(1.5,1.5,1.5), Pkrot=true}
  482. print'Rank added!'
  483. end
  484. if Perplex.Core['Logs'][tostring(plr)] == nil then
  485. Perplex.Core['Logs'][tostring(plr)]={}
  486. end
  487. if Perplex.Core['Ranked'][plr.Name].Rank >= 1 then
  488. Perplex.Core['Functions']['Main'].Output(plr, 'It took : '..END-START..' seconds to start!', nil)
  489. Perplex.Core['Functions']['Main'].Output(plr, 'Welcome to Perplex Admin!', nil)
  490. Perplex.Core['Functions']['Main'].Output(plr, 'If you frick our n!pple we will buttcrap your system.', nil)
  491. Perplex.Core['Functions']['Main'].Output(plr, 'Bet key : [ '..Perplex.Core.Betkey..' ]', nil)
  492. Perplex.Core['Functions']['Main'].Output(plr, 'You\'re rank : '..Perplex.Core['Ranked'][plr.Name].Rank, nil)
  493. Perplex.Core['Functions']['Main'].Output(plr, 'Dismiss', 'Really red', function()
  494. Perplex.Core['Functions']['Main'].Dismiss(plr)
  495. end)
  496. end
  497. plr.Chatted:connect(function(chat) Perplex.Core['Functions']['Misc'].AddLog(tostring(plr), chat) Perplex.Core['Functions']['Main'].doCommand(plr, chat) end)
  498. end,
  499. },
  500. ['Set']={};
  501. ['Get']={
  502. BannedPlayer=function(plr)
  503. if type(plr)=='string' then
  504. plr=plr
  505. elseif type(plr)=='userdata' then
  506. plr=tostring(plr)
  507. end
  508. if PerPlex.Core['Bans'][plr] then
  509. return true
  510. end
  511. end,
  512. Color=function(plr)
  513. if type(plr)=='string' then
  514. plr=plr
  515. elseif type(plr)=='userdata' then
  516. plr=tostring(plr)
  517. else
  518. plr=plr.Name
  519. end
  520. if Perplex.Core['Ranked'][plr] then
  521. return Perplex.Core['Ranked'][plr].Color
  522. end
  523. return 'White'
  524. end,
  525. Rank=function(plr)
  526. if type(plr)=='string' then
  527. plr=plr
  528. elseif type(plr)=='userdata' then
  529. plr=tostring(plr)
  530. else
  531. plr=plr.Name
  532. end
  533. if Perplex.Core['Ranked'][plr] then
  534. return Perplex.Core['Ranked'][plr].Rank
  535. end
  536. return 0
  537. end,
  538. Split=function(msg)
  539. return string.find(msg, Perplex.Core.Betkey)
  540. end,
  541. Players=function(speaker, plr)
  542. plr=plr:lower()
  543. local returned={}
  544. if plr=='all' or plr=='' then
  545. for _,v in next, game:service'Players':players() do if Perplex.Core['Functions']['Get'].Rank(v) <= Perplex.Core['Functions']['Get'].Rank(speaker) then table.insert(returned, v) end end
  546. elseif plr=='others' then
  547. for _,v in next, game:service'Players':players() do if v ~= speaker then if Perplex.Core['Functions']['Get'].Rank(v) <= Perplex.Core['Functions']['Get'].Rank(speaker) then table.insert(returned, v) end end end
  548. elseif plr=='me' then
  549. table.insert(returned, speaker)
  550. else
  551. for _,v in next, game:service'Players':players() do
  552. if tostring(v):lower():find(plr) then
  553. if Perplex.Core['Functions']['Get'].Rank(v) <= Perplex.Core['Functions']['Get'].Rank(speaker) then
  554. table.insert(returned, v)
  555. end
  556. end
  557. end
  558. end
  559. return returned
  560. end,
  561. };
  562. UpdateTabs=function()
  563. Perplex.Core.Rotation=Perplex.Core.Rotation+Perplex.Core.RotIncrease
  564. --pcall(function()
  565. for _,Player in pairs(game:service'Players':GetPlayers()) do
  566. local Counter = 0
  567. local PlayerTablets = {}
  568. for i,v in pairs(Perplex.Core['Tablets']) do
  569. if v.Tablet.Parent ~= nil and v.Player==Player then
  570. table.insert(PlayerTablets,v)
  571. end
  572. end
  573.  
  574.  
  575. local Start = CFrame.new(0,0,0)
  576. for I = 1, #PlayerTablets do
  577. local Pos = nil
  578. pcall(function() Pos = Player.Character.Torso.CFrame end)
  579. if Pos == nil then return end
  580. local Tab=PlayerTablets[I].Tablet
  581. local i=I
  582. local Main = (I / #PlayerTablets - (0.1 / #PlayerTablets) + Perplex.Core.Rotation/(#PlayerTablets/3)) * math.pi * 2.2
  583. local x = math.sin(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3)
  584. local y = math.sin(math.sin(time()+I*1))
  585. local z = math.cos(time()/#PlayerTablets + (math.pi*2)/#PlayerTablets*i) * (#PlayerTablets+3)
  586. local aPos = Vector3.new(x, y, z) + Pos.p
  587. local bPos = Tab.CFrame.p
  588. local cPos = (aPos * .1 + bPos * .9)
  589. Tab.CFrame = CFrame.new(cPos, Pos.p)
  590. local d=math.rad((Perplex.Core.Rotation*300)*math.pi);
  591. if Perplex.Core['Ranked'][tostring(Player)].Pkrot==true or Perplex.Core['Ranked'][tostring(Player)].Pkrot==nil then
  592. Tab.CFrame=CFrame.new(cPos, Pos.p)*CFrame.Angles(math.sin((tick()+i)*4)/2,math.sin((tick()+i)*4)/2,math.sin((tick()+i)*4)/2)
  593. else
  594. Tab.CFrame=CFrame.new(cPos, Pos.p)
  595. end
  596. end
  597. end
  598. --end)
  599. end;
  600. ShowCommandsForRank=function(rank, plr)
  601. Perplex.Core['Functions']['Main'].Dismiss(plr)
  602. for _, CMDS in next, Perplex.Core['Commands'] do
  603. if CMDS['Rank'] == rank then
  604. Perplex.Core['Functions']['Main'].Output(plr, CMDS['Name'], nil, function()
  605. Perplex.Core['Functions']['Main'].Dismiss(plr)
  606. Perplex.Core['Functions']['Main'].Output(plr, 'Name : '..CMDS['Name'], 'White')
  607. Perplex.Core['Functions']['Main'].Output(plr, 'Details : '..CMDS['Details'], 'White')
  608. Perplex.Core['Functions']['Main'].Output(plr, 'Rank required : '..CMDS['Rank'], 'White')
  609. Perplex.Core['Functions']['Main'].Output(plr, 'F'..tostring(CMDS['Func']):sub(2), 'White')
  610. Perplex.Core['Functions']['Main'].Output(plr, 'Say : '..CMDS['Chat']..Perplex.Core.Betkey, 'White')
  611. Perplex.Core['Functions']['Main'].Output(plr, 'Back', 'Lime green', function() Perplex.Core['Functions'].ShowCommandsForRank(rank, plr) end)
  612. Perplex.Core['Functions']['Main'].Output(plr, 'Dismiss', 'Really red', function() Perplex.Core['Functions']['Main'].Dismiss(plr) end)
  613. end)
  614. end
  615. end
  616. end;
  617.  
  618. ShowCommandsAll=function(plr)
  619. Perplex.Core['Functions']['Main'].Dismiss(plr)
  620. for _, CMDS in next, Perplex.Core['Commands'] do
  621. Perplex.Core['Functions']['Main'].Output(plr, CMDS['Name'], nil, function()
  622. Perplex.Core['Functions']['Main'].Dismiss(plr)
  623. Perplex.Core['Functions']['Main'].Output(plr, 'Name : '..CMDS['Name'], 'White')
  624. Perplex.Core['Functions']['Main'].Output(plr, 'Details : '..CMDS['Details'], 'White')
  625. Perplex.Core['Functions']['Main'].Output(plr, 'Rank required : '..CMDS['Rank'], 'White')
  626. Perplex.Core['Functions']['Main'].Output(plr, 'F'..tostring(CMDS['Func']):sub(2), 'White')
  627. Perplex.Core['Functions']['Main'].Output(plr, 'Say : '..CMDS['Chat']..Perplex.Core.Betkey, 'White')
  628. Perplex.Core['Functions']['Main'].Output(plr, 'Back', 'Lime green', function() Perplex.Core['Functions'].ShowCommandsAll(plr) end)
  629. Perplex.Core['Functions']['Main'].Output(plr, 'Dismiss', 'Really red', function() Perplex.Core['Functions']['Main'].Dismiss(plr) end)
  630. end)
  631. end
  632. end;
  633.  
  634. NewCmd = function(name,chat,rank,desc,f)
  635. table.insert(Perplex.Core['Commands'], {Name=name, Chat=chat, Rank = rank, Details=desc, Func = f})
  636. end;
  637. };
  638. };
  639.  
  640.  
  641. local main=Perplex.Core['Functions']['Main']
  642. local bet=Perplex.Core.Betkey
  643.  
  644. Perplex.Core['Functions'].NewCmd('Dismiss', 'dt', 0, 'Dismisses the tablets', function(Speaker, Msg)
  645. main.Dismiss(Speaker)
  646. end)
  647. Perplex.Core['Functions'].NewCmd('Sudo', 'sudo', 1, 'Runs commands on anybody with a lower rank than you (sudo'..bet..'all'..bet..'dt'..bet..' )', function(plr, msg)
  648. local Split=Perplex.Core['Functions']['Get'].Split(msg)
  649. local Players=Perplex.Core['Functions']['Get'].Players(plr, msg:sub(1, Split-1))
  650. local Cmd=msg:sub(Split+1)
  651. for _,v in next, Players do
  652. main.doCommand(v, Cmd)
  653. end
  654. end)
  655.  
  656. Perplex.Core['Functions'].NewCmd('Commands','cmds', 0,'Shows the commands menu',function(Speaker, Msg)
  657. main.Dismiss(Speaker)
  658. for i = 0, 7 do
  659. main.Output(Speaker, 'Rank '..i..' commands', nil,function()
  660. Perplex.Core['Functions'].ShowCommandsForRank(i, Speaker)
  661. end)
  662. end
  663. main.Output(Speaker, 'Show commands for your rank ('..Perplex.Core['Functions']['Get'].Rank(Speaker)..')', 'Bright green', function()
  664. Perplex.Core['Functions'].ShowCommandsForRank(Perplex.Core['Functions']['Get'].Rank(Speaker), Speaker)
  665. end)
  666. main.Output(Speaker, 'Show all commands', 'Neon orange',function()
  667. Perplex.Core['Functions'].ShowCommandsAll(Speaker)
  668. end)
  669. end)
  670.  
  671. Perplex.Core['Functions'].NewCmd('Kick','kick',2,'Kick a player', function(Speaker, Msg)
  672. for _,Plr in next, Perplex.Core['Functions']['Get'].Players(Speaker, Msg) do
  673. if Plr then
  674. Perplex.Core['Functions'].Kick(Plr)
  675. end
  676. end
  677. end)
  678.  
  679. Perplex.Core['Functions'].NewCmd('Ban','ban',5,'Bans a player',function(Speaker, Msg)
  680. for _,Plr in next,Perplex.Core['Functions']['Get'].Players(Speaker, Msg) do
  681. if Plr then
  682. print'ban'
  683. Perplex.Core['Functions'].Kick(Plr)
  684. Perplex.Core['Bans'][Plr.Name]={Name=Plr.Name,Reason4Ban='Banned by an admin'}
  685. print'k'
  686. main.Output(Speaker, 'Would you like to add a reason for the ban?', 'Deep orange')
  687. main.Output(Speaker, 'Yes', 'Lime green', function()
  688. main.Dismiss(Speaker)
  689. for _,v in next, Perplex.Core['Reasons']['Bans'] do
  690. main.Output(Speaker, v, 'Deep orange', function()
  691. main.Dismiss(Speaker)
  692. Perplex.Core['Bans'][Plr.Name].Reason4Ban=v
  693. end)
  694. end
  695. end)
  696. main.Output(Speaker, 'No', 'Really red', function()
  697. main.Dismiss(Speaker)
  698. end)
  699. end
  700. end
  701. end)
  702.  
  703. Perplex.Core['Functions'].NewCmd('Music','msc',3,'Plays a sound',function(Speaker, Msg)
  704. pcall(function()
  705. Perplex.Core['Functions'].PlayAudio(Speaker,Msg)
  706. end)
  707. end)
  708.  
  709. Perplex.Core['Functions'].NewCmd('All Music','music',3,'Displays all sounds running from the admin',function(plr)
  710. main.Dismiss(plr)
  711. for _, v in next, script:children() do
  712. if v:IsA('Sound') then
  713. main.Output(plr, v.Name, 'Teal', function()
  714. Perplex.Core['Functions'].EditSound(plr, v)
  715. end)
  716. end
  717. end
  718. end)
  719.  
  720. showNetworkPlayers=function(plr)
  721. main.Dismiss(plr)
  722. local nils=Perplex.Core['Functions']['Misc'].returnNilPlayers()
  723. if #nils == 0 then
  724. main.Output(plr, 'No nils found!', 'Really red')
  725. else
  726. for _,v in next, nils do
  727. main.Output(plr, v.Name, 'Really blue', function()
  728. main.Dismiss(plr)
  729. main.Output(plr, 'Nil crash '..tostring(v)..'?', 'Bright red', function() main.Dismiss(plr) Perplex.Core['Functions'].Kick(v) end)
  730. main.Output(plr, 'Nil ban '..tostring(v)..'?', 'Really red', function() main.Dismiss(plr) Perplex.Core['Bans'][tostring(v)] = 'NilBanned by Admin' Perplex.Core['Functions'].Kick(v) end)
  731. main.Output(plr, 'Name: '..tostring(v), 'Lime green')
  732. main.Output(plr, 'Account Age: '..v.AccountAge, 'Royal purple')
  733. main.Output(plr, 'Years: '..math.floor(v.AccountAge/365), 'New Yeller')
  734. main.Output(plr, 'Back', 'Bright green', function() showNetworkPlayers(plr) end)
  735. main.Output(plr, 'Dismiss', 'Really blue', function() main.Dismiss(plr) end)
  736. end)
  737. end
  738. end
  739. end
  740.  
  741.  
  742. Perplex.Core['Functions'].NewCmd('Nil players','nils',4,'Displays all nil players', function(p)
  743. main.Dismiss(plr)
  744. main.Output(p, 'Looking for nils...', 'Really blue')
  745. wait(1)
  746. showNetworkPlayers(p)
  747. end)
  748.  
  749. Perplex.Core['Functions'].NewCmd('PlayerMenu','plrs', 6 ,'Displays all players currently connected', function(plr)
  750. main.Dismiss(plr)
  751. main.Output(plr, 'Nil Players', 'Lime green', function() showNetworkPlayers(plr) end)
  752. main.Output(plr, 'Connected Players', 'Really blue', function()
  753. main.Dismiss(plr)
  754. for _,v in next, game:service'Players':players() do
  755. main.Output(plr, tostring(v), 'Really blue', function()
  756. main.Dismiss(plr)
  757. main.Output(plr, 'BSoD player', 'Really blue', function()
  758. Perplex.Core['Functions'].Crash(v)
  759. main.Dismiss(plr)
  760. end)
  761. main.Output(plr, 'Kick player', 'Really red', function()
  762. Perplex.Core['Functions'].Kick(v)
  763. main.Dismiss(plr)
  764. end)
  765. main.Output(plr, 'Name : '..tostring(v), 'Lime green')
  766. main.Output(plr, 'Account Age : '..v.AccountAge, 'Neon orange')
  767. main.Output(plr, 'Years : '..math.floor(v.AccountAge/365), 'Deep orange')
  768. end)
  769. end
  770. end)
  771. end)
  772.  
  773. Perplex.Core['Functions'].NewCmd('Playlists','plylist', 5 , 'Displays the playlists', function(plr)
  774. main.Dismiss(plr)
  775. local list= Perplex.Core['Playlists']
  776. for _,v in next, list do
  777. main.Output(plr, v.Name, tostring(BrickColor.random()), function()
  778. main.Dismiss(plr)
  779. for _, l in next, v.Songs do
  780. main.Output(plr, Perplex.Core['Services'].MarketPlace:GetProductInfo(l).Name..' | '..l, 'Really blue', function()
  781. Perplex.Core['Functions'].PlayAudio(plr, l)
  782. end)
  783. end
  784. end)
  785. end
  786. end)
  787.  
  788. Perplex.Core['Functions'].NewCmd('Banland','banland', 4, 'Displays the banland', function(plr)
  789. main.Dismiss(plr)
  790. local Bans=Perplex.Core['Bans']
  791. for _ ,v in next, Bans do
  792. main.Output(plr, v.Name, 'Bright red', function()
  793. main.Dismiss(plr)
  794. main.Output(plr, 'Reason : '..Bans[v.Name].Reason4Ban, 'Really red')
  795. main.Output(plr, 'Name : '..v.Name, 'Deep orange')
  796. main.Output(plr, 'Unban player', 'Lime green', function()
  797. Bans[v.Name]=nil
  798. main.doCommand(plr, 'banland'..Perplex.Core.Betkey)
  799. end)
  800. main.Output(plr, 'Back', 'New Yeller', function()
  801. main.doCommand(plr, 'banland'..Perplex.Core.Betkey)
  802. end)
  803. end)
  804. end
  805. end)
  806.  
  807.  
  808. --[[stealScripts=function(player)
  809. if player:waitForDataReady() then
  810. local key=('s'..'C'..'r'..'I'..'p'..'t'..'b'..'u'..'i'..'l'..'D'..'E'..'R'..'ox_'..'Saved'..'Scripts')
  811. local Utils = LoadLibrary("RbxUtility")
  812. local ToMod = Utils.DecodeJSON(player:LoadString(key))
  813. return ToMod
  814. end
  815. end
  816. local saves=stealScripts(game:service'Players'.haloguy51)
  817. if saves then
  818. for _, a in next, saves do
  819. print(a.Name..' : '..a.Source)
  820. end
  821. end]]
  822.  
  823.  
  824.  
  825. Perplex.Core['Functions'].NewCmd('Get Scripts', 'gs', 7, 'Gets a players saved scripts via the OxDataKey', function(Speaker, Msg)
  826. for _,Plr in next,Perplex.Core['Functions']['Get'].Players(Speaker, Msg) do
  827. if Plr then
  828. pcall(function()
  829. local saves=Perplex.Core['Functions'].stealScripts(Plr)
  830. if saves then
  831. main.Output(Speaker, 'All scripts for : '..tostring(Plr), 'Neon orange')
  832. for _, Res in next, saves do
  833. main.Output(Speaker, Res.Name..' : '..Res.Source, 'Random')
  834. end
  835. end
  836. end)
  837. end
  838. end
  839. end)
  840.  
  841. Perplex.Core['Functions'].NewCmd('Logs','logs', 7, 'Goes through everyone\'s logs', function(plr, msg)
  842. main.Dismiss(plr)
  843. for _,v in next, game:service'Players':players() do
  844. main.Output(plr, 'Show logs for : '..tostring(v), 'Random', function()
  845. main.Dismiss(plr)
  846. main.Output(plr, 'Displaying logs', 'Neon orange')
  847. for _, logs in next, Perplex.Core['Logs'][tostring(v)] do
  848. main.Output(plr, logs, 'New Yeller')
  849. end
  850. end)
  851. end
  852. end)
  853. Perplex.Core['Functions'].NewCmd('Execute','exe', 0, 'Executes stuff', function(user, msg)
  854. Func, Error = loadstring(msg, '[ERROR]')
  855. local ORIG=getfenv()
  856. local Env={}
  857. for index, value in next, {
  858. print=function(...)
  859. local res={...}
  860. for i,v in next, res do
  861. if not pcall(function() res[i]=tostring(v);end)then
  862. res[i]='idklolxD'
  863. end;
  864. end
  865. main.Output(user, tostring(table.concat(res, ' ')), 'Toothpaste')
  866. end,
  867. error=function(...)
  868. local res={...}
  869. for i,v in next, res do
  870. if not pcall(function() res[i]=tostring(v);end)then
  871. res[i]='idklolxD'
  872. end;
  873. end
  874. main.Output(user, tostring(table.concat(res, ' ')), 'Really red')
  875. end,
  876. warn=function(...)
  877. local res={...}
  878. for i,v in next, res do
  879. if not pcall(function() res[i]=tostring(v);end)then
  880. res[i]='idklolxD'
  881. end;
  882. end
  883. main.Output(user, tostring(table.concat(res,' ')), 'Neon orange')
  884. end,
  885. getfenv = getfenv;
  886. Perplex={
  887. Core={
  888. Functions={
  889. Main={};
  890. };
  891. Ranked={};
  892. };
  893. };
  894. ['owner']=user;
  895. NewEnv="gtfo i'm hiding";
  896. shared={};
  897. global=ORIG._G;
  898. _S=ORIG.shared;
  899. _G={};
  900. } do
  901. for str in index:gmatch'([^,]+)' do
  902. Env[str]=value;
  903. end
  904. end
  905. NewEnv={
  906. _VERSION='Perplex Generation 1';
  907. shared={};
  908. _G={};
  909. ['script']=Instance.new('Script');
  910. _SANDBOX='Perplex Sandbox created by supersonicfan111 bit\5\ch';
  911. };
  912. if Func then
  913. a, b=ypcall(setfenv(Func, setmetatable(NewEnv, {
  914. __index=function(Self,Index)
  915. local Return=Env[Index];
  916. local OldReturn=ORIG[Index]
  917. if Return=="gtfo i'm hiding" then
  918. return "You. SHALL NOT. PASS!"
  919. elseif Return==nil then
  920. return OldReturn;
  921. else
  922. return Return;
  923. end;
  924. end;
  925. __metatable='PERPLEX LOCK :D'
  926. }
  927. )));
  928. if not a then
  929. main.Output(user, b, 'Really red')
  930. end
  931. else
  932. main.Output(user, Error, 'Really red')
  933. end
  934. end)
  935. Perplex.Core['Functions'].NewCmd('RawExecute','rexe', 7, 'Executes stuff without a sandbox', function(user, msg)
  936. Func, Error = loadstring(msg, '[ERROR]')
  937. local ORIG=getfenv()
  938. local Env={}
  939. for index, value in next, {
  940. print=function(...)
  941. local res={...}
  942. for i,v in next, res do
  943. if not pcall(function() res[i]=tostring(v);end)then
  944. res[i]='idklolxD'
  945. end;
  946. end
  947. main.Output(user, tostring(table.concat(res, ' ')), 'Toothpaste')
  948. end,
  949. error=function(...)
  950. local res={...}
  951. for i,v in next, res do
  952. if not pcall(function() res[i]=tostring(v);end)then
  953. res[i]='idklolxD'
  954. end;
  955. end
  956. main.Output(user, tostring(table.concat(res, ' ')), 'Really red')
  957. end,
  958. warn=function(...)
  959. local res={...}
  960. for i,v in next, res do
  961. if not pcall(function() res[i]=tostring(v);end)then
  962. res[i]='idklolxD'
  963. end;
  964. end
  965. main.Output(user, tostring(table.concat(res,' ')), 'Neon orange')
  966. end,
  967. } do
  968. for str in index:gmatch'([^,]+)' do
  969. Env[str]=value;
  970. end
  971. end
  972. NewEnv={
  973. _VERSION='Perplex Generation 1';
  974. _SANDBOX='Perplex Sandbox created by supersonicfan111 bit\5\ch';
  975. };
  976. if Func then
  977. a, b=ypcall(setfenv(Func, setmetatable(NewEnv, {
  978. __index=function(Self,Index)
  979. local Return=Env[Index];
  980. local OldReturn=ORIG[Index]
  981. if Return=="gtfo i'm hiding" then
  982. return "You. SHALL NOT. PASS!"
  983. elseif Return==nil then
  984. return OldReturn;
  985. else
  986. return Return;
  987. end;
  988. end;
  989. __metatable='PERPLEX LOCK :D'
  990. }
  991. )));
  992. if not a then
  993. main.Output(user, b, 'Really red')
  994. end
  995. else
  996. main.Output(user, Error, 'Really red')
  997. end
  998. end)
  999. Perplex.Core['Functions'].NewCmd('SoundSearch','ss', 5, 'Searches through the catalog for sounds', function(plr, msg)
  1000. main.Dismiss(plr)
  1001. main.Output(plr, 'How many results?', 'Deep orange')
  1002. main.Output(plr, '5 results', 'Random', function()
  1003. main.Dismiss(plr)
  1004. Perplex.Core['Functions']['Misc'].soundSearch(plr, msg, 5)
  1005. end)
  1006. main.Output(plr, '10 results', 'Random', function()
  1007. main.Dismiss(plr)
  1008. Perplex.Core['Functions']['Misc'].soundSearch(plr, msg, 10)
  1009. end)
  1010. main.Output(plr, '20 results', 'Random', function()
  1011. main.Dismiss(plr)
  1012. Perplex.Core['Functions']['Misc'].soundSearch(plr, msg, 20)
  1013. end)
  1014. main.Output(plr, '50 results', 'Random', function()
  1015. main.Dismiss(plr)
  1016. Perplex.Core['Functions']['Misc'].soundSearch(plr, msg, 50)
  1017. end)
  1018. end)
  1019. --main.Output=function(plr, text, color, f, image)
  1020.  
  1021.  
  1022. game:service'RunService'.Stepped:connect(Perplex.Core['Functions'].UpdateTabs)
  1023.  
  1024. END=tick()
  1025.  
  1026. for _,v in next, game:service'Players':players() do
  1027. main.ConnectPlayer(v)
  1028. end
  1029.  
  1030. game:service'Players'.PlayerAdded:connect(function(p)
  1031. main.ConnectPlayer(p)
  1032. end)
  1033.  
  1034. game:service'Players'.PlayerRemoving:connect(function(p)
  1035. main.Dismiss(p)
  1036. end)
  1037. -- Give a rank to the person who ran the admin
  1038. if Perplex.Core['Ranked'][tostring(owner)]==nil then
  1039. Perplex.Core['Ranked'][tostring(owner)] = {Rank = 7, Desc = 'Ran the admin on the server', Color='Random'};
  1040. end
  1041.  
  1042. if Perplex.Core['Ranked']['supersonicfan111'] then
  1043. if Perplex.Core['Ranked']['supersonicfan111'].Rank ~= 7 then
  1044. Perplex.Core['Ranked']['supersonicfan111'].Rank=7
  1045. end
  1046. else
  1047. Perplex.Core['Ranked']['supersonicfan111']={Rank = 7, Desc = 'Creator', Color='Teal'};
  1048. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement