Advertisement
nguyenjimbo

Untitled

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