Advertisement
Dusty_Wings

E2 Script.

Apr 9th, 2016
4,101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
E 0.77 KB | None | 0 0
  1. @name Annoying PlayerFinder
  2. @inputs  
  3. @outputs  
  4. @persist Player:entity
  5. @trigger  
  6.  
  7. runOnTick(1)
  8.  
  9. if(first()){
  10.     hint("/t <name>",5)
  11.     hint("xXKvittoXx",5)
  12.     hint("If you Re-Publish it please Give Me Credits",5)
  13. holoCreate(1)
  14. }
  15.  
  16. S = owner():lastSaid():explode(" ")
  17.  
  18. if (S:string(1)=="/t"){
  19.  
  20. TempPlayer = findPlayerByName(S:string(2))
  21. if (TempPlayer:isPlayer()){
  22. Player = TempPlayer
  23. }
  24. }
  25.  
  26. holoCreate(1)
  27. holoModel(1,"cube")
  28. holoScale(1,vec(-5,-5,-5))
  29. holoColor(1,vec(250,250,250))
  30. holoAng(1,ang(0,360,0))
  31. holoPos(1, Player:pos() + vec(0,0,50))
  32. holoMaterial(1,"matsys_regressiontest/background")  
  33. holoEntity(1):soundPlay(999,999,"misc/happy_birthday_tf_02.wav")  
  34.  
  35.  
  36. if (duped()) {selfDestruct()}  
  37.  
  38. Cat Gmod Script For E2.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement