ADVERTISEMENTREMOVE ADS
Auto Hit Monster
18,140 views
Script Preview
ADVERTISEMENTREMOVE ADS
13 Lines • 823 Bytes
Verified
game:GetService("Players").LocalPlayer.Character.ChildAdded:Connect(function()
if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Shotgun") then
game:GetService("RunService").Heartbeat:Connect(function()
if game:GetService("Players").LocalPlayer.Character:FindFirstChild("Shotgun") then
for _, monster in ipairs(workspace.CurrentMonsters:GetChildren()) do
if monster:FindFirstChild("Humanoid") and monster.Humanoid.Health > 0 and monster:FindFirstChild("HumanoidRootPart") then
game:GetService("Players").LocalPlayer.Character.Shotgun.DamageTargetEvent:FireServer(monster.HumanoidRootPart, monster.HumanoidRootPart.Position)
end
end
end
end)
end
end)
ADVERTISEMENTREMOVE ADS
ADVERTISEMENTREMOVE ADS





Comments