Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement