asd

📅 2024-06-25T11:56:29.996Z
👁️ 155 katselukertaa
🔓 Julkinen


--made by YHG_leader
if game.PlaceId == 155615604 then
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
local Window = Library.CreateLib("Prison Fucker", "GrapeTheme")



--Main
local MainTab = Window:NewTab("Main")
local MainSection = MainTab:NewSection("Main")

MainSection:NewButton("M9", "Gives M9", function()
 local args = {
     [1] = workspace.Prison_ITEMS.giver.M9.ITEMPICKUP
 }
     
  workspace.Remote.ItemHandler:InvokeServer(unpack(args))
     
end)

MainSection:NewButton("Give AK-47", "Gives AK-47", function()
   
                         
local args = {
    [1] = workspace.Prison_ITEMS.giver:FindFirstChild("AK-47").ITEMPICKUP
}
                         
workspace.Remote.ItemHandler:InvokeServer(unpack(args))
                         
end)

MainSection:NewButton("Give Shotgun", "Gives Shotgun", function()
local args = {
    [1] = workspace.Prison_ITEMS.giver:FindFirstChild("Remington 870").ITEMPICKUP
}
     
workspace.Remote.ItemHandler:InvokeServer(unpack(args))
     
     
end)

MainSection:NewButton("Give Hammer", "Gives Hammer", function()
local args = {
    [1] = workspace.Prison_ITEMS.single.Hammer.ITEMPICKUP
}
     
workspace.Remote.ItemHandler:InvokeServer(unpack(args))
     
end)

MainSection:NewButton("Give KeyCard", "Gives KeyCard", function()
local args = {
    [1] = workspace.Prison_ITEMS.single:FindFirstChild("Key card").ITEMPICKUP
}
     
workspace.Remote.ItemHandler:InvokeServer(unpack(args))
     
end)

GunsSection:NewDropdown("Gun Mod", "Makes the gun op", {"M9", "Remington 870", "AK-47"}, function(v)
    local module = nil
    if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(v) then
        module = require(game:GetService("Players").LocalPlayer.Backpack[v].GunStates)
    elseif game:GetService("Players").LocalPlayer.Character:FindFirstChild(v) then
        module = require(game:GetService("Players").LocalPlayer.Character[v].GunStates)
    end
    if module ~= nil then
        module["MaxAmmo"] = math.huge
        module["CurrentAmmo"] = math.huge
        module["StoredAmmo"] = math.huge
        module["FireRate"] = 0.000001
        module["Spread"] = 0
        module["Range"] = math.huge
        module["Bullets"] = 10
        module["ReloadTime"] = 0.000001
        module["AutoFire"] = false
    end
    GunsSection:NewDropdown("Gun Mod", "Makes the gun op", {"M9", "Remington 870", "AK-47"}, function(v)
        local module = nil
        if game:GetService("Players").LocalPlayer.Backpack:FindFirstChild(v) then
            module = require(game:GetService("Players").LocalPlayer.Backpack[v].GunStates)
        elseif game:GetService("Players").LocalPlayer.Character:FindFirstChild(v) then
            module = require(game:GetService("Players").LocalPlayer.Character[v].GunStates)
        end
        if module ~= nil then
            module["AutoFire"] = true
        end
    end)
end)



local Teams = Window:NewTab("Team")
local TeamSection = Teams:NewSection("Teams")

TeamSection:NewButton("Join Police", "Join Police", function()
local args = {
    [1] = "Bright blue"
}
     
workspace.Remote.TeamEvent:FireServer(unpack(args))

for _, descendant in ipairs(game:GetDescendants()) do
    if descendant:IsA("Humanoid") then
        descendant.Health = 0 -- "Kill" the humanoid by setting its health to 0
    end
end
     
end)

TeamSection:NewButton("Join Prisoner", "Joins Prisoner", function()
local args = {
    [1] = "Bright orange"
}

workspace.Remote.TeamEvent:FireServer(unpack(args))

for _, descendant in ipairs(game:GetDescendants()) do
    if descendant:IsA("Humanoid") then
        descendant.Health = 0 -- "Kill" the humanoid by setting its health to 0
    end
end

end)



local PlayerTab = Window:NewTab("Player")
local TrollTab = Window:NewTab("Troll")
local OtherTab = Window:NewTab("Other")
local Hubs = window:NewTab("Hubs")
local CreditsTab = Window:NewTab("Credits")