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)