Advertisement
EgorkaEK

Untitled

Jul 27th, 2021
880
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.43 KB | None | 0 0
  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 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement