daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Sep 12th, 2018 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  posted:
  2. @name Colourchanger ADV
  3.  
  4. @persist State Type:string Hint Reset
  5.  
  6. interval(50)
  7.  
  8. #Say 'normal' to be normal
  9.  
  10. #Say 'shiny' to be shiny
  11.  
  12. #Say 'flashy' to be flashy
  13.  
  14. #Say 'hide' to be invisible
  15.  
  16. #Say 'electric' to be electrified
  17.  
  18. #Say 'state' to be hinted what state your in
  19.  
  20. #Say 'reset' after you have used the state command so you can use it again
  21.  
  22. if (owner():lastSaid() == "normal") {State=1}
  23.  
  24. if (owner():lastSaid() == "hide") {State=2}
  25.  
  26. if (owner():lastSaid() == "flashy") {State = 5}
  27.  
  28. if (owner():lastSaid() == "shiny") {State = 9}
  29.  
  30. if(owner():lastSaid() == "electric") {State = 20}
  31.  
  32. if (owner():lastSaid() == "state" & Hint == 0) {Hint = 1}
  33.  
  34. if (owner():lastSaid() == "reset") {Reset = 1}
  35.  
  36. if (State == 1) {
  37.  
  38. owner():setMaterial("normalplz")
  39.  
  40. owner():setColor(255,255,255)
  41.  
  42. Type = "You are Normal"
  43.  
  44. }
  45.  
  46. if (State == 2) {
  47.  
  48. owner():setMaterial("Models/effects/vol_light001")
  49.  
  50. State = 0
  51.  
  52. Type = "You are Hidden"
  53.  
  54. }
  55.  
  56. if (State == 5) {
  57.  
  58. owner():setMaterial("models/debug/debugwhite")
  59.  
  60. State = 6
  61.  
  62. Type = "You are Flashy"
  63.  
  64. }
  65.  
  66. if (State == 6) {
  67.  
  68. owner():setColor(random(255),random(255),random(255))
  69.  
  70. }
  71.  
  72. if (State == 9) {
  73.  
  74. owner():setMaterial("debug/env_cubemap_model")
  75.  
  76. owner():setColor(255,255,255)
  77.  
  78. State = 0
  79.  
  80. Type = "You are Shiny"
  81.  
  82. }
  83.  
  84. if (State == 20) {
  85.  
  86. owner():setMaterial("models/alyx/emptool_glow")
  87.  
  88. owner():setColor(255,255,255)
  89.  
  90. State = 0  
  91.  
  92. Type = "You are Electric"
  93.  
  94. }
  95.  
  96. if (Hint == 1) {hint(Type,5)
  97.  
  98. Hint = -1    
  99.  
  100. }
  101.  
  102. if (Reset == 1) {
  103.  
  104. Hint = 0
  105.  
  106. Reset = 0
  107.  
  108. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top