dustyroo

Untitled

Mar 25th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. @ persist State Type:string Hint Reset
  2. interval(50)
  3. if (owner():lastSaid() == "!goldgun") {State=1 hideChat(1)}
  4. if (owner():lastSaid() == "!normgun") {State=2 hideChat(1)}
  5. if (owner():lastSaid() == "!redgun") {State=3 hideChat(1)}
  6. if (owner():lastSaid() == "!bluegun") {State=4 hideChat(1)}
  7. if (owner():lastSaid() == "!greengun") {State=5 hideChat(1)}
  8. if (owner():lastSaid() == "!pinkgun") {State=6 hideChat(1)}
  9. if (owner():lastSaid() == "!flashygun") {State=7 hideChat(1)}
  10. if (owner():lastSaid() == "!electricgun") {State=9 hideChat(1)}
  11. if (owner():lastSaid() == "!spacegun") {State=10 hideChat(1)}
  12. if (owner():lastSaid() == "!blackgun") {State=11 hideChat(1)}
  13. if (owner():lastSaid() == "!whitegun") {State=12 hideChat(1)}
  14. if (owner():lastSaid() == "!normply") {State=13 hideChat(1)}
  15. if (owner():lastSaid() == "!hideply") {State=14 hideChat(1)}
  16. if (owner():lastSaid() == "!flashyply") {State=15 hideChat(1)}
  17. if (owner():lastSaid() == "!shinyply") {State=17 hideChat(1)}
  18. if (owner():lastSaid() == "!electricply") {State=18 hideChat(1)}
  19. if (owner():lastSaid() == "!invply") {State=19 hideChat(1)}
  20. if (owner():lastSaid() == "!invwep") {State=20 hideChat(1)}
  21. if (State == 1) {
  22. owner():weapon():setColor(vec(241,184,58))
  23. owner():weapon():setMaterial("models/shiny")
  24.  
  25. }
  26. if(State == 2) {
  27. owner():weapon():setColor(vec(255,255,255))
  28. owner():weapon():setMaterial("normalplz")
  29. Type = "Guns colour restored!"
  30. }
  31. if (State == 3) {
  32. owner():weapon():setColor(vec(255,0,0))
  33. owner():weapon():setMaterial("models/shiny")
  34. Type = "Your Gun is Red!"
  35.  
  36. }
  37. if (State == 4) {
  38. owner():weapon():setColor(vec(0,0,255))
  39. owner():weapon():setMaterial("models/shiny")
  40. Type = "Your Gun is Blue!"
  41.  
  42. }
  43. if (State == 5) {
  44. owner():weapon():setColor(vec(0,255,0))
  45. owner():weapon():setMaterial("models/shiny")
  46. Type = "Your Gun is Green!"
  47.  
  48. }
  49. if (State == 6) {
  50. owner():weapon():setColor(vec(255,0,255))
  51. owner():weapon():setMaterial("models/shiny")
  52. Type = "Your Gun is Pink!"
  53.  
  54. }
  55. if (State == 7) {
  56. owner():weapon():setMaterial("models/debug/debugwhite")
  57. State = 8
  58. Type = "Your gun is Flashy!"
  59. }
  60. if (State == 8) {
  61. owner():weapon():setColor(random(255),random(255),random(255))
  62. }
  63. if (State == 9) {
  64. owner():weapon():setMaterial("models/alyx/emptool_glow")
  65. owner():weapon():setColor(255,255,255)
  66. owner():weapon():setAlpha(255)
  67. Type = "You are Electric"
  68. }
  69. if (State == 10) {
  70. owner():weapon():setMaterial("models/player/player_chrome1")
  71. Typer = "SPACE CADET! PEW PEW"
  72. }
  73. if (State == 11) {
  74. owner():weapon():setColor(vec(0,0,0))
  75. owner():weapon():setMaterial("normalplz")
  76. Type = "Your Gun is Black!"
  77.  
  78. }
  79. if (State == 12) {
  80. owner():weapon():setColor(vec(255,255,255))
  81. owner():weapon():setMaterial("models/debug/debugwhite")
  82. Type = "Your Gun is White!"
  83.  
  84. }
  85. if (State == 13) {
  86. owner():setMaterial("normalplz")
  87. #owner():setColor(255,255,255)
  88. owner():setAlpha(255)
  89. Type = "You are Normal"
  90.  
  91. }
  92. if (State == 14) {
  93. owner():setMaterial("Models/effects/vol_light001")
  94. Type = "You are Hidden"
  95. }
  96. if (State == 15) {
  97. owner():setMaterial("models/debug/debugwhite")
  98. State = 16
  99. Type = "You are Flashy"
  100. }
  101. if (State == 16) {
  102. owner():setColor(random(255),random(255),random(255))
  103. }
  104. if (State == 17) {
  105. owner():setMaterial("debug/env_cubemap_model")
  106. owner():setColor(1,1,1)
  107. Type = "You are Shiny"
  108. }
  109. if (State == 18) {
  110. owner():setMaterial("models/alyx/emptool_glow")
  111. owner():setColor(255,255,255)
  112. State = 0
  113. Type = "You are Electric"
  114. }
  115. if (State == 19) {
  116. owner():setMaterial("models/effects/vol_light001")
  117. owner():setAlpha(0)
  118. #owner():setColor(255,255,255,0)
  119. Type = "You are Invis"
  120. }
  121. if (Hint == 1) {hint(Type,5)
  122. Hint = -1
  123. }
  124. if (Reset == 1) {
  125. Hint = 0
  126. Reset = 0
  127. }
  128. if (State == 20) {
  129. owner():weapon():setMaterial("models/effects/vol_light001")
  130. owner():weapon():setAlpha(0)
  131. #owner():setColor(255,255,255,0)
  132. Type = "You are Invis"
  133. }
Advertisement
Add Comment
Please, Sign In to add comment