Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("Naval Warfare Script by nuzak232", "Midnight")
- local Tab = Window:NewTab("Player")
- local Section = Tab:NewSection("Player scripts")
- Section:NewButton("Admin commands", "Infinite Yield FE v5.5", function()
- loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))() --nice!--
- end)
- Section:NewSlider("Walkspeed", "Do you want to run fast?", 500, 16, function(s) -- 500 (MaxValue) | 0 (MinValue)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
- end)
- Section:NewSlider("Jump power", "Do you want to jump high?", 500, 1, function(s) -- 500 (MaxValue) | 0 (MinValue)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
- end)
- Section:NewTextBox("Teleport to player", "Teleports you to player", function(txt)
- local p1 = game.Players.LocalPlayer.Character.HumanoidRootPart
- local p2 = (txt)
- local pos = p1.CFrame
- p1.CFrame = game.Players[p2].Character.HumanoidRootPart.CFrame
- wait(5)
- p1.CFrame = pos
- end)
- local Section = Tab:NewSection("Visual")
- Section:NewButton("Remove water", "Removes water (other players can see it)", function()
- game.Workspace.Setting.VisualScene:Destroy()
- end)
- local Tab = Window:NewTab("Teleports")
- local Section = Tab:NewSection("Your team locations")
- Section:NewButton("Carrier", "Teleport to Carrier", function()
- local args = {
- [1] = "Teleport",
- [2] = {
- [1] = "Carrier",
- [2] = "",
- [3] = 0
- }
- }
- game:GetService("ReplicatedStorage").Event:FireServer(unpack(args))
- end)
- Section:NewButton("Battleship", "Teleport to Battleship", function()
- -- Script generated by SimpleSpy - credits to exx#9394
- local args = {
- [1] = "Teleport",
- [2] = {
- [1] = "Battleship",
- [2] = "",
- [3] = 0
- }
- }
- game:GetService("ReplicatedStorage").Event:FireServer(unpack(args))
- end)
- Section:NewButton("Harbour", "Teleport to Harbour", function()
- local args = {
- [1] = "Teleport",
- [2] = {
- [1] = "Harbour",
- [2] = ""
- }
- }
- game:GetService("ReplicatedStorage").Event:FireServer(unpack(args))
- end)
- local Tab = Window:NewTab("Mods")
- local Section = Tab:NewSection("Gun mods")
- Section:NewButton("Infinite ammo", "Infinite ammo script", function()
- function AvoidCrasher(Fenv, F)
- for i, v in pairs(Fenv) do
- if i == "script" and typeof(v) == "Instance" and v.ClassName == F.ClassName and F == v then
- return true
- end
- end
- return false
- end
- function LoopThroughTable(Tab, F, LookThrough)
- for i, v in pairs(LookThrough) do
- if typeof(v) == "function" and islclosure(v) and getfenv(v) and AvoidCrasher(getfenv(v), F) then
- table.insert(Tab, v)
- end
- end
- end
- function GetFunctionsFromScript(F)
- local functionstab = {}
- LoopThroughTable(functionstab, F, getgc())
- LoopThroughTable(functionstab, F, debug.getregistry())
- return functionstab
- end
- function ChangeAmmoGun(Gun)
- if not Gun:FindFirstChild("TriggerScript") then return end
- local T = GetFunctionsFromScript(Gun.TriggerScript)
- for i, v in pairs(GetFunctionsFromScript(Gun.TriggerScript)) do
- if table.find(debug.getconstants(v), "Reloading...") then
- if typeof(debug.getupvalue(v, 3)) ~= "number" then
- debug.setupvalue(v, 4, 99999999)
- else
- hookfunction(v, function() end)
- end
- elseif table.find(debug.getconstants(T[i]), "Ray") then
- debug.setconstant(T[i], 9, 999999999)
- end
- end
- end
- for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- ChangeAmmoGun(v)
- end
- game.Players.LocalPlayer.CharacterAdded:connect(function()
- repeat
- wait()
- until game.Players.LocalPlayer:FindFirstChild("Backpack") and #game.Players.LocalPlayer.Backpack:GetChildren() > 0
- for i, v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- ChangeAmmoGun(v)
- end
- end)
- end)
- local Tab = Window:NewTab("Settings")
- local Section = Tab:NewSection("GUI")
- Section:NewKeybind("Toggle", "Button to toggle GUI", Enum.KeyCode.Insert, function()
- Library:ToggleUI()
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement