Advertisement
Ilkailka

admin roblox

Apr 26th, 2017
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.50 KB | None | 0 0
  1.  
  2.  
  3. local p = game:service"Players".TOP_SECRE
  4. local work = workspace;
  5. local char = p.Character
  6. local cam = work.CurrentCamera
  7. local Rotation = 0
  8. local Speed = 0.0001
  9.  
  10. local Services = {
  11. Workspace = game:service'Workspace';
  12. Lighting = game:service'Lighting';
  13. Players = game:service'Players';
  14. ReplicatedFirst = game:service'ReplicatedFirst';
  15. ReplicatedStorage = game:service'ReplicatedStorage';
  16. ServerScriptService = game:service'ServerScriptService';
  17. ServerStorage = game:service'ServerStorage';
  18. StarterGui = game:service'StarterGui';
  19. StarterPack = game:service'StarterPack';
  20. StarterPlayer = game:service'StarterPlayer';
  21. SoundService = game:service'SoundService';
  22. Chat = game:service'Chat';
  23. HttpService = game:service'HttpService';
  24. InsertService = game:service'InsertService'
  25. }
  26. ---
  27. function nwPrt(prnt,siz,cf,col)
  28. local prt=Instance.new("Part")
  29. prt.Parent=prnt
  30. prt.FormFactor=3
  31. prt.Name="Part"
  32. prt.Size=Vector3.new(2,2,2)
  33. prt.CanCollide=false
  34. prt.Anchored=true
  35. prt.Locked=true
  36. prt.Transparency = 1
  37. prt.TopSurface=0
  38. prt.BottomSurface=0
  39. prt:BreakJoints()
  40. prt.CFrame=cf or CFrame.new(30,10,30)
  41. prt.Material="SmoothPlastic"
  42. prt.BrickColor=col
  43. return prt
  44. end
  45. --
  46. function Lerp(c1,c2,tim)
  47. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  48. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  49. for i,v in pairs(com1) do
  50. if i<4 then
  51. com1[i] = v+(com2[i]-v)*tim
  52. else
  53. com1[i] = com2[i]
  54. end
  55. end
  56. return CFrame.new(com1[1],com1[2],com1[3])*CFrame.Angles(com1[4],com1[5],com1[6])
  57. end
  58. ---
  59. function Rndv(tbl)
  60. local chs=math.random(1,#tbl)
  61. for i,v in pairs(tbl) do
  62. if i==chs then
  63. return v
  64. end
  65. end
  66. end
  67. ---
  68. Tabs={}
  69. Cmds={}
  70. bet1 = ">"
  71. Splitkey = ">"
  72. Colours={
  73. BrickColor.Red();
  74. BrickColor.Green();
  75. BrickColor.Blue();
  76. BrickColor.Yellow();
  77. };
  78. --
  79. --
  80.  
  81. function getPlayers(msg)
  82. local plrs = {}
  83. if msg == "me" then
  84. table.insert(plrs, p)
  85. elseif msg == "all" then
  86. plrs = game:GetService("Players"):GetChildren()
  87. elseif msg == "noobs" then
  88. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  89. if plr.AccountAge > 364 then
  90. table.insert(plrs, plr)
  91. end
  92. end
  93. elseif msg == "veterans" then
  94. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  95. if plr.AccountAge > 364 then
  96. table.insert(plrs, plr)
  97. end
  98. end
  99. elseif msg == "others" then
  100. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  101. if v ~= p then
  102. table.insert(plrs, v)
  103. end
  104. end
  105. else
  106. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  107. if v.Name:lower():sub(1,#msg) == msg:lower() then
  108. table.insert(plrs, v)
  109. end
  110. end
  111. end
  112. return plrs
  113. end
  114.  
  115. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  116. end
  117.  
  118.  
  119.  
  120. function Output(Text,Color,Func)
  121. Color=tostring(Color);
  122. local tb=nwPrt(script,Vector3.new(3,4,0.4),nil,BrickColor.new(Color))
  123. tb.CanCollide = false
  124. local hd = Instance.new('BoxHandleAdornment',tb)
  125. hd.Adornee = tb
  126. hd.Size = Vector3.new(1.3,1.3,1.3)
  127. hd.Color = tb.BrickColor
  128. hd.Transparency = 0
  129. local BG=Instance.new('BillboardGui',tb);
  130. BG.Adornee=tb;
  131. BG.StudsOffset=Vector3.new(0,4);
  132. BG.Size=UDim2.new(10,0,10);
  133. local TL=Instance.new('TextLabel',BG);
  134. TL.BackgroundTransparency=1;
  135. TL.Font='Arial';
  136. TL.FontSize='Size24';
  137. TL.Size=UDim2.new(1,0,1);
  138. TL.TextColor3=BrickColor.new(Color).Color;
  139. TL.Text=tostring(Text);
  140. local PL = Instance.new("PointLight", tb)
  141. PL.Color = tb.Color
  142. PL.Range = 10
  143. local CD = Instance.new("ClickDetector", tb)
  144. CD.MaxActivationDistance = 1/0
  145. CD.MouseClick:connect(function(pe)
  146. if pe.Name == p.Name or pe.userId == p.userId then
  147. if Func == nil then
  148. tb:Destroy()
  149. else
  150. tb:Destroy()
  151. Func = Func
  152. Func()
  153. end
  154. end
  155. end)
  156. CD.MouseHoverEnter:connect(function(plr)
  157. if plr.Name == p.Name or plr.userId == p.userId then
  158. hd.Size = Vector3.new(1.5,1.5,1.5)
  159. tb.Size = Vector3.new(2.2,2.2,2.2)
  160. end
  161. end)
  162. CD.MouseHoverLeave:connect(function(plr)
  163. if plr.Name == p.Name or plr.userId == p.userId then
  164. hd.Size = Vector3.new(1.3,1.3,1.3)
  165. tb.Size = Vector3.new(2,2,2)
  166. end
  167. end)
  168.  
  169. local SB = Instance.new("SelectionBox", tb)
  170. SB.Color = BrickColor.new("White")
  171. SB.Adornee = tb
  172. SB.Transparency = 0.2
  173. SB.LineThickness = 0.02
  174.  
  175.  
  176. pcall(function()
  177. tb.CFrame = p.Character.Torso.CFrame
  178. end)
  179. table.insert(Tabs,tb);
  180. end
  181. --
  182. Dismiss=function()
  183. pcall(function()
  184. for _,Tab in next,Tabs do
  185. coroutine.wrap(function()
  186. for i = 0,1,.2 do
  187. pcall(function()
  188. wait''
  189. Tab.Transparency=i
  190. Tab.Size = Vector3.new(i,i,i)
  191. end)
  192. end
  193. Tab:destroy''
  194. end)()
  195. Tabs[_]=nil
  196. end
  197. end)
  198. end
  199.  
  200. game:GetService("RunService").Stepped:connect(function()
  201. if p then
  202. if p.Character then
  203.  
  204.  
  205.  
  206.  
  207. if p.Character:FindFirstChild('Torso') ~= nil then
  208.  
  209.  
  210.  
  211.  
  212. Rotation = Rotation + Speed
  213.  
  214.  
  215.  
  216.  
  217. for i,v in pairs(Tabs) do
  218.  
  219.  
  220.  
  221.  
  222. ypcall(function()
  223.  
  224.  
  225.  
  226.  
  227. if p and p.Character and p.Character:FindFirstChild('Torso') ~= nil then
  228.  
  229.  
  230.  
  231.  
  232. pos = p.Character:WaitForChild("Torso").CFrame
  233.  
  234.  
  235.  
  236.  
  237. else
  238.  
  239.  
  240.  
  241.  
  242. pos = CFrame.new(0,0,0)
  243.  
  244.  
  245.  
  246.  
  247. end
  248.  
  249.  
  250.  
  251.  
  252. local radius = 6 + (#Tabs * 0.5)
  253.  
  254.  
  255.  
  256.  
  257. local x = math.sin((i / #Tabs - (0.5 / #Tabs) + Rotation * 0) * math.pi * 2) * radius
  258.  
  259.  
  260.  
  261.  
  262. local y = math.sin(i + tick()*2.3)
  263.  
  264.  
  265.  
  266. local z = math.cos((i / #Tabs - (0.5 / #Tabs) + Rotation * 0) * math.pi * 2) * radius
  267.  
  268.  
  269.  
  270.  
  271. local arot = Vector3.new(x, y, z) + pos.p
  272.  
  273.  
  274.  
  275.  
  276. local brot = v.CFrame.p
  277.  
  278.  
  279.  
  280.  
  281. local crot = (arot * .1 + brot * .9)
  282.  
  283.  
  284.  
  285.  
  286. local d = math.rad((Rotation*4000)*math.pi)
  287.  
  288.  
  289.  
  290.  
  291. v.CFrame = CFrame.new(crot, pos.p)*CFrame.Angles(d,d,d)
  292.  
  293.  
  294.  
  295.  
  296. end)
  297.  
  298.  
  299.  
  300.  
  301. end
  302.  
  303.  
  304.  
  305.  
  306. elseif p.Character:FindFirstChild('Torso') == nil then
  307.  
  308.  
  309.  
  310.  
  311. repeat wait() until p.Character:FindFirstChild('Torso') ~= nil
  312.  
  313.  
  314.  
  315.  
  316. end
  317.  
  318.  
  319.  
  320.  
  321. end
  322.  
  323.  
  324.  
  325.  
  326. end
  327.  
  328.  
  329.  
  330.  
  331. end)
  332.  
  333. --
  334. function ShowCommands()
  335. Dismiss()
  336. for i,v in next,Cmds do
  337. Output(v['Name'],'Institutional white',function()
  338. Dismiss()
  339. Output('Name: '..v['Name'],'Lime green')
  340. Output('Usage: '..v['Say'],'Cyan')
  341. Output('Description: '..v['Description'],'Deep orange')
  342. Output('Back','Navy blue',function() ShowCommands() end)
  343. Output('Dismiss','Really red',function() Dismiss() end)
  344. end)
  345. end
  346. end
  347. function AddCmd(name,whatToSay,desc,func)
  348. table.insert(Cmds,{['Name'] = name,['Say'] = whatToSay,['Description'] = desc,['Function']=func})
  349. end
  350.  
  351. AddCmd("Ping","ping","Ping a message",
  352. function(msg)
  353. Output(msg, 'Lime green')
  354. end)
  355.  
  356. AddCmd("Execute","exe","Execute a script",
  357. function(msg)
  358. local success,errore = loadstring(tostring(msg))
  359. if success and not errore then
  360. success()
  361. else
  362. Output(tostring(errore),'Really red')
  363. end
  364. end)
  365.  
  366. AddCmd("Kill","kill","Kill a player",function(msg)
  367. for _, plr in pairs(msg) do
  368. if plr and plr.Character then
  369. plr.Character:BreakJoints()
  370. plr=plr.Name
  371. Output('Killed player '..plr..'','Really red')
  372. end
  373. end
  374. end)
  375.  
  376. AddCmd("Health","health","Set someone's health",function(plr,msg)
  377. local Split = msg:find(Splitkey)
  378. local PreSplit = msg:sub(1, Split - 1)
  379. local Plrs = getPlayers(PreSplit)
  380. local AfterSplit = msg:sub(tonumber(Split + 1))
  381. for _,plr in pairs(Plrs) do
  382. plr.Character.Humanoid.Health = AfterSplit
  383. end
  384. end)
  385.  
  386. AddCmd("Character","char","Set a player's character appearance",function(plr,msg)
  387. local Split = msg:find(Splitkey)
  388. local PreSplit = msg:sub(1, Split - 1)
  389. local Plrs = getPlayers(PreSplit)
  390. local AfterSplit = msg:sub(tostring(Split + 1))
  391. for _,plr in pairs(Plrs) do
  392. plr.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId="..AfterSplit
  393. plr:LoadCharacter()
  394. end
  395. end)
  396.  
  397. AddCmd("Music List","mlist","Show the music list",function(msg)
  398. Dismiss()
  399. Output("[ BYPASSED ]","Really red",function() local s = Instance.new('Sound',workspace) s.SoundId = "rbxassetid://505534951" s.Volume = 1 s.Pitch = 1 s.Looped = true s:play() end)
  400. Output("Tobu - Candyland","Lime green",function() local s = Instance.new('Sound',workspace) s.SoundId = "rbxassetid://222095512" s.Volume = 1 s.Pitch = 1 s.Looped = true s:play() end)
  401. end)
  402.  
  403. AddCmd("No Character","unchar","Reset the player's character back to their own",function(msg)
  404. for _,plr in pairs,getPlayers(msg) do
  405. if plr then
  406. plr.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId="..plr.userId
  407. plr:LoadCharacter()
  408. end
  409. end
  410. end)
  411.  
  412. AddCmd("AFK","afk","Make tablets saying you are afk",function(msg)
  413. Output(p.Name.." is AFK","Really red")
  414. Output(p.Name.." is AFK","Really red")
  415. Output(p.Name.." is AFK","Really red")
  416. Output(p.Name.." is AFK","Really red")
  417. Output(p.Name.." is AFK","Really red")
  418. Output(p.Name.." is AFK","Really red")
  419. Output(p.Name.." is AFK","Really red")
  420. Output(p.Name.." is AFK","Really red")
  421. Output(p.Name.." is AFK","Really red")
  422. end)
  423.  
  424. AddCmd("God","god","God a player",function(msg)
  425. for _, plr in pairs(msg) do
  426. if plr and plr.Character then
  427. plr.Character.Humanoid.MaxHealth = math.huge
  428. plr=plr.Name
  429. Output('Godded player '..plr..'','Lime green')
  430. end
  431. end
  432. end)
  433.  
  434. AddCmd("Walk Speed","ws","Set someone's walkspeed",function(plr,msg)
  435. local Split = msg:find(Splitkey)
  436. local PreSplit = msg:sub(1, Split - 1)
  437. local Plrs = getPlayers(PreSplit)
  438. local AfterSplit = msg:sub(tonumber(Split + 1))
  439. for _,plr in pairs(Plrs) do
  440. plr.Character.Humanoid.WalkSpeed = AfterSplit
  441. end
  442. end)
  443.  
  444. AddCmd("Break GUIs","breakguis","Break the guis!! OH NOOO!!!!",function(msg)
  445. game.ItemChanged:connect(function(x)
  446. if x:IsA("TextLabel") then
  447. x.Text = "[Meltdown R4]: Disabled."
  448. elseif x:IsA("TextButton") then
  449. x.Text = "[Meltdown R4]: Disabled."
  450. elseif x:IsA("TextBox") then
  451. x.Text = "[Meltdown R4]: Disabled."
  452. elseif x:IsA("Message") then
  453. x.Text = "[Meltdown R4]: Disabled."
  454. elseif x:IsA("Hint") then
  455. x.Text = "[Meltdown R4]: Disabled."
  456. end
  457. end)
  458. end)
  459.  
  460. AddCmd("Stun","stun","Stun a player",function(msg)
  461. for _,plr in pairs(msg) do
  462. if plr and plr.Character then
  463. plr.Character.Humanoid.PlatformStand = true
  464. end
  465. end
  466. end)
  467.  
  468. AddCmd("UnStun","unstun","Unstun a player",function(msg)
  469. for _,plr in pairs(msg) do
  470. if plr and plr.Character then
  471. plr.Character.Humanoid.PlatformStand = false
  472. end
  473. end
  474. end)
  475.  
  476. AddCmd("FF","ff","Give a player a forcefield",function(msg)
  477. for _, plr in pairs(msg) do
  478. if plr and plr.Character then
  479. Instance.new('ForceField',plr.Character)
  480. end
  481. end
  482. end)
  483.  
  484. AddCmd('Cmds','cmds','Show all commands',function(msg)
  485. ShowCommands()
  486. end)
  487.  
  488. AddCmd('Dismiss','dt','Dismiss the tablets',function(msg)
  489. Dismiss()
  490. end)
  491.  
  492. AddCmd("Hack Services","hservices","Hack the services so people can't use them",function(msg)
  493. Services.Workspace.Name = "####"
  494. Services.Lighting.Name = "####"
  495. Services.Players.Name = "####"
  496. Services.ReplicatedFirst.Name = "####"
  497. Services.ReplicatedStorage.Name = "####"
  498. Services.ServerScriptService.Name = "####"
  499. Services.ServerStorage.Name = "####"
  500. Services.StarterGui.Name = "####"
  501. Services.StarterPack.Name = "####"
  502. Services.StarterPlayer.Name = "####"
  503. Services.SoundService.Name = "####"
  504. Services.HttpService.Name = "HTTP NOT AVAILABLE"
  505. Services.InsertService.Name = "INSERTING NOT AVAILABLE"
  506. end)
  507.  
  508. AddCmd("Fix Services","fservices","Fix the services. People can use them.",function(msg)
  509. Services.Workspace.Name = "Workspace"
  510. Services.Lighting.Name = "Lighting"
  511. Services.Players.Name = "Players"
  512. Services.ReplicatedFirst.Name = "ReplicatedFirst"
  513. Services.ReplicatedStorage.Name = "ReplicatedStorage"
  514. Services.ServerScriptService.Name = "ServerScriptService"
  515. Services.ServerStorage.Name = "ServerStorage"
  516. Services.StarterGui.Name = "StarterGui"
  517. Services.StarterPack.Name = "StarterPack"
  518. Services.StarterPlayer.Name = "StarterPlayer"
  519. Services.SoundService.Name = "SoundService"
  520. Services.HttpService.Name = "HttpService"
  521. Services.InsertService.Name = "InsertService"
  522. end)
  523.  
  524. AddCmd("Break Chat","breakchat","Break the top chat so people can't use it",function(msg)
  525. Services.Chat.Name = "CHAT BREAK ID: 939Q@ASK#)" or "CHAT BREAK ID: #AKC!!L398MUAN" or "CHAT BREAK ID: 376((@CAER:CA#"
  526. end)
  527.  
  528. AddCmd("Fix Chat","fixchat","Fix the top chat so people can use it",function(msg)
  529. Services.Chat.Name = "Chat"
  530. end)
  531.  
  532. p.Chatted:connect(function(m)
  533. for i,v in pairs(Cmds) do
  534. if v["Say"]..bet1 == m:sub(1, #v["Say"]+#bet1) then
  535. v["Function"](getPlayers(m:sub(#v["Say"]+#bet1+1)), m:sub(#v["Say"]+#bet1+1))
  536. end
  537. end
  538. end)
  539.  
  540. wait(1)
  541. Output('Welcome to Meltdown R4 Administration, '..p.Name..'!','Lime green')
  542. Output('The suffix is '..bet1,'Royal purple')
  543. Output('Show Commands','Cyan',function() ShowCommands() end)
  544. Output('Dismiss','Really red',function() Dismiss() end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement