daily pastebin goal
65%
SHARE
TWEET

LakeMutantCheck

a guest Jun 19th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if SERVER then
  2.     hook.Add("Tick", "LakeMutant_WaterCheck", function()
  3.         local players = player.GetAll()
  4.  
  5.  
  6.         if players then
  7.            
  8.             for k , v in pairs(players) do
  9.            
  10.             if v:Team() == 14 then
  11.                 local ply = v
  12.                 if v:WaterLevel() == 0 then
  13.                     ply:Ignite(30,1)
  14.                 else
  15.                     ply:Ignite(0,0)
  16.                 end
  17.             end
  18.            
  19.             end
  20.         end
  21.     end)
  22. 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
 
Top