Advertisement
Blixtown

Naval warfare Gui Working 2022 august

Aug 27th, 2022
909
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. Make sure to join the discord: https://discord.gg/TP6NNhhJ
  2.  
  3.  
  4.  
  5.  
  6. Script:
  7.  
  8.  
  9.  
  10. local library = loadstring(game:HttpGet("https://pastebin.com/raw/HYcfs6KC", true))()
  11. library.options.underlinecolor = "rainbow"
  12. local w = library:CreateWindow('Naval Warfare')
  13.  
  14. w:Toggle('Rapid Fire (Hold E)', {flag = "toggle1"})
  15. spawn(function()
  16. while wait() do
  17. if w.flags.toggle1 then
  18. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  19. local UIS = game:GetService("UserInputService")
  20. while wait() do
  21. if UIS:IsKeyDown(Enum.KeyCode.E) then
  22. game:GetService("Players").LocalPlayer.Character["M1 Garand"]:Activate()
  23. end
  24. end
  25. end
  26. end
  27. end
  28. end)
  29.  
  30. w:Toggle('Infinite Ammo', {flag = "toggle2"})
  31. spawn(function()
  32. while wait(3) do
  33. if w.flags.toggle2 then
  34. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  35. -- This script was generated by Hydroxide
  36.  
  37. local oh_get_gc = getgc or false
  38. local oh_is_x_closure = is_synapse_function or issentinelclosure or is_protosmasher_closure or is_sirhurt_closure or checkclosure or false
  39. local oh_get_info = debug.getinfo or getinfo or false
  40. local oh_set_upvalue = debug.setupvalue or setupvalue or setupval or false
  41.  
  42. if not oh_get_gc and not oh_is_x_closure and not oh_get_info and not oh_set_upvalue then
  43. warn("Your exploit does not support this script")
  44. return
  45. end
  46.  
  47. local oh_find_function = function(name)
  48. for i,v in pairs(oh_get_gc()) do
  49. if type(v) == "function" and not oh_is_x_closure(v) then
  50. if oh_get_info(v).name == name then
  51. return v
  52. end
  53. end
  54. end
  55. end
  56.  
  57. local oh_reload = oh_find_function("reload")
  58. local oh_index = 4 -- replace this with the index of the upvalue
  59. local oh_new_value = math.huge -- replace this with the value that you want to set the upvalue to
  60.  
  61. oh_set_upvalue(oh_reload, oh_index, oh_new_value)
  62.  
  63. -- WARNING: THIS SCRIPT MAY NOT WORK, DO NOT RELY ON THE UPVALUE SCANNER FOR 100% FUNCTIONAL SCRIPTS!
  64. -- "scout_closure" may not find the correct function if there are multiple functions with the same name
  65. end
  66. end
  67. end
  68. end)
  69.  
  70. w:Toggle('Kill Opposite Team', {flag = "toggle3"})
  71. spawn(function()
  72. while wait(0.1) do
  73. if w.flags.toggle3 then
  74. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  75. for i,v in pairs(game.workspace:GetDescendants()) do
  76. if v.Name == "Humanoid" then
  77. if v.Parent.Name.Team ~= game.Players.LocalPlayer.Team then
  78. local A_1 = "shootRifle"
  79. local A_2 = ""
  80. local A_3 =
  81. {
  82. [1] = v.Parent.HumanoidRootPart
  83. }
  84. local Event = game:GetService("ReplicatedStorage").Event
  85. Event:FireServer(A_1, A_2, A_3)
  86. local A_1 = "shootRifle"
  87. local A_2 = "hit"
  88. local A_3 =
  89. {
  90. [1] = v
  91. }
  92. local Event = game:GetService("ReplicatedStorage").Event
  93. Event:FireServer(A_1, A_2, A_3)
  94. end
  95. end
  96. end
  97. end
  98. end
  99. end
  100. end)
  101.  
  102. w:Section("Must have RPG GamePass")
  103. w:Toggle('Shoot RPG', {flag = "toggle4"})
  104. spawn(function()
  105. while wait() do
  106. if w.flags.toggle4 then
  107. local mouse = game.Players.LocalPlayer:GetMouse()
  108. local A_2 =
  109. {
  110. [1] = mouse.Hit.p
  111. }
  112. game:GetService("ReplicatedStorage").Event:FireServer("fireRPG", A_2)
  113. end
  114. end
  115. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement