Skip to content

Instantly share code, notes, and snippets.

@RavenSharpCoding
Created November 28, 2021 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RavenSharpCoding/72c257bec436644bd59b7f6aeaaaffa1 to your computer and use it in GitHub Desktop.
Save RavenSharpCoding/72c257bec436644bd59b7f6aeaaaffa1 to your computer and use it in GitHub Desktop.
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 Life", "Sentinel")
-- MAIN
local Main = Window:NewTab("Main")
local MainSection = Main:NewSection("Main")
MainSection:NewDropdown("Give Gun", "Gives the localplayer a gun", {"M9", "Remington 870", "AK-47"}, function(v)
local A_1 = game:GetService("Workspace")["Prison_ITEMS"].giver[v].ITEMPICKUP
local Event = game:GetService("Workspace").Remote.ItemHandler
Event:InvokeServer(A_1)
end)
MainSection: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"] = true
end
end)
-- PLAYER
local Player = Window:NewTab("Player")
local PlayerSection = Player:NewSection("Player")
PlayerSection:NewSlider("Walkspeed", "Changes the walkspeed", 250, 16, function(v)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = v
end)
PlayerSection:NewSlider("Jumppower", "Changes the jumppower", 250, 50, function(v)
game.Players.LocalPlayer.Character.Humanoid.JumpPower = v
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment