Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- killAuraF = true
- KillAura.BackgroundColor3 = Color3.new(0, 0, 0)
- repeat
- wait()
- for i, plr in pairs(game.Players:GetChildren()) do
- if plr.Name ~= game.Players.LocalPlayer.Name and killAuraF == true then
- for i = 1,5 do
- game.ReplicatedStorage.meleeEvent:FireServer(plr)
- end
- end
- end
- until killAuraF == false
- else
- killAuraF = false
- KillAura.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end)
- TPArrest.MouseButton1Click:connect(function()
- if mousein == false then
- 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)
- QuickEscape.MouseButton1Click:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(283, 72, 2213)
- end
- end)
- TpCar.MouseButton1Click:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = tonumber(Value.Text)
- end
- end)
- BT.MouseButton1Click:connect(function()
- if mousein == false then
- local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- tool.BinType = "Hammer"
- local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- tool.BinType = "Clone"
- local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- tool.BinType = "GameTool"
- end
- end)
- WS.MouseButton1Click:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(Value.Text)
- end
- end)
- LOCK.MouseButton1Click:connect(function()
- if mousein == false then
- local a1 = Instance.new("Model", workspace)
- local a2 = Instance.new("Part", a1)
- a2.CanCollide = true
- a2.Anchored = true
- a2.CFrame = CFrame.new(10000, 10000, 10000)
- a2.Name = "Torso"
- local a3 = Instance.new("Humanoid", a1)
- a3.MaxHealth=100;a3.Health=100
- game.Players.LocalPlayer.Character = a1
- a3.Health=0
- end
- end)
- melee.MouseButton1Click:connect(function()
- if mousein == false then
- local weapons = {"Crude Knife", "Sharpened stick", "Extendo mirror"}
- for i, v in pairs(game.ReplicatedStorage.Tools:GetChildren()) do
- for j, k in pairs(weapons) do
- if v.Name == k then
- v:Clone().Parent = game.Players.LocalPlayer.Backpack
- end
- end
- end
- end
- end)
- RemDoors.MouseButton1Down:connect(function()
- game.Workspace.Doors:Destroy()
- end)
- God.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- end
- end)
- KillAll.MouseButton1Down:connect(function()
- if mousein == false then
- local Player = game.Players.LocalPlayer
- local prevCFrame = Player.Character.HumanoidRootPart.CFrame
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= game.Players.LocalPlayer.Name then
- if not v.Character:FindFirstChild("ForceField") then
- local playerName = v.Name
- local PlayerToKill = game.Players:FindFirstChild(playerName)
- repeat
- if Player.Character.Humanoid.Sit == true then
- Player.Character.Humanoid.Sit = false
- end
- Player.Character.HumanoidRootPart.CFrame = PlayerToKill.Character.HumanoidRootPart.CFrame
- for h = 1,10 do
- game.ReplicatedStorage.meleeEvent:FireServer(PlayerToKill)
- end
- game:GetService("RunService").RenderStepped:wait()
- until PlayerToKill.Character.Humanoid.Health == 0 or v == nil
- Player.Character.HumanoidRootPart.CFrame = prevCFrame
- end
- end
- end
- end
- end)
- function createTag(Color, Tag)
- for i,v in pairs(game.Teams[Tag]:GetPlayers())do
- if v.Character then
- if not v.Character.Head:FindFirstChild("ESPTag") then
- local BBG = Instance.new("BillboardGui")
- BBG.Parent = v.Character.Head
- BBG.Adornee = v.Character.Head
- BBG.Name = "ESPTag"
- BBG.Size = UDim2.new(2, 0, 1, 0)
- BBG.StudsOffset = Vector3.new(-2.5, 6, 0)
- BBG.AlwaysOnTop = true
- local text = Instance.new("TextLabel", BBG)
- text.Text = Tag
- text.Size = UDim2.new(4, 0, 8, 0)
- text.Position = UDim2.new(0, 0, 0, 0)
- text.TextScaled = true
- text.TextColor3 = Color
- text.BackgroundTransparency = 1
- end
- end
- end
- end
- function removeTag()
- for i,v in pairs(game.Players:GetChildren())do
- if v.Character then
- if v.Character.Head:FindFirstChild("ESPTag") then
- v.Character.Head.ESPTag:Destroy()
- end
- end
- end
- end
- ESP.MouseButton1Down:connect(function()
- if mousein == false then
- if ESPF == false then
- ESPF = true
- ESP.BackgroundColor3 = Color3.new(0,0,0)
- repeat
- wait()
- createTag(Color3.new(255,0,0), "Criminals")
- createTag(Color3.new(0,0,255), "Guards")
- createTag(Color3.new(255,85,0), "Inmates")
- until ESPF == false
- removeTag()
- else
- ESP.BackgroundColor3 = Color3.new(1,1,1)
- ESPF = false
- end
- end
- end)
- SuperPunch.MouseButton1Down:connect(function()
- if SuperPunchF == false then
- SuperPunchF = true
- SuperPunch.BackgroundColor3 = Color3.new(0,0,0)
- else
- SuperPunch.BackgroundColor3 = Color3.new(1,1,1)
- SuperPunchF = false
- end
- end)
- mousein = false
- Menu.MouseLeave:connect(function()
- Menu:TweenSize(UDim2.new(0, 170, 0, 30), "Out", "Quad", 0.10)
- mousein = false
- wait()
- if mousein == false then
- Blackout.BackgroundTransparency = 0.7
- end
- wait()
- if mousein == false then
- Blackout.BackgroundTransparency = 1
- end
- end)
- Menu.MouseEnter:connect(function()
- Menu:TweenSize(UDim2.new(0, 170, 0, 300), "Out", "Quad", 0.10)
- mousein = true
- wait()
- if mousein == true then
- Blackout.BackgroundTransparency = 0.9
- end
- wait()
- if mousein == true then
- Blackout.BackgroundTransparency = 0.7
- end
- wait()
- if mousein == true then
- Blackout.BackgroundTransparency = 0.5
- end
- end)
- Functions.MouseButton1Down:connect(function()
- Frame1.Visible = true
- Frame2.Visible = false
- Frame3.Visible = false
- Frame4.Visible = false
- SettingsTab = false
- end)
- Teleports.MouseButton1Down:connect(function()
- Frame2.Visible = true
- Frame1.Visible = false
- Frame3.Visible = false
- Frame4.Visible = false
- SettingsTab = false
- end)
- Guns.MouseButton1Down:connect(function()
- Frame2.Visible = false
- Frame1.Visible = false
- Frame3.Visible = true
- Frame4.Visible = false
- SettingsTab = false
- end)
- Togglables.MouseButton1Down:connect(function()
- Frame2.Visible = false
- Frame1.Visible = false
- Frame3.Visible = false
- Frame4.Visible = true
- SettingsTab = false
- end)
- Settings.MouseButton1Down:connect(function()
- Frame2.Visible = false
- Frame1.Visible = false
- Frame3.Visible = false
- Frame4.Visible = false
- SettingsTab = true
- end)
- HeadTp.MouseButton1Down:connect(function()
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name ~= game.Players.LocalPlayer.Name then
- if v.Character then
- v.Character.Head.Position = game.Players.LocalPlayer.Character.Torso.Position + Vector3.new(0,0,2)
- end
- end
- end
- end)
- ArrestAura.MouseButton1Click:connect(function()
- if ArrestAuraF == false then
- ArrestAuraF = true
- ArrestAura.BackgroundColor3 = Color3.new(0, 0, 0)
- repeat
- wait()
- for i = 1,10 do
- local arrestEvent = game.Workspace.Remote.arrest
- for _, plr in pairs (game:GetService('Players'):GetChildren()) do
- if plr.Name ~= game.Players.LocalPlayer.Name then
- local obj = plr.Character.HumanoidRootPart
- local response =arrestEvent:InvokeServer(obj)
- end
- end
- end
- until ArrestAuraF == false
- else
- ArrestAuraF = false
- ArrestAura.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end)
- --[[wait()
- char = game.Players.LocalPlayer.CharacterAdded:wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Touched:connect(function(part)
- if NoClipF == true then
- part.CanCollide = false
- wait(1)
- part.CanCollide = true
- end
- end)
- game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
- char = game.Players.LocalPlayer.CharacterAdded:wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.Touched:connect(function(part)
- if NoClipF == true then
- part.CanCollide = false
- wait(1)
- part.CanCollide = true
- end
- end)
- end)]]
- ------------------Hotkeys---------------------
- local Scooldown = false
- function punch()
- local mainRemotes = game.ReplicatedStorage
- local meleeRemote = mainRemotes['meleeEvent']
- local mouse = game.Players.LocalPlayer:GetMouse()
- local punching = false
- Scooldown = 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)
- Scooldown = false
- part:Destroy()
- end
- Mouse.KeyDown:connect(function(key)
- if SuperPunchF == true then
- if Scooldown == false then
- if key:lower() == "f" then
- punch()
- end
- end
- end
- end)
- print("hi")
- hotkeypos = 0
- for i,v in pairs(Frame4:GetChildren())do
- local HotkeyFrame = Hotkey1:Clone()
- HotkeyFrame.Name = v.Name
- HotkeyFrame.Parent = Hotkeys
- HotkeyFrame.Position = UDim2.new(0,0,0, hotkeypos)
- HotkeyFrame.HotkeyLabel.Text = v.Name.." Hotkey:"
- hotkeypos = hotkeypos+50
- HotkeyFrame.Hotkey.FocusLost:connect(function(pressed)
- if pressed then
- Notify("Error", "The "..v.Name.." hotkey is invalid.", "Ok. ;(")
- end
- end)
- end
- UserInputService.InputBegan:connect(function(Input, Processed)
- if Input.UserInputType == Enum.UserInputType.Keyboard then
- print("1")
- if focus == false then
- print("2")
- if Hotkeys["Noclip"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["Noclip"].Hotkey.Text:upper()] then
- if not game.Players.LocalPlayer.Character:FindFirstChild("ForceField") then
- print("im working")
- if NoClipF == false then
- NoClipF = true
- Noclip.BackgroundColor3 = Color3.new(0, 0, 0)
- repeat
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(11);
- wait()
- until NoClipF == false
- else
- NoClipF = false
- Noclip.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end
- end
- end
- if Hotkeys["Click Tp"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["Click Tp"].Hotkey.Text:upper()] then
- if ctpF == false then
- ctpF = true
- ClickTp.BackgroundColor3 = Color3.new(0, 0, 0)
- else
- ctpF = false
- ClickTp.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end
- end
- if Hotkeys["ESP"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["ESP"].Hotkey.Text:upper()] then
- if ESPF == false then
- ESPF = true
- ESP.BackgroundColor3 = Color3.new(0,0,0)
- repeat
- wait()
- createTag(Color3.new(255,0,0), "Criminals")
- createTag(Color3.new(0,0,255), "Guards")
- createTag(Color3.new(255,85,0), "Inmates")
- until ESPF == false
- removeTag()
- else
- ESP.BackgroundColor3 = Color3.new(1,1,1)
- ESPF = false
- end
- end
- end
- if Hotkeys["Airwalk"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["Airwalk"].Hotkey.Text:upper()] then
- if ArrestF == false then
- ArrestF = true
- LA.BackgroundColor3 = Color3.new(0, 0, 0)
- repeat
- wait()
- game.Players.LocalPlayer.Character.Humanoid:ChangeState(10);
- until ArrestF == false
- else
- ArrestF = false
- LA.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end
- end
- if Hotkeys["Arrest Aura"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["Arrest Aura"].Hotkey.Text:upper()] then
- if ArrestAuraF == false then
- ArrestAuraF = true
- ArrestAura.BackgroundColor3 = Color3.new(0, 0, 0)
- repeat
- wait()
- for i = 1,10 do
- local arrestEvent = game.Workspace.Remote.arrest
- for _, plr in pairs (game:GetService('Players'):GetChildren()) do
- if plr.Name ~= game.Players.LocalPlayer.Name then
- local obj = plr.Character.HumanoidRootPart
- local response =arrestEvent:InvokeServer(obj)
- end
- end
- end
- until ArrestAuraF == false
- else
- ArrestAuraF = false
- ArrestAura.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end
- end
- if Hotkeys["KillAura"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["KillAura"].Hotkey.Text:upper()] then
- if killAuraF == false then
- killAuraF = true
- KillAura.BackgroundColor3 = Color3.new(0, 0, 0)
- repeat
- wait()
- for i, plr in pairs(game.Players:GetChildren()) do
- if plr.Name ~= game.Players.LocalPlayer.Name and killAuraF == true then
- for i = 1,5 do
- game.ReplicatedStorage.meleeEvent:FireServer(plr)
- end
- end
- end
- until killAuraF == false
- else
- killAuraF = false
- KillAura.BackgroundColor3 = MainFrame.BackgroundColor3
- end
- end
- end
- if Hotkeys["Taser Bypass"].Hotkey.Text ~= "" then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["Bypass Taser"].Hotkey.Text:upper()] then
- if game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler") then
- if game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler").Disabled == true then
- game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler").Disabled = false
- BypassF = false
- BPT.BackgroundColor3 = Color3.new(0, 0, 0)
- else
- game.Players.LocalPlayer.Character:FindFirstChild("ClientInputHandler").Disabled = true
- BPT.BackgroundColor3 = MainFrame.BackgroundColor3
- BypassF = true
- end
- else
- Notify("Error", "ClientInputHandler not found!", "Ok ;(")
- end
- end
- end
- end
- if Hotkeys["Super Punch"].Hotkey.Text ~= nil then
- if Input.KeyCode == Enum.KeyCode[Hotkeys["Super Punch"].Hotkey.Text:upper()] then
- if SuperPunchF == true then
- SuperPunchF = false
- SuperPunch.BackgroundColor3 = Color3.new(1,1,1)
- else
- SuperPunch.BackgroundColor3 = Color3.new(0,0,0)
- SuperPunchF = true
- end
- end
- end
- end
- end)
- -------------------------------------------
- Tp1.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp1P
- end
- end)
- Tp2.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp2P
- end
- end)
- Tp3.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp3P
- end
- end)
- Tp4.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp4P
- end
- end)
- Tp5.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp5P
- end
- end)
- Tp6.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp6P
- end
- end)
- Tp8.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp8P
- end
- end)
- Tp9.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[Player.Text].Character.HumanoidRootPart.CFrame
- end
- end)
- Tp10.MouseButton1Down:connect(function()
- if mousein == false then
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Tp9P
- end
- end)
- game.Players.LocalPlayer.CharacterAdded:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.Died:connect(function()
- game.Players.LocalPlayer.Character:WaitForChild("ClientInputHandler").Disabled = BypassF
- end)
- end)
- Mouse.Button1Down:connect(function()
- if ctpF == true then
- LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(Mouse.Hit.p)
- end
- end)
- open = false
- Open.MouseButton1Down:connect(function()
- if open == false then
- Topbar.Visible = true
- open = true
- Open.Text = "Close"
- else
- Topbar.Visible = false
- open = false
- Open.Text = "Open"
- end
- end)
- TeamC1.MouseButton1Down:connect(function()
- if mousein == false then
- local prevposition = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- wait(0.1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-975, 112, 2055)
- wait(0.5)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = prevposition
- end
- end)
- TeamC2.MouseButton1Down:connect(function()
- if mousein == false then
- workspace.Remote.TeamEvent:FireServer("Bright blue")
- end
- end)
- TeamC3.MouseButton1Down:connect(function()
- if mousein == false then
- workspace.Remote.TeamEvent:FireServer("Bright orange")
- end
- end)
- ArrestPlr.MouseButton1Down:connect(function()
- if mousein == false then
- local target
- if SN(PlayerNameBox.Text) ~= nil then
- target = game.Players:FindFirstChild(SN(PlayerNameBox.Text))
- end
- if target ~= nil then
- local Player = game.Players.LocalPlayer
- local prevPos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- for i,v in pairs(game.Teams.Criminals:GetPlayers()) do
- if v.Name:lower() == target.Name:lower() then
- local i = 5
- repeat
- wait()
- i = i-1
- if Player.Character.Humanoid.Sit == true then
- Player.Character.Humanoid.Sit = false
- end
- game.Workspace.Remote.arrest:InvokeServer(v.Character.HumanoidRootPart)
- Player.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 1)
- until i == 0
- Player.Character.HumanoidRootPart.CFrame = prevPos
- end
- end
- else
- Notify("Error", "Player isnt in game.", "Ok.")
- end
- end
- end)
- KillPlr.MouseButton1Down:connect(function()
- if mousein == false then
- local target
- if SN(PlayerNameBox.Text) ~= nil then
- target = game.Players:FindFirstChild(SN(PlayerNameBox.Text))
- end
- if target ~= nil then
- local Player = game.Players.LocalPlayer
- for i,v in pairs(game.Players:GetChildren()) do
- if v.Name == target.Name then
- if not v.Character:FindFirstChild("ForceField") then
- local PlayerToKill = game.Players:FindFirstChild(target.Name)
- local prevCFrame = Player.Character.HumanoidRootPart.CFrame
- repeat
- Player.Character.HumanoidRootPart.CFrame = PlayerToKill.Character.HumanoidRootPart.CFrame
- for h = 1,10 do
- game.ReplicatedStorage.meleeEvent:FireServer(PlayerToKill)
- end
- wait()
- until PlayerToKill.Character.Humanoid.Health == 0 or v == nil
- wait()
- Player.Character.HumanoidRootPart.CFrame = prevCFrame
- end
- end
- end
- else
- Notify("Error", "Player isnt in game.", "Ok.")
- end
- end
- end)
- local function getclass(t)
- for i,v in pairs(t:GetChildren()) do
- if v.ClassName == "TextBox" then
- v.Focused:connect(function()
- print("3")
- end)
- v.FocusLost:connect(function()
- focused = false
- end)
- end
- getclass(v)
- end
- end
- labelPos = 0
- function resetPlayerList()
- wait(1)
- Players:ClearAllChildren()
- labelPos = 0
- for i,v in pairs(game.Players:GetChildren())do
- if v.Name ~= game.Players.LocalPlayer.Name then
- local label = Instance.new("TextButton", Players)
- label.Text = v.Name
- label.Size = UDim2.new(0, 140, 0, 35)
- label.Position = UDim2.new(0, 0, 0, labelPos)
- label.TextScaled = true
- label.BackgroundColor3 = Color3.new(1,1,1)
- labelPos = labelPos+35
- Players.CanvasSize = UDim2.new(0, 0, 0, labelPos)
- label.MouseButton1Down:connect(function()
- Player.Text = label.Text
- end)
- end
- end
- end
- resetPlayerList()
- game.Players.PlayerAdded:connect(function()
- resetPlayerList()
- end)
- game.Players.PlayerRemoving:connect(function()
- wait(1)
- resetPlayerList()
- end)
- Ak47.MouseButton1Down:connect(function()
- if mousein == false then
- 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
- end
- end)
- M4A1.MouseButton1Down:connect(function()
- if mousein == false then
- 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
- end
- end)
- M9.MouseButton1Down:connect(function()
- if mousein == false then
- 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
- end
- end)
- Shotgun.MouseButton1Down:connect(function()
- if mousein == false then
- 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
- end
- end)
- Knife.MouseButton1Down:connect(function()
- for i,v in pairs(workspace.Prison_ITEMS.giver:GetChildren()) do
- local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end)
- melee.MouseButton1Down:connect(function()
- if mousein == false then
- for i,v in pairs(workspace.Prison_ITEMS.single:GetChildren()) do
- local lol = workspace.Remote.ItemHandler:InvokeServer(v.ITEMPICKUP)
- end
- end
- end)
- LoginButton.MouseButton1Down:connect(function()
- LoginScreen:Destroy()
- Notify("Loading...", "Be patient.", ">:(")
- wait(math.random(2,3))
- Open.Visible = true
- open = false
- for i = 1,10 do
- print("WRECK THE GAME!")
- end
- Notify("Loaded!", "You can start wrecking the game now!", "Cool!")
- end)
- getclass(PrisonLife)
- LoginScreen.Parent = PrisonLife
- Notify("Launcher Loaded!", "Press login to start wrecking the game!", "Cool!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement