Advertisement
PersonsadminTeam

ScapGui v2

Sep 24th, 2016
415
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 67.12 KB | None | 0 0
  1. --[[ What this is;
  2. It's a gui that all you have to do is put new button names/functions into the table and it'll automatically create and place buttons for you.
  3. ]]--
  4.  
  5. --THIS IS NOT DONE, I'M JUST RELEASING EVERYTHING I MAKE HERE--
  6.  
  7. --I'm starting to do join.me's of every script I make, so people can see how I do stuff and maybe learn off it--
  8. --Made by Scapter i take no credit!--
  9.  
  10. --Create The Gui--
  11. local Main = Instance.new("ScreenGui", game.CoreGui) --Parent to CoreGui when done.
  12. Main.Name = "Scap_Guiv2"
  13. local Frame1 = Instance.new("ScrollingFrame", Main)
  14. Frame1.Size = UDim2.new(0,500,0,500)
  15. Frame1.BackgroundTransparency = 0.3
  16. Frame1.Position = UDim2.new(-0.43,-500,0.5,-250)
  17. Frame1.BackgroundColor3 = Color3.new(0/255,223/255,0/255)
  18. Frame1.BorderColor3 = Color3.new(255/255,255/255,255/255)
  19. Frame1.BorderSizePixel = 2
  20. Frame1.ScrollBarThickness = 8
  21. Frame1.CanvasSize = UDim2.new(0,0,3,0)
  22. Frame1.ZIndex = 2
  23.  
  24. local Label = Instance.new("TextLabel", Frame1)
  25. Label.Name = "1"
  26. Label.Size = UDim2.new(1,0,0,35)
  27. Label.BackgroundTransparency = 1
  28. Label.Text = "Functions/Scripts"
  29. Label.Font = "SourceSansBold"
  30. Label.FontSize = "Size24"
  31. Label.TextColor3 = Color3.new(255/255,255/255,255/255)
  32. Label.ZIndex = 2
  33.  
  34. local WaterMark = Instance.new("ImageLabel", Main)
  35. WaterMark.Image = "http://www.roblox.com/asset/?id=399174577"
  36. WaterMark.Size = UDim2.new(0,300,0,100)
  37. WaterMark.Position = Frame1.Position-UDim2.new(-0.43,0,0,0)
  38. WaterMark.BackgroundTransparency = 1
  39. WaterMark.ZIndex = 2
  40.  
  41. local PlayerList = Instance.new("ScrollingFrame", Main)
  42. PlayerList.Size = UDim2.new(0,350,0,500)
  43. PlayerList.Position = UDim2.new(-0.8,-500,0.5,-250)
  44. PlayerList.BackgroundColor3 = Color3.new(0/255,223/255,0/255)
  45. PlayerList.BorderColor3 = Color3.new(255/255,255/255,255/255)
  46. PlayerList.BorderSizePixel = 2
  47. PlayerList.ScrollBarThickness = 8
  48. PlayerList.BackgroundTransparency = 0.3
  49. PlayerList.CanvasSize = UDim2.new(0,0,3,0)
  50. PlayerList.ZIndex = 2
  51.  
  52. local Player = Instance.new("TextLabel", PlayerList)
  53. Player.Name = "1"
  54. Player.Size = UDim2.new(1,0,0,35)
  55. Player.BackgroundTransparency = 1
  56. Player.Text = "PlayerList"
  57. Player.Font = "SourceSansBold"
  58. Player.FontSize = "Size24"
  59. Player.TextColor3 = Color3.new(255/255,255/255,255/255)
  60. Player.ZIndex = 2
  61.  
  62. local Open = false
  63. local Open_Close = Instance.new("ImageButton", Main)
  64. Open_Close.BackgroundTransparency = 1
  65. Open_Close.Image = "http://www.roblox.com/asset/?id=396985510"
  66. Open_Close.Rotation = -45
  67. Open_Close.Size = UDim2.new(0,50,0,50)
  68. Open_Close.Position = UDim2.new(0,0,0.6,0)
  69. Open_Close.ZIndex = 2
  70.  
  71. function CreateLeafs()
  72.     game["Run Service"].RenderStepped:connect(function()
  73.         wait(0.03)
  74.         if Open then
  75.             local p = Instance.new("ImageLabel", Main)
  76.             p.BackgroundTransparency = 1
  77.             p.Name = "Leaf"
  78.             p.Image  = "http://www.roblox.com/asset/?id=396985510"
  79.             p.Position = UDim2.new(0,math.random(0,3000),0,0)
  80.             local size = math.random(20,80)
  81.             p.Size = UDim2.new(0,size,0,size)
  82.             for _,v in pairs(Main:GetChildren()) do
  83.                 if v.Name == "Leaf" then
  84.                     if v.Position.Y.Offset > 900 then
  85.                         v:Destroy()
  86.                     end
  87.                     v.Rotation = v.Rotation + 0.5
  88.                     v.Position = v.Position+UDim2.new(0,0,0,2)
  89.                 end
  90.             end
  91.         end
  92.     end)
  93. end
  94.  
  95. function DestroyLeafs()
  96.     for _,v in pairs(Main:GetChildren()) do
  97.         if v.Name == "Leaf" then
  98.             v:Destroy()
  99.         end
  100.     end
  101. end
  102. --End Gui Creation
  103.  
  104. --Tables--
  105. local Banned = {}
  106.  
  107. local PlayerTabs = {
  108.  Sound = function() local function check(parent)
  109.                 for i,v in pairs(parent:GetChildren())do
  110.                     if v:IsA("Sound")then
  111.                         v.Volume = 0
  112.                         v:Destroy()
  113.                     end
  114.                     check(v)
  115.                 end
  116.             end
  117.             check(game.Workspace)
  118.             local Sound = Instance.new("Sound", game.Workspace)
  119.             Sound.Name = "Musickek"
  120.             Sound.Volume = 10
  121.             Sound.Looped = true
  122.             Sound.SoundId = "http://www.roblox.com/asset/?id="..Frame1.SoundBox.Text
  123.             Sound:Play() end,
  124.  Follow = function() local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage') local RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower') RemoteEvent_NewFollower:FireServer(game.Players[Frame1.FollowBox.Text], true) end,
  125.  UnFollow = function() local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage') local RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower') RemoteEvent_NewFollower:FireServer(game.Players[Frame1.UnFollowBox.Text], false) end,
  126.  Friend = function() game.Players.LocalPlayer:RequestFriendship(game.Players[Frame1.FriendBox.Text]) end,
  127.  UnFriend = function() game.Players.LocalPlayer:RevokeFriendship(game.Players[Frame1.FriendBox.Text]) end,
  128.  Report = function() game.Players:ReportAbuse(game.Players[Frame1.ReportBox.Text], "Exploiting", "Cuz y not") end,
  129.  Ban = function() table.insert(Banned, Frame1.BanBox.Text) game.Players[Frame1.BanBox.Text]:Destroy() end,
  130.  UnBan = function() table.remove(Banned, Frame1.UnBanBox.Text) end,
  131.  God = function() game.Players[Frame1.GodBox.Text].Character.Humanoid.MaxHealth = math.huge end,
  132.  UnGod = function()  game.Players[Frame1.UnGodBox.Text].Character.Humanoid.MaxHealth = 100 end,
  133.  ForceField = function() Instance.new("ForceField", game.Players[Frame1.ForceFieldBox.Text].Character) end,
  134.  UnForceField = function() if game.Players[Frame1.UnForceFieldBox.Text].Character:FindFirstChild("ForceField") then game.Players[Frame1.UnForceFieldBox.Text].Character.ForceField:Destroy() end end,  
  135. }
  136.  
  137. local Scripts = {
  138.  ["Clear Terrain"] = function() game.Workspace.Terrain:Clear() end,
  139.  ["Kick Others"] = function() for _,v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then v:Destroy() end end end,
  140.  Shutdown = function() for _,v in pairs(game.Players:GetChildren()) do v:Destroy() end end,
  141.  ["Grim Reaper"] = function() Bp = game.Players.LocalPlayer.Backpack
  142.     jun = Bp.Parent
  143.     local o = 0
  144.    
  145.     BlastRing = Instance.new("Part")
  146.     BlastRing.Parent = game.Lighting
  147.     BlastRing.Name = "BlastRing"
  148.     BlastRing.formFactor = "Symmetric"
  149.     BlastRing.Size = Vector3.new(0, 0, 0)
  150.     BlastRing.CanCollide = false
  151.     BlastRing.TopSurface = "Smooth"
  152.     BlastRing.BottomSurface = "Smooth"
  153.     BlastRing.BrickColor = BrickColor.new("Really red")
  154.     BlastRing.Reflectance = 0
  155.     BlastRing.Anchored = true
  156.     Mesh2 = Instance.new("SpecialMesh")
  157.     Mesh2.Parent = BlastRing
  158.     Mesh2.MeshType = "FileMesh"
  159.     Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  160.     Mesh2.Scale = Vector3.new(1, 1, 1)
  161.    
  162.     ExsplosionRing = Instance.new("Part")
  163.     ExsplosionRing.Parent = game.Lighting
  164.     ExsplosionRing.Name = "Explosion Ring"
  165.     ExsplosionRing.formFactor = "Symmetric"
  166.     ExsplosionRing.Size = Vector3.new(0, 0, 0)
  167.     ExsplosionRing.CanCollide = false
  168.     ExsplosionRing.TopSurface = "Smooth"
  169.     ExsplosionRing.BottomSurface = "Smooth"
  170.     ExsplosionRing.BrickColor = BrickColor.new("Black")
  171.     ExsplosionRing.Transparency = 0.3
  172.     ExsplosionRing.Reflectance = 0
  173.     ExsplosionRing.Anchored = true
  174.     Mesh3 = Instance.new("SpecialMesh")
  175.     Mesh3.Parent = ExsplosionRing
  176.     Mesh3.MeshType = "FileMesh"
  177.     Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976"
  178.     Mesh3.Scale = Vector3.new(1, 1, 1)
  179.     Mesh3.Offset = Vector3.new(0,-2,0)
  180.    
  181.    
  182.     jun.Character.Humanoid.WalkSpeed = 0
  183.    
  184.     blastring2 = BlastRing:clone()
  185.     blastring2.Parent = jun.Character
  186.     blastring2.Position = jun.Character.Torso.Position
  187.     blastring2.BrickColor = BrickColor.new("Really red")
  188.     blastring2.Transparency = 0.5
  189.     blastring2.Reflectance = 0
  190.    
  191.     mk = Instance.new("Sound",blastring2)
  192.     mk.Volume = 1
  193.     mk.SoundId = "http://www.roblox.com/Asset?ID=211422742"
  194.     mk:Play()
  195.    
  196.     c = Instance.new("Sound",blastring2)
  197.     c.Volume = 1
  198.     c.SoundId = "http://www.roblox.com/Asset?ID=244578827"
  199.     c:Play()
  200.    
  201.     for i = 1, 50 do
  202.     wait(0.03)
  203.     blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  204.     blastring2.Transparency = blastring2.Transparency + 0.01
  205.     end
  206.    
  207.     blastring3 = ExsplosionRing:clone()
  208.     blastring3.Parent = jun.Character
  209.     blastring3.Position = jun.Character.Torso.Position
  210.     blastring3.BrickColor = BrickColor.new("Black")
  211.     blastring3.Transparency = 0.3
  212.     blastring3.Reflectance = 0
  213.    
  214.     p = Instance.new("Sound",blastring3)
  215.     p.Volume = 1
  216.     p.SoundId = "http://www.roblox.com/Asset?ID=180120107"
  217.    
  218.     for i = 1, 50 do
  219.     wait(0.03)
  220.     blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  221.     blastring3.Transparency = blastring3.Transparency + 0.01
  222.     end
  223.     c:Stop()
  224.     wait(.5)
  225.     mk:Stop()
  226.     p:Play()
  227.     blastring2:remove()
  228.     blastring3:Destroy()
  229.    
  230.     game.Players.LocalPlayer.Character.Torso.BrickColor = BrickColor.new("Dark stone grey")
  231.     game.Players.LocalPlayer.Character['Right Arm'].BrickColor = BrickColor.new("Dark stone grey")
  232.     game.Players.LocalPlayer.Character['Left Arm'].BrickColor = BrickColor.new("Dark stone grey")
  233.     game.Players.LocalPlayer.Character['Right Leg'].BrickColor = BrickColor.new("Dark stone grey")
  234.     game.Players.LocalPlayer.Character['Left Leg'].BrickColor = BrickColor.new("Dark stone grey")
  235.     game.Players.LocalPlayer.Character.Head.BrickColor = BrickColor.new("Dark stone grey")
  236.     game.Players.LocalPlayer.Character["Body Colors"].HeadColor = BrickColor.new("Dark stone grey")
  237.     game.Players.LocalPlayer.Character["Body Colors"].LeftArmColor = BrickColor.new("Dark stone grey")
  238.     game.Players.LocalPlayer.Character["Body Colors"].RightArmColor = BrickColor.new("Dark stone grey")
  239.     game.Players.LocalPlayer.Character["Body Colors"].LeftLegColor = BrickColor.new("Dark stone grey")
  240.     game.Players.LocalPlayer.Character["Body Colors"].RightLegColor = BrickColor.new("Dark stone grey")
  241.     game.Players.LocalPlayer.Character["Body Colors"].TorsoColor = BrickColor.new("Dark stone grey")
  242.     for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  243.     if v.ClassName == "Hat" then
  244.     v:Destroy()
  245.     end
  246.     end
  247.     for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  248.     if v.ClassName == "Shirt" then
  249.     v:Destroy()
  250.     end
  251.     end
  252.     for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  253.     if v.ClassName == "Pants" then
  254.     v:Destroy()
  255.     end
  256.     end
  257.     for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  258.     if v.ClassName == "ShirtGraphic" then
  259.     v:Destroy()
  260.     end
  261.     end
  262.     st = Instance.new("Shirt",game.Players.LocalPlayer.Character)
  263.     st.ShirtTemplate = "http://www.roblox.com/asset/?id=146541677"
  264.     pt = Instance.new("Pants",game.Players.LocalPlayer.Character)
  265.     pt.PantsTemplate = "http://www.roblox.com/asset/?id=146542180"
  266.     sg = Instance.new("ShirtGraphic",game.Players.LocalPlayer.Character)
  267.     sg.Graphic = "http://www.roblox.com/asset/?id=273262785"
  268.     game:GetObjects("rbxassetid://16469427")[1].Parent=game.Players.LocalPlayer.Character
  269.     wait(.5)
  270.     game:GetObjects("rbxassetid://133553855")[1].Parent=game.Players.LocalPlayer.Character
  271.     wait(.5)
  272.     game.Players.LocalPlayer.Character.Humanoid.MaxHealth = 21e8
  273.     wait(.5)
  274.     game.Players.LocalPlayer.Character.Humanoid.Health = 21e8
  275.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  276.    
  277.     bill = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  278.     bill.Size = UDim2.new(4, 0, 4.5, 0)
  279.     bill.AlwaysOnTop = true
  280.    
  281.     label = Instance.new("TextLabel", bill)
  282.     label.Size = UDim2.new(2, 0, 1, 0)
  283.             label.Position = UDim2.new(-0.5, 0, -0.5, 0)
  284.                 label.BackgroundTransparency = 1
  285.                 label.FontSize = "Size14"
  286.                 label.TextColor3 = Color3.new(170, 0, 0)   
  287.                 label.TextStrokeColor3 = Color3.new(0 ,0 ,0)
  288.                 label.TextStrokeTransparency = 0   
  289.             label.Text = "Grim Reaper"                 
  290.    
  291.     Stick = Instance.new("Tool", Bp)
  292.     Stick.Name = "Scythe"
  293.     Stick.GripPos = Vector3.new(0,0.1,0.7)
  294.     Stick.GripForward = Vector3.new(0.1,-1,0)
  295.     Stick.GripRight = Vector3.new(-0.5,0.01,0)
  296.     Stick.GripUp = Vector3.new(0,0,1)
  297.     Stick.CanBeDropped = false
  298.    
  299.     Handle = Instance.new("Part", Stick)
  300.     Handle.Name = "Handle"
  301.     Handle.Size = Vector3.new(1, 1.2, 5)
  302.    
  303.     sm = Instance.new("SpecialMesh",Handle)
  304.     sm.MeshId = "http://www.roblox.com/asset/?id=28140935"
  305.     sm.TextureId = "http://www.roblox.com/asset/?id=27739981"
  306.    
  307.     a = Instance.new("Animation")
  308.     a.Parent = game.Workspace
  309.     a.Name = "Slash"
  310.     a.AnimationId = "http://www.roblox.com/Asset?ID=28090109"
  311.    
  312.     v =  Instance.new("StringValue")
  313.     v.Parent = game.Players.LocalPlayer.Backpack.Scythe
  314.     v.Name = "name"
  315.     v.Value = "Slash"
  316.    
  317.     anime = Bp.Scythe.name.Value
  318.    
  319.     s = Instance.new("Sound",Stick)
  320.     s.Volume = 1
  321.     s.SoundId = "http://www.roblox.com/Asset?ID=220834000"
  322.    
  323.     q = Instance.new("Sound",Stick)
  324.     q.Volume = 1
  325.     q.SoundId = "http://www.roblox.com/Asset?ID=264486467"
  326.    
  327.     f = Instance.new("Sound",Stick)
  328.     f.Volume = 1
  329.     f.SoundId = "http://www.roblox.com/Asset?ID=178038408"
  330.    
  331.     z = Instance.new("Sound",Stick)
  332.     z.Volume = 1
  333.     z.SoundId = "http://www.roblox.com/Asset?ID=174048316"
  334.    
  335.     t = Instance.new("Sound",Stick)
  336.     t.Volume = 1
  337.     t.SoundId = "http://www.roblox.com/Asset?ID=151710120"
  338.    
  339.     gg = Instance.new("Sound",Stick)
  340.     gg.Volume = 1
  341.     gg.SoundId = "http://www.roblox.com/Asset?ID=142392721"
  342.    
  343.     l = Instance.new("Sound",Stick)
  344.     l.Volume = 1
  345.     l.SoundId = "http://www.roblox.com/Asset?ID=158012252"
  346.    
  347.     k = Instance.new("Sound",Stick)
  348.     k.Volume = 1
  349.     k.SoundId = "http://www.roblox.com/Asset?ID=148348789"
  350.    
  351.     j = Instance.new("Sound",Stick)
  352.     j.Volume = 1
  353.     j.SoundId = "http://www.roblox.com/Asset?ID=148348855"
  354.    
  355.     u = Instance.new("Sound",Stick)
  356.     u.Volume = 1
  357.     u.SoundId = "http://www.roblox.com/Asset?ID=151710118"
  358.    
  359.     i = Instance.new("Sound",Stick)
  360.     i.Volume = 1
  361.     i.SoundId = "http://www.roblox.com/Asset?ID=271787865"
  362.    
  363.     qq = Instance.new("Sound",Stick)
  364.     qq.Volume = 1
  365.     qq.SoundId = "http://www.roblox.com/Asset?ID=131076695"
  366.    
  367.     function onChatted(msg)
  368.     if msg == "death" then
  369.     for i,v in pairs(game.Players:GetChildren()) do
  370.     v.Character.Humanoid.Health = v.Character.Humanoid.Health-1000
  371.     end
  372.     end
  373.     end
  374.     game.Players.LocalPlayer.Chatted:connect(onChatted)
  375.    
  376.         Bp.Scythe.Equipped:connect(function(m)
  377.         f:Play()
  378.         wait(4.5)
  379.         z:Play()
  380.         m.Button1Down:connect(function()
  381.              hum = game.Players.LocalPlayer.Character.Humanoid
  382.              anim_feet = hum:LoadAnimation(game.Workspace.Slash)
  383.             current = anim_feet
  384.             current:Play()
  385.             s:Play()
  386.             wait(.5)
  387.             s:Play()
  388.             wait(.5)
  389.             s:Play()
  390.             end)
  391.     end)
  392.    
  393.     Bp.Scythe.Unequipped:connect(function(m)
  394.     f:Stop()
  395.     z:Stop()
  396.     o = 0
  397.     end)
  398.    
  399.     mouse = game.Players.LocalPlayer:GetMouse()
  400.     function onKeyed(key)
  401.     if key == "f" then
  402.     left = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]
  403.     for i = 1, 15 do
  404.     left.C0 = left.C0 *CFrame.Angles(0,0,-0.1)
  405.     wait(0.025)
  406.     end
  407.     de = Instance.new("Part", game.Players.LocalPlayer.Character["Left Arm"])
  408.     de.Transparency = 1
  409.     de.CanCollide = false
  410.     de.CFrame = game.Players.LocalPlayer.Character["Left Arm"].CFrame*CFrame.new(0,-2,0)
  411.     fe = Instance.new("Fire", de)
  412.     fe.Color = Color3.new(0,0,0)
  413.     fe.Heat = 5
  414.     fe.SecondaryColor = Color3.new(90,90,90)
  415.     fe.Size = 3
  416.     be = Instance.new("BodyVelocity", de)
  417.     be.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  418.     be.velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*20
  419.     for i =  1, 15 do
  420.     left.C0 = left.C0 *CFrame.Angles(0,0,0.1)
  421.     wait(0.025)
  422.     end
  423.     function onTouched(hit)
  424.     local humanoid = hit.Parent:findFirstChild("Humanoid")
  425.     if (humanoid ~=nil) then
  426.     hit.Parent.Humanoid.Health = 0
  427.     de:Destroy()
  428.     end
  429.     end
  430.     de.Touched:connect(onTouched)
  431.     wait(15)
  432.     de:Destroy()
  433.     end
  434.     end
  435.     mouse.KeyDown:connect(onKeyed)
  436.    
  437.     mouse = game.Players.LocalPlayer:GetMouse()
  438.     function onKeyed(key)
  439.     if key == "g" then
  440.     game.Players.LocalPlayer.Character["Right Arm"].Anchored = true
  441.     game.Players.LocalPlayer.Character["Left Arm"].Anchored = true
  442.     game.Players.LocalPlayer.Character["Right Leg"].Anchored = true
  443.     game.Players.LocalPlayer.Character["Left Leg"].Anchored = true
  444.     game.Players.LocalPlayer.Character.Torso.Anchored = true
  445.     game.Players.LocalPlayer.Character.Head.Anchored = true
  446.     for i = 1, 60 do
  447.     Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,0.5,0)
  448.     Handle.CFrame = Handle.CFrame * CFrame.new(0,-1.5,0)
  449.     wait(0.02)
  450.     end
  451.     for i = 1, 60 do
  452.     Handle.CFrame = Handle.CFrame * CFrame.fromEulerAnglesXYZ(0,-0.5,0)
  453.     Handle.CFrame = Handle.CFrame * CFrame.new(0,1.5,0)
  454.     wait(0.02)
  455.     end
  456.     wait(.5)
  457.     game.Players.LocalPlayer.Character["Right Arm"].Anchored = false
  458.     game.Players.LocalPlayer.Character["Left Arm"].Anchored = false
  459.     game.Players.LocalPlayer.Character["Right Leg"].Anchored = false
  460.     game.Players.LocalPlayer.Character["Left Leg"].Anchored = false
  461.     game.Players.LocalPlayer.Character.Torso.Anchored = false
  462.     game.Players.LocalPlayer.Character.Head.Anchored = false
  463.     game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 32
  464.     end
  465.     end
  466.     mouse.KeyDown:connect(onKeyed)
  467.    
  468.     local color1 = Color3.new(86, 86, 86)
  469.     local color2 = Color3.new(255, 255, 255)
  470.     local sequence = ColorSequence.new(color1,color2)
  471.     function onTouch(part)
  472.     local humanoid = part.Parent:findFirstChild("Humanoid")
  473.     if (humanoid ~=nil) then
  474.     if part.Parent.Name == game.Players.LocalPlayer.Name then
  475.     print("Can't Kill Owner")
  476.     else
  477.     q:Play()
  478.     z:Stop()
  479.     pe = Instance.new("ParticleEmitter",part.Parent.Torso)
  480.     pe.Texture = "http://www.roblox.com/asset/?id=251300537"
  481.     pe.Acceleration = Vector3.new(0,-10,0)
  482.     pe.Rate = 20
  483.     pe.Color = sequence
  484.     humanoid.Health = 0
  485.     local g = part.Parent.Torso:findFirstChild("Ghost")
  486.     if g then
  487.     print('Ghost Already Exists')
  488.     else
  489.     o = o+1
  490.     if o == 5 then
  491.     l:Play()
  492.     end
  493.     if o == 1 then
  494.     gg:Play()
  495.     end
  496.     if o == 3 then
  497.     t:Play()
  498.     end
  499.     if o == 10 then
  500.     k:Play()
  501.     end
  502.     if o == 15 then
  503.     j:Play()
  504.     end
  505.     if o == 2 then
  506.     u:Play()
  507.     end
  508.     if o == 8 then
  509.     i:Play()
  510.     end
  511.     if o == 13 then
  512.     qq:Play()
  513.     end
  514.     pe = Instance.new("Part",part.Parent.Torso)
  515.     pe.Position = part.Parent.Torso.Position
  516.     pe.Name = "Ghost"
  517.     pe.CanCollide = false
  518.     sp = Instance.new("SpecialMesh",pe)
  519.     sp.MeshId = "http://www.roblox.com/asset/?id=64445076"
  520.     sp.TextureId = "http://www.roblox.com/asset/?id=64445059"
  521.     bv = Instance.new("BodyVelocity",pe)
  522.     bv.velocity = Vector3.new(0,4,0)
  523.     wait(1)
  524.     pe:Destroy()
  525.     end
  526.     end
  527.     end
  528.     end
  529.     Bp.Scythe.Handle.Touched:connect(onTouch)
  530.    
  531.     local mouse = game.Players.LocalPlayer:GetMouse()
  532.     lp = game.Players.LocalPlayer
  533.     lpc = game.Players.LocalPlayer.Character
  534.    
  535.     local shock = Instance.new("Sound", lpc["Left Arm"])
  536.     shock.Volume = 1
  537.     shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
  538.    
  539.     fire = false
  540.     fired = 0
  541.  
  542. mouse.Button2Down:connect(function(click)
  543.     orb = Instance.new("Part", lpc)
  544.     orb.Name = "orb"
  545.     orb.Shape = "Ball"
  546.     orb.Size = Vector3.new(1.47, 1.47, 1.47)
  547.     orb.BrickColor = BrickColor.new("Really black")
  548.     orb.Transparency = 0.3
  549.    
  550.     local w = Instance.new("Weld", orb)
  551.     w.Part0 = orb
  552.     w.Part1 = lpc["Left Arm"]
  553.     w.C0 = CFrame.new(0,1,0)
  554.        
  555.     fire = true
  556.     while fire do
  557.         fired = fired+1
  558.        
  559.         if fired == 30 then
  560.             fired = 0
  561.             for i,v in pairs(game.Workspace:GetChildren()) do
  562.                 if v.Name == "strike" then
  563.                     v:Destroy()
  564.                 end
  565.             end
  566.         end
  567.        
  568.         wait(0)
  569.         local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 300)
  570.         local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
  571.        
  572.         local strike = Instance.new("Part", workspace) 
  573.         strike.BrickColor = BrickColor.new("Really black")
  574.         strike.FormFactor = "Custom"
  575.         strike.Transparency = 0.25
  576.         strike.Name = "strike"
  577.         strike.BottomSurface = "Smooth"
  578.         strike.TopSurface = "Smooth"
  579.         strike.Anchored = true
  580.         strike.Locked = true
  581.         strike.CanCollide = false
  582.    
  583.         local distance = (orb.CFrame.p - position).magnitude
  584.         strike.Size = Vector3.new(0.3, 0.3, distance)
  585.         strike.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  586.         shock:Stop()
  587.         shock:Play()
  588.        
  589.         game:GetService("Debris"):AddItem(strike, 0.1)
  590.        
  591.         if part then
  592.             local humanoid = part.Parent:FindFirstChild("Humanoid")
  593.  
  594.             if not humanoid then
  595.                 humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  596.             end
  597.  
  598.             if humanoid then
  599.                 humanoid:TakeDamage(2)
  600.             end
  601.         end
  602.     end
  603.     end)
  604.    
  605.     mouse.Button2Up:connect(function(click)
  606.         orb:Destroy()
  607.         fire = false
  608.     end) end,
  609.    
  610.      Cyborg = function() BlasterKey = "f"
  611.     EyeLaserKey = "q"
  612.     local lp = game.Players.LocalPlayer
  613.     local lpc = lp.Character
  614.     firable = false
  615.     blast = false
  616.     wait(0.05)
  617.     lpc["Body Colors"].HeadColor = BrickColor.new("Institutional white")
  618.     lpc["Body Colors"].LeftArmColor = BrickColor.new("Institutional white")
  619.     lpc["Body Colors"].LeftLegColor = BrickColor.new("Institutional white")
  620.     lpc["Body Colors"].RightArmColor = BrickColor.new("Institutional white")
  621.     lpc["Body Colors"].RightLegColor = BrickColor.new("Institutional white")
  622.     lpc["Body Colors"].TorsoColor = BrickColor.new("Institutional white")
  623.     for _,a in pairs(lpc:GetChildren()) do
  624.     if lpc.Torso:FindFirstChild("roblox") then
  625.     lpc.Torso.roblox:Destroy()
  626.     end
  627.     if a:IsA("Hat") or a:IsA("Shirt") or a:IsA("Pants") or a:IsA("ShirtGraphic")then
  628.     a:Destroy()
  629.     end
  630.     end
  631.     local shades = Instance.new("Part", lpc.Head)
  632.     shades.Size = Vector3.new(0.8,0.2,0.2)
  633.     shades.CanCollide = false
  634.     shades.BrickColor = BrickColor.new("Bright green")
  635.     shades.Position = lpc.Head.Position
  636.     local sw = Instance.new("Weld", shades)
  637.     sw.Part0 = shades
  638.     sw.Part1 = lpc.Head
  639.     sw.C0 = CFrame.new(0,-0.2,0.5)
  640.     local outline = Instance.new("Part", lpc.Torso)
  641.     outline.Size = Vector3.new(2.1,2.1,0.2)
  642.     outline.CanCollide = false
  643.     outline.BrickColor = BrickColor.new("Bright green")
  644.     outline.Position = lpc.Torso.Position
  645.     local olw = Instance.new("Weld", outline)
  646.     olw.Part0 = outline
  647.     olw.Part1 = lpc.Torso
  648.     local shadeso = Instance.new("Part", lpc.Head)
  649.     shadeso.Size = Vector3.new(0.85,0.25,0.25)
  650.     shadeso.CanCollide = false
  651.     shadeso.BrickColor = BrickColor.new("Really black")
  652.     shadeso.Position = lpc.Head.Position
  653.     local swo = Instance.new("Weld", shadeso)
  654.     swo.Part0 = shadeso
  655.     swo.Part1 = lpc.Head
  656.     swo.C0 = CFrame.new(0,-0.2,0.45)
  657.     local orb = Instance.new("Part", lpc.Torso)
  658.     orb.Size = Vector3.new(0.5,0.5,0.5)
  659.     orb.CanCollide = false
  660.     orb.Shape = "Ball"
  661.     orb.TopSurface = "Smooth"
  662.     orb.BottomSurface = "Smooth"
  663.     orb.BrickColor = BrickColor.new("Bright green")
  664.     orb.Position = lpc.Torso.Position
  665.     local swo = Instance.new("Weld", orb)
  666.     swo.Part0 = orb
  667.     swo.Part1 = lpc.Torso
  668.     swo.C0 = CFrame.new(0,0,0.45)
  669.     local shard1 = Instance.new("Part", lpc.Torso)
  670.     shard1.Size = Vector3.new(0.2,0.45,0.2)
  671.     shard1.CanCollide = false
  672.     shard1.BrickColor = BrickColor.new("Bright green")
  673.     shard1.Position = lpc.Torso.Position
  674.     local s1 = Instance.new("Weld", shard1)
  675.     s1.Part0 = shard1
  676.     s1.Part1 = lpc.Torso
  677.     s1.C0 = CFrame.new(0,-0.6,0.45)
  678.     local shard2 = Instance.new("Part", lpc.Torso)
  679.     shard2.Size = Vector3.new(0.2,0.45,0.2)
  680.     shard2.CanCollide = false
  681.     shard2.BrickColor = BrickColor.new("Bright green")
  682.     shard2.Position = lpc.Torso.Position
  683.     local s2 = Instance.new("Weld", shard2)
  684.     s2.Part0 = shard2
  685.     s2.Part1 = lpc.Torso
  686.     s2.C0 = CFrame.new(0,0.6,0.45)
  687.     local shard3 = Instance.new("Part", lpc.Torso)
  688.     shard3.Size = Vector3.new(0.45,0.2,0.2)
  689.     shard3.CanCollide = false
  690.     shard3.BrickColor = BrickColor.new("Bright green")
  691.     shard3.Position = lpc.Torso.Position
  692.     local s3 = Instance.new("Weld", shard3)
  693.     s3.Part0 = shard3
  694.     s3.Part1 = lpc.Torso
  695.     s3.C0 = CFrame.new(0.6,0,0.45)
  696.     local shard4 = Instance.new("Part", lpc.Torso)
  697.     shard4.Size = Vector3.new(0.45,0.2,0.2)
  698.     shard4.CanCollide = false
  699.     shard4.BrickColor = BrickColor.new("Bright green")
  700.     shard4.Position = lpc.Torso.Position
  701.     local s4 = Instance.new("Weld", shard4)
  702.     s4.Part0 = shard4
  703.     s4.Part1 = lpc.Torso
  704.     s4.C0 = CFrame.new(-0.6,0,0.45)
  705.     wait(0.05)
  706.     local torb = Instance.new("Part", lpc.Torso)
  707.     torb.Size = Vector3.new(0.5,0.5,0.5)
  708.     torb.CanCollide = false
  709.     torb.Shape = "Ball"
  710.     torb.TopSurface = "Smooth"
  711.     torb.BottomSurface = "Smooth"
  712.     torb.BrickColor = BrickColor.new("Bright green")
  713.     torb.Position = lpc.Torso.Position
  714.     local swo = Instance.new("Weld", orb)
  715.     swo.Part0 = torb
  716.     swo.Part1 = lpc.Torso
  717.     swo.C0 = CFrame.new(0,0,-0.45)
  718.     local tshard1 = Instance.new("Part", lpc.Torso)
  719.     tshard1.Size = Vector3.new(0.2,0.45,0.2)
  720.     tshard1.CanCollide = false
  721.     tshard1.BrickColor = BrickColor.new("Bright green")
  722.     tshard1.Position = lpc.Torso.Position
  723.     local ts1 = Instance.new("Weld", shard1)
  724.     ts1.Part0 = tshard1
  725.     ts1.Part1 = lpc.Torso
  726.     ts1.C0 = CFrame.new(0,-0.6,-0.45)
  727.     local tshard2 = Instance.new("Part", lpc.Torso)
  728.     tshard2.Size = Vector3.new(0.2,0.45,0.2)
  729.     tshard2.CanCollide = false
  730.     tshard2.BrickColor = BrickColor.new("Bright green")
  731.     tshard2.Position = lpc.Torso.Position
  732.     local ts2 = Instance.new("Weld", shard2)
  733.     ts2.Part0 = tshard2
  734.     ts2.Part1 = lpc.Torso
  735.     ts2.C0 = CFrame.new(0,0.6,-0.45)
  736.     local tshard3 = Instance.new("Part", lpc.Torso)
  737.     tshard3.Size = Vector3.new(0.45,0.2,0.2)
  738.     tshard3.CanCollide = false
  739.     tshard3.BrickColor = BrickColor.new("Bright green")
  740.     tshard3.Position = lpc.Torso.Position
  741.     local ts3 = Instance.new("Weld", tshard3)
  742.     ts3.Part0 = tshard3
  743.     ts3.Part1 = lpc.Torso
  744.     ts3.C0 = CFrame.new(0.6,0,-0.45)
  745.     local tshard4 = Instance.new("Part", lpc.Torso)
  746.     tshard4.Size = Vector3.new(0.45,0.2,0.2)
  747.     tshard4.CanCollide = false
  748.     tshard4.BrickColor = BrickColor.new("Bright green")
  749.     tshard4.Position = lpc.Torso.Position
  750.     local ts4 = Instance.new("Weld", tshard4)
  751.     ts4.Part0 = tshard4
  752.     ts4.Part1 = lpc.Torso
  753.     ts4.C0 = CFrame.new(-0.6,0,-0.45)
  754.     local la1 = Instance.new("Part", lpc["Left Arm"])
  755.     la1.CanCollide = false
  756.     la1.BrickColor = BrickColor.new("Bright green")
  757.     la1.Size = Vector3.new(1.1,2.1,0)
  758.     la1.Position = lpc["Left Arm"].Position
  759.     local la1w = Instance.new("Weld", lpc["Left Arm"])
  760.     la1w.Part0 = la1
  761.     la1w.Part1 = lpc["Left Arm"]
  762.     local la2 = Instance.new("Part", lpc["Left Arm"])
  763.     la2.CanCollide = false
  764.     la2.BrickColor = BrickColor.new("Bright green")
  765.     la2.Size = Vector3.new(0,2.1,1.1)
  766.     la2.Position = lpc["Left Arm"].Position
  767.     local la2w = Instance.new("Weld", lpc["Left Arm"])
  768.     la2w.Part0 = la2
  769.     la2w.Part1 = lpc["Left Arm"]
  770.     local lao = Instance.new("Part", lpc["Left Arm"])
  771.     lao.CanCollide = false
  772.     lao.Shape = "Ball"
  773.     lao.BrickColor = BrickColor.new("Bright green")
  774.     lao.Size = Vector3.new(0.5,0.5,0.5)
  775.     lao.TopSurface = "Smooth"
  776.     lao.BottomSurface = "Smooth"
  777.     la2.Position = lpc["Left Arm"].Position
  778.     local laow = Instance.new("Weld", lpc["Left Arm"])
  779.     laow.Part0 = lao
  780.     laow.Part1 = lpc["Left Arm"]
  781.     laow.C0 = CFrame.new(0,-1,0)
  782.     local ra1 = Instance.new("Part", lpc["Right Arm"])
  783.     ra1.CanCollide = false
  784.     ra1.BrickColor = BrickColor.new("Bright green")
  785.     ra1.Size = Vector3.new(1.1,2.1,0)
  786.     ra1.Position = lpc["Right Arm"].Position
  787.     local ra1w = Instance.new("Weld", lpc["Right Arm"])
  788.     ra1w.Part0 = ra1
  789.     ra1w.Part1 = lpc["Right Arm"]
  790.     local ra2 = Instance.new("Part", lpc["Right Arm"])
  791.     ra2.CanCollide = false
  792.     ra2.BrickColor = BrickColor.new("Bright green")
  793.     ra2.Size = Vector3.new(0,2.1,1.1)
  794.     ra2.Position = lpc["Right Arm"].Position
  795.     local ra2w = Instance.new("Weld", lpc["Right Arm"])
  796.     ra2w.Part0 = ra2
  797.     ra2w.Part1 = lpc["Right Arm"]
  798.     local rao = Instance.new("Part", lpc["Right Arm"])
  799.     rao.CanCollide = false
  800.     rao.Shape = "Ball"
  801.     rao.BrickColor = BrickColor.new("Bright green")
  802.     rao.Size = Vector3.new(0.5,0.5,0.5)
  803.     rao.TopSurface = "Smooth"
  804.     rao.BottomSurface = "Smooth"
  805.     ra2.Position = lpc["Right Arm"].Position
  806.     local raow = Instance.new("Weld", lpc["Right Arm"])
  807.     raow.Part0 = rao
  808.     raow.Part1 = lpc["Right Arm"]
  809.     raow.C0 = CFrame.new(0,-1,0)
  810.     local rl1 = Instance.new("Part", lpc["Right Leg"])
  811.     rl1.CanCollide = false
  812.     rl1.BrickColor = BrickColor.new("Bright green")
  813.     rl1.Size = Vector3.new(1.1,2.1,0)
  814.     rl1.Position = lpc["Right Leg"].Position
  815.     local rl1w = Instance.new("Weld", lpc["Right Leg"])
  816.     rl1w.Part0 = rl1
  817.     rl1w.Part1 = lpc["Right Leg"]
  818.     local rl2 = Instance.new("Part", lpc["Right Leg"])
  819.     rl2.CanCollide = false
  820.     rl2.BrickColor = BrickColor.new("Bright green")
  821.     rl2.Size = Vector3.new(0,2.1,1.1)
  822.     rl2.Position = lpc["Right Leg"].Position
  823.     local rl2w = Instance.new("Weld", lpc["Right Leg"])
  824.     rl2w.Part0 = rl2
  825.     rl2w.Part1 = lpc["Right Leg"]
  826.     local ll1 = Instance.new("Part", lpc["Left Leg"])
  827.     ll1.CanCollide = false
  828.     ll1.BrickColor = BrickColor.new("Bright green")
  829.     ll1.Size = Vector3.new(1.1,2.1,0)
  830.     ll1.Position = lpc["Left Leg"].Position
  831.     local ll1w = Instance.new("Weld", lpc["Left Leg"])
  832.     ll1w.Part0 = ll1
  833.     ll1w.Part1 = lpc["Left Leg"]
  834.     local ll2 = Instance.new("Part", lpc["Left Leg"])
  835.     ll2.CanCollide = false
  836.     ll2.BrickColor = BrickColor.new("Bright green")
  837.     ll2.Size = Vector3.new(0,2.1,1.1)
  838.     ll2.Position = lpc["Left Leg"].Position
  839.     local ll2w = Instance.new("Weld", lpc["Left Leg"])
  840.     ll2w.Part0 = ll2
  841.     ll2w.Part1 = lpc["Left Leg"]
  842.     local mouse = game.Players.LocalPlayer:GetMouse()
  843.     lp = game.Players.LocalPlayer
  844.     lpc = game.Players.LocalPlayer.Character
  845.     local shock = Instance.new("Sound", shades)
  846.     shock.Volume = 1
  847.     shock.SoundId = "http://www.roblox.com/asset/?id=184211520"
  848.     mouse.KeyDown:connect(function(key)
  849.     if key == EyeLaserKey and blast == false then
  850.     if firable == false then
  851.     blast = false
  852.     firable = true
  853.     elseif firable == true then
  854.     firable = false
  855.     end
  856.     end
  857.     end)
  858.     mouse.KeyDown:connect(function(key)
  859.     if key == BlasterKey and firable == false then
  860.     if blast == false then
  861.     blast = true
  862.     firable = false
  863.     elseif blast == true then
  864.     blast = false
  865.     end
  866.     end
  867.     end)
  868.     fire = false
  869.     fired = 0
  870.     mouse.Button1Down:connect(function(click)
  871.     if blast == true then
  872.     if lpc.Torso:FindFirstChild("Blaster") then
  873.     lpc.Torso.Blaster:Destroy()
  874.     end
  875.     if game.Workspace:FindFirstChild("Blaster") then
  876.     game.Workspace.Blaster:Destroy()
  877.     end
  878.     local borb = Instance.new("Part", lpc.Torso)
  879.     borb.Name = "Blaster"
  880.     borb.Size = Vector3.new(0.5,0.5,0.5)
  881.     borb.CanCollide = false
  882.     borb.Shape = "Ball"
  883.     borb.TopSurface = "Smooth"
  884.     borb.BottomSurface = "Smooth"
  885.     borb.BrickColor = BrickColor.new("Bright green")
  886.     borb.Position = lpc.Torso.Position
  887.     local swob = Instance.new("Weld", borb)
  888.     swob.Part0 = lpc.Torso
  889.     swob.Part1 = borb
  890.     swob.C0 = CFrame.new(0,0,-2)
  891.     for i = 1, 20 do
  892.     wait(0.03)
  893.     borb.Size = borb.Size+Vector3.new(0.1,0.1,0.1)
  894.     local swob = Instance.new("Weld", borb)
  895.     swob.Part0 = lpc.Torso
  896.     swob.Part1 = borb
  897.     swob.C0 = CFrame.new(0,0,-2)
  898.     end
  899.     local fib = Instance.new("Fire", borb)
  900.     fib.Color = Color3.new(10, 255, 10)
  901.     fib.SecondaryColor = Color3.new(25, 50, 25)
  902.     borb:Clone().Parent = game.Workspace
  903.     borb:Destroy()
  904.     wait(0.03)
  905.     game.Workspace.Blaster.Weld:Destroy()
  906.     local y = Instance.new("BodyVelocity", game.Workspace.Blaster)
  907.     y.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  908.     y.velocity = lpc.Torso.CFrame.lookVector*80
  909.     game.Workspace.Blaster.Touched:connect(function(hit)
  910.     if hit.Parent:FindFirstChild("Humanoid") then
  911.     hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health - math.random(15,35)
  912.     game.Workspace.Blaster:Destroy()
  913.     else
  914.     game.Workspace.Blaster:Destroy()
  915.     end
  916.     end)
  917.     else
  918.     if firable == true then
  919.     fire = true
  920.     while fire do
  921.     fired = fired+1
  922.     if fired == 30 then
  923.     fired = 0
  924.     for i,v in pairs(game.Workspace:GetChildren()) do
  925.     if v.Name == "strike" then
  926.     v:Destroy()
  927.     end
  928.     end
  929.     end
  930.     wait(0)
  931.     local ray = Ray.new(shades.CFrame.p, (mouse.Hit.p - shades.CFrame.p).unit * 300)
  932.     local part, position = workspace:FindPartOnRay(ray, lp.Character, false, true)
  933.     local strike = Instance.new("Part", workspace) 
  934.     strike.BrickColor = BrickColor.new("Bright green")
  935.     strike.FormFactor = "Custom"
  936.     strike.Transparency = 0.25
  937.     strike.Name = "strike"
  938.     strike.BottomSurface = "Smooth"
  939.     strike.TopSurface = "Smooth"
  940.     strike.Anchored = true
  941.     strike.Locked = true
  942.     strike.CanCollide = false
  943.     local distance = (shades.CFrame.p - position).magnitude
  944.     strike.Size = Vector3.new(0.8, 0.2, distance)
  945.     strike.CFrame = CFrame.new(shades.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  946.     shock:Stop()
  947.     shock:Play()   
  948.     game:GetService("Debris"):AddItem(strike, 0.1)
  949.     if part then
  950.     local humanoid = part.Parent:FindFirstChild("Humanoid")
  951.     if not humanoid then
  952.     humanoid = part.Parent.Parent:FindFirstChild("Humanoid")
  953.     end
  954.     if humanoid then
  955.     humanoid:TakeDamage(2)
  956.     end
  957.     end
  958.     end
  959.     end
  960.     end
  961.     end)
  962.     mouse.Button1Up:connect(function(click)
  963.     fire = false
  964.     end)
  965.     end,
  966.    
  967.  ["Spam Friend/Follow"] = function() local RobloxReplicatedStorage = game:GetService('RobloxReplicatedStorage')
  968.  
  969.     RemoteEvent_NewFollower = RobloxReplicatedStorage:WaitForChild('NewFollower')
  970.  
  971.     game["Run Service"].RenderStepped:connect(function()
  972.     wait(0)
  973.     for i,v in pairs(game.Players:GetChildren()) do
  974.  
  975.     game.Players.LocalPlayer:RequestFriendship(v)
  976.  
  977.     RemoteEvent_NewFollower:FireServer(v, true)
  978.  
  979.     wait(0.01)
  980.  
  981.     RemoteEvent_NewFollower:FireServer(v, false)
  982.  
  983.     game.Players.LocalPlayer:RevokeFriendship(v)
  984.     end
  985.     end)
  986.     end,
  987.  
  988.  AimWorks = function()
  989.     --   /$$$$$$  /$$$$$$ /$$      /$$ /$$      /$$  /$$$$$$  /$$$$$$$  /$$   /$$  /$$$$$$         /$$$$$$      /$$$$$$
  990.     --  /$$__  $$|_  $$_/| $$$    /$$$| $$  /$ | $$ /$$__  $$| $$__  $$| $$  /$$/ /$$__  $$       /$$__  $$    /$$__  $$
  991.     -- | $$  \ $$  | $$  | $$$$  /$$$$| $$ /$$$| $$| $$  \ $$| $$  \ $$| $$ /$$/ | $$  \__/      |__/  \ $$   |__/  \ $$
  992.     -- | $$$$$$$$  | $$  | $$ $$/$$ $$| $$/$$ $$ $$| $$  | $$| $$$$$$$/| $$$$$/  |  $$$$$$          /$$$$$/     /$$$$$$/
  993.     -- | $$__  $$  | $$  | $$  $$$| $$| $$$$_  $$$$| $$  | $$| $$__  $$| $$  $$   \____  $$        |___  $$    /$$____/
  994.     -- | $$  | $$  | $$  | $$\  $ | $$| $$$/ \  $$$| $$  | $$| $$  \ $$| $$\  $$  /$$  \ $$       /$$  \ $$   | $$      
  995.     -- | $$  | $$ /$$$$$$| $$ \/  | $$| $$/   \  $$|  $$$$$$/| $$  | $$| $$ \  $$|  $$$$$$/      |  $$$$$$//$$| $$$$$$$$
  996.     -- |__/  |__/|______/|__/     |__/|__/     \__/ \______/ |__/  |__/|__/  \__/ \______/        \______/|__/|________/
  997.     -- "IT ACTUALLY WORKS THIS TIME"
  998.    
  999.    
  1000.     -- AIMWORKS 3.2: NEARLY DECENT..
  1001.     -- THE GREATEST AIMBOT ON ROBLOX
  1002.     -- AND PROBABLY THE BUGGIEST TOO
  1003.     -- BUT WHATEVER IT'S GOOD ENOUGH
  1004.     -- WRITTEN BY UNREAL AND SCAPTER
  1005.     -- THANKS AUSTIN, CACA22, SAFAZI
  1006.     -- THANKS THETRUERIAS TOO UR GR8
  1007.     -- THANKS FOR CHOOSING FAZE SHIT
  1008.     -- SHOUTOUT TO CHROME/XETRICS XD
  1009.    
  1010.     -- i should probably be using userinputservice
  1011.     -- tbh i shud probably get working on proper FOV stuffs
  1012.     -- prune dead vars
  1013.     -- FOV restrictions
  1014.     -- ESPP :D(Chams - Scap)
  1015.    
  1016.     -- added in this version (3.1): huge amount of bug fixes, even uglier code (i keep impressing myself with how bad this can get... i need 2 rewrite this soon),  
  1017.    
  1018.     local accuracy = 80
  1019.     local aimkey = "f" --Disable/Enable AimWorks
  1020.     local toggle_teamcheck = "h" --Ez-Pz Fix so people don't have to rejoin on FFA/TDM Games.
  1021.     local lassokey = "q" --Disable/Enable Lasso Rendering
  1022.     local control = "p" --Hide/UnHide Gui
  1023.     local headshot = 35
  1024.     local ignoreFOV    =  true
  1025.     local ignoreWalls  =  true
  1026.     local perfect_aim  =  true
  1027.     local perfect_aim_firstperson_distance = 28
  1028.     local rage_triggers = false --Elysian Only
  1029.     local RenderLassos =  true
  1030.     local ShootingTeam =  false -- will target neutral people anyways XDDD
  1031.     local SpreadControlRadius = Vector3.new(25, 25, 15) -- the larger you make those numbers the more likely your bullet is to hit. anything above 25, 25, 25 is a bit much. try 15, 15, 5
  1032.     local trigger_speed = 0.1
  1033.     local triggers  =  false --Elysian Only
  1034.     local Chams = true --Works now!??!!?
  1035.    
  1036.     --Player Whitelist(People who don't get shot at.)
  1037.     local Whitelist = {"ihanks", "Lua_Environment", "like_clockwork", "Gin_Freecs", "AimWorks"}
  1038.     for i,v in pairs(game.Players:GetChildren()) do  --Adds anyone in-game who's friends with the Currenet player into the list.
  1039.         if game.Players.LocalPlayer:IsFriendsWith(v.userId) then
  1040.             table.insert(Whitelist, v.Name)
  1041.         end
  1042.     end
  1043.    
  1044.     game.Players.PlayerAdded:connect(function(player) --Adds friends to whitelist if they're just joining the game.
  1045.         if game.Players.LocalPlayer:IsFriendsWith(player.userId) then
  1046.             table.insert(Whitelist, player.Name)
  1047.         end
  1048.     end)
  1049.    
  1050.     -- todo --
  1051.     _G.SwordFightMode = false -- stuff that i am testing goes in _G. so i can toggle it
  1052.    
  1053.     -- aim engine vars
  1054.     -- todo: more priorities
  1055.     -- prune dead vars
  1056.     local aim_through_list = {nil, nil, nil}
  1057.     local bone_name
  1058.     local camera = workspace.CurrentCamera
  1059.     local closest_distance
  1060.     local deathBlock
  1061.     local distance
  1062.     local FilteringEnabled = workspace.FilteringEnabled
  1063.     local huge = math.huge
  1064.     local in_fov
  1065.     local lasso
  1066.     local localplayer = game:GetService("Players").LocalPlayer
  1067.     local most_viable_player
  1068.     local mouse = localplayer:GetMouse()
  1069.     local CreatorId = game.CreatorId
  1070.     local players_service = game:GetService("Players")
  1071.     local position
  1072.     local random = math.random
  1073.     local ray = Ray.new
  1074.     local ray_start
  1075.     local running = true
  1076.     local sleeping
  1077.     local target
  1078.     local tele_bone
  1079.     local targ_bone
  1080.     local ticksslept = 0
  1081.     local trigger_debounce
  1082.     local vector
  1083.     local viableplayers = {}
  1084.    
  1085.     local function FindInstance(instance_className, search_directory) -- i can inline this in a LOT of places... plus i can very very easily make this return a table of all found parts if a certain parameter is passed... might add that feature to my boilerplate
  1086.    
  1087.         if not search_directory then return end
  1088.    
  1089.         for i, v in pairs(search_directory:GetChildren()) do
  1090.             if v.className == instance_className then
  1091.                 return(v)
  1092.             end
  1093.         end
  1094.    
  1095.     end
  1096.    
  1097.     local function CreateBlockOfDeath()
  1098.    
  1099.         if deathBlock then deathBlock:Destroy() end
  1100.    
  1101.         deathBlock = Instance.new("Part", workspace)
  1102.         deathBlock.CanCollide = false
  1103.         deathBlock.Size = SpreadControlRadius
  1104.         deathBlock.Locked = true
  1105.         mouse.TargetFilter = deathBlock
  1106.         return deathBlock -- unnecessary
  1107.    
  1108.     end -- Finished
  1109.    
  1110.     local function ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, bone) -- note: figure out what i wanted to do with datas in here
  1111.    
  1112.         if not bone then
  1113.             return {_, false}
  1114.         end
  1115.    
  1116.         return camera:WorldToScreenPoint(player.Character[bone].Position)
  1117.    
  1118.     end
  1119.    
  1120.     local function ReturnsPlayerCheckResults(player)
  1121.    
  1122.         -- Checks teams. If we won't shoot teammates and they're a teammate when we're not neutral, target them. We do this now because it can save a lot of FPS.
  1123.         if not ShootingTeam then -- if not shooting teammates
  1124.             if player.TeamColor == localplayer.TeamColor then -- if we're not shooting teammates and they're teammates
  1125.                 if not (player.Neutral and localplayer.Neutral) then -- if we're not shooting teammates and they're teammates and they're not neutral
  1126.                     return false
  1127.                 end
  1128.             end
  1129.         end
  1130.        
  1131.         --Read through player 'Whitelist'
  1132.         for i,v in pairs(Whitelist) do
  1133.             if player.Name == v then
  1134.                 return false
  1135.             end
  1136.         end
  1137.        
  1138.         -- Checks if person is yourself.
  1139.         if player == localplayer then
  1140.             return false
  1141.         end
  1142.    
  1143.         -- Checks if the player can be hurt.
  1144.         if FindInstance("ForceField", player.Character) or FindInstance("Humanoid", player.Character, true).MaxHealth == huge then
  1145.             return false
  1146.         end
  1147.    
  1148.         -- Checks if they're dead.
  1149.         if FindInstance("Humanoid", player.Character, true).Health == 0 then
  1150.             return false
  1151.         end
  1152.    
  1153.         -- Checks if person is in FOV.
  1154.         local screen_position, in_fov = ReturnsScreenCoordinatesAsVectorAndFOVChecksAsBool(player, "Torso")
  1155.         if not (in_fov or ignoreFOV) then
  1156.             return false
  1157.         else
  1158.             return player, screen_position
  1159.         end
  1160.    
  1161.     end
  1162.    
  1163.     local function ReturnsBoneOrFalse(player)
  1164.    
  1165.         if perfect_aim then
  1166.             return (FilteringEnabled and "Head" or "Left Arm") -- should be Head or left arm
  1167.         end
  1168.    
  1169.         if not (random(1, 100) <= accuracy) then
  1170.             return false
  1171.         end
  1172.    
  1173.         if (random(1, 100) <= headshot) and FilteringEnabled then
  1174.             return "Head"
  1175.         end
  1176.    
  1177.         return "Left Arm" -- should be left arm
  1178.    
  1179.     end
  1180.    
  1181.  
  1182. -- rewrite for cursor distance checks then optimize
  1183. local function ReturnsViablePlayerOrNil() -- this is a clusterfuck i should probably branch this off into more functions... especially one for raycasting
  1184.     aim_through_list[1], aim_through_list[2] = deathBlock, localplayer.Character
  1185.     local distance = 1000
  1186.     local closest_distance = 1000
  1187.     local most_viable_player = nil
  1188.  
  1189.     -- FPS optimizations for shitty pcs... should more than double FPS in some situations. not really necessary for me :D..
  1190.     -- if sleeping and ticksslept ~= 15 then
  1191.     --  ticksslept = ticksslept + 1
  1192.     --  return target
  1193.     -- end
  1194.  
  1195.     local your_character = localplayer.Character
  1196.     local your_head = your_character and your_character:FindFirstChild "Head"
  1197.  
  1198.     for i, player_being_checked in pairs(players_service:GetPlayers()) do -- getplayers is underrated
  1199.  
  1200.         local player_or_false, targets_coordinates = ReturnsPlayerCheckResults(player_being_checked)
  1201.  
  1202.         if player_or_false then
  1203.  
  1204.             local char = player_being_checked.Character
  1205.             local target_torso = char and char:FindFirstChild "Torso" -- where the ray will aim/shoot for
  1206.  
  1207.             if target_torso then
  1208.  
  1209.                 -- phantom fuckery tbh
  1210.                 -- aim ahead (why arent we just taking advantage of ignorerays austin tf) of gun sights... Swag :O
  1211.                 if (camera.Focus.p - camera.CoordinateFrame.p).magnitude <= 1 then
  1212.                     ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0)
  1213.                 else
  1214.                     ray_start = your_head.Position + Vector3.new(0, 2, 0)
  1215.                 end
  1216.  
  1217.                 -- ray_start = your_head.Position + your_head.CFrame.lookVector * 10 + Vector3.new(0, 3, 0) -- doododoo do DOODODOododoDoERFAhaagr
  1218.  
  1219.                 if not targets_coordinates then -- unnecessary rn
  1220.                     distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude -- broken
  1221.                 else
  1222.                     distance = (Vector2.new(targets_coordinates.X, targets_coordinates.Y) - Vector2.new(mouse.X, mouse.Y)).magnitude
  1223.                 end
  1224.                 vector = (target_torso.Position - ray_start)
  1225.  
  1226.                 -- distance = vector -- bug
  1227.  
  1228.                 if (not targets_coordinates) or (distance <= closest_distance) then
  1229.  
  1230.                     -- create ray that starts at 'ray_start' and points towards the target
  1231.                     local new_ray = ray(ray_start, vector.unit * 1000) -- "fire" ray and make sure to ignore our own character
  1232.                     local hit, position = workspace:FindPartOnRayWithIgnoreList(new_ray, aim_through_list) -- check if the ray hit anything and if it's a descendant of the target's character
  1233.  
  1234.                     if (hit and hit:isDescendantOf(char)) or ignoreWalls then
  1235.                         -- only change closest_distance if the target character is visible
  1236.                         closest_distance = distance
  1237.                         most_viable_player = player_being_checked
  1238.                     end -- hit or ignore walls
  1239.  
  1240.                 end -- meets distance or no priority
  1241.  
  1242.             end -- closes player_or_false
  1243.  
  1244.         end -- closes player_or_false check
  1245.     end -- closes table loop
  1246.  
  1247.     blockName = ReturnsBoneOrFalse(most_viable_player)
  1248.     sleeping = true
  1249.     return most_viable_player
  1250.  
  1251. end -- closes function
  1252.  
  1253.  
  1254. function CreateChams()
  1255.     if Chams then
  1256.         for _,q in pairs(camera:GetChildren()) do
  1257.             if q:IsA("BoxHandleAdornment") then
  1258.                 q:Destroy()
  1259.             end
  1260.         end
  1261.         for _,v in pairs(game.Players:GetChildren()) do
  1262.             if v.Name ~= game.Players.LocalPlayer.Name and v.Character then
  1263.                 for _,c in pairs(v.Character:GetChildren()) do
  1264.                     if c.Name ~= "Head" and c:IsA("BasePart") then
  1265.                         for _,p in pairs(Whitelist) do
  1266.                             if v.TeamColor == game.Players.LocalPlayer.TeamColor or v.Name == p then
  1267.                                 local esp = Instance.new("BoxHandleAdornment", camera)
  1268.                                 esp.Color3 = Color3.new(0, 255, 0)
  1269.                                 esp.Size = c.Size
  1270.                                 esp.AlwaysOnTop = true
  1271.                                 esp.ZIndex = 1
  1272.                                 esp.Adornee = c
  1273.                             elseif v.TeamColor ~= game.Players.LocalPlayer.TeamColor then
  1274.                                 local esp = Instance.new("BoxHandleAdornment", camera)
  1275.                                 esp.Color3 = Color3.new(255, 0, 0)
  1276.                                 esp.Size = c.Size
  1277.                                 esp.AlwaysOnTop = true
  1278.                                 esp.ZIndex = 1
  1279.                                 esp.Adornee = c
  1280.                             end
  1281.                         end
  1282.                     end
  1283.                 end
  1284.             end
  1285.         end
  1286.     end
  1287. end
  1288.  
  1289. CreateChams()
  1290.  
  1291. game.Workspace.ChildAdded:connect(function(child)
  1292.     if child:IsA("Model") or child:IsA("Folder") or child:IsA("BasePart") then
  1293.         CreateChams()
  1294.     end
  1295. end)
  1296.  
  1297. game.Workspace.ChildRemoved:connect(function(child)
  1298.     if child:IsA("Model") or child:IsA("Folder") then
  1299.         CreateChams()
  1300.     end
  1301. end)
  1302.  
  1303. game.Players.LocalPlayer.Changed:connect(function()
  1304.     CreateChams()
  1305. end)
  1306.  
  1307. local function TargetPlayer(player) -- this needs to be refactored
  1308.  
  1309.     -- not needed anymore unless you want sticky aim (this can be a good thing) or the aimbot lags you
  1310.     -- sticky aim would be defined as "wont instantly target another guy if they enter the screen"
  1311.  
  1312.     -- if ticksslept == 15 then -- ok
  1313.     --  ticksslept = 0
  1314.     --  sleeping = false
  1315.     -- end
  1316.    
  1317.     if aim_through_list[3] then
  1318.         aim_through_list[3].Position = aim_through_list[3].Position + Vector3.new(0,200,0)
  1319.         table.remove(aim_through_list, 3)
  1320.     end
  1321.  
  1322.     if not player then -- i see this and i pretty much give up on rewriting
  1323.         if lasso then lasso:Destroy() lasso = nil end -- this feels wrong. i cant stand reusing code outside functions >:(
  1324.         target = nil
  1325.         lasso = Instance.new("SelectionPointLasso", camera)
  1326.         lasso.Humanoid, lasso.Point = FindInstance("Humanoid", localplayer.Character, true), mouse.Hit.p
  1327.         lasso.Color3 = Color3.new(0,255,0)
  1328.         return -- this one line here determines a surprising amount about how the aimbot works XD
  1329.         -- thats not a good thing :(
  1330.     end
  1331.  
  1332.     if RenderLassos then -- should be snaplassos... always gon be lassos tbh
  1333.         if lasso then lasso:Destroy() lasso = nil end
  1334.         lasso = Instance.new("SelectionPartLasso", camera)
  1335.         lasso.Humanoid, lasso.Part = FindInstance("Humanoid", player.Character, true), game.Players.LocalPlayer.Character.Torso
  1336.         lasso.Color3 = Color3.new(0,255,0)
  1337.     end
  1338.  
  1339.     bone_name = ReturnsBoneOrFalse(player)
  1340.  
  1341.     if player.Character.Head and bone_name then
  1342.         -- this lets us force headshots :D
  1343.         tele_bone = player.Character[bone_name]
  1344.         tele_bone.Parent = player.Character
  1345.         tele_bone.Size = SpreadControlRadius
  1346.         tele_bone.CanCollide = false
  1347.         tele_bone.CFrame = CFrame.new(workspace.CurrentCamera.CoordinateFrame.p + workspace.CurrentCamera.CoordinateFrame.lookVector * perfect_aim_firstperson_distance, workspace.CurrentCamera.CoordinateFrame.p) -- // thx to my main man safazi,,,, for this and for showing me the magic of coordinateframe <3
  1348.         tele_bone.Transparency=1
  1349.         tele_bone:ClearAllChildren()
  1350.         table.insert(aim_through_list, 3, tele_bone)
  1351.         -- swager
  1352.         target = player
  1353.         return player
  1354.  
  1355.     end
  1356.  
  1357.     if bone_name then
  1358.         deathBlock.Parent = player.Character
  1359.         deathBlock.CanCollide = false
  1360.         deathBlock.Name = bone_name
  1361.     else
  1362.         return
  1363.     end
  1364.  
  1365.     target = player
  1366.     return player
  1367.  
  1368. end
  1369.  
  1370.  
  1371. --[[
  1372.  
  1373. INIT PROCESS DOCUMENTATION:
  1374.  
  1375. 1] CREATE DEATHBLOCK
  1376. 2] MAKE DEATHBLOCK REGENERATE
  1377. 3] USE BINDTORENDERSTEP TO START AIMBOT LOOP
  1378. 4] DETECT KEY INPUT (WITHOUT USERINPUTSERVICE. I KNOW THAT IM LAME)
  1379.  
  1380. ]]--
  1381.  
  1382.  
  1383. CreateBlockOfDeath()
  1384. workspace.DescendantRemoving:connect(function(instance)
  1385.     if instance == deathBlock then CreateBlockOfDeath() end
  1386. end)
  1387. -- Keeps blockie safe :33 XD
  1388.  
  1389. -- test? havent tried
  1390. local function shoot() -- elysian only :33333 XDd. bother jordan, not mememememe.
  1391.  
  1392.     if not mouse1press then return end
  1393.  
  1394.     if trigger_debounce then return end
  1395.  
  1396.     trigger_debounce = true
  1397.  
  1398.     if rage_triggers and mouse1press() then
  1399.  
  1400.         mouse1press()
  1401.         wait(0.1)
  1402.         mouse1release()
  1403.  
  1404.     elseif mouse1press then
  1405.  
  1406.         mouse1press()
  1407.         wait(0)
  1408.         mouse1release()
  1409.         wait(trigger_speed)
  1410.  
  1411.     end
  1412.  
  1413.     trigger_debounce = false
  1414.  
  1415. end
  1416.  
  1417. -- refaactorrrr
  1418. game:GetService("RunService"):BindToRenderStep("First", Enum.RenderPriority.First.Value, function() -- another clusterfuck
  1419.  
  1420.     if running then
  1421.         if localplayer.Character then -- pretty sure i do this in getviableplayer lmao tbh
  1422.             TargetPlayer(ReturnsViablePlayerOrNil())
  1423.             if target and target.Character then
  1424.                 if localplayer:GetMouse().Target == deathBlock then return end -- praise targetfilter!
  1425.                 -- later
  1426.                 -- deathBlock.CFrame = CFrame.new(localplayer.Character.Head.Position + (mouse.Hit.p + localplayer.Character.Head.Position).unit * 16)
  1427.                 -- print(deathBlock)
  1428.                 if triggers then shoot() end
  1429.             else
  1430.                 deathBlock.Parent = workspace
  1431.             end
  1432.         end
  1433.     end
  1434.  
  1435. end)
  1436.  
  1437. local Keys = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  1438. Keys.Name = "AimWorks Container"
  1439. local Frame = Instance.new("Frame", Keys)
  1440. Frame.Name = "Holder"
  1441. Frame.BackgroundColor3 = Color3.new(62/255, 62/255, 62/255)
  1442. Frame.BackgroundTransparency = 0.3
  1443. Frame.BorderSizePixel = 2
  1444. Frame.BorderColor3 = Color3.new(255,255,255)
  1445. Frame.Size = UDim2.new(0, 200, 0, 300)
  1446. Frame.Position = UDim2.new(0, 0, 0.5, 0)
  1447. local Aim = Instance.new("TextLabel", Frame)
  1448. Aim.BackgroundTransparency = 1
  1449. Aim.Size = UDim2.new(0, 200, 0, 100)
  1450. Aim.FontSize = "Size32"
  1451. Aim.Font = "SourceSans"
  1452. Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
  1453. Aim.TextColor3 = Color3.new(255, 255, 255)
  1454. Aim.TextXAlignment = "Left"
  1455. Aim.TextStrokeTransparency = 0
  1456. Aim.TextYAlignment = "Top"
  1457. Aim.TextWrapped = true
  1458. local Team = Instance.new("TextLabel", Frame)
  1459. Team.Position = UDim2.new(0, 0, 0, 100)
  1460. Team.BackgroundTransparency = 1
  1461. Team.Size = UDim2.new(0, 200, 0, 100)
  1462. Team.FontSize = "Size32"
  1463. Team.Font = "SourceSans"
  1464. Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
  1465. Team.TextColor3 = Color3.new(255, 255, 255)
  1466. Team.TextXAlignment = "Left"
  1467. Team.TextStrokeTransparency = 0
  1468. Team.TextYAlignment = "Top"
  1469. Team.TextWrapped = true
  1470. local Run = Instance.new("TextLabel", Frame)
  1471. Run.Position = UDim2.new(0, 0, 0, 200)
  1472. Run.BackgroundTransparency = 1
  1473. Run.Size = UDim2.new(0, 200, 0, 100)
  1474. Run.FontSize = "Size32"
  1475. Run.Font = "SourceSans"
  1476. Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
  1477. Run.TextColor3 = Color3.new(255, 255, 255)
  1478. Run.TextXAlignment = "Left"
  1479. Run.TextStrokeTransparency = 0
  1480. Run.TextYAlignment = "Top"
  1481. Run.TextWrapped = true
  1482.  
  1483. local keydown = mouse.KeyDown:connect(function(keys)
  1484.     if (keys == aimkey) then
  1485.         running = not running
  1486.         if (running) then
  1487.             print("[SILENTAIM] activated.")
  1488.             Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
  1489.         else
  1490.             print("[SILENTAIM] deactivated.")
  1491.             Run.Text = " Running: "..tostring(running).." \n Key: "..aimkey
  1492.         end
  1493.     end
  1494. end)
  1495.  
  1496. local keydowns = mouse.KeyDown:connect(function(keys)
  1497.     if (keys == toggle_teamcheck) then
  1498.         if (ShootingTeam) then
  1499.             print("[SILENTAIM] Team Shooting deactivated")
  1500.             ShootingTeam = false
  1501.             Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
  1502.         else
  1503.             print("[SILENTAIM] Team Shooting activated")
  1504.             ShootingTeam = true
  1505.             Team.Text = " Team Check: \n "..tostring(ShootingTeam).." \n Key: "..toggle_teamcheck
  1506.         end
  1507.     end
  1508. end)
  1509.  
  1510. local keydowns = mouse.KeyDown:connect(function(keys)
  1511.     if (keys == lassokey) then
  1512.         if (RenderLassos) then
  1513.             print("[SILENTAIM] No Longer Rendering Lassos")
  1514.             RenderLassos = false
  1515.             Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
  1516.         else
  1517.             print("[SILENTAIM] Rendering Lassos")
  1518.             RenderLassos = true
  1519.             Aim.Text = " Rendering Lassos: "..tostring(RenderLassos).." \n Key: "..lassokey
  1520.         end
  1521.     end
  1522. end)
  1523.  
  1524. local keydowns = mouse.KeyDown:connect(function(keys)
  1525.     if (keys == control) then
  1526.         if (Frame.Visible == true) then
  1527.             Frame.Visible = false
  1528.         else
  1529.            Frame.Visible = true
  1530.         end
  1531.     end
  1532. end) end,
  1533.  
  1534.  ["Poison Mage"] = function() --Lets create a cool load-up animation.
  1535. Bp = game.Players.LocalPlayer.Backpack
  1536. jun = Bp.Parent
  1537.  
  1538. BlastRing = Instance.new("Part") --Creating the spike ball.
  1539. BlastRing.Parent = game.Lighting
  1540. BlastRing.Name = "BlastRing"
  1541. BlastRing.formFactor = "Symmetric"
  1542. BlastRing.Size = Vector3.new(0, 0, 0)
  1543. BlastRing.CanCollide = false
  1544. BlastRing.TopSurface = "Smooth"
  1545. BlastRing.BottomSurface = "Smooth"
  1546. BlastRing.BrickColor = BrickColor.new("Forest green")
  1547. BlastRing.Reflectance = 0
  1548. BlastRing.Anchored = true
  1549. Mesh2 = Instance.new("SpecialMesh")
  1550. Mesh2.Parent = BlastRing
  1551. Mesh2.MeshType = "FileMesh"
  1552. Mesh2.MeshId = "http://www.roblox.com/Asset/?id=9982590"
  1553. Mesh2.Scale = Vector3.new(1, 1, 1)
  1554.  
  1555. ExsplosionRing = Instance.new("Part") --Creating the ring.
  1556. ExsplosionRing.Parent = game.Lighting
  1557. ExsplosionRing.Name = "Explosion Ring"
  1558. ExsplosionRing.formFactor = "Symmetric"
  1559. ExsplosionRing.Size = Vector3.new(0, 0, 0)
  1560. ExsplosionRing.CanCollide = false
  1561. ExsplosionRing.TopSurface = "Smooth"
  1562. ExsplosionRing.BottomSurface = "Smooth"
  1563. ExsplosionRing.BrickColor = BrickColor.new("Black")
  1564. ExsplosionRing.Transparency = 0.3
  1565. ExsplosionRing.Reflectance = 0
  1566. ExsplosionRing.Anchored = true
  1567. Mesh3 = Instance.new("SpecialMesh")
  1568. Mesh3.Parent = ExsplosionRing
  1569. Mesh3.MeshType = "FileMesh"
  1570. Mesh3.MeshId = "http://www.roblox.com/Asset/?id=20329976"
  1571. Mesh3.Scale = Vector3.new(1, 1, 1)
  1572. Mesh3.Offset = Vector3.new(0,-2,0)
  1573.  
  1574.  
  1575. jun.Character.Humanoid.WalkSpeed = 0
  1576.  
  1577. blastring2 = BlastRing:clone() --Cloning spike ball out of lighting to surround player.
  1578. blastring2.Parent = jun.Character
  1579. blastring2.Position = jun.Character.Torso.Position
  1580. blastring2.BrickColor = BrickColor.new("Forest green")
  1581. blastring2.Transparency = 0.5
  1582. blastring2.Reflectance = 0
  1583.  
  1584. for i = 1, 50 do --Making the spike ball grow around the player.
  1585. wait(0.03)
  1586. blastring2.Mesh.Scale = blastring2.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  1587. blastring2.Transparency = blastring2.Transparency + 0.01
  1588. end
  1589.  
  1590. blastring3 = ExsplosionRing:clone()  --Cloning the ring out of lighting to surround player.
  1591. blastring3.Parent = jun.Character
  1592. blastring3.Position = jun.Character.Torso.Position
  1593. blastring3.BrickColor = BrickColor.new("Black")
  1594. blastring3.Transparency = 0.3
  1595. blastring3.Reflectance = 0
  1596.  
  1597. for i = 1, 50 do --Resizing the rin to grow around the players legs.
  1598. wait(0.03)
  1599. blastring3.Mesh.Scale = blastring3.Mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
  1600. blastring3.Transparency = blastring3.Transparency + 0.01
  1601. end
  1602. blastring2:remove()
  1603. blastring3:Destroy()
  1604.  
  1605. jun.Character.Humanoid.WalkSpeed = 22
  1606. --End of animation.
  1607.  
  1608. --Lets start the actual Mage Script.
  1609. local lp = game.Players.LocalPlayer
  1610.  
  1611. --Set The Players Health As If Wearing Armor.
  1612. lp.Character.Humanoid.MaxHealth = lp.Character.Humanoid.MaxHealth+200
  1613. wait(0.03)
  1614. lp.Character.Humanoid.Health = lp.Character.Humanoid.MaxHealth
  1615. --End Armor Control
  1616.  
  1617. --Create the Model to place the armor in.
  1618. m = Instance.new("Model",lp.Character)
  1619. m.Name = "Scapters Armor"
  1620.  
  1621. --Let's start creating the Left Arm.
  1622. la = Instance.new("Part",m)
  1623. la.Name = "Left Arm"
  1624. la.FormFactor = "Custom"
  1625. la.Material = "Concrete"
  1626. la.CanCollide = false
  1627. la.BrickColor = BrickColor.new("Forest green")
  1628. la.BottomSurface = "Smooth"
  1629. la.TopSurface = "Smooth"
  1630. la.Size = Vector3.new(1.05,1.05,1.05)
  1631. law = Instance.new("ManualWeld",la) --Weld the armor piece to the Left Arm.
  1632. law.Part0 = la
  1633. law.Part1 = lp.Character["Left Arm"]
  1634. law.C0 = CFrame.new(0,-0.5,0) --Positions the Left Arm.
  1635. --End Left Arm.
  1636.  
  1637. --Let's start creating the Right Arm.
  1638. ra = Instance.new("Part",m)
  1639. ra.Name = "Right Arm"
  1640. ra.FormFactor = "Custom"
  1641. ra.Material = "Concrete"
  1642. ra.CanCollide = false
  1643. ra.BrickColor = BrickColor.new("Forest green")
  1644. ra.BottomSurface = "Smooth"
  1645. ra.TopSurface = "Smooth"
  1646. ra.Size = Vector3.new(1.05,1.05,1.05)
  1647. raw = Instance.new("ManualWeld",ra) --Weld the armor piece to the Right Arm.
  1648. raw.Part0 = ra
  1649. raw.Part1 = lp.Character["Right Arm"]
  1650. raw.C0 = CFrame.new(0,-0.5,0) --Positions the Right Arm.
  1651. --End Right Arm.
  1652.  
  1653. --Let's start creating the Torso.
  1654. t = Instance.new("Part",m)
  1655. t.Name = "Torso"
  1656. t.FormFactor = "Custom"
  1657. t.CanCollide = false
  1658. t.Material = "Concrete"
  1659. t.BrickColor = BrickColor.new("Forest green")
  1660. t.BottomSurface = "Smooth"
  1661. t.TopSurface = "Smooth"
  1662. t.Size = Vector3.new(2.05,2.05,1.05)
  1663. tw = Instance.new("ManualWeld",t) --Weld the armor piece to the Torso.
  1664. tw.Part0 = t
  1665. tw.Part1 = lp.Character.Torso --Torso does not need to be positioned.
  1666. sg = Instance.new("SurfaceGui",t) --Creating a surfacegui to display health.(buggy)
  1667. f = Instance.new("Frame",sg)
  1668. f.BackgroundTransparency = 1
  1669. f.Size = UDim2.new(1,0,1,0)
  1670. tl = Instance.new("TextLabel",f)
  1671. tl.BackgroundTransparency = 1
  1672. tl.Size = UDim2.new(1,0,1,0)
  1673. tl.Font = "SourceSansBold"
  1674. tl.FontSize = "Size96"
  1675. tl.TextColor3 = Color3.new(0,0,0)
  1676. tl.TextStrokeColor3 = Color3.new(0,0,0)
  1677. tl.TextStrokeTransparency = 0
  1678. --End Torso.
  1679.  
  1680. --Let's start creating the Left Leg.
  1681. ll = Instance.new("Part",m)
  1682. ll.Name = "Left Leg"
  1683. ll.FormFactor = "Custom"
  1684. ll.Material = "Concrete"
  1685. ll.CanCollide = false
  1686. ll.BrickColor = BrickColor.new("Forest green")
  1687. ll.BottomSurface = "Smooth"
  1688. ll.TopSurface = "Smooth"
  1689. ll.Size = Vector3.new(1.05,1.65,1.05)
  1690. llw = Instance.new("ManualWeld",ll) --Weld the armor piece to the Left Leg.
  1691. llw.Part0 = ll
  1692. llw.Part1 = lp.Character["Left Leg"]
  1693. llw.C0 = CFrame.new(0,-0.2,0) --Positions the Left Leg.
  1694. --End Left Leg.
  1695.  
  1696. --Let's start creating the Right Leg.
  1697. rl = Instance.new("Part",m)
  1698. rl.Name = "Right Leg"
  1699. rl.FormFactor = "Custom"
  1700. rl.Material = "Concrete"
  1701. rl.CanCollide = false
  1702. rl.BrickColor = BrickColor.new("Forest green")
  1703. rl.BottomSurface = "Smooth"
  1704. rl.TopSurface = "Smooth"
  1705. rl.Size = Vector3.new(1.05,1.65,1.05)
  1706. rlw = Instance.new("ManualWeld",rl) --Weld the armor piece to the Right Leg.
  1707. rlw.Part0 = rl
  1708. rlw.Part1 = lp.Character["Right Leg"]
  1709. rlw.C0 = CFrame.new(0,-0.2,0) --Positions the Right Leg.
  1710. --End Right Leg.
  1711.  
  1712. --Let's make it so elasticity and friction are set to a high value to prevent stutters.
  1713. for i,v in ipairs(m:GetChildren()) do
  1714. v.Friction = 2000
  1715. v.Elasticity = 2000
  1716. end
  1717. --End stutter provention.
  1718.  
  1719. local color1 = Color3.new(0, 85, 0)
  1720. local color2 = Color3.new(0,0,0)
  1721. local sequence = ColorSequence.new(color1,color2)
  1722.  
  1723. --Let's create the staff.
  1724. t = Instance.new("Tool", lp.Backpack) --Creating the tool for the staff to be put into.
  1725. t.Name = "Scapters Staff"
  1726. t.GripPos = Vector3.new(0,0.65,0)
  1727. t.ToolTip = "Whome-ever wields this staff is a true legend."
  1728. t.CanBeDropped = false
  1729. s = Instance.new("Part",t) --This will be the base part of the staff(the part the player holds).
  1730. s.Name = "Handle"
  1731. s.BrickColor = BrickColor.new("Burnt Sienna")
  1732. s.FormFactor = "Custom"
  1733. s.Size = Vector3.new(0.32,5.64,0.28)
  1734. s.Material = "Wood"
  1735. b = Instance.new("Part",t) --Lets create the tip of the staff.
  1736. b.Material = "Concrete"
  1737. b.BrickColor = BrickColor.new("Forest green")
  1738. b.Shape = "Ball"
  1739. b.Size = Vector3.new(1,1,1)
  1740. b.TopSurface = "Smooth"
  1741. b.BottomSurface = "Smooth"
  1742. bw = Instance.new("ManualWeld",rl) --Weld the tip to the staff.
  1743. bw.Part0 = s
  1744. bw.Part1 = b
  1745. bw.C0 = CFrame.new(0,2.5,0) --Positions the tip.
  1746. pe = Instance.new("ParticleEmitter",b) -- Lets create the fancy looking particles
  1747. pe.Color = sequence
  1748. pe.Texture = "http://www.roblox.com/asset/?id=242292318"
  1749. pe.LightEmission = 1
  1750. pe.Lifetime = NumberRange.new(1,1)
  1751. pe.Rotation = NumberRange.new(360,360)
  1752. pe.RotSpeed = NumberRange.new(360,360)
  1753. pe.Speed = NumberRange.new(1,1)
  1754. pe.LockedToPart = true
  1755. sk = Instance.new("Part",t)--Let's create the skull
  1756. sk.BrickColor = BrickColor.new("Forest green")
  1757. sk.Material = "Concrete"
  1758. sm = Instance.new("SpecialMesh",sk)
  1759. sm.MeshId = "http://www.roblox.com/asset/?id=6552202"
  1760. sm.Scale = Vector3.new(3.2,3.2,3.2)
  1761. skw = Instance.new("ManualWeld",rl) --Weld the skull to the staff.
  1762. skw.Part0 = s
  1763. skw.Part1 = sk
  1764. skw.C0 = CFrame.new(0,2.5,0) --Positions the skull.
  1765. game.Players.LocalPlayer.Character.Humanoid:EquipTool(t) --Auto-Equip the staff.
  1766. --End staff creation.
  1767.  
  1768. --Backup
  1769. t.Equipped:connect(function()
  1770. local bww = Instance.new("ManualWeld",rl) --Weld the tip to the staff.
  1771. bww.Part0 = s
  1772. bww.Part1 = b
  1773. bww.C0 = CFrame.new(0,2.5,0) --Positions the tip.
  1774. local skww = Instance.new("ManualWeld",rl) --Weld the skull to the staff.
  1775. skww.Part0 = s
  1776. skww.Part1 = sk
  1777. skww.C0 = CFrame.new(0,2.5,0) --Positions the skull.
  1778. end)
  1779.  
  1780. local mouse = game.Players.LocalPlayer:GetMouse()
  1781.  
  1782. --Lighting Attack
  1783. mouse.Button1Down:connect(function()
  1784. local hit = mouse.Target -- This is where the lightning will go.
  1785.  
  1786. end)
  1787.  
  1788. --Poison Attack
  1789. mouse.Button2Down:connect(function() --Creating the event to detect where the ball will be placed.
  1790. local hit = mouse.Target --This is where it gets the players position.
  1791. if hit.Parent:FindFirstChild("Torso") then
  1792. local h = Instance.new("Part", game.Workspace)
  1793. h.Shape = "Ball"
  1794. h.Size = Vector3.new(1,1,1)
  1795. h.BrickColor = BrickColor.new("Forest green")
  1796. h.Material = "Concrete"
  1797. h.Anchored = true
  1798. h.CanCollide = false
  1799. pe = Instance.new("ParticleEmitter",h) --Make the ball look fancy.
  1800. pe.Color = sequence
  1801. pe.Texture = "http://www.roblox.com/asset/?id=242292318"
  1802. pe.LightEmission = 1
  1803. pe.Lifetime = NumberRange.new(1,1)
  1804. pe.Rotation = NumberRange.new(360,360)
  1805. pe.RotSpeed = NumberRange.new(360,360)
  1806. pe.Speed = NumberRange.new(1,1)
  1807. h.CFrame = hit.Parent.HumanoidRootPart.CFrame --Changes the balls position to the hit players HumanoidRootPart.
  1808. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-25
  1809. wait(1)
  1810. h:Destroy()
  1811. for i = 1, 8 do
  1812. hit.Parent.Head.BrickColor = BrickColor.new("Sea green") --Set player to poison colors.
  1813. hit.Parent["Left Arm"].BrickColor = BrickColor.new("Sea green")
  1814. hit.Parent["Right Arm"].BrickColor = BrickColor.new("Sea green")
  1815. hit.Parent["Left Leg"].BrickColor = BrickColor.new("Sea green")
  1816. hit.Parent["Right Leg"].BrickColor = BrickColor.new("Sea green")
  1817. hit.Parent.Torso.BrickColor = BrickColor.new("Sea green")
  1818. hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health-5
  1819. lp.Character.Humanoid.Health = lp.Character.Humanoid.Health+5 --Life steal.
  1820. pe = Instance.new("ParticleEmitter",hit.Parent.Torso) --Make the poison effect look fancy.
  1821. pe.Color = sequence
  1822. pe.Texture = "http://www.roblox.com/asset/?id=242292318"
  1823. pe.LightEmission = 1
  1824. pe.Lifetime = NumberRange.new(1,1)
  1825. pe.Rotation = NumberRange.new(360,360)
  1826. pe.RotSpeed = NumberRange.new(360,360)
  1827. pe.Speed = NumberRange.new(1,1)
  1828. wait(0.8)
  1829. pe:Destroy()
  1830. hit.Parent.Head.BrickColor = hit.Parent["Body Colors"].HeadColor --Set player colors back to normal.
  1831. hit.Parent["Left Arm"].BrickColor = hit.Parent["Body Colors"].LeftArmColor
  1832. hit.Parent["Right Arm"].BrickColor = hit.Parent["Body Colors"].RightArmColor
  1833. hit.Parent["Left Leg"].BrickColor = hit.Parent["Body Colors"].LeftLegColor
  1834. hit.Parent["Right Leg"].BrickColor = hit.Parent["Body Colors"].RightLegColor
  1835. hit.Parent.Torso.BrickColor = hit.Parent["Body Colors"].TorsoColor
  1836. wait(0.8)
  1837. end
  1838. end
  1839. end)
  1840.  
  1841. --Let's create a forcefield event.
  1842. local color1 = Color3.new(0, 170, 0)
  1843. local color2 = Color3.new(0, 170, 0)
  1844. local sequence = ColorSequence.new(color1,color2)
  1845. mouse1 = game.Players.LocalPlayer:GetMouse()
  1846.  
  1847. mouse1.KeyDown:connect(function(key)
  1848. if key == "f" then
  1849. pe = Instance.new("ParticleEmitter",m.Torso)
  1850. pe.Rate = 1
  1851. wait(0.03)
  1852. pe.Rate = 0
  1853. pe.LightEmission = 0.5
  1854. pe.Size = NumberSequence.new(5,5)
  1855. pe.Texture = "http://www.roblox.com/asset/?id=147741899"
  1856. pe.Color = sequence
  1857. pe.Lifetime = NumberRange.new(100e100,100e100)
  1858. pe.Rotation = NumberRange.new(360,360)
  1859. pe.RotSpeed = NumberRange.new(40,40)
  1860. pe.LockedToPart = true
  1861. pe.Speed = NumberRange.new(0,0)
  1862. pe:Emit(1)
  1863. lp.Character.Humanoid.MaxHealth = math.huge
  1864. wait(0.03)
  1865. lp.Character.Humanoid.Health = math.huge
  1866. wait(25)
  1867. lp.Character.Humanoid.MaxHealth = 300
  1868. wait(0.03)
  1869. lp.Character.Humanoid.Health = 300
  1870. pe:Destroy()
  1871. end
  1872. end)
  1873. --End forcefield event.
  1874.  
  1875. while wait(0) do --Create the loop to constantly make the textlabel update with health.(buggy)
  1876. tl.Text = "Heath: "..math.floor(lp.Character.Humanoid.Health).."/"..lp.Character.Humanoid.MaxHealth
  1877. end end,
  1878.  
  1879. Dex = function() loadstring(game:GetObjects("rbxassetid://462298546")[1].Source)() end,
  1880. }
  1881. --End Tables--
  1882.  
  1883. Open_Close.MouseButton1Down:connect(function()
  1884.     if Open == false then
  1885.         Frame1:TweenPosition(UDim2.new(0.43,-250,0.5,-250),"Out","Quart",0.3,true)
  1886.         wait(0.35)
  1887.         PlayerList:TweenPosition(Frame1.Position+UDim2.new(0.262,0,0,0),"Out","Quart",0.3,true)
  1888.         wait(0.35)
  1889.         WaterMark:TweenPosition(Frame1.Position-UDim2.new(-0.05,0,0.115,0),"Out","Quart",0.3,true)
  1890.         wait(0.35)
  1891.         Open_Close:TweenSizeAndPosition(UDim2.new(0,100,0,100),WaterMark.Position-UDim2.new(0.10,0,-0.04,0),"Out","Quart",0.3,true)
  1892.         CreateLeafs()
  1893.         Open = true
  1894.     else
  1895.         Open_Close:TweenSizeAndPosition(UDim2.new(0,50,0,50),UDim2.new(0,0,0.6,0),"Out","Quart",0.3,true)
  1896.         Frame1:TweenPosition(UDim2.new(-0.43,-500,0.5,-250),"Out","Quart",0.3,true)
  1897.         PlayerList:TweenPosition(UDim2.new(-0.8,-500,0.5,-250), "Out", "Quart",0.3,true)
  1898.         WaterMark:TweenPosition(UDim2.new(-1,0,0.03,0),"Out","Quart",0.3,true)
  1899.         DestroyLeafs()
  1900.         Open = false
  1901.     end
  1902. end)
  1903.  
  1904. --Automated Button Placement/Creation--
  1905. local current = 2
  1906. local previous = 1
  1907. for i,v in pairs(PlayerTabs) do
  1908.     local Button = Instance.new("TextButton", Frame1)
  1909.     Button.Size = UDim2.new(0.5,0,0,35)
  1910.     Button.BackgroundTransparency = 1
  1911.     Button.TextColor3 = Color3.new(255/255,255/255,255/255)
  1912.     Button.Font = "SourceSansBold"
  1913.     Button.FontSize = "Size24"
  1914.     Button.Name = current
  1915.     Button.ZIndex = 2
  1916.     Button.Text = i
  1917.     Button.Position = Frame1[previous].Position+UDim2.new(0,0,0,36)
  1918.     local Box = Instance.new("TextBox", Frame1)
  1919.     Box.Size = UDim2.new(0.5,0,0,35)
  1920.     Box.Position = Frame1[current].Position+UDim2.new(0.5,0,0,0)
  1921.     Box.Name = i.."Box"
  1922.     if i == "Sound" then
  1923.         Box.Text = "Sound ID"
  1924.     else   
  1925.         Box.Text = "Player"
  1926.     end
  1927.     Box.ZIndex = 2
  1928.     Box.BackgroundTransparency = 1
  1929.     Box.TextColor3 = Color3.new(255/255,255/255,255/255)
  1930.     Box.Font = "SourceSansBold"
  1931.     Box.FontSize = "Size24"
  1932.     previous = current
  1933.     current = current+1
  1934.    
  1935. end
  1936.  
  1937. for i,v in pairs(Scripts) do
  1938.     local Button = Instance.new("TextButton", Frame1)
  1939.     Button.Size = UDim2.new(1,0,0,35)
  1940.     Button.BackgroundTransparency = 1
  1941.     Button.TextColor3 = Color3.new(255/255,255/255,255/255)
  1942.     Button.Font = "SourceSansBold"
  1943.     Button.FontSize = "Size24"
  1944.     Button.Name = current
  1945.     Button.Text = i
  1946.     Button.ZIndex = 2
  1947.     Button.Position = Frame1[previous].Position+UDim2.new(0,0,0,36)
  1948.     previous = current
  1949.     current = current+1
  1950. end
  1951.  
  1952. for i,c in pairs(Frame1:GetChildren()) do
  1953.     local max = math.max(i)
  1954.     if tostring(max) == c.Name then
  1955.         Frame1.CanvasSize = UDim2.new(0,0,0,c.Position.Y.Offset*20)
  1956.     end
  1957. end
  1958. --End Automated Button Placement/Creation--
  1959.  
  1960. --Automated Button Handler--
  1961. for _,v in pairs(Frame1:GetChildren()) do
  1962.     if v:IsA("TextButton") then
  1963.         v.MouseButton1Down:connect(function()
  1964.             if PlayerTabs[v.Text] then
  1965.                 PlayerTabs[v.Text]()
  1966.             elseif Scripts[v.Text] then
  1967.                 Scripts[v.Text]()
  1968.             end
  1969.             print(v.Text.." (Took "..math.floor(tick()).." us)")
  1970.         end)
  1971.     end
  1972. end
  1973. --End Automated Button Handler--
  1974.  
  1975. --PlayerList--
  1976. function CreateList()
  1977.     for _,v in pairs(PlayerList:GetChildren()) do
  1978.         if v.Name ~= "1" then
  1979.             v:Destroy()
  1980.         end
  1981.     end
  1982.    
  1983.     local current = 2
  1984.     local previous = 1
  1985.     for _,v in pairs(game.Players:GetChildren()) do
  1986.         local play = Instance.new("TextButton", PlayerList)
  1987.         play.Name = current
  1988.         play.Size = UDim2.new(1,0,0,35)
  1989.         play.BackgroundTransparency = 1
  1990.         play.Text = v.Name
  1991.         play.Font = "SourceSansBold"
  1992.         play.TextColor3 = Color3.new(255/255,255/255,255/255)
  1993.         play.FontSize = "Size24"
  1994.         play.ZIndex = 2
  1995.         play.Position = PlayerList[previous].Position+UDim2.new(0,0,0,36)
  1996.         previous = current
  1997.         current = current+1
  1998.     end
  1999.     for i,c in pairs(PlayerList:GetChildren()) do
  2000.         local max = math.max(i)
  2001.         if tostring(max) == c.Name then
  2002.             PlayerList.CanvasSize = UDim2.new(0,0,0,c.Position.Y.Offset*1)
  2003.         end
  2004.     end
  2005. end
  2006.  
  2007. CreateList()
  2008.  
  2009. game.Players.PlayerAdded:connect(function(player)
  2010.     for _,v in pairs(Banned) do
  2011.         if player.Name == v then
  2012.             wait(0.5)
  2013.             player:Destroy()
  2014.         end
  2015.     end
  2016.     CreateList()
  2017. end)
  2018.  
  2019. game.Players.PlayerRemoving:connect(function()
  2020.     CreateList()
  2021. end)
  2022. --End PlayerList
  2023.  
  2024. --PlayerList > TextBox Detection--
  2025. for _,v in pairs(PlayerList:GetChildren()) do
  2026.     if v:IsA("TextButton") then
  2027.         v.MouseButton1Down:connect(function()
  2028.             for _,c in pairs(Frame1:GetChildren()) do
  2029.                 if c:IsA("TextBox") and c.Text ~= "Sound ID" then
  2030.                     c.Text = v.Text
  2031.                 end
  2032.             end
  2033.         end)
  2034.     end
  2035. end
  2036. --End PlayerList > TextBox Detection--
  2037.  
  2038. --Rotate Symbols--
  2039. while wait(0) do
  2040.     for i = 1, 25 do
  2041.         wait(0.03)
  2042.         Open_Close.Rotation = Open_Close.Rotation + 1
  2043.     end
  2044.     for i = 1, 25 do
  2045.         wait(0.03)
  2046.         Open_Close.Rotation = Open_Close.Rotation - 1
  2047.     end
  2048. end
  2049. --End Symbol Rotation--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement