KienZino

Zombie Rush

Aug 10th, 2018
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.98 KB | None | 0 0
  1. local working = true
  2. game:GetService('Players').LocalPlayer:GetMouse().KeyDown:connect(function(key)
  3. if key == string.lower(hotkey) then
  4. working = not working
  5. end
  6. end)
  7.  
  8. while wait(0.2) do
  9. if working == true then
  10. pcall(function()
  11. local ohthatscomplicated = {
  12.    ["Name"] = game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").Name,
  13.    ["HumanoidTables"] = {
  14.    }
  15. }
  16. for i,v in pairs(workspace[".ZombieStorage"]:GetChildren()) do
  17.    local hm = {
  18.        ["HeadHits"] = math.huge,
  19.        ["THumanoid"] = v:FindFirstChildOfClass('Humanoid'),
  20.        ["BodyHits"] = 0
  21.    }
  22.    table.insert(ohthatscomplicated["HumanoidTables"],hm)
  23. end
  24. pcall(function()
  25. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunControllerAlt.RemoteFunction:InvokeServer(ohthatscomplicated)
  26. end)
  27. game:GetService('Players').LocalPlayer.Character:FindFirstChildOfClass("Tool").GunController.RemoteFunction:InvokeServer(ohthatscomplicated)
  28. end)
  29. end
  30. end
Add Comment
Please, Sign In to add comment