Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pcall(function()
- local Tool = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool")
- if not Tool then return end
- local GunController = Tool:FindFirstChild("GunController")
- if not GunController then return end
- if GunController and GunController:FindFirstChild("RemoteFunction") then
- for i,v in pairs(game.Workspace[".ZombieStorage"]:GetChildren()) do
- if v:FindFirstChild("Humanoid") and v.Humanoid.Health > 0 then
- local Args = {["Name"] = Tool.Name, ["HumanoidTables"] = {[1] = {["HeadHits"] = 1, ["THumanoid"] = v.Humanoid, ["BodyHits"] = 0}}}
- spawn(function()
- for Each = 1, 20 do
- GunController.RemoteFunction:InvokeServer(Args)
- end
- end)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement