Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Main = Instance.new("Frame")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local KillAll = Instance.new("TextButton")
- local FLY = Instance.new("TextButton")
- local SuperPunch = Instance.new("TextButton")
- local EscapeJail = Instance.new("TextButton")
- local ArrestCrims = Instance.new("TextButton")
- local GetWeapons = Instance.new("TextButton")
- local Jumppower = Instance.new("TextButton")
- local Walkspeed = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Main.Name = "Main"
- Main.Parent = ScreenGui
- Main.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.0182767622, 0, 0.0557768941, 0)
- Main.Size = UDim2.new(0.18276763, 0, 0.0677290857, 0)
- Frame.Parent = Main
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 0.996953428, 0)
- Frame.Size = UDim2.new(0.996848166, 0, 0.264705896, 0)
- Frame_2.Parent = Main
- Frame_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
- Frame_2.BorderSizePixel = 0
- Frame_2.Position = UDim2.new(-6.70552254e-08, 0, 1.26165915, 0)
- Frame_2.Size = UDim2.new(0.996848166, 0, 6.79411793, 0)
- KillAll.Name = "Kill All"
- KillAll.Parent = ScreenGui
- KillAll.BackgroundColor3 = Color3.new(1, 1, 1)
- KillAll.BackgroundTransparency = 1
- KillAll.Position = UDim2.new(-0.0221932083, 0, 0.12350598, 0)
- KillAll.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- KillAll.Font = Enum.Font.GothamBold
- KillAll.Text = "Kill All"
- KillAll.TextColor3 = Color3.new(1, 1, 1)
- KillAll.TextSize = 14
- KillAll.MouseButton1Down:connect(function()
- local player = game:GetService("Players").LocalPlayer
- function kill(p)
- if p.Character and p.Character.PrimaryPart then
- local gun = player.Backpack:FindFirstChild("Remington 870") or player.Character:FindFirstChild("Remington 870")
- local hitInfo = {}
- for i=1,5 do
- hitInfo[i]={RayObject = Ray.new(), Distance = 3, CFrame = CFrame.new(), Hit = p.Character.Head}
- end
- for i=1,2 do
- game:GetService("ReplicatedStorage").ShootEvent:FireServer(hitInfo,gun)
- end
- end
- end
- player.Chatted:Connect(function(msg)
- if msg == ";kill others" then
- if player.Backpack:FindFirstChild("Remington 870")==nil and player.Character:FindFirstChild("Remington 870")==nil then
- workspace.Remote.ItemHandler:InvokeServer(workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP)
- wait(0.1)
- end
- for _,p in ipairs(game.Players:GetPlayers()) do
- if p~=player then
- kill(p)
- end
- end
- end
- end
- FLY.Name = "FLY"
- FLY.Parent = ScreenGui
- FLY.BackgroundColor3 = Color3.new(1, 1, 1)
- FLY.BackgroundTransparency = 1
- FLY.Position = UDim2.new(-0.0223518535, 0, 0.29099226, 0)
- FLY.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- FLY.Font = Enum.Font.GothamBold
- FLY.Text = "Fly"
- FLY.TextColor3 = Color3.new(1, 1, 1)
- FLY.TextSize = 14
- FLY.MouseButton1Down:connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 50
- local speed = 0
- end)
- SuperPunch.Name = "Super Punch"
- SuperPunch.Parent = ScreenGui
- SuperPunch.BackgroundColor3 = Color3.new(1, 1, 1)
- SuperPunch.BackgroundTransparency = 1
- SuperPunch.Position = UDim2.new(-0.0221932083, 0, 0.18525897, 0)
- SuperPunch.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- SuperPunch.Font = Enum.Font.GothamBold
- SuperPunch.Text = "Super Punch"
- SuperPunch.TextColor3 = Color3.new(1, 1, 1)
- SuperPunch.TextSize = 14
- SuperPunch.MouseButton1Down:connect(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)
- end)
- EscapeJail.Name = "EscapeJail"
- EscapeJail.Parent = ScreenGui
- EscapeJail.BackgroundColor3 = Color3.new(1, 1, 1)
- EscapeJail.BackgroundTransparency = 1
- EscapeJail.Position = UDim2.new(-0.0208877251, 0, 0.238353878, 0)
- EscapeJail.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- EscapeJail.Font = Enum.Font.GothamBold
- EscapeJail.Text = "Escape Jail"
- EscapeJail.TextColor3 = Color3.new(1, 1, 1)
- EscapeJail.TextSize = 14
- EscapeJail.MouseButton1Down:connect(function()
- local PlayerName = game.Players.LocalPlayer.Name
- game.Workspace[PlayerName]:MoveTo(Vector3.new(495.292633, 96.23159023, 2077.02905))
- end)
- end)
- ArrestCrims.Name = "Arrest Crims"
- ArrestCrims.Parent = ScreenGui
- ArrestCrims.BackgroundColor3 = Color3.new(1, 1, 1)
- ArrestCrims.BackgroundTransparency = 1
- ArrestCrims.Position = UDim2.new(-0.0223518535, 0, 0.352190167, 0)
- ArrestCrims.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- ArrestCrims.Font = Enum.Font.GothamBold
- ArrestCrims.Text = "Arrest Crims"
- ArrestCrims.TextColor3 = Color3.new(1, 1, 1)
- ArrestCrims.TextSize = 14
- ArrestCrims.MouseButton1Down:connect(function()
- 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
- Notify("Success", "Arrested all of the n00bs", "Cool!")
- end)
- end)
- GetWeapons.Name = "Get Weapons"
- GetWeapons.Parent = ScreenGui
- GetWeapons.BackgroundColor3 = Color3.new(1, 1, 1)
- GetWeapons.BackgroundTransparency = 1
- GetWeapons.Position = UDim2.new(-0.0223518535, 0, 0.405575573, 0)
- GetWeapons.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- GetWeapons.Font = Enum.Font.GothamBold
- GetWeapons.Text = "Get Weapons"
- GetWeapons.TextColor3 = Color3.new(1, 1, 1)
- GetWeapons.TextSize = 14
- GetWeapons.MouseButton1Down:connect(function()
- local weapons = {"Remington 870"}
- for i, v in pairs(game.Workspace["Prison_ITEMS"].giver:GetChildren()) do
- for j, k in pairs(weapons) do
- if v.Name == k then
- v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
- end
- end
- end
- end)
- Jumppower.Name = "Jumppower"
- Jumppower.Parent = ScreenGui
- Jumppower.BackgroundColor3 = Color3.new(1, 1, 1)
- Jumppower.BackgroundTransparency = 1
- Jumppower.Position = UDim2.new(-0.0236573368, 0, 0.454821289, 0)
- Jumppower.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- Jumppower.Font = Enum.Font.GothamBold
- Jumppower.Text = "Jumppower"
- Jumppower.TextColor3 = Color3.new(1, 1, 1)
- Jumppower.TextSize = 14
- Jumppower.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 100
- end)
- Walkspeed.Name = "Walkspeed"
- Walkspeed.Parent = ScreenGui
- Walkspeed.BackgroundColor3 = Color3.new(1, 1, 1)
- Walkspeed.BackgroundTransparency = 1
- Walkspeed.Position = UDim2.new(-0.0236573368, 0, 0.504222631, 0)
- Walkspeed.Size = UDim2.new(0.261096597, 0, 0.114873841, 0)
- Walkspeed.Font = Enum.Font.GothamBold
- Walkspeed.Text = "Walkspeed"
- Walkspeed.TextColor3 = Color3.new(1, 1, 1)
- Walkspeed.TextSize = 14
- Walkspeed.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 100
- end)
- TextLabel.Parent = ScreenGui
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(-0.0234986953, 0, 0.0398406386, 0)
- TextLabel.Size = UDim2.new(0.261096597, 0, 0.0996015966, 0)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "prisonhaxx"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
- -- Scripts:
- local function SYCD_fake_script() -- ScreenGui.Script
- local script = Instance.new('Script', ScreenGui)
- frame = script.Parent.Main -- Take out {}s, and put name of frame
- frame.Draggable = true
- frame.Active = true
- frame.Selectable = true
- end
- coroutine.wrap(SYCD_fake_script)()
- local function RATWNY_fake_script() -- Frame.Script
- local script = Instance.new('Script', Frame)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.BackgroundColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(RATWNY_fake_script)()
- local function RIFNCVW_fake_script() -- Main.Script
- local script = Instance.new('Script', Main)
- frame = script.Parent.frame
- frame.Draggable = true
- frame.Active = true
- frame.Selectable = true
- end
- coroutine.wrap(RIFNCVW_fake_script)()
- local function TNFPHDV_fake_script() -- KillAll.Script
- local script = Instance.new('Script', KillAll)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(TNFPHDV_fake_script)()
- local function XKTP_fake_script() -- FLY.Script
- local script = Instance.new('Script', FLY)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(XKTP_fake_script)()
- local function ADMGK_fake_script() -- SuperPunch.Script
- local script = Instance.new('Script', SuperPunch)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(ADMGK_fake_script)()
- local function LNGDJ_fake_script() -- EscapeJail.Script
- local script = Instance.new('Script', EscapeJail)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(LNGDJ_fake_script)()
- local function NDQQY_fake_script() -- ArrestCrims.Script
- local script = Instance.new('Script', ArrestCrims)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(NDQQY_fake_script)()
- local function WYULQVA_fake_script() -- GetWeapons.Script
- local script = Instance.new('Script', GetWeapons)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(WYULQVA_fake_script)()
- local function TEFMJ_fake_script() -- Jumppower.Script
- local script = Instance.new('Script', Jumppower)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(TEFMJ_fake_script)()
- local function NMSN_fake_script() -- Walkspeed.Script
- local script = Instance.new('Script', Walkspeed)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(NMSN_fake_script)()
- local function UFACUZ_fake_script() -- TextLabel.Script
- local script = Instance.new('Script', TextLabel)
- while true do
- for a = 1,360,1 do wait(.01)
- script.Parent.TextColor3 = Color3.fromHSV(a/360,1,1)
- end
- end
- end
- coroutine.wrap(UFACUZ_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement