Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local CurrentHealth = Humanoid.Health
- Humanoid.HealthChanged:connect(function(Health)
- if Health < CurrentHealth and Health > 0 then -- Bot Damaged
- Torso.HurtSound:Play()
- elseif Health <= 0 then
- Torso.DeathSound:Play()
- end
- CurrentHealth = Health
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement