EgorkaEK

Untitled

Jul 27th, 2021
770
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function playerDies( victim, weapon, killer )
  2.  
  3.     game.SetTimeScale(2.0)
  4.         timer.Simple(.01, function() game.SetTimeScale(0.01) end)
  5.         timer.Simple(.05, function() game.SetTimeScale(0.1) end)
  6.         timer.Simple(.09, function() game.SetTimeScale(0.3) end)
  7.         timer.Simple(.13, function() game.SetTimeScale(0.6) end)
  8.         timer.Simple(.17, function() game.SetTimeScale(1) end)
  9.     end
  10.    
  11.  hook.Add( "PlayerDeath", "playerDeathTest", playerDies )
RAW Paste Data