Advertisement
Dusty_Wings

Cat Box (No Sound)

Apr 9th, 2016
532
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.62 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. holoCreate(1)
  13. }
  14.  
  15. S = owner():lastSaid():explode(" ")
  16.  
  17. if (S:string(1)=="/t"){
  18.  
  19. TempPlayer = findPlayerByName(S:string(2))
  20. if (TempPlayer:isPlayer()){
  21. Player = TempPlayer
  22. }
  23. }
  24.  
  25. holoCreate(1)
  26. holoModel(1,"cube")
  27. holoScale(1,vec(-5,-5,-5))
  28. holoColor(1,vec(250,250,250))
  29. holoAng(1,ang(0,360,0))
  30. holoPos(1, Player:pos() + vec(0,0,50))
  31. holoMaterial(1,"matsys_regressiontest/background")  
  32.  
  33.  
  34. if (duped()) {selfDestruct()}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement