Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. @name GenericDownForce
  2. @inputs [Base Exhaust Seat]:entity Active:number
  3. @outputs Penis:number
  4. @persist Time:number
  5. @model models/bull/gates/microcontroller2_mini.mdl
  6. interval(100)
  7.  
  8. Base:applyForce(vec(0,0,-48000))
  9.  
  10. Player = Seat:driver()
  11. Time = 5000
  12.  
  13. if(Player:keyForward()){
  14. Base:applyForce(Base:forward()*15000)
  15. }
  16. if(Active == 1){
  17. Base:applyForce(Base:forward()*45000)
  18. Penis = 1
  19. Exhaust:setTrails(100,100,100,"trails/love",vec(36,36,36),255)
  20. entity():soundPlay(1,soundDuration("misc/halloween/spell_bat_cast.wav"), "misc/halloween/spell_bat_cast.wav")
  21. Time = soundDuration("misc/halloween/spell_bat_cast.wav")
  22. }elseif(Active == 0){
  23. Penis = 0
  24. Exhaust:removeTrails()
  25. entity():soundPlay(1,soundDuration("misc/halloween/spell_bat_impact.wav"), "misc/halloween/spell_bat_impact.wav")
  26. Time = soundDuration("misc/halloween/spell_bat_impact.wav")
  27. }
  28. if(Player:keyBack()){
  29. Base:applyForce(Base:forward()*-5000)
  30. #Car:applyForce(Car:up()*-250000)
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement