Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local PrisonKiller = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Design = Instance.new("Frame")
- local ExitButton = Instance.new("TextButton")
- local PrisonKillerLabel = Instance.new("TextLabel")
- local Police = Instance.new("TextButton")
- local Prisoner = Instance.new("TextButton")
- local Criminal = Instance.new("TextButton")
- local Neutral = Instance.new("TextButton")
- local Guns = Instance.new("TextButton")
- local FastM9 = Instance.new("TextButton")
- local FastRemington = Instance.new("TextButton")
- local FastTaze = Instance.new("TextButton")
- local FastAk47 = Instance.new("TextButton")
- local Fling = Instance.new("TextButton")
- local KillAll = Instance.new("TextButton")
- local Credits = Instance.new("TextLabel")
- --Properties:
- PrisonKiller.Name = "PrisonKiller"
- PrisonKiller.Parent = game.CoreGui
- PrisonKiller.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = PrisonKiller
- MainFrame.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- MainFrame.BackgroundTransparency = 0.10000000149012
- MainFrame.BorderColor3 = Color3.new(0, 0, 0)
- MainFrame.BorderSizePixel = 5
- MainFrame.Position = UDim2.new(0.323678076, 0, 0.286240786, 0)
- MainFrame.Size = UDim2.new(0, 426, 0, 371)
- MainFrame.Active = true
- MainFrame.Draggable = true
- Design.Name = "Design"
- Design.Parent = MainFrame
- Design.BackgroundColor3 = Color3.new(0, 0, 0)
- Design.Position = UDim2.new(-0.0021901736, 0, -0.00148680655, 0)
- Design.Size = UDim2.new(0, 426, 0, 36)
- ExitButton.Name = "ExitButton"
- ExitButton.Parent = MainFrame
- ExitButton.BackgroundColor3 = Color3.new(1, 1, 1)
- ExitButton.BackgroundTransparency = 1
- ExitButton.Position = UDim2.new(0.931924939, 0, -0.00269541773, 0)
- ExitButton.Size = UDim2.new(0, 29, 0, 25)
- ExitButton.Font = Enum.Font.SourceSans
- ExitButton.Text = "X"
- ExitButton.TextColor3 = Color3.new(1, 1, 1)
- ExitButton.TextScaled = true
- ExitButton.TextSize = 90
- ExitButton.TextWrapped = true
- ExitButton.MouseButton1Click:Connect(function()
- PrisonKiller.Enabled = false;
- end)
- PrisonKillerLabel.Name = "PrisonKillerLabel"
- PrisonKillerLabel.Parent = MainFrame
- PrisonKillerLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- PrisonKillerLabel.BackgroundTransparency = 1
- PrisonKillerLabel.Position = UDim2.new(0.316901416, 0, -0.00269541773, 0)
- PrisonKillerLabel.Size = UDim2.new(0, 168, 0, 36)
- PrisonKillerLabel.Font = Enum.Font.SourceSans
- PrisonKillerLabel.Text = "Prison Killer"
- PrisonKillerLabel.TextColor3 = Color3.new(1, 1, 1)
- PrisonKillerLabel.TextScaled = true
- PrisonKillerLabel.TextSize = 1
- PrisonKillerLabel.TextWrapped = true
- Police.Name = "Police"
- Police.Parent = MainFrame
- Police.BackgroundColor3 = Color3.new(0.00784314, 0.388235, 1)
- Police.Position = UDim2.new(0, 0, 0.121293798, 0)
- Police.Size = UDim2.new(0, 212, 0, 32)
- Police.Font = Enum.Font.SourceSans
- Police.Text = "Police"
- Police.TextColor3 = Color3.new(1, 1, 1)
- Police.TextSize = 30
- Police.TextWrapped = true
- Police.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end)
- Prisoner.Name = "Prisoner"
- Prisoner.Parent = MainFrame
- Prisoner.BackgroundColor3 = Color3.new(0.866667, 0.486275, 0.0509804)
- Prisoner.Position = UDim2.new(0.521126747, 0, 0.121293798, 0)
- Prisoner.Size = UDim2.new(0, 204, 0, 32)
- Prisoner.Font = Enum.Font.SourceSans
- Prisoner.Text = "Prisoner"
- Prisoner.TextColor3 = Color3.new(1, 1, 1)
- Prisoner.TextSize = 30
- Prisoner.TextWrapped = true
- Prisoner.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- Criminal.Name = "Criminal"
- Criminal.Parent = MainFrame
- Criminal.BackgroundColor3 = Color3.new(1, 0, 0)
- Criminal.Position = UDim2.new(0, 0, 0.229110509, 0)
- Criminal.Size = UDim2.new(0, 212, 0, 32)
- Criminal.Font = Enum.Font.SourceSans
- Criminal.Text = "Criminal"
- Criminal.TextColor3 = Color3.new(1, 1, 1)
- Criminal.TextSize = 30
- Criminal.TextWrapped = true
- Criminal.MouseButton1Down:connect(function()
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-976.125183, 109.123924, 2059.99536)
- wait(0.3)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(918.77,100,2379.07)
- end)
- Neutral.Name = "Neutral"
- Neutral.Parent = MainFrame
- Neutral.BackgroundColor3 = Color3.new(0.670588, 0.670588, 0.670588)
- Neutral.Position = UDim2.new(0.521126747, 0, 0.229110509, 0)
- Neutral.Size = UDim2.new(0, 204, 0, 32)
- Neutral.Font = Enum.Font.SourceSans
- Neutral.Text = "Neutral"
- Neutral.TextColor3 = Color3.new(1, 1, 1)
- Neutral.TextSize = 30
- Neutral.TextWrapped = true
- Neutral.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- end)
- Guns.Name = "Guns"
- Guns.Parent = MainFrame
- Guns.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- Guns.Position = UDim2.new(0, 0, 0.347708911, 0)
- Guns.Size = UDim2.new(0, 426, 0, 32)
- Guns.Font = Enum.Font.SourceSans
- Guns.Text = "Guns"
- Guns.TextColor3 = Color3.new(1, 1, 1)
- Guns.TextSize = 30
- Guns.TextWrapped = true
- Guns.MouseButton1Down:connect(function()
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- Guns = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- print(Guns)
- end
- end)
- FastM9.Name = "FastM9"
- FastM9.Parent = MainFrame
- FastM9.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- FastM9.Position = UDim2.new(0, 0, 0.455525577, 0)
- FastM9.Size = UDim2.new(0, 213, 0, 32)
- FastM9.Font = Enum.Font.SourceSans
- FastM9.Text = "Fast M9"
- FastM9.TextColor3 = Color3.new(1, 1, 1)
- FastM9.TextSize = 30
- FastM9.TextWrapped = true
- FastM9.MouseButton1Down:connect(function()
- local Player = game.Players.LocalPlayer.Name
- local Gun = "M9" -- < -- Gun Name
- local Run = game:GetService("RunService")
- Gun = game.Players[Player].Character[Gun]
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local Down = false
- local Sound = Gun.Handle.FireSound
- function CreateRay(Point_A, Point_B)
- local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
- local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
- local Dist = (Point_A - Pos).Magnitude
- local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
- return CFrame, Dist, Ray
- end
- function FireLaser(target)
- coroutine.resume(coroutine.create(function()
- local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
- local Bullet = Instance.new("Part", Gun)
- Bullet.BrickColor = BrickColor.Yellow()
- Bullet.Material = "Neon"
- Bullet.Anchored = true
- Bullet.CanCollide = false
- Bullet.Size = Vector3.new(0.2, 0.2, D)
- Bullet.CFrame = C
- local bulletTable = {}
- table.insert(bulletTable, {
- Hit = target,
- Distance = D,
- Cframe = C,
- RayObject = R
- })
- game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
- local C = Sound:Clone()
- C.Parent = Gun
- C:Play()
- wait(0.05)
- Bullet:Remove()
- end))
- end
- Mouse.Button1Down:Connect(function()
- Down = true
- end)
- Mouse.Button1Up:Connect(function()
- Down = false
- end)
- while Run.Stepped:wait() do
- if Down == true then
- game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
- FireLaser(Mouse.Target)
- end
- end
- end)
- FastRemington.Name = "FastRemington"
- FastRemington.Parent = MainFrame
- FastRemington.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- FastRemington.Position = UDim2.new(0.521126747, 0, 0.455525577, 0)
- FastRemington.Size = UDim2.new(0, 204, 0, 32)
- FastRemington.Font = Enum.Font.SourceSans
- FastRemington.Text = "Fast Remington"
- FastRemington.TextColor3 = Color3.new(1, 1, 1)
- FastRemington.TextSize = 30
- FastRemington.TextWrapped = true
- FastRemington.MouseButton1Down:connect(function()
- local Player = game.Players.LocalPlayer.Name
- local Gun = "Remington 870" -- < -- Gun Name
- local Run = game:GetService("RunService")
- Gun = game.Players[Player].Character[Gun]
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local Down = false
- local Sound = Gun.Handle.FireSound
- function CreateRay(Point_A, Point_B)
- local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
- local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
- local Dist = (Point_A - Pos).Magnitude
- local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
- return CFrame, Dist, Ray
- end
- function FireLaser(target)
- coroutine.resume(coroutine.create(function()
- local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
- local Bullet = Instance.new("Part", Gun)
- Bullet.BrickColor = BrickColor.Yellow()
- Bullet.Material = "Neon"
- Bullet.Anchored = true
- Bullet.CanCollide = false
- Bullet.Size = Vector3.new(0.2, 0.2, D)
- Bullet.CFrame = C
- local bulletTable = {}
- table.insert(bulletTable, {
- Hit = target,
- Distance = D,
- Cframe = C,
- RayObject = R
- })
- game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
- local C = Sound:Clone()
- C.Parent = Gun
- C:Play()
- wait(0.05)
- Bullet:Remove()
- end))
- end
- Mouse.Button1Down:Connect(function()
- Down = true
- end)
- Mouse.Button1Up:Connect(function()
- Down = false
- end)
- while Run.Stepped:wait() do
- if Down == true then
- game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
- FireLaser(Mouse.Target)
- end
- end
- end)
- FastTaze.Name = "FastTaze"
- FastTaze.Parent = MainFrame
- FastTaze.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- FastTaze.Position = UDim2.new(0.521126747, 0, 0.560646892, 0)
- FastTaze.Size = UDim2.new(0, 204, 0, 32)
- FastTaze.Font = Enum.Font.SourceSans
- FastTaze.Text = "Fast Taze"
- FastTaze.TextColor3 = Color3.new(1, 1, 1)
- FastTaze.TextSize = 30
- FastTaze.TextWrapped = true
- FastTaze.MouseButton1Down:connect(function()
- local Player = game.Players.LocalPlayer.Name
- local Gun = "Taser" -- < -- Gun Name
- local Run = game:GetService("RunService")
- Gun = game.Players[Player].Character[Gun]
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local Down = false
- local Sound = Gun.Handle.FireSound
- function CreateRay(Point_A, Point_B)
- local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
- local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
- local Dist = (Point_A - Pos).Magnitude
- local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
- return CFrame, Dist, Ray
- end
- function FireLaser(target)
- coroutine.resume(coroutine.create(function()
- local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
- local Bullet = Instance.new("Part", Gun)
- Bullet.BrickColor = BrickColor.Yellow()
- Bullet.Material = "Neon"
- Bullet.Anchored = true
- Bullet.CanCollide = false
- Bullet.Size = Vector3.new(0.2, 0.2, D)
- Bullet.CFrame = C
- local bulletTable = {}
- table.insert(bulletTable, {
- Hit = target,
- Distance = D,
- Cframe = C,
- RayObject = R
- })
- game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
- local C = Sound:Clone()
- C.Parent = Gun
- C:Play()
- wait(0.05)
- Bullet:Remove()
- end))
- end
- Mouse.Button1Down:Connect(function()
- Down = true
- end)
- Mouse.Button1Up:Connect(function()
- Down = false
- end)
- while Run.Stepped:wait() do
- if Down == true then
- game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
- FireLaser(Mouse.Target)
- end
- end
- end)
- FastAk47.Name = "FastAk47"
- FastAk47.Parent = MainFrame
- FastAk47.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- FastAk47.Position = UDim2.new(0, 0, 0.560646892, 0)
- FastAk47.Size = UDim2.new(0, 213, 0, 32)
- FastAk47.Font = Enum.Font.SourceSans
- FastAk47.Text = "Fast Ak-47"
- FastAk47.TextColor3 = Color3.new(1, 1, 1)
- FastAk47.TextSize = 30
- FastAk47.TextWrapped = true
- fastak.MouseButton1Down:connect(function()
- local Player = game.Players.LocalPlayer.Name
- local Gun = "AK47" -- < -- Gun Name
- local Run = game:GetService("RunService")
- Gun = game.Players[Player].Character[Gun]
- local Mouse = game.Players.LocalPlayer:GetMouse()
- local Down = false
- local Sound = Gun.Handle.FireSound
- function CreateRay(Point_A, Point_B)
- local Ray = Ray.new(Point_A, (Point_B - Point_A).Unit * (2 ^ 31 - 1))
- local Part, Pos = workspace:FindPartOnRay(Ray, game.Players.LocalPlayer.Character)
- local Dist = (Point_A - Pos).Magnitude
- local CFrame = CFrame.new(Point_A, Pos) * CFrame.new(0, 0, -Dist / 2)
- return CFrame, Dist, Ray
- end
- function FireLaser(target)
- coroutine.resume(coroutine.create(function()
- local C, D, R = CreateRay(Gun.Muzzle.CFrame.p, target.CFrame.p)
- local Bullet = Instance.new("Part", Gun)
- Bullet.BrickColor = BrickColor.Yellow()
- Bullet.Material = "Neon"
- Bullet.Anchored = true
- Bullet.CanCollide = false
- Bullet.Size = Vector3.new(0.2, 0.2, D)
- Bullet.CFrame = C
- local bulletTable = {}
- table.insert(bulletTable, {
- Hit = target,
- Distance = D,
- Cframe = C,
- RayObject = R
- })
- game.ReplicatedStorage.ShootEvent:FireServer(bulletTable, Gun)
- local C = Sound:Clone()
- C.Parent = Gun
- C:Play()
- wait(0.05)
- Bullet:Remove()
- end))
- end
- Mouse.Button1Down:Connect(function()
- Down = true
- end)
- Mouse.Button1Up:Connect(function()
- Down = false
- end)
- while Run.Stepped:wait() do
- if Down == true then
- game.ReplicatedStorage.SoundEvent:FireServer(Sound, Gun)
- FireLaser(Mouse.Target)
- end
- end
- end)
- Fling.Name = "Fling"
- Fling.Parent = MainFrame
- Fling.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- Fling.Position = UDim2.new(0, 0, 0.671159029, 0)
- Fling.Size = UDim2.new(0, 426, 0, 32)
- Fling.Font = Enum.Font.SourceSans
- Fling.Text = "Fling"
- Fling.TextColor3 = Color3.new(1, 1, 1)
- Fling.TextSize = 30
- Fling.TextWrapped = true
- Fling.MouseButton1Down:connect(function()
- power = 300 -- change this to make it more or less powerful
- game:GetService('RunService').Stepped:connect(function()
- game.Players.LocalPlayer.Character.Head.CanCollide = false
- game.Players.LocalPlayer.Character.Torso.CanCollide = false
- game.Players.LocalPlayer.Character["Left Leg"].CanCollide = false
- game.Players.LocalPlayer.Character["Right Leg"].CanCollide = false
- end)
- wait(.1)
- local bambam = Instance.new("BodyThrust")
- bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- bambam.Force = Vector3.new(power,0,power)
- bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- end)
- KillAll.Name = "KillAll"
- KillAll.Parent = MainFrame
- KillAll.BackgroundColor3 = Color3.new(0.588235, 0.588235, 0.588235)
- KillAll.Position = UDim2.new(-0.00234741787, 0, 0.778975785, 0)
- KillAll.Size = UDim2.new(0, 426, 0, 32)
- KillAll.Font = Enum.Font.SourceSans
- KillAll.Text = "Kill All"
- KillAll.TextColor3 = Color3.new(1, 1, 1)
- KillAll.TextSize = 30
- KillAll.TextWrapped = true
- KillAll.MouseButton1Down:connect(function()
- workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
- wait(0.5)
- 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
- kill(v)
- end
- end
- wait(1)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- Credits.Name = "Credits"
- Credits.Parent = MainFrame
- Credits.BackgroundColor3 = Color3.new(0, 0, 0)
- Credits.Position = UDim2.new(0, 0, 0.88409704, 0)
- Credits.Size = UDim2.new(0, 426, 0, 36)
- Credits.Font = Enum.Font.SourceSans
- Credits.Text = "Prison Killer By : @CharliezkieRBLX#5820"
- Credits.TextColor3 = Color3.new(1, 1, 1)
- Credits.TextSize = 25
- Credits.TextWrapped = true
Add Comment
Please, Sign In to add comment