Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
- if key == 'z' then
- saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game:GetService("Workspace").Remote.loadchar:InvokeServer("LocalPlayer")
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
- end
- end)
- local slot1={"M9"}
- local slot2={"M4A1"}
- local slot3={"Remington 870"}
- game.Players.LocalPlayer.CharacterAdded:Connect(function(Character)
- wait(0.01)
- 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
- wait(0.1)
- 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
- wait(0.1)
- 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
- wait(0.1)
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("M9")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["MaxAmmo"] = math.huge
- sM["StoredAmmo"] = math.huge
- sM["FireRate"] = 0.0001
- sM["AmmoPerClip"] = math.huge
- sM["ReloadTime"] = 0.05
- sM["CurrentAmmo"] = math.huge
- local player =
- game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("M4A1")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["MaxAmmo"] = math.huge
- sM["StoredAmmo"] = math.huge
- sM["FireRate"] = 0.06
- sM["AmmoPerClip"] = math.huge
- sM["ReloadTime"] = 0.05
- sM["CurrentAmmo"] = math.huge
- local player = game:GetService("Players").LocalPlayer
- local gun = player.Backpack:FindFirstChild("Remington 870")
- local sM = require(gun:FindFirstChild("GunStates"))
- sM["MaxAmmo"] = math.huge
- sM["StoredAmmo"] = math.huge
- sM["FireRate"] = 0.8
- sM["AmmoPerClip"] = math.huge
- sM["ReloadTime"] = 0.05
- sM["Bullets"] = 18
- sM["CurrentAmmo"] = math.huge
- end)
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/eKwyeQa0"))() -- library
- local tps = library:CreateTab("Teleports", true) -- true for rainbow ok
- local teams = library:CreateTab("Teams", true)
- local locals = library:CreateTab("local functions", true)
- local inter = library:CreateTab("Other Players", true)
- local teamko = library:CreateTab("Kill teams", true)
- local tp1 = library:MakeButton(tps, "Roof", function(button)
- 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)
- end)
- local tp2 = library:MakeButton(tps, "Criminal base", function(button)
- 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)
- end)
- local tp3 = library:MakeButton(tps, "NikkiBrandonSpot", function(button)
- 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)
- end)
- local guard = library:MakeButton(teams, "Guards", function(button)
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end)
- local prison = library:MakeButton(teams, "Inmates", function()
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- local neutral = library:MakeButton(teams, "Neutral", function()
- workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- end)
- local crim = library:MakeButton(teams, "Criminals", function()
- local Apart = Instance.new("Part")
- Apart.Name = "PlrsPos"
- Apart.Parent = workspace
- Apart.Anchored = true
- Apart.Archivable = true
- Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- _G.killAura = true
- wait(0.2)
- Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- Apart.Transparency = 1
- Apart.Anchored = true
- Apart.CanCollide = false
- istptoplr = true
- wait(0.004)
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- LCS.CanCollide = false
- LCS.Size = Vector3.new(51.05, 24.12, 54.76)
- LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- LCS.Transparency = 1
- wait(2)
- istptoplr = false
- _G.killAura = false
- wait(0.04)
- if istptoplr == false then
- LCS.CFrame = CFrame.new(-920,510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LCS.Size = Vector3,new(6, 0.2, 6)
- LCS.Transparency = 0
- istptoplr = false
- end
- end)
- local custom = library:MakeButton(teams, "Load custom gui", function()
- loadstring(game:HttpGet("https://pastebin.com/raw/wZKfd67F"))()
- end)
- local rb = library:MakeButton(locals, "Rainbow bullets", function()
- do
- setreadonly(BrickColor, false)
- for i, v in next, BrickColor do
- if i ~= "random" then
- local old = v
- BrickColor[i] = newcclosure(function(...)
- local env = getfenv(2)
- if env.script and env.script.Parent ~= nil and env.script.Parent.ClassName == "Tool" then
- return BrickColor.random()
- end
- end)
- end --double loop function, change if possible
- end
- end
- end)
- local fb = library:MakeButton(locals, "Fullbright", function() --no while true on skisploit cuz crashy
- while wait() do
- game.Lighting.Ambient = Color3.new(1,1,1)
- game.Lighting.FogEnd = 100000
- game.Lighting.FogStart = 100000
- game.Lighting.Brightness = 2
- game.Lighting.ColorShift_Bottom = Color3.new(1,1,1)
- game.Lighting.ColorShift_Top = Color3.new(1,1,1)
- game.Lighting.OutdoorAmbient = Color3.new(1,1,1)
- end
- end)
- local ar = library:MakeButton(locals, "Auto respawn", function() --fix when toggles are fixed
- local blah = (game.Players.LocalPlayer.Name)
- _G.Looop = true
- while _G.Looop == true do wait(0.1)
- if game:GetService("Workspace")[blah].Humanoid.Health == 0 then
- saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game:GetService("Workspace").Remote.loadchar:InvokeServer("LocalPlayer")
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
- end
- end
- end)
- local op = library:MakeButton(locals, "One punch", function()
- 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)
- end)
- local plrs = library:MakeBox(inter, "Playername here", "PLAYERNAME", function(box)
- print(plrs.Text)
- end)
- local Players = game:GetService("Players") --get players
- local localPlayer = Players.LocalPlayer
- local function RemoveSpaces(String)
- return String:gsub("%s+", "") or String
- end
- local function FindPlayer(String)
- String = RemoveSpaces(String)
- for _, _Player in pairs(Players:GetPlayers()) do
- if _Player.Name:lower():match('^'..String:lower()) then
- return _Player
- end
- end
- return nil --if empty return LocalPlayer
- end
- local kill1 = library:MakeButton(inter, "Kill player", function(button)
- local target = FindPlayer(plrs.Text)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
- ["Distance"] = 4.7204174995422,
- ["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),
- ["Hit"] = target.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
- ["Distance"] = 4.8114862442017,
- ["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),
- ["Hit"] = target.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
- ["Distance"] = 4.444625377655,
- ["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),
- ["Hit"] = target.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
- ["Distance"] = 4.6211166381836,
- ["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),
- ["Hit"] = target.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
- ["Distance"] = 4.4639973640442,
- ["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),
- ["Hit"] = target.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- end)
- local arrest = library:MakeButton(inter,"Arrest player", function(button)
- local target = FindPlayer(plrs.Text)
- saved = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
- wait(0.1)
- game.Workspace.Remote.arrest:InvokeServer(target.Character.HumanoidRootPart)
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = saved
- end)
- local tpto = library:MakeButton(inter,"Go to player", function(button)
- local target = FindPlayer(plrs.Text)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = target.Character.HumanoidRootPart.CFrame
- end)
- local taze = library:MakeButton(inter, "Taze player", function(button)
- local target = FindPlayer(plrs.Text)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(829.838562, 101.489998, 2331.25635), Vector3.new(-30.6540909, -5.42795324, 95.0308533)),
- ["Distance"] = 15.355997085571,
- ["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),
- ["Hit"] = target.Character.Torso
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Taser"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- end)
- local crim = library:MakeButton(inter,"make criminal",function(button)
- local Apart = Instance.new("Part")
- Apart.Name = "PlrsPos"
- Apart.Parent = workspace
- Apart.Anchored = true
- Apart.Archivable = true
- Apart.CFrame = CFrame.new(9e99, 9e99, 9e99)
- local lol = FindPlayer(plrs.Text)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(277.738678, 6.89340925, 287.773712)),
- ["Distance"] = 4.7204174995422,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(303.047546, 21.3568707, 260.203888)),
- ["Distance"] = 4.8114862442017,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(296.800507, 7.00420141, 268.067932)),
- ["Distance"] = 4.444625377655,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(284.930573, 11.9850616, 280.483368)),
- ["Distance"] = 4.6211166381836,
- ["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),
- ["Hit"] = lol.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(827.412415, 101.489777, 2296.84326), Vector3.new(294.625824, 2.15741801, 270.538269)),
- ["Distance"] = 4.4639973640442,
- ["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),
- ["Hit"] = lol.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- _G.killaura = true
- wait(0.1)
- Apart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- Apart.Transparency = 1
- Apart.Anchored = true
- Apart.CanCollide = false
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = lol.Character.HumanoidRootPart.CFrame
- istptoplr = true
- wait(0.004)
- if game.Players.LocalPlayer.Team.TeamColor == "Bright orange" then
- wait(2)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- elseif
- game.Players.LocalPlayer.Team.TeamColor == "Bright blue" then
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end
- if istptoplr == true then
- while istptoplr do
- wait()
- game.Players.LocalPlayer.Character:FindFirstChild("HumanoidRootPart").CFrame = lol.Character.HumanoidRootPart.CFrame
- LCS = game.Workspace["Criminals Spawn"].SpawnLocation
- LCS.CanCollide = false
- LCS.Size = Vector3.new(51.05, 24.12, 54.76)
- LCS.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- LCS.Transparency = 1
- wait(0.1)
- istptoplr = false
- wait(0.04)
- if istptoplr == false then
- LCS.CFrame = CFrame.new(-920.510803, 92.2271957, 2138.27002, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LCS.Size = Vector3.new(6, 0.2, 6)
- LCS.Transparency = 0
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Apart.CFrame
- wait()
- istptoplr = false
- wait(0.1)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end
- end
- end
- end)
- local killall = library:MakeButton(inter,"Kill all", function(button)
- function kill(a)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
- ["Distance"] = 3.2524313926697,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
- ["Distance"] = 3.2699294090271,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
- ["Distance"] = 3.1665518283844,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
- ["Distance"] = 3.3218522071838,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
- ["Distance"] = 3.222757101059,
- ["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),
- ["Hit"] = a.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- Event:FireServer(A_1, A_2)
- end
- for i,v in pairs(game.Players:GetChildren())do
- if v.Name ~= game.Players.LocalPlayer.Name then --koallbutself
- kill(v)
- end
- end
- end)
- local arrestall = library:MakeButton(inter,"Arrest crims", function(button)
- local Player = game.Players.LocalPlayer
- local cpos = Player.Character.HumanoidRootPart.CFrame
- for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
- if v.Name ~= Player.Name then
- local i = 10
- repeat
- wait()
- i = i-1
- game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
- Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,1)
- until i == 0
- end
- end
- Player.Character.HumanoidRootPart.CFrame = cpos
- end)
- local killg = library:MakeButton(teamko, "Kill guards", function(button)
- function kill(a)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
- ["Distance"] = 3.2524313926697,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
- ["Distance"] = 3.2699294090271,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
- ["Distance"] = 3.1665518283844,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
- ["Distance"] = 3.3218522071838,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
- ["Distance"] = 3.222757101059,
- ["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),
- ["Hit"] = a.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- Event:FireServer(A_1, A_2)
- end
- for i,v in pairs(game.Teams.Guards:GetPlayers()) do
- kill(v)
- end
- end)
- local killi = library:MakeButton(teamko, "Kill inmates", function(button)
- function kill(a)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
- ["Distance"] = 3.2524313926697,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
- ["Distance"] = 3.2699294090271,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
- ["Distance"] = 3.1665518283844,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
- ["Distance"] = 3.3218522071838,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
- ["Distance"] = 3.222757101059,
- ["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),
- ["Hit"] = a.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- Event:FireServer(A_1, A_2)
- end
- for i,v in pairs(game.Teams.Inmates:GetPlayers()) do
- kill(v)
- end
- end)
- local killc = library:MakeButton(teamko, "Kill criminals", function(button)
- function kill(a)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
- ["Distance"] = 3.2524313926697,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
- ["Distance"] = 3.2699294090271,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
- ["Distance"] = 3.1665518283844,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
- ["Distance"] = 3.3218522071838,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
- ["Distance"] = 3.222757101059,
- ["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),
- ["Hit"] = a.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- Event:FireServer(A_1, A_2)
- end
- for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
- kill(v)
- end
- end)
- local killn = library:MakeButton(teamko, "Kill neutral", function(button)
- function kill(a)
- local A_1 =
- {
- [1] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-391.152252, 8.65560055, -83.2166901)),
- ["Distance"] = 3.2524313926697,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [2] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-392.481476, -8.44939327, -76.7261353)),
- ["Distance"] = 3.2699294090271,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [3] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-389.21701, -2.50536323, -92.2163162)),
- ["Distance"] = 3.1665518283844,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [4] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-393.353973, 3.13988972, -72.5452042)),
- ["Distance"] = 3.3218522071838,
- ["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),
- ["Hit"] = a.Character.Head
- },
- [5] =
- {
- ["RayObject"] = Ray.new(Vector3.new(845.555908, 101.429337, 2269.43945), Vector3.new(-390.73172, 3.2097764, -85.5477524)),
- ["Distance"] = 3.222757101059,
- ["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),
- ["Hit"] = a.Character.Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- Event:FireServer(A_1, A_2)
- end
- for i,v in pairs(game.Teams.Neutral:GetPlayers()) do
- kill(v)
- end
- end)
- function onKeyPress(Toggle, userInputState, inputObject)
- if userInputState == Enum.UserInputState.Begin then
- if toggle == false then
- toggle = true
- tps.Visible = true
- teams.Visible = true
- locals.Visible = true
- inter.Visible = true
- teamko.Visible = true
- else
- toggle = false
- tps.Visible = false
- teams.Visible = false
- locals.Visible = false
- inter.Visible = false
- teamko.Visible = false
- end
- end
- end
- game.ContextActionService:BindAction("keyPress", onKeyPress, false, Enum.KeyCode.X)
Add Comment
Please, Sign In to add comment