Created
November 28, 2021 16:01
-
-
Save RavenSharpCoding/72c257bec436644bd59b7f6aeaaaffa1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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