Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made By: Jmuse#3982
- -- Full credit to the original script makers
- -- Website: https://exploits--jmuse.repl.co/
- local PrisonLife = Instance.new("ScreenGui")
- local MainGUI = Instance.new("Frame")
- local Scroll1 = Instance.new("ScrollingFrame")
- local guns = Instance.new("TextButton")
- local btools = Instance.new("TextButton")
- local clickarrest = Instance.new("TextButton")
- local arrestall = Instance.new("TextButton")
- local door = Instance.new("TextButton")
- local fences = Instance.new("TextButton")
- local taseall = Instance.new("TextButton")
- local antitase = Instance.new("TextButton")
- local inmate = Instance.new("TextButton")
- local na = Instance.new("TextButton")
- local police = Instance.new("TextButton")
- local crime = Instance.new("TextButton")
- local killall = Instance.new("TextButton")
- local killaura = Instance.new("TextButton")
- local title = Instance.new("TextLabel")
- local Scroll2 = Instance.new("ScrollingFrame")
- local fastshot = Instance.new("TextButton")
- local fastak = Instance.new("TextButton")
- local fastm4 = Instance.new("TextButton")
- local fastm9 = Instance.new("TextButton")
- local fastm9_2 = Instance.new("TextButton")
- local killtext = Instance.new("TextBox")
- local kill = Instance.new("TextButton")
- local credits = Instance.new("TextLabel")
- local close = Instance.new("TextButton")
- local OpenGUI = Instance.new("Frame")
- local open = Instance.new("TextButton")
- --Properties:
- PrisonLife.Name = "Prison Life"
- PrisonLife.Parent = game.CoreGui
- MainGUI.Active = true
- MainGUI.Draggable = true
- MainGUI.Name = "MainGUI"
- MainGUI.Parent = PrisonLife
- MainGUI.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- MainGUI.Position = UDim2.new(0.134874761, 0, 0.029880479, 0)
- MainGUI.Size = UDim2.new(0, 470, 0, 472)
- MainGUI.Visible = false
- Scroll1.Name = "Scroll1"
- Scroll1.Parent = MainGUI
- Scroll1.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Scroll1.BorderSizePixel = 0
- Scroll1.Position = UDim2.new(0, 0, 0.125, 0)
- Scroll1.Size = UDim2.new(0, 228, 0, 413)
- guns.Name = "guns"
- guns.Parent = Scroll1
- guns.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- guns.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- guns.Size = UDim2.new(0, 214, 0, 50)
- guns.Font = Enum.Font.SourceSansBold
- guns.Text = "All Guns/Keycard"
- guns.TextColor3 = Color3.new(1, 1, 1)
- guns.TextScaled = true
- guns.TextSize = 14
- guns.TextWrapped = true
- guns.MouseButton1Click:connect(function()
- local Weapon = {"M4A1"}
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- if v.Name == Weapon[1] then
- local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end
- local Weapon = {"AK-47"}
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- if v.Name == Weapon[1] then
- local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end
- local Weapon = {"M9"}
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- if v.Name == Weapon[1] then
- local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end
- local Weapon = {"Remington 870"}
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- if v.Name == Weapon[1] then
- local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end
- local Remote = game.Workspace.Remote['ItemHandler']
- local Arguments = {
- [1] = Workspace.Prison_ITEMS.single:WaitForChild("Key card").ITEMPICKUP
- }
- Remote:InvokeServer(unpack(Arguments))
- end)
- btools.Name = "btools"
- btools.Parent = Scroll1
- btools.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- btools.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- btools.Position = UDim2.new(0, 0, 0.052966103, 0)
- btools.Size = UDim2.new(0, 214, 0, 50)
- btools.Font = Enum.Font.SourceSansBold
- btools.Text = "Btools"
- btools.TextColor3 = Color3.new(1, 1, 1)
- btools.TextScaled = true
- btools.TextSize = 14
- btools.TextWrapped = true
- btools.MouseButton1Click:connect(function()
- wait(0.1)
- local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- tool1.BinType = "Clone"
- tool2.BinType = "Hammer"
- tool3.BinType = "Grab"
- end)
- clickarrest.Name = "clickarrest"
- clickarrest.Parent = Scroll1
- clickarrest.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- clickarrest.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- clickarrest.Position = UDim2.new(0, 0, 0.105932206, 0)
- clickarrest.Size = UDim2.new(0, 214, 0, 50)
- clickarrest.Font = Enum.Font.SourceSansBold
- clickarrest.Text = "Click Arrest"
- clickarrest.TextColor3 = Color3.new(1, 1, 1)
- clickarrest.TextScaled = true
- clickarrest.TextSize = 14
- clickarrest.TextWrapped = true
- clickarrest.MouseButton1Click:connect(function()
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("[Click Arrest Is Now Permanently On! All You Have To Do Is Click On A Bad Guy Or A Inmate In The Wrong Area.]");
- Color = Color3.new(0,255,0);
- FontSize = Enum.FontSize.Size24;
- })
- local mouse = game.Players.LocalPlayer:GetMouse()
- local arrestEvent = game.Workspace.Remote.arrest
- mouse.Button1Down:connect(function()
- local obj = mouse.Target
- local response = arrestEvent:InvokeServer(obj)
- end)
- end)
- arrestall.Name = "arrestall"
- arrestall.Parent = Scroll1
- arrestall.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- arrestall.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- arrestall.Position = UDim2.new(0, 0, 0.161016941, 0)
- arrestall.Size = UDim2.new(0, 214, 0, 50)
- arrestall.Font = Enum.Font.SourceSansBold
- arrestall.Text = "Arrest All"
- arrestall.TextColor3 = Color3.new(1, 1, 1)
- arrestall.TextScaled = true
- arrestall.TextSize = 14
- arrestall.TextWrapped = true
- arrestall.MouseButton1Click:connect(function()
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("[Arresting All Bad Guys...]");
- Color = Color3.new(0,255,0);
- FontSize = Enum.FontSize.Size24;
- })
- wait(0.1)
- 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
- end)
- door.Name = "door"
- door.Parent = Scroll1
- door.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- door.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- door.Position = UDim2.new(0, 0, 0.213983044, 0)
- door.Size = UDim2.new(0, 214, 0, 50)
- door.Font = Enum.Font.SourceSansBold
- door.Text = "Remove Doors"
- door.TextColor3 = Color3.new(1, 1, 1)
- door.TextScaled = true
- door.TextSize = 14
- door.TextWrapped = true
- door.MouseButton1Click:connect(function()
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("[All Doors Have Been Removed...]");
- Color = Color3.new(0,255,0);
- FontSize = Enum.FontSize.Size24;
- })
- game.Workspace.Doors:Destroy()
- end)
- fences.Name = "fences"
- fences.Parent = Scroll1
- fences.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fences.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fences.Position = UDim2.new(0, 0, 0.266949147, 0)
- fences.Size = UDim2.new(0, 214, 0, 50)
- fences.Font = Enum.Font.SourceSansBold
- fences.Text = "Remove Fences"
- fences.TextColor3 = Color3.new(1, 1, 1)
- fences.TextScaled = true
- fences.TextSize = 14
- fences.TextWrapped = true
- fences.MouseButton1Click:connect(function()
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("[All Fences Have Been Removed...]");
- Color = Color3.new(0,255,0);
- FontSize = Enum.FontSize.Size24;
- })
- game.Workspace.Prison_Fences:Destroy()
- end)
- taseall.Name = "taseall"
- taseall.Parent = Scroll1
- taseall.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- taseall.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- taseall.Position = UDim2.new(0, 0, 0.319915235, 0)
- taseall.Size = UDim2.new(0, 214, 0, 50)
- taseall.Font = Enum.Font.SourceSansBold
- taseall.Text = "Tase All"
- taseall.TextColor3 = Color3.new(1, 1, 1)
- taseall.TextScaled = true
- taseall.TextSize = 14
- taseall.TextWrapped = true
- taseall.MouseButton1Click:connect(function()
- -- Taze All
- -- Cops Only
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- function kill(a)
- 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"] = a.Character.Torso
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Taser"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- 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
- end)
- antitase.Name = "antitase"
- antitase.Parent = Scroll1
- antitase.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- antitase.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- antitase.Position = UDim2.new(0, 0, 0.372881323, 0)
- antitase.Size = UDim2.new(0, 214, 0, 50)
- antitase.Font = Enum.Font.SourceSansBold
- antitase.Text = "Anti Taser"
- antitase.TextColor3 = Color3.new(1, 1, 1)
- antitase.TextScaled = true
- antitase.TextSize = 14
- antitase.TextWrapped = true
- antitase.MouseButton1Click:connect(function()
- game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
- game.Players.LocalPlayer.CharacterAdded:connect(function()
- game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
- game.Players.LocalPlayer.Character.ClientInputHandler.Disabled = true
- end)
- end)
- inmate.Name = "inmate"
- inmate.Parent = Scroll1
- inmate.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- inmate.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- inmate.Position = UDim2.new(0, 0, 0.424788117, 0)
- inmate.Size = UDim2.new(0, 214, 0, 50)
- inmate.Font = Enum.Font.SourceSansBold
- inmate.Text = "Team Inmate"
- inmate.TextColor3 = Color3.new(1, 1, 1)
- inmate.TextScaled = true
- inmate.TextSize = 14
- inmate.TextWrapped = true
- inmate.MouseButton1Click:connect(function()
- Workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- na.Name = "na"
- na.Parent = Scroll1
- na.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- na.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- na.Position = UDim2.new(0, 0, 0.476694912, 0)
- na.Size = UDim2.new(0, 214, 0, 50)
- na.Font = Enum.Font.SourceSansBold
- na.Text = "Team N/A"
- na.TextColor3 = Color3.new(1, 1, 1)
- na.TextScaled = true
- na.TextSize = 14
- na.TextWrapped = true
- na.MouseButton1Click:connect(function()
- Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- end)
- police.Name = "police"
- police.Parent = Scroll1
- police.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- police.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- police.Position = UDim2.new(0, 0, 0.528601706, 0)
- police.Size = UDim2.new(0, 214, 0, 50)
- police.Font = Enum.Font.SourceSansBold
- police.Text = "Team Police"
- police.TextColor3 = Color3.new(1, 1, 1)
- police.TextScaled = true
- police.TextSize = 14
- police.TextWrapped = true
- police.MouseButton1Click:connect(function()
- Workspace.Remote.TeamEvent:FireServer("Bright blue")
- end)
- crime.Name = "crime"
- crime.Parent = Scroll1
- crime.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- crime.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- crime.Position = UDim2.new(0, 0, 0.58050853, 0)
- crime.Size = UDim2.new(0, 214, 0, 50)
- crime.Font = Enum.Font.SourceSansBold
- crime.Text = "Team Criminal"
- crime.TextColor3 = Color3.new(1, 1, 1)
- crime.TextScaled = true
- crime.TextSize = 14
- crime.TextWrapped = true
- crime.MouseButton1Click:connect(function()
- weld02 = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-919.958, 95.327, 2138.189)
- wait(0.075)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(weld02)
- end)
- killall.Name = "killall"
- killall.Parent = Scroll1
- killall.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- killall.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- killall.Position = UDim2.new(0, 0, 0.945974648, 0)
- killall.Size = UDim2.new(0, 214, 0, 50)
- killall.Font = Enum.Font.SourceSansBold
- killall.Text = "Kill All"
- killall.TextColor3 = Color3.new(1, 0, 0)
- killall.TextScaled = true
- killall.TextSize = 14
- killall.TextWrapped = true
- killall.MouseButton1Click:connect(function()
- wait(0.5)
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("[R.I.P To Everyone!]");
- Color = Color3.new(255,0,0);
- FontSize = Enum.FontSize.Size24;
- })
- 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)
- killaura.Name = "killaura"
- killaura.Parent = Scroll1
- killaura.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- killaura.BorderColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- killaura.Position = UDim2.new(0, 0, 0.891949236, 0)
- killaura.Size = UDim2.new(0, 214, 0, 50)
- killaura.Font = Enum.Font.SourceSansBold
- killaura.Text = "Kill Aura [Press \"E\"]"
- killaura.TextColor3 = Color3.new(1, 0, 0)
- killaura.TextScaled = true
- killaura.TextSize = 14
- killaura.TextWrapped = true
- killaura.MouseButton1Click:connect(function()
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("Press E When You Are Next To Someone To Automatically Kill Them");
- Color = Color3.new(255,0,0);
- FontSize = Enum.FontSize.Size24;
- })
- plr = game:service'Players'.LocalPlayer
- char = plr.Character
- mouse = plr:GetMouse()
- on = false
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- on = true
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key == "e" then
- on = false
- end
- end)
- while wait(0.1) do
- for i, b in pairs(game.Players:GetChildren()) do
- if b.Name ~= plr.Name and not b:IsFriendsWith(plr.UserId) and on then
- for i = 1, 10 do
- game.ReplicatedStorage.meleeEvent:FireServer(b)
- end
- end
- end
- end
- while true do
- wait(0.01)
- for i,v in pairs (game.Players:GetChildren()) do
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[v.Name].Character.HumanoidRootPart.CFrame
- game.ReplicatedStorage.meleeEvent:FireServer(v.Name)
- wait(.8)
- end
- end
- end)
- title.Name = "title"
- title.Parent = MainGUI
- title.BackgroundColor3 = Color3.new(1, 0.333333, 0)
- title.Size = UDim2.new(0, 470, 0, 59)
- title.Font = Enum.Font.SourceSansBold
- title.Text = "Jmuse's Prison Life GUI v1.5"
- title.TextColor3 = Color3.new(1, 1, 1)
- title.TextScaled = true
- title.TextSize = 20
- title.TextWrapped = true
- Scroll2.Name = "Scroll2"
- Scroll2.Parent = MainGUI
- Scroll2.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Scroll2.BorderSizePixel = 0
- Scroll2.Position = UDim2.new(0.485106379, 0, 0.125, 0)
- Scroll2.Size = UDim2.new(0, 242, 0, 214)
- fastshot.Name = "fastshot"
- fastshot.Parent = Scroll2
- fastshot.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fastshot.BorderSizePixel = 0
- fastshot.Size = UDim2.new(0, 229, 0, 50)
- fastshot.Font = Enum.Font.SourceSansBold
- fastshot.Text = "Fast Shotgun"
- fastshot.TextColor3 = Color3.new(1, 1, 1)
- fastshot.TextScaled = true
- fastshot.TextSize = 14
- fastshot.TextWrapped = true
- fastshot.MouseButton1Click: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)
- fastak.Name = "fastak"
- fastak.Parent = Scroll2
- fastak.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fastak.BorderSizePixel = 0
- fastak.Position = UDim2.new(0, 0, 0.052966103, 0)
- fastak.Size = UDim2.new(0, 229, 0, 50)
- fastak.Font = Enum.Font.SourceSansBold
- fastak.Text = "Fast AK"
- fastak.TextColor3 = Color3.new(1, 1, 1)
- fastak.TextScaled = true
- fastak.TextSize = 14
- fastak.TextWrapped = true
- fastak.MouseButton1Click:connect(function()
- local Player = game.Players.LocalPlayer.Name
- local Gun = "AK-47" -- < -- 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)
- fastm4.Name = "fastm4"
- fastm4.Parent = Scroll2
- fastm4.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fastm4.BorderSizePixel = 0
- fastm4.Position = UDim2.new(0, 0, 0.105932206, 0)
- fastm4.Size = UDim2.new(0, 229, 0, 50)
- fastm4.Font = Enum.Font.SourceSansBold
- fastm4.Text = "Fast M4A1"
- fastm4.TextColor3 = Color3.new(1, 1, 1)
- fastm4.TextScaled = true
- fastm4.TextSize = 14
- fastm4.TextWrapped = true
- fastm4.MouseButton1Click:connect(function()
- local Player = game.Players.LocalPlayer.Name
- local Gun = "M4A1" -- < -- 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)
- fastm9.Name = "fastm9"
- fastm9.Parent = Scroll2
- fastm9.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fastm9.BorderSizePixel = 0
- fastm9.Position = UDim2.new(0, 0, 0.158898309, 0)
- fastm9.Size = UDim2.new(0, 229, 0, 50)
- fastm9.Font = Enum.Font.SourceSansBold
- fastm9.Text = "Fast M9"
- fastm9.TextColor3 = Color3.new(1, 1, 1)
- fastm9.TextScaled = true
- fastm9.TextSize = 14
- fastm9.TextWrapped = true
- fastm9.MouseButton1Click: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)
- fastm9_2.Name = "fastm9"
- fastm9_2.Parent = Scroll2
- fastm9_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- fastm9_2.BorderSizePixel = 0
- fastm9_2.Position = UDim2.new(0, 0, 0.211864412, 0)
- fastm9_2.Size = UDim2.new(0, 229, 0, 50)
- fastm9_2.Font = Enum.Font.SourceSansBold
- fastm9_2.Text = "Fast Taser"
- fastm9_2.TextColor3 = Color3.new(1, 1, 1)
- fastm9_2.TextScaled = true
- fastm9_2.TextSize = 14
- fastm9_2.TextWrapped = true
- fastm9_2.MouseButton1Click: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)
- killtext.Name = "killtext"
- killtext.Parent = MainGUI
- killtext.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- killtext.BorderSizePixel = 0
- killtext.Position = UDim2.new(0.485106379, 0, 0.612288117, 0)
- killtext.Size = UDim2.new(0, 229, 0, 50)
- killtext.Font = Enum.Font.SourceSansBold
- killtext.Text = "[Player Name]"
- killtext.TextColor3 = Color3.new(1, 1, 1)
- killtext.TextScaled = true
- killtext.TextSize = 14
- killtext.TextWrapped = true
- kill.Name = "kill"
- kill.Parent = MainGUI
- kill.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- kill.BorderSizePixel = 0
- kill.Position = UDim2.new(0.485106379, 0, 0.718220353, 0)
- kill.Size = UDim2.new(0, 229, 0, 50)
- kill.Font = Enum.Font.SourceSansBold
- kill.Text = "Kill Player"
- kill.TextColor3 = Color3.new(1, 1, 1)
- kill.TextScaled = true
- kill.TextSize = 14
- kill.TextWrapped = true
- kill.MouseButton1Click:connect(function()
- game.Workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
- wait(0.1)
- Workspace.Remote.TeamEvent:FireServer("Medium stone grey")
- 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"] = game.Workspace[killtext.Text].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"] = game.Workspace[killtext.Text].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"] = game.Workspace[killtext.Text].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"] = game.Workspace[killtext.Text].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"] = game.Workspace[killtext.Text].Head
- }
- }
- local A_2 = game.Players.LocalPlayer.Backpack["Remington 870"]
- local Event = game:GetService("ReplicatedStorage").ShootEvent
- Event:FireServer(A_1, A_2)
- wait(0.5)
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end)
- credits.Name = "credits"
- credits.Parent = MainGUI
- credits.BackgroundColor3 = Color3.new(1, 0.333333, 0)
- credits.BorderColor3 = Color3.new(1, 0.333333, 0)
- credits.BorderSizePixel = 0
- credits.Position = UDim2.new(0.485106379, 0, 0.86016947, 0)
- credits.Size = UDim2.new(0, 229, 0, 50)
- credits.Font = Enum.Font.SourceSansBold
- credits.Text = "Made By: Jmuse#3982"
- credits.TextColor3 = Color3.new(1, 1, 1)
- credits.TextScaled = true
- credits.TextSize = 14
- credits.TextWrapped = true
- close.Name = "close"
- close.Parent = MainGUI
- close.BackgroundColor3 = Color3.new(1, 0.188235, 0.2)
- close.Position = UDim2.new(1.02127659, 0, 0, 0)
- close.Size = UDim2.new(0, 64, 0, 59)
- close.Font = Enum.Font.SourceSans
- close.Text = "X"
- close.TextColor3 = Color3.new(1, 1, 1)
- close.TextScaled = true
- close.TextSize = 14
- close.TextWrapped = true
- close.MouseButton1Click:connect(function()
- MainGUI.Visible = false
- OpenGUI.Visible = true
- end)
- OpenGUI.Name = "OpenGUI"
- OpenGUI.Parent = PrisonLife
- OpenGUI.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- OpenGUI.BorderSizePixel = 0
- OpenGUI.Position = UDim2.new(0, 0, 0.605577707, 0)
- OpenGUI.Size = UDim2.new(0, 100, 0, 39)
- open.Name = "open"
- open.Parent = OpenGUI
- open.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- open.BorderSizePixel = 0
- open.Size = UDim2.new(0, 100, 0, 39)
- open.Font = Enum.Font.SourceSansBold
- open.Text = "OPEN"
- open.TextColor3 = Color3.new(1, 1, 1)
- open.TextScaled = true
- open.TextSize = 14
- open.TextWrapped = true
- open.MouseButton1Click:connect(function()
- MainGUI.Visible = true
- OpenGUI.Visible = false
- end)
- wait(0.5)
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("Made By: Jmuse#3982");
- Color = Color3.new(255,0,0);
- FontSize = Enum.FontSize.Size24;
- })
- wait(0.5)
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("Added More Fast Weapons, Kill Player, And Removed Teleport To Player");
- Color = Color3.new(0,255,0);
- FontSize = Enum.FontSize.Size24;
- })
- wait(0.5)
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("You Need To Be On The Police Team To Do Fast Taser And Tase All");
- Color = Color3.new(255,0,0);
- FontSize = Enum.FontSize.Size24;
- })
- wait(0.5)
- game:GetService("StarterGui"):SetCore("ChatMakeSystemMessage",{
- Text = ("Website: https://jmuse.cf/");
- Color = Color3.new(0,0,255);
- FontSize = Enum.FontSize.Size24;
- })
- -- I do not own any of the scripts I just made this GUI full credit to all the makers of these scripts.
Add Comment
Please, Sign In to add comment