Advertisement
EPRX

naval warfare gui

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