Advertisement
Exho

Untitled

Nov 7th, 2015
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. local pos = victim:GetPos()
  2. victim:CreateRagdoll()
  3. victim:SetRenderMode(RENDERMODE_TRANSALPHA)
  4. victim:SetColor( Color(0, 0, 0, 0 ) )
  5. victim:Freeze( true )
  6. victim:GodEnable()
  7. victim:SetCollisionGroup( 20 )
  8.  
  9. timer.Create( "Knockout", 0, 20, function()
  10. victim:Respawn()
  11. victim:SetPos( pos )
  12. victim:SetRenderMode( whatever the normal render mode is )
  13. victim:SetColor( whatever the normal color is )
  14. victim:Freeze( false )
  15. victim:GodDisable()
  16. victim:SetCollisionGroup( whatever the normal collision is )
  17. end )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement