Advertisement
KCROL_AdminLeaks

SkidAdmin Tablets

Dec 7th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.44 KB | None | 0 0
  1. --[[
  2.     SkidAdmin, brought to you by KCROL
  3.     Edit this all you want. I don't really care.
  4. --]]
  5.  
  6. local p = game:service"Players".NAME --Replace NAME with your ROBLOX Name
  7. local work = workspace;
  8. local char = p.Character
  9. local cam = work.CurrentCamera
  10. local Rotation = 0
  11. local Speed = 0.0001
  12.  
  13. local Services = {
  14.       Workspace = game:service'Workspace';
  15.       Lighting = game:service'Lighting';
  16.       Players = game:service'Players';
  17.       ReplicatedFirst = game:service'ReplicatedFirst';
  18.       ReplicatedStorage = game:service'ReplicatedStorage';
  19.       ServerScriptService = game:service'ServerScriptService';
  20.       ServerStorage = game:service'ServerStorage';
  21.       StarterGui = game:service'StarterGui';
  22.       StarterPack = game:service'StarterPack';
  23.       StarterPlayer = game:service'StarterPlayer';
  24.       SoundService = game:service'SoundService';
  25.       Chat = game:service'Chat';
  26.       HttpService = game:service'HttpService';
  27.       InsertService = game:service'InsertService'
  28. }
  29.  
  30. local Settings = {
  31.     Axis_Y = "Straight"
  32. }
  33.  
  34. function nwPrt(prnt,siz,cf,col)
  35. local prt=Instance.new("Part")
  36. prt.Parent=prnt
  37. prt.FormFactor=3
  38. prt.Name="Part"
  39. prt.Size=Vector3.new(2.3,2.3,2.3)
  40. prt.CanCollide=false
  41. prt.Anchored=true
  42. prt.Locked=true
  43. prt.Transparency = 0.3
  44. prt.TopSurface=0
  45. prt.BottomSurface=0
  46. prt:BreakJoints()
  47. prt.CFrame=cf or CFrame.new(30,10,30)
  48. prt.Material="Neon"
  49. prt.BrickColor=col
  50. return prt
  51. end
  52. --
  53. function Lerp(c1,c2,tim)
  54. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  55. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  56. for i,v in pairs(com1) do
  57. if i<4 then
  58. com1[i] = v+(com2[i]-v)*tim
  59. else
  60. com1[i] = com2[i]
  61. end
  62. end
  63. return CFrame.new(com1[1],com1[2],com1[3])*CFrame.Angles(com1[4],com1[5],com1[6])
  64. end
  65. ---
  66. function Rndv(tbl)
  67. local chs=math.random(1,#tbl)
  68. for i,v in pairs(tbl) do
  69. if i==chs then
  70. return v
  71. end
  72. end
  73. end
  74. ---
  75. Tabs={}
  76. Cmds={}
  77. bet1 = ">"
  78. Splitkey = ">"
  79. Colours={
  80. BrickColor.Red();
  81. BrickColor.Green();
  82. BrickColor.Blue();
  83. BrickColor.Yellow();
  84. };
  85. --
  86. --
  87.  
  88. function getPlayers(msg)
  89. local plrs = {}
  90. if msg == "me" then
  91. table.insert(plrs, p)
  92. elseif msg == "all" then
  93. plrs = game:GetService("Players"):GetChildren()
  94. elseif msg == "noobs" then
  95. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  96. if plr.AccountAge > 364 then
  97. table.insert(plrs, plr)
  98. end
  99. end
  100. elseif msg == "veterans" then
  101. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  102. if plr.AccountAge > 364 then
  103. table.insert(plrs, plr)
  104. end
  105. end
  106. elseif msg == "others" then
  107. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  108. if v ~= p then
  109. table.insert(plrs, v)
  110. end
  111. end
  112. else
  113. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  114. if v.Name:lower():sub(1,#msg) == msg:lower() then
  115. table.insert(plrs, v)
  116. end
  117. end
  118. end
  119. return plrs
  120. end
  121.  
  122. for _,plr in pairs(game:GetService("Players"):GetChildren()) do
  123. end
  124.  
  125. function Output(Text,Color,Func)
  126. Color=tostring(Color);
  127. local tb=nwPrt(workspace,Vector3.new(2.3,2.3,2.3),nil,BrickColor.new(Color))
  128. tb.CanCollide = false
  129. local sb = Instance.new('SelectionBox',tb)
  130. sb.LineThickness = 0.02
  131. sb.Adornee = tb
  132. sb.Color = BrickColor.new('White')
  133. sb.Transparency = 0
  134. local bm = Instance.new('BlockMesh',tb)
  135. bm.Scale = Vector3.new(.9,.9,.9)
  136. local BG=Instance.new('BillboardGui',tb);
  137. BG.Adornee=tb;
  138. BG.StudsOffset=Vector3.new(0,4);
  139. BG.Size=UDim2.new(10,0,10);
  140. local TL=Instance.new('TextLabel',BG);
  141. TL.BackgroundTransparency=1;
  142. TL.Font='Arial';
  143. TL.FontSize='Size24';
  144. TL.Size=UDim2.new(1,0,1);
  145. TL.TextColor3=BrickColor.new(Color).Color;
  146. TL.Text=tostring(Text);
  147. local PL = Instance.new("PointLight", tb)
  148. PL.Color = tb.Color
  149. PL.Range = 10
  150. local CD = Instance.new("ClickDetector", tb)
  151. CD.MaxActivationDistance = 1/0
  152. CD.MouseClick:connect(function(pe)
  153. if pe.Name == p.Name or pe.userId == p.userId then
  154. if Func == nil then
  155. tb:Destroy()
  156. else
  157. tb:Destroy()
  158. Func = Func
  159. Func()
  160. end
  161. end
  162. end)
  163. CD.MouseHoverEnter:connect(function(plr)
  164.     if plr.Name == p.Name or plr.userId == p.userId then
  165.         tb.BrickColor = BrickColor.new('Really red')
  166.         tb.Transparency = 0.5
  167.         tb.Size = Vector3.new(2.4,2.4,2.4)
  168.         TL.TextColor3 = Color3.new(255,0,0)
  169.     end
  170. end)
  171. CD.MouseHoverLeave:connect(function(plr)
  172.     if plr.Name == p.Name or plr.userId == p.userId then
  173.         tb.BrickColor = BrickColor.new(tostring(Color))
  174.         tb.Transparency = 0.3
  175.         tb.Size = Vector3.new(2.3,2.3,2.3)
  176.         TL.TextColor3=BrickColor.new(Color).Color
  177.     end
  178. end)
  179. pcall(function()
  180.     tb.CFrame = p.Character.HumanoidRootPart.CFrame
  181. end)
  182. table.insert(Tabs,tb);
  183. end
  184. --
  185. Dismiss=function()
  186.  pcall(function()
  187.   for _,Tab in next,Tabs do
  188.    coroutine.wrap(function()
  189.     for i = 0,1,.2 do
  190.      pcall(function()
  191.       wait''
  192.       Tab.Transparency=i
  193.       Tab.Size = Vector3.new(i,i,i)
  194.      end)
  195.     end
  196.     Tab:destroy''
  197.    end)()
  198.    Tabs[_]=nil
  199.   end
  200.  end)
  201. end
  202.  
  203. local y = 0
  204. game:GetService("RunService").Stepped:connect(function()
  205.         if p then
  206.                 if p.Character then
  207.                         if p.Character:FindFirstChild('HumanoidRootPart') ~= nil then
  208.                                 Rotation = Rotation + Speed
  209.                                 for i,v in pairs(Tabs) do
  210.                                         ypcall(function()
  211.                                                 if p and p.Character and p.Character:FindFirstChild('HumanoidRootPart') ~= nil then
  212.                                                         pos = p.Character:WaitForChild("HumanoidRootPart").CFrame --Use HumanoidRootPart incase you are R15
  213.                                                 else
  214.                                                         pos = CFrame.new(0,0,0)
  215.                                                 end
  216.                                                 local radius = 6 + (#Tabs * 0.5)
  217.                                                 local x = math.sin((i / #Tabs - (0.5 / #Tabs) + Rotation * 3) * math.pi * 2) * radius
  218.                                                 local y2 = tostring(y)
  219.                                                 local z = math.cos((i / #Tabs - (0.5 / #Tabs) + Rotation * 3) * math.pi * 2) * radius
  220.                                                 local arot = Vector3.new(x, y, z) + pos.p
  221.                                                 local brot = v.CFrame.p
  222.                                                 local crot = (arot * .1 + brot * .9)
  223.                                                 local d = math.rad((200*3000)*100)
  224.                                                 v.CFrame = CFrame.new(crot, pos.p)*CFrame.Angles(d,d,d)
  225.  
  226.                                                 if Settings.Axis_Y == "Off" then
  227.                                                 y = 0
  228.                                                 elseif Settings.Axis_Y == "On" then
  229.                                                 y = math.sin(i + tick()*2)
  230.                                             elseif Settings.Axis_Y == "Straight" then
  231.                                                 y = math.sin(tick())
  232. end
  233.                                         end)
  234.                                 end
  235.                         elseif p.Character:FindFirstChild('HumanoidRootPart') == nil then
  236.                                 repeat wait() until p.Character:FindFirstChild('HumanoidRootPart') ~= nil
  237.                         end
  238.                 end
  239.         end
  240. end)
  241.  
  242. function ShowCommands()
  243.     Dismiss()
  244.     for i,v in next,Cmds do
  245.         Output(v['Name'],'Institutional white',function()
  246.             Dismiss()
  247.             Output('Name: '..v['Name'],'Lime green')
  248.             Output('Usage: '..v['Say'],'Cyan')
  249.             Output('Description: '..v['Description'],'Deep orange')
  250.             Output('Back','Navy blue',function() ShowCommands() end)
  251.             Output('Dismiss','Really red',function() Dismiss() end)
  252.         end)
  253.     end
  254. end
  255. function AddCmd(name,whatToSay,desc,func)
  256.     table.insert(Cmds,{['Name'] = name,['Say'] = whatToSay,['Description'] = desc,['Function']=func})
  257. end
  258.  
  259. AddCmd("Ping","ping","Ping a message",function(msg)
  260.    for _,m in pairs(msg) do
  261.       Output(m, 'Lime green')
  262.       if m == nil then
  263.       Output("Meltdown R4!","Lime green")
  264. end
  265.    end
  266. end)
  267.  
  268. AddCmd("Execute","exe","Execute a script",function(msg)
  269.     for _,m in pairs(msg) do
  270.     local success,errore = loadstring(tostring(m))
  271.     if success and not errore then
  272.         success()
  273.     else
  274.         Output("Error while executing script: "..tostring(errore),'Really red')
  275.         end
  276.     end
  277. end)
  278.  
  279. AddCmd("Kill","kill","Kill a player",function(msg)
  280.     for _, plr in pairs(msg) do
  281.         if plr and plr.Character then
  282.             plr.Character:BreakJoints()
  283.             plr=plr.Name
  284.             Output('Killed player '..plr..'','Really red')
  285.         end
  286.     end
  287. end)
  288.  
  289. AddCmd("Health","health","Set someone's health",function(plr,msg)
  290.     local Split = msg:find(Splitkey)
  291.     local PreSplit = msg:sub(1, Split - 1)
  292.     local Plrs = getPlayers(PreSplit)
  293.     local AfterSplit = msg:sub(tonumber(Split + 1))
  294.     for _,plr in pairs(Plrs) do
  295.         plr.Character.Humanoid.Health = AfterSplit
  296.     end
  297. end)
  298.  
  299. AddCmd("Character","char","Set a player's character appearance",function(plr,msg)
  300.     local Split = msg:find(Splitkey)
  301.     local PreSplit = msg:sub(1, Split - 1)
  302.     local Plrs = getPlayers(PreSplit)
  303.     local AfterSplit = msg:sub(tostring(Split + 1))
  304.     for _,plr in pairs(Plrs) do
  305.         plr.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId="..AfterSplit
  306.         plr:LoadCharacter()
  307.     end
  308. end)
  309.  
  310. AddCmd("No Tools","notools","Remove a player's tools",function(msg)
  311.     for _,plr in pairs(msg) do
  312.         if plr then
  313.             for i,v in pairs(plr.Backpack:children()) do
  314.                 if v:IsA("Tool") or v:IsA("HopperBin") then
  315.                     v:remove()
  316.                 end
  317.             end
  318.         end
  319.     end
  320. end)
  321.  
  322. AddCmd("Orb Tool","orbtool","Give someone a tool that looks like an orb",function(msg)
  323.     for _,plr in pairs(msg) do
  324.         if plr then
  325.             local tool = Instance.new('Tool',plr.Backpack)
  326.             tool.Name = "Orb"
  327.             local h = Instance.new('Part',tool)
  328.             h.Name = 'Handle'
  329.             h.Size = Vector3.new(1.3,1.3,1.3)
  330.             h.BrickColor = BrickColor.new('Lime green')
  331.             h.Material = "SmoothPlastic"
  332.             h.TopSurface=0
  333.             h.BottomSurface=0
  334.             local m = Instance.new('SpecialMesh',h)
  335.             m.MeshType = "Sphere"
  336.             m.Scale = Vector3.new(1,1,1)
  337.         end
  338.     end
  339. end)
  340.  
  341. AddCmd("Music List","mlist","Show the music list",function(msg)
  342.     Dismiss()
  343.     Output("[ DELETED ]","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)
  344.     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)
  345. end)
  346.  
  347. AddCmd("No Character","unchar","Reset the player's character back to their own",function(msg)
  348.     for _,plr in pairs,getPlayers(msg) do
  349.         if plr then
  350.         plr.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId="..plr.userId
  351.         plr:LoadCharacter()
  352.         end
  353.     end
  354. end)
  355.  
  356. AddCmd("AFK","afk","Make tablets saying you are afk",function(msg)
  357.     Output(p.Name.." is AFK","Really red")
  358.     Output(p.Name.." is AFK","Really red")
  359.     Output(p.Name.." is AFK","Really red")
  360.     Output(p.Name.." is AFK","Really red")
  361.     Output(p.Name.." is AFK","Really red")
  362.     Output(p.Name.." is AFK","Really red")
  363.     Output(p.Name.." is AFK","Really red")
  364.     Output(p.Name.." is AFK","Really red")
  365.     Output(p.Name.." is AFK","Really red")
  366. end)
  367.  
  368. AddCmd("God","god","God a player",function(msg)
  369.     for _, plr in pairs(msg) do
  370.         if plr and plr.Character then
  371.             plr.Character.Humanoid.MaxHealth = math.huge
  372.             plr=plr.Name
  373.             Output('Godded player '..plr..'','Lime green')
  374.         end
  375.     end
  376. end)
  377.  
  378. AddCmd("Walk Speed","ws","Set someone's walkspeed",function(plr,msg)
  379.     local Split = msg:find(Splitkey)
  380.     local PreSplit = msg:sub(1, Split - 1)
  381.     local Plrs = getPlayers(PreSplit)
  382.     local AfterSplit = msg:sub(tonumber(Split + 1))
  383.     for _,plr in pairs(Plrs) do
  384.         plr.Character.Humanoid.WalkSpeed = AfterSplit
  385.     end
  386. end)
  387.  
  388. AddCmd("Stun","stun","Stun a player",function(msg)
  389.     for _,plr in pairs(msg) do
  390.         if plr and plr.Character then
  391.             plr.Character.Humanoid.PlatformStand = true
  392.         end
  393.     end
  394. end)
  395.  
  396. AddCmd("UnStun","unstun","Unstun a player",function(msg)
  397.     for _,plr in pairs(msg) do
  398.         if plr and plr.Character then
  399.             plr.Character.Humanoid.PlatformStand = false
  400.         end
  401.     end
  402. end)
  403.  
  404. AddCmd("FF","ff","Give a player a forcefield",function(msg)
  405.     for _, plr in pairs(msg) do
  406.         if plr and plr.Character then
  407.             Instance.new('ForceField',plr.Character)
  408.         end
  409.     end
  410. end)
  411.  
  412. AddCmd('Cmds','cmds','Show all commands',function(msg)
  413. ShowCommands()
  414. end)
  415.  
  416. AddCmd('Dismiss','dt','Dismiss the tablets',function(msg)
  417.     Dismiss()
  418. end)
  419.  
  420. AddCmd('Respawn','respawn','Respawn a player',function(msg)
  421.     for _,plr in pairs(msg) do
  422.         if plr then
  423.             plr:LoadCharacter()
  424.         end
  425.     end
  426. end)
  427.  
  428. AddCmd("Y Axis Settings","axis:y","Set the Y axis CFrame",function(msg)
  429.     Output("Click the Y axis you want.","Institutional white")
  430.     Output("UpDown","Lime green",function() Dismiss() Settings.Axis_Y = "Straight" end)
  431.     Output("Waves","Cyan",function() Dismiss() Settings.Axis_Y = "On" end)
  432.     Output("None","Really red",function() Dismiss() Settings.Axis_Y = "Off" end)
  433. end)
  434.  
  435. p.Chatted:connect(function(m)
  436. for i,v in pairs(Cmds) do
  437. if v["Say"]..bet1 == m:sub(1, #v["Say"]+#bet1) then
  438. v["Function"](getPlayers(m:sub(#v["Say"]+#bet1+1)), m:sub(#v["Say"]+#bet1+1))
  439. end
  440. end
  441. end)
  442.  
  443. wait(1)
  444. Output('Welcome to SkidAdmin Administration, '..p.Name..'!','Lime green')
  445. Output('The suffix is '..bet1,'Royal purple')
  446. Output('Show Commands','Cyan',function() ShowCommands() end)
  447. Output('Dismiss','Really red',function() Dismiss() end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement