Advertisement
TheMadWally

Bullet Hell Hax

Apr 27th, 2018
4,737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.20 KB | None | 0 0
  1. local get = (secret953 or debug.getupvalues)
  2. local getsenv = getsenv or function(scr)
  3.    if scr:IsA("LocalScript") or scr:IsA("ModuleScript") then
  4.        for i, v in next, getreg() do
  5.            if type(v) == "function" then
  6.                if getfenv(v).script == scr then
  7.                    return getfenv(v);
  8.                end;
  9.            end;
  10.        end;
  11.    end;
  12. end;
  13.  
  14. if not (get and getsenv) then
  15.     error("no u")
  16. end
  17.  
  18. local env = getsenv(game.ReplicatedStorage.byte_engine.gameplay.gun_system.gun_controller)
  19. local killer = get(env.shoot)["dothedoo"]
  20. local input = game:GetService("UserInputService")
  21.  
  22. local key = Enum.KeyCode.Q
  23.  
  24. input.InputBegan:connect(function(k, e)
  25.     if not e then
  26.         if k.KeyCode == key then
  27.             do
  28.                 local gun = get(env.shoot)['guns'][get(env.shoot)["current_gun"]]
  29.                 gun.ammo = math.huge
  30.                 gun.mag = math.huge
  31.                 gun.mod.rpm = 1000
  32.                 gun.mod.spread = 0
  33.                 gun.mod.reload_time = 0
  34.                 gun.mod.cam_kick = 0
  35.             end
  36.  
  37.             for k, v in next, game.Players:GetPlayers() do
  38.                 if v ~= game.Players.LocalPlayer then
  39.                     for i = 1, 5 do
  40.                         killer(get(env.shoot)["network"], get(env.shoot)["current_gun"], v.Character.Humanoid, get(env.shoot)["current_gun"].Handle)
  41.                     end
  42.                 end
  43.             end
  44.         end
  45.     end
  46. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement