Homestyle_chicken

asdasdgesdfsdfsdf

May 15th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 28.88 KB | None | 0 0
  1. game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  2.     if key == 'z' then
  3.         saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  4.        
  5.         game:GetService("Workspace").Remote.loadchar:InvokeServer("LocalPlayer")
  6.        
  7.         game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
  8.     end
  9. end)
  10. local slot1={"M9"}
  11. local slot2={"M4A1"}
  12. local slot3={"Remington 870"}
  13. game.Players.LocalPlayer.CharacterAdded:Connect(function(Character)
  14. wait(0.01)
  15. for Y,Z in pairs(workspace.Prison_ITEMS.giver:GetChildren())do if Z.Name==slot1[1]then local lol=workspace.Remote.ItemHandler:InvokeServer(Z.ITEMPICKUP)end end
  16. wait(0.1)
  17. for Y,Z in pairs(workspace.Prison_ITEMS.giver:GetChildren())do if Z.Name==slot2[1]then local lol=workspace.Remote.ItemHandler:InvokeServer(Z.ITEMPICKUP)end end
  18. wait(0.1)
  19. for Y,Z in pairs(workspace.Prison_ITEMS.giver:GetChildren())do if Z.Name==slot3[1]then local lol=workspace.Remote.ItemHandler:InvokeServer(Z.ITEMPICKUP)end end
  20. wait(0.1)
  21.    
  22.     local player = game:GetService("Players").LocalPlayer
  23. local gun    = player.Backpack:FindFirstChild("M9")
  24. local sM     = require(gun:FindFirstChild("GunStates"))
  25. sM["MaxAmmo"] = math.huge
  26. sM["StoredAmmo"] = math.huge
  27. sM["FireRate"] = 0.0001
  28. sM["AmmoPerClip"] = math.huge
  29. sM["ReloadTime"] = 0.05
  30. sM["CurrentAmmo"] = math.huge
  31.  
  32. local player =
  33.  game:GetService("Players").LocalPlayer
  34. local gun    = player.Backpack:FindFirstChild("M4A1")
  35. local sM     = require(gun:FindFirstChild("GunStates"))
  36. sM["MaxAmmo"] = math.huge
  37. sM["StoredAmmo"] = math.huge
  38. sM["FireRate"] = 0.06
  39. sM["AmmoPerClip"] = math.huge
  40. sM["ReloadTime"] = 0.05
  41. sM["CurrentAmmo"] = math.huge
  42.  
  43. local player = game:GetService("Players").LocalPlayer
  44. local gun    = player.Backpack:FindFirstChild("Remington 870")
  45. local sM     = require(gun:FindFirstChild("GunStates"))
  46. sM["MaxAmmo"] = math.huge
  47. sM["StoredAmmo"] = math.huge
  48. sM["FireRate"] = 0.8
  49. sM["AmmoPerClip"] = math.huge
  50. sM["ReloadTime"] = 0.05
  51. sM["Bullets"] = 18
  52. sM["CurrentAmmo"] = math.huge
  53. end)
  54.  
  55. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eKwyeQa0"))() -- library
  56.  
  57. local tps = library:CreateTab("Teleports", true) -- true for rainbow ok
  58. local teams = library:CreateTab("Teams", true)
  59. local locals = library:CreateTab("local functions", true)
  60. local inter = library:CreateTab("Other Players", true)
  61. local teamko = library:CreateTab("Kill teams", true)
  62.  
  63. local tp1 = library:MakeButton(tps, "Roof", function(button)
  64.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(827.491882, 118.9950005, 2346.22388, -0.999327958, 4.21580371e-09, 0.0366561897, 4.05891942e-09, 1, -4.35429826e-09, -0.0366561897, -4.20258717e-09, -0.999327958)
  65. end)
  66.  
  67. local tp2 = library:MakeButton(tps, "Criminal base", function(button)
  68.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-819.986755, 93.8094864, 2085.36743, -0.0405507386, -7.5532526e-08, 0.999177337, -6.96191762e-08, 1, 7.27692893e-08, -0.999177377, -6.66110083e-08, -0.0405507386)
  69. end)
  70.  
  71. local tp3 = library:MakeButton(tps, "NikkiBrandonSpot", function(button)
  72.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(869.174683, 99.9900055, 2371.41797, -0.0371004567, 8.58522711e-08, 0.999311566, 3.35884609e-09, 1, -8.57867164e-08, -0.999311566, 1.73807191e-10, -0.0371004567)
  73. end)
  74.  
  75. local guard = library:MakeButton(teams, "Guards", function(button)
  76.     workspace.Remote.TeamEvent:FireServer("Bright blue")
  77. end)
  78.  
  79. local prison = library:MakeButton(teams, "Inmates", function()
  80.     workspace.Remote.TeamEvent:FireServer("Bright orange")
  81. end)
  82.  
  83. local neutral = library:MakeButton(teams, "Neutral", function()
  84.     workspace.Remote.TeamEvent:FireServer("Medium stone grey")
  85. end)
  86.  
  87. local crim = library:MakeButton(teams, "Criminals", function()
  88.     local Apart = Instance.new("Part")
  89.    
  90.     Apart.Name = "PlrsPos"
  91.     Apart.Parent = workspace
  92.     Apart.Anchored = true
  93.     Apart.Archivable = true
  94.     Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
  95.    
  96.     LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  97.    
  98.     _G.killAura = true
  99.     wait(0.2)
  100.    
  101.     Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  102.     Apart.Transparency = 1
  103.     Apart.Anchored = true
  104.     Apart.CanCollide = false
  105.    
  106.     istptoplr = true
  107.     wait(0.004)
  108.    
  109.     LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  110.    
  111.     LCS.CanCollide = false
  112.     LCS.Size = Vector3.new(51.05, 24.12, 54.76)
  113.     LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  114.     LCS.Transparency = 1
  115.    
  116.     wait(2)
  117.    
  118.     istptoplr = false
  119.     _G.killAura = false
  120.    
  121.     wait(0.04)
  122.    
  123.     if istptoplr == false then
  124.         LCS.CFrame = CFrame.new(-920,510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  125.         LCS.Size = Vector3,new(6, 0.2, 6)
  126.         LCS.Transparency = 0
  127.         istptoplr = false
  128.     end
  129. end)
  130.  
  131. local custom = library:MakeButton(teams, "Load custom gui", function()
  132.     loadstring(game:HttpGet("https://pastebin.com/raw/wZKfd67F"))()
  133. end)
  134.  
  135. local rb = library:MakeButton(locals, "Rainbow bullets", function()
  136.     do
  137.         setreadonly(BrickColor, false)
  138.         for i, v in next, BrickColor do
  139.             if i ~= "random" then
  140.                 local old = v
  141.                 BrickColor[i] = newcclosure(function(...)
  142.                     local env = getfenv(2)
  143.                     if env.script and env.script.Parent ~= nil and env.script.Parent.ClassName == "Tool" then
  144.                         return BrickColor.random()
  145.                     end
  146.                 end)
  147.             end --double loop function, change if possible
  148.         end
  149.     end
  150. end)
  151.  
  152. local fb = library:MakeButton(locals, "Fullbright", function() --no while true on skisploit cuz crashy
  153.     while wait() do
  154.         game.Lighting.Ambient = Color3.new(1,1,1)
  155.         game.Lighting.FogEnd = 100000
  156.         game.Lighting.FogStart = 100000
  157.         game.Lighting.Brightness = 2
  158.         game.Lighting.ColorShift_Bottom = Color3.new(1,1,1)
  159.         game.Lighting.ColorShift_Top = Color3.new(1,1,1)
  160.         game.Lighting.OutdoorAmbient = Color3.new(1,1,1)
  161.     end
  162. end)
  163.  
  164. local ar = library:MakeButton(locals, "Auto respawn", function() --fix when toggles are fixed
  165.     local blah = (game.Players.LocalPlayer.Name)
  166.    
  167.     _G.Looop = true
  168.    
  169.     while _G.Looop == true do wait(0.1)
  170.         if game:GetService("Workspace")[blah].Humanoid.Health == 0 then
  171.             saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  172.            
  173.             game:GetService("Workspace").Remote.loadchar:InvokeServer("LocalPlayer")
  174.            
  175.             game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
  176.         end
  177.     end
  178. end)
  179.  
  180. local op = library:MakeButton(locals, "One punch", function()
  181.     mainRemotes = game.ReplicatedStorage meleeRemote = mainRemotes['meleeEvent'] mouse = game.Players.LocalPlayer:GetMouse() punching = false cooldown = false function punch() cooldown = true local part = Instance.new("Part", game.Players.LocalPlayer.Character) part.Transparency = 1 part.Size = Vector3.new(5,2,3) part.CanCollide = false local w1 = Instance.new("Weld", part) w1.Part0 = game.Players.LocalPlayer.Character.Torso w1.Part1 = part w1.C1 = CFrame.new(0,0,2) part.Touched:connect(function(hit) if game.Players:FindFirstChild(hit.Parent.Name) then local plr = game.Players:FindFirstChild(hit.Parent.Name) if plr.Name ~= game.Players.LocalPlayer.Name then part:Destroy() for i = 1,100 do meleeRemote:FireServer(plr) end end end end) wait(1) cooldown = false part:Destroy() end mouse.KeyDown:connect(function(key) if cooldown == false then if key:lower() == "f" then punch() end end end)
  182. end)
  183.  
  184. local plrs = library:MakeBox(inter, "Playername here", "PLAYERNAME", function(box)
  185.     print(plrs.Text)
  186. end)
  187.  
  188. local Players = game:GetService("Players") --get players
  189. local localPlayer = Players.LocalPlayer
  190. local function RemoveSpaces(String)
  191.     return String:gsub("%s+", "") or String
  192. end
  193.  
  194. local function FindPlayer(String)
  195.     String = RemoveSpaces(String)
  196.     for _, _Player in pairs(Players:GetPlayers()) do
  197.         if _Player.Name:lower():match('^'..String:lower()) then
  198.             return _Player
  199.         end
  200.     end
  201.     return nil --if empty return LocalPlayer
  202. end
  203.  
  204. local kill1 = library:MakeButton(inter, "Kill player", function(button)
  205.     local target = FindPlayer(plrs.Text)
  206.     local A_1 =
  207. {
  208.     [1] =
  209. {
  210.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
  211.     ["Distance"] = 4.7204174995422,
  212.     ["Cframe"] = CFrame.new(832.049377, 101.392006, 2300.97168, 0.843892097, -0.0554918349, 0.533635378, 0, 0.994636595, 0.103430569, -0.536512911, -0.0872842371, 0.839366019),
  213.     ["Hit"] = target.Character.Head
  214. },
  215.     [2] =
  216. {
  217.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
  218.     ["Distance"] = 4.8114862442017,
  219.     ["Cframe"] = CFrame.new(832.390259, 101.550629, 2300.74097, 0.738044441, -0.112958886, 0.665229917, 7.45057971e-09, 0.985887885, 0.16740793, -0.674752235, -0.123554483, 0.727628946),
  220.     ["Hit"] = target.Character.Head
  221. },
  222.     [3] =
  223. {
  224.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
  225.     ["Distance"] = 4.444625377655,
  226.     ["Cframe"] = CFrame.new(832.185486, 101.391617, 2300.70264, 0.775115669, -0.0692948848, 0.628007889, 7.45057971e-09, 0.993967533, 0.109675139, -0.631819367, -0.0850109085, 0.770439863),
  227.     ["Hit"] = target.Character.Head
  228. },
  229.     [4] =
  230. {
  231.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
  232.     ["Distance"] = 4.6211166381836,
  233.     ["Cframe"] = CFrame.new(832.10083, 101.445007, 2300.86963, 0.820150614, -0.0735745132, 0.567397356, 0, 0.991697431, 0.128593579, -0.572147667, -0.105466105, 0.81334126),
  234.     ["Hit"] = target.Character.Head
  235. },
  236.     [5] =
  237. {
  238.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
  239.     ["Distance"] = 4.4639973640442,
  240.     ["Cframe"] = CFrame.new(832.169434, 101.341301, 2300.73438, 0.784266233, -0.0537625961, 0.618090749, -3.7252903e-09, 0.99623847, 0.086654529, -0.620424569, -0.0679602176, 0.781316102),
  241.     ["Hit"] = target.Character.Head
  242. }
  243. }
  244. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  245. local Event = game:GetService("ReplicatedStorage").ShootEvent
  246. Event:FireServer(A_1, A_2)
  247. end)
  248.  
  249. local arrest = library:MakeButton(inter,"Arrest player", function(button)
  250. local target = FindPlayer(plrs.Text)
  251.     saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  252.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  253.     wait(0.1)
  254.     game.Workspace.Remote.arrest:InvokeServer(target.Character.HumanoidRootPart)
  255.     wait(0.1)
  256.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
  257. end)
  258.  
  259. local tpto = library:MakeButton(inter,"Go to player", function(button)
  260.     local target = FindPlayer(plrs.Text)
  261.     game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
  262. end)
  263.  
  264. local taze = library:MakeButton(inter, "Taze player", function(button)
  265.     local target = FindPlayer(plrs.Text)
  266.     local A_1 =
  267.     {
  268.         [1] =
  269.         {
  270.             ["RayObject"] = Ray.new(Vector3.new(829.838562, 101.489998, 2331.25635), Vector3.new(-30.6540909, -5.42795324, 95.0308533)),
  271.             ["Distance"] = 15.355997085571,
  272.             ["Cframe"] = CFrame.new(826.616699, 100.8508, 2340.11279, 0.964640439, -0.00993416365, -0.263382077, 9.31322575e-10, 0.999289393, -0.0376908854, 0.263569355, 0.0363581516, 0.963954985),
  273.             ["Hit"] = target.Character.Torso
  274.             }
  275.             }
  276.             local A_2 = game.Players.LocalPlayer.Backpack["Taser"]
  277.             local Event = game:GetService("ReplicatedStorage").ShootEvent
  278.             Event:FireServer(A_1, A_2)
  279. end)
  280.  
  281. local crim = library:MakeButton(inter,"make criminal",function(button)
  282.     local Apart = Instance.new("Part")
  283.    
  284.     Apart.Name = "PlrsPos"
  285.     Apart.Parent = workspace
  286.     Apart.Anchored = true
  287.     Apart.Archivable = true
  288.     Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
  289.    
  290.     local lol = FindPlayer(plrs.Text)
  291.    
  292.     local A_1 =
  293.     {
  294.     [1] =
  295. {
  296.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
  297.     ["Distance"] = 4.7204174995422,
  298.     ["Cframe"] = CFrame.new(832.049377, 101.392006, 2300.97168, 0.843892097, -0.0554918349, 0.533635378, 0, 0.994636595, 0.103430569, -0.536512911, -0.0872842371, 0.839366019),
  299.     ["Hit"] = lol.Character.Head
  300. },
  301.     [2] =
  302. {
  303.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
  304.     ["Distance"] = 4.8114862442017,
  305.     ["Cframe"] = CFrame.new(832.390259, 101.550629, 2300.74097, 0.738044441, -0.112958886, 0.665229917, 7.45057971e-09, 0.985887885, 0.16740793, -0.674752235, -0.123554483, 0.727628946),
  306.     ["Hit"] = lol.Character.Head
  307. },
  308.     [3] =
  309. {
  310.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
  311.     ["Distance"] = 4.444625377655,
  312.     ["Cframe"] = CFrame.new(832.185486, 101.391617, 2300.70264, 0.775115669, -0.0692948848, 0.628007889, 7.45057971e-09, 0.993967533, 0.109675139, -0.631819367, -0.0850109085, 0.770439863),
  313.     ["Hit"] = lol.Character.Head
  314. },
  315.     [4] =
  316. {
  317.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
  318.     ["Distance"] = 4.6211166381836,
  319.     ["Cframe"] = CFrame.new(832.10083, 101.445007, 2300.86963, 0.820150614, -0.0735745132, 0.567397356, 0, 0.991697431, 0.128593579, -0.572147667, -0.105466105, 0.81334126),
  320.     ["Hit"] = lol.Character.Head
  321. },
  322.     [5] =
  323. {
  324.     ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
  325.     ["Distance"] = 4.4639973640442,
  326.     ["Cframe"] = CFrame.new(832.169434, 101.341301, 2300.73438, 0.784266233, -0.0537625961, 0.618090749, -3.7252903e-09, 0.99623847, 0.086654529, -0.620424569, -0.0679602176, 0.781316102),
  327.     ["Hit"] = lol.Character.Head
  328. }
  329. }
  330. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  331. local Event = game:GetService("ReplicatedStorage").ShootEvent
  332. Event:FireServer(A_1, A_2)
  333.  
  334. workspace.Remote.TeamEvent:FireServer("Bright orange")
  335.  
  336. LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  337.  
  338. _G.killaura = true
  339. wait(0.1)
  340.  
  341. Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  342. Apart.Transparency = 1
  343. Apart.Anchored = true
  344. Apart.CanCollide = false
  345. wait(0.1)
  346. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lol.Character.HumanoidRootPart.CFrame
  347.  
  348. istptoplr = true
  349. wait(0.004)
  350.  
  351. if game.Players.LocalPlayer.Team.TeamColor == "Bright orange" then
  352.     wait(2)
  353.     workspace.Remote.TeamEvent:FireServer("Bright orange")
  354. elseif
  355.     game.Players.LocalPlayer.Team.TeamColor == "Bright blue" then
  356.         workspace.Remote.TeamEvent:FireServer("Bright blue")
  357.     end
  358.     if istptoplr == true then
  359.         while istptoplr do
  360.             wait()
  361.            
  362.             game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = lol.Character.HumanoidRootPart.CFrame
  363.            
  364.             LCS = game.Workspace["Criminals Spawn"].SpawnLocation
  365.            
  366.             LCS.CanCollide = false
  367.             LCS.Size = Vector3.new(51.05, 24.12, 54.76)
  368.             LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  369.             LCS.Transparency = 1
  370.            
  371.             wait(0.1)
  372.            
  373.             istptoplr = false
  374.             wait(0.04)
  375.            
  376.             if istptoplr == false then
  377.                 LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  378.                 LCS.Size = Vector3.new(6, 0.2, 6)
  379.                 LCS.Transparency = 0
  380.                 game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Apart.CFrame
  381.                 wait()
  382.                 istptoplr = false
  383.                 wait(0.1)
  384.                 workspace.Remote.TeamEvent:FireServer("Bright orange")
  385.             end
  386.         end
  387.     end
  388. end)
  389.  
  390. local killall = library:MakeButton(inter,"Kill all", function(button)
  391.     function kill(a)
  392. local A_1 =
  393. {
  394. [1] =
  395. {
  396. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  397. ["Distance"] = 3.2524313926697,
  398. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  399. ["Hit"] = a.Character.Head
  400. },
  401.   [2] =
  402. {
  403. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  404. ["Distance"] = 3.2699294090271,
  405. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  406. ["Hit"] = a.Character.Head
  407. },
  408. [3] =
  409. {
  410. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  411. ["Distance"] = 3.1665518283844,
  412. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  413. ["Hit"] = a.Character.Head
  414. },
  415. [4] =
  416. {
  417. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  418. ["Distance"] = 3.3218522071838,
  419. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  420. ["Hit"] = a.Character.Head
  421. },
  422. [5] =
  423. {
  424. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  425. ["Distance"] = 3.222757101059,
  426. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  427. ["Hit"] = a.Character.Head
  428. }
  429. }
  430. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  431. local Event = game:GetService("ReplicatedStorage").ShootEvent
  432. Event:FireServer(A_1, A_2)
  433. Event:FireServer(A_1, A_2)
  434. end
  435.  
  436. for i,v in pairs(game.Players:GetChildren())do
  437. if v.Name ~= game.Players.LocalPlayer.Name then --koallbutself
  438. kill(v)
  439. end
  440. end
  441. end)
  442.  
  443. local arrestall = library:MakeButton(inter,"Arrest crims", function(button)
  444.     local Player = game.Players.LocalPlayer
  445.     local cpos = Player.Character.HumanoidRootPart.CFrame
  446.     for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  447.         if v.Name ~= Player.Name then
  448.             local i = 10
  449.             repeat
  450.                 wait()
  451.                 i = i-1
  452.                 game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
  453.                 Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,1)
  454.             until i == 0
  455.         end
  456.     end
  457.     Player.Character.HumanoidRootPart.CFrame = cpos
  458. end)
  459.  
  460. local killg = library:MakeButton(teamko, "Kill guards", function(button)
  461.     function kill(a)
  462. local A_1 =
  463. {
  464. [1] =
  465. {
  466. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  467. ["Distance"] = 3.2524313926697,
  468. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  469. ["Hit"] = a.Character.Head
  470. },
  471.   [2] =
  472. {
  473. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  474. ["Distance"] = 3.2699294090271,
  475. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  476. ["Hit"] = a.Character.Head
  477. },
  478. [3] =
  479. {
  480. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  481. ["Distance"] = 3.1665518283844,
  482. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  483. ["Hit"] = a.Character.Head
  484. },
  485. [4] =
  486. {
  487. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  488. ["Distance"] = 3.3218522071838,
  489. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  490. ["Hit"] = a.Character.Head
  491. },
  492. [5] =
  493. {
  494. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  495. ["Distance"] = 3.222757101059,
  496. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  497. ["Hit"] = a.Character.Head
  498. }
  499. }
  500. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  501. local Event = game:GetService("ReplicatedStorage").ShootEvent
  502. Event:FireServer(A_1, A_2)
  503. Event:FireServer(A_1, A_2)
  504. end
  505.  
  506. for i,v in pairs(game.Teams.Guards:GetPlayers()) do
  507. kill(v)
  508. end
  509. end)
  510.  
  511. local killi = library:MakeButton(teamko, "Kill inmates", function(button)
  512.     function kill(a)
  513. local A_1 =
  514. {
  515. [1] =
  516. {
  517. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  518. ["Distance"] = 3.2524313926697,
  519. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  520. ["Hit"] = a.Character.Head
  521. },
  522.   [2] =
  523. {
  524. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  525. ["Distance"] = 3.2699294090271,
  526. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  527. ["Hit"] = a.Character.Head
  528. },
  529. [3] =
  530. {
  531. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  532. ["Distance"] = 3.1665518283844,
  533. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  534. ["Hit"] = a.Character.Head
  535. },
  536. [4] =
  537. {
  538. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  539. ["Distance"] = 3.3218522071838,
  540. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  541. ["Hit"] = a.Character.Head
  542. },
  543. [5] =
  544. {
  545. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  546. ["Distance"] = 3.222757101059,
  547. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  548. ["Hit"] = a.Character.Head
  549. }
  550. }
  551. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  552. local Event = game:GetService("ReplicatedStorage").ShootEvent
  553. Event:FireServer(A_1, A_2)
  554. Event:FireServer(A_1, A_2)
  555. end
  556.  
  557. for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
  558. kill(v)
  559. end
  560. end)
  561.  
  562. local killc = library:MakeButton(teamko, "Kill criminals", function(button)
  563.     function kill(a)
  564. local A_1 =
  565. {
  566. [1] =
  567. {
  568. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  569. ["Distance"] = 3.2524313926697,
  570. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  571. ["Hit"] = a.Character.Head
  572. },
  573.   [2] =
  574. {
  575. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  576. ["Distance"] = 3.2699294090271,
  577. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  578. ["Hit"] = a.Character.Head
  579. },
  580. [3] =
  581. {
  582. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  583. ["Distance"] = 3.1665518283844,
  584. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  585. ["Hit"] = a.Character.Head
  586. },
  587. [4] =
  588. {
  589. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  590. ["Distance"] = 3.3218522071838,
  591. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  592. ["Hit"] = a.Character.Head
  593. },
  594. [5] =
  595. {
  596. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  597. ["Distance"] = 3.222757101059,
  598. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  599. ["Hit"] = a.Character.Head
  600. }
  601. }
  602. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  603. local Event = game:GetService("ReplicatedStorage").ShootEvent
  604. Event:FireServer(A_1, A_2)
  605. Event:FireServer(A_1, A_2)
  606. end
  607.  
  608. for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
  609. kill(v)
  610. end
  611. end)
  612.  
  613. local killn = library:MakeButton(teamko, "Kill neutral", function(button)
  614.     function kill(a)
  615. local A_1 =
  616. {
  617. [1] =
  618. {
  619. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
  620. ["Distance"] = 3.2524313926697,
  621. ["Cframe"] = CFrame.new(840.310791, 101.334137, 2267.87988, 0.0636406094, 0.151434347, -0.986416459, 0, 0.988420188, 0.151741937, 0.997972965, -0.00965694897, 0.0629036576),
  622. ["Hit"] = a.Character.Head
  623. },
  624.   [2] =
  625. {
  626. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
  627. ["Distance"] = 3.2699294090271,
  628. ["Cframe"] = CFrame.new(840.290466, 101.184189, 2267.93506, 0.0964837447, 0.0589403138, -0.993587971, 4.65661287e-10, 0.998245299, 0.0592165813, 0.995334625, -0.00571343815, 0.0963144377),
  629. ["Hit"] = a.Character.Head
  630. },
  631. [3] =
  632. {
  633. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
  634. ["Distance"] = 3.1665518283844,
  635. ["Cframe"] = CFrame.new(840.338867, 101.236496, 2267.80371, 0.0166504811, 0.0941716284, -0.995416701, 1.16415322e-10, 0.995554805, 0.0941846818, 0.999861419, -0.00156822044, 0.0165764652),
  636. ["Hit"] = a.Character.Head
  637. },
  638. [4] =
  639. {
  640. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
  641. ["Distance"] = 3.3218522071838,
  642. ["Cframe"] = CFrame.new(840.277222, 101.285957, 2267.9707, 0.117109694, 0.118740402, -0.985994935, -1.86264515e-09, 0.992826641, 0.119563118, 0.993119001, -0.0140019981, 0.116269611),
  643. ["Hit"] = a.Character.Head
  644. },
  645. [5] =
  646. {
  647. ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
  648. ["Distance"] = 3.222757101059,
  649. ["Cframe"] = CFrame.new(840.317993, 101.286423, 2267.86035, 0.0517584644, 0.123365127, -0.991010666, 0, 0.992340803, 0.123530701, 0.99865967, -0.00639375951, 0.0513620302),
  650. ["Hit"] = a.Character.Head
  651. }
  652. }
  653. local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
  654. local Event = game:GetService("ReplicatedStorage").ShootEvent
  655. Event:FireServer(A_1, A_2)
  656. Event:FireServer(A_1, A_2)
  657. end
  658.  
  659. for i,v in pairs(game.Teams.Neutral:GetPlayers()) do
  660. kill(v)
  661. end
  662. end)
  663.  
  664. function onKeyPress(Toggle, userInputState, inputObject)
  665.     if userInputState == Enum.UserInputState.Begin then
  666.         if toggle == false then
  667.             toggle = true
  668.             tps.Visible = true
  669.             teams.Visible = true
  670.             locals.Visible = true
  671.             inter.Visible = true
  672.             teamko.Visible = true
  673.             else
  674.                 toggle = false
  675.                 tps.Visible = false
  676.                 teams.Visible = false
  677.                 locals.Visible = false
  678.                 inter.Visible = false
  679.                 teamko.Visible = false
  680.         end
  681.     end
  682. end
  683.  
  684. game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.X)
Add Comment
Please, Sign In to add comment