a guest Feb 22nd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. hook.Add("PlayerPostThink", "FearSounds", function(ply)
  2.     if ply:Health() < 34 then
  3.         if !ply.NextFearSound then
  4.             ply.NextFearSound = CurTime() + math.Rand(10, 30)
  5.         elseif ply.NextFearSound < CurTime() then
  6.             ply:EmitSound(asdsadasdasd)
  7.             ply.NextFearSound = nil
  8.         end
  9.     end
  10. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand