Advertisement
Guest User

Untitled

a guest
May 27th, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.43 KB | None | 0 0
  1. @name FailCake SCARY HALLOWEEN =D!
  2. @persist EE:entity O:entity TT Timer
  3.  
  4. interval(1500)
  5.  
  6. if (first()){EE = entity()
  7. hint("MADE BY FAILCAKE",999)
  8. }
  9.  
  10. findIncludeClass("player")
  11. findExcludePlayer(owner())
  12. Fsphere = findInSphere(entity():pos(), 100)
  13. if(Fsphere > 0){
  14. O = findClosest(entity():pos())
  15. TT = 1
  16. holoCreate(TT)
  17. holoModel(TT,"cube")
  18. holoScale(TT,vec(-5,-5,-5))
  19. holoColor(TT,vec(250,250,250))
  20. holoAng(TT,ang(0,360,0))
  21. holoPos(TT,O:pos()+vec(0,0,50))
  22. holoParent(TT,O)
  23. holoMaterial(TT,"matsys_regressiontest/background")
  24. holoEntity(TT):soundPlay(999,999,"npc/stalker/go_alert2a.wav")
  25. #MADE BY FAILCAKE
  26. Mat=array()
  27. Mat:setString(1,"matsys_regressiontest/background")
  28. Mat:setString(2,"perftest/gman/gman_face1")
  29. R=randint(1,2)
  30. holoMaterial(1,Mat:string(R))
  31.  
  32. }else{
  33. holoDelete(TT)
  34. }
  35. Timer += 100
  36. T = Timer
  37. ## BASE ##
  38. holoCreate(2)
  39. holoModel(2,"icosphere3")
  40. holoScale(2,vec(1.3,1.5,1.5))
  41. holoColor(2,vec(250,150,0))
  42. holoAng(2,ang(0,0,0))
  43. holoPos(2,EE:pos()+vec(0,0,10))
  44. holoParent(2,EE)
  45. holoMaterial(2,"")
  46.  
  47. ## EYE ##
  48. holoCreate(3)
  49. holoModel(3,"icosphere3")
  50. holoScale(3,vec(0.2,0.2,0.3))
  51. holoColor(3,vec(1,1,1))
  52. holoAng(3,ang(0,0,0))
  53. holoPos(3,EE:pos()+vec(-7,2,13))
  54. holoParent(3,EE)
  55. holoMaterial(3,"")
  56.  
  57. ## EYE2 ##
  58. holoCreate(4)
  59. holoModel(4,"icosphere3")
  60. holoScale(4,vec(0.2,0.2,0.3))
  61. holoColor(4,vec(1,1,1))
  62. holoAng(4,ang(0,0,0))
  63. holoPos(4,EE:pos()+vec(-7,-2,13))
  64. holoParent(4,EE)
  65. holoMaterial(4,"")
  66.  
  67. ## MOUTH ##
  68. holoCreate(5)
  69. holoModel(5,"cube")
  70. holoScale(5,vec(0.2,0.5,0.1))
  71. holoColor(5,vec(250,1,1))
  72. holoAng(5,ang(0,0,0))
  73. holoPos(5,EE:pos()+vec(-6.5,0,7))
  74. holoParent(5,EE)
  75. holoMaterial(5,"")
  76.  
  77. ## Smile ##
  78. holoCreate(6)
  79. holoModel(6,"cube")
  80. holoScale(6,vec(0.1,0.3,0.1))
  81. holoColor(6,vec(250,1,1))
  82. holoAng(6,ang(0,0,60))
  83. holoPos(6,EE:pos()+vec(-6.9,3,8))
  84. holoParent(6,EE)
  85. holoMaterial(6,"")
  86. #MADE BY FAILCAKE
  87. ## Smile2 ##
  88. holoCreate(7)
  89. holoModel(7,"cube")
  90. holoScale(7,vec(0.1,0.3,0.1))
  91. holoColor(7,vec(250,1,1))
  92. holoAng(7,ang(0,0,-60))
  93. holoPos(7,EE:pos()+vec(-6.9,-3,8))
  94. holoParent(7,EE)
  95. holoMaterial(7,"")
  96.  
  97. ## Hair1 ##
  98. holoCreate(8)
  99. holoModel(8,"cube")
  100. holoScale(8,vec(0.1,0.3,0.1))
  101. holoColor(8,vec(100,40,0))
  102. holoAng(8,ang(0,0,60))
  103. holoPos(8,EE:pos()+vec(0,1.5,19.8))
  104. holoParent(8,EE)
  105. holoMaterial(8,"")
  106.  
  107. ## Hair2 ##
  108. holoCreate(9)
  109. holoModel(9,"cube")
  110. holoScale(9,vec(0.1,0.3,0.1))
  111. holoColor(9,vec(100,40,0))
  112. holoAng(9,ang(0,0,-60))
  113. holoPos(9,EE:pos()+vec(0,-1.5,19.8))
  114. holoParent(9,EE)
  115. holoMaterial(9,"")
  116.  
  117.  
  118. ## Hair3 ##
  119. holoCreate(10)
  120. holoModel(10,"cube")
  121. holoScale(10,vec(0.1,0.3,0.1))
  122. holoColor(10,vec(100,40,0))
  123. holoAng(10,ang(0,-90,-60))
  124. holoPos(10,EE:pos()+vec(-1.5,0,19.8))
  125. holoParent(10,EE)
  126. holoMaterial(10,"")
  127.  
  128. ## Hair4 ##
  129. holoCreate(11)
  130. holoModel(11,"cube")
  131. holoScale(11,vec(0.1,0.3,0.1))
  132. holoColor(11,vec(100,40,0))
  133. holoAng(11,ang(0,90,-60))
  134. holoPos(11,EE:pos()+vec(1.5,0,19.8))
  135. holoParent(11,EE)
  136. holoMaterial(11,"")
  137.  
  138. ## Hair4 ##
  139. holoCreate(12)
  140. holoModel(12,"cube")
  141. holoScale(12,vec(0.1,0.3,0.1))
  142. holoColor(12,vec(100,40,0))
  143. holoAng(12,ang(0,0,90))
  144. holoPos(12,EE:pos()+vec(0,0,19.8))
  145. holoParent(12,EE)
  146. holoMaterial(12,"")
  147. #MADE BY FAILCAKE
  148. #Rolf E2 destrotion xD
  149. if(duped()){selfDestructAll()}
  150. if(duped()){selfDestructAll()}
  151. if(duped()){selfDestructAll()}
  152. if(duped()){selfDestructAll()}
  153. if(duped()){selfDestructAll()}
  154. if(duped()){selfDestructAll()}
  155.  
  156. #THERE HAPPY HALLOWEEN EVERYONE =D!!
  157. #Wiremod Community YOU GUYS ROCK!!! :D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement