Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.01 KB | None | 0 0
  1. MainVeh=script.Parent.Parent
  2. while true do
  3. wait(0)
  4. if MainVeh.on.Value == 1 then
  5.  
  6.  
  7.  
  8.  
  9.  
  10. elseif MainVeh.on.Value == 2 then
  11. MainVeh.TS1.Transparency = 1
  12. MainVeh.TS2.Transparency = 1
  13. wait(0.02)
  14. MainVeh.TS1.Transparency = 0.8
  15. MainVeh.TS2.Transparency = 1
  16. wait(0.02)
  17. MainVeh.TS1.Transparency = 0.7
  18. MainVeh.TS2.Transparency = 1
  19. wait(0.02)
  20. MainVeh.TS1.Transparency = 0.6
  21. MainVeh.TS2.Transparency = 1
  22. wait(0.02)
  23. MainVeh.TS1.Transparency = 0.5
  24. MainVeh.TS2.Transparency = 1
  25. wait(0.02)
  26. MainVeh.TS1.Transparency = 0.4
  27. MainVeh.TS2.Transparency = 1
  28. wait(0.02)
  29. MainVeh.TS1.Transparency = 0.3
  30. MainVeh.TS2.Transparency = 1
  31. wait(0.02)
  32. MainVeh.TS1.Transparency = 0.2
  33. MainVeh.TS2.Transparency = 1
  34. wait(0.02)
  35. MainVeh.TS1.Transparency = 0.1
  36. MainVeh.TS2.Transparency = 1
  37. wait(0.02)
  38.  
  39. MainVeh.TS1.Transparency = 0.1
  40. MainVeh.TS2.Transparency = 1
  41. wait(0.02)
  42. MainVeh.TS1.Transparency = 0.2
  43. MainVeh.TS2.Transparency = 1
  44. wait(0.02)
  45. MainVeh.TS1.Transparency = 0.3
  46. MainVeh.TS2.Transparency = 1
  47. wait(0.02)
  48. MainVeh.TS1.Transparency = 0.4
  49. MainVeh.TS2.Transparency = 1
  50. wait(0.02)
  51.  
  52. MainVeh.TS1.Transparency = 0.5
  53. MainVeh.TS2.Transparency = 1
  54. wait(0.02)
  55. MainVeh.TS1.Transparency = 0.6
  56. MainVeh.TS2.Transparency = 1
  57. wait(0.02)
  58. MainVeh.TS1.Transparency = 0.7
  59. MainVeh.TS2.Transparency = 1
  60. wait(0.02)
  61. MainVeh.TS1.Transparency = 0.8
  62. MainVeh.TS2.Transparency = 1
  63. wait(0.02)
  64.  
  65.  
  66. MainVeh.TS2.Transparency = 1
  67. MainVeh.TS1.Transparency = 1
  68. wait(0.02)
  69. MainVeh.TS2.Transparency = 0.8
  70. MainVeh.TS1.Transparency = 1
  71. wait(0.02)
  72. MainVeh.TS2.Transparency = 0.7
  73. MainVeh.TS1.Transparency = 1
  74. wait(0.02)
  75. MainVeh.TS2.Transparency = 0.6
  76. MainVeh.TS1.Transparency = 1
  77. wait(0.02)
  78. MainVeh.TS2.Transparency = 0.5
  79. MainVeh.TS1.Transparency = 1
  80. wait(0.02)
  81. MainVeh.TS2.Transparency = 0.4
  82. MainVeh.TS1.Transparency = 1
  83. wait(0.02)
  84. MainVeh.TS2.Transparency = 0.3
  85. MainVeh.TS1.Transparency = 1
  86. wait(0.02)
  87. MainVeh.TS2.Transparency = 0.2
  88. MainVeh.TS1.Transparency = 1
  89. wait(0.02)
  90. MainVeh.TS2.Transparency = 0.1
  91. MainVeh.TS1.Transparency = 1
  92. wait(0.02)
  93.  
  94. MainVeh.TS2.Transparency = 0.1
  95. MainVeh.TS1.Transparency = 1
  96. wait(0.02)
  97. MainVeh.TS2.Transparency = 0.2
  98. MainVeh.TS1.Transparency = 1
  99. wait(0.02)
  100. MainVeh.TS2.Transparency = 0.3
  101. MainVeh.TS1.Transparency = 1
  102. wait(0.02)
  103. MainVeh.TS2.Transparency = 0.4
  104. MainVeh.TS1.Transparency = 1
  105. wait(0.02)
  106.  
  107. MainVeh.TS2.Transparency = 0.5
  108. MainVeh.TS1.Transparency = 1
  109. wait(0.02)
  110. MainVeh.TS2.Transparency = 0.6
  111. MainVeh.TS1.Transparency = 1
  112. wait(0.02)
  113. MainVeh.TS2.Transparency = 0.7
  114. MainVeh.TS1.Transparency = 1
  115. wait(0.02)
  116. MainVeh.TS2.Transparency = 0.8
  117. MainVeh.TS1.Transparency = 1
  118. wait(0.02)
  119.  
  120.  
  121. elseif MainVeh.on.Value == 3 then
  122.  
  123. MainVeh.TS1.Transparency = 1
  124. MainVeh.TS2.Transparency = 1
  125. wait(0.02)
  126. MainVeh.TS1.Transparency = 0.8
  127. MainVeh.TS2.Transparency = 1
  128. wait(0.02)
  129. MainVeh.TS1.Transparency = 0.7
  130. MainVeh.TS2.Transparency = 1
  131. wait(0.02)
  132. MainVeh.TS1.Transparency = 0.6
  133. MainVeh.TS2.Transparency = 1
  134. wait(0.02)
  135. MainVeh.TS1.Transparency = 0.5
  136. MainVeh.TS2.Transparency = 1
  137. wait(0.02)
  138. MainVeh.TS1.Transparency = 0.4
  139. MainVeh.TS2.Transparency = 1
  140. wait(0.02)
  141. MainVeh.TS1.Transparency = 0.3
  142. MainVeh.TS2.Transparency = 1
  143. wait(0.02)
  144. MainVeh.TS1.Transparency = 0.2
  145. MainVeh.TS2.Transparency = 1
  146. wait(0.02)
  147. MainVeh.TS1.Transparency = 0.1
  148. MainVeh.TS2.Transparency = 1
  149. wait(0.02)
  150.  
  151. MainVeh.TS1.Transparency = 0.1
  152. MainVeh.TS2.Transparency = 1
  153. wait(0.02)
  154. MainVeh.TS1.Transparency = 0.2
  155. MainVeh.TS2.Transparency = 1
  156. wait(0.02)
  157. MainVeh.TS1.Transparency = 0.3
  158. MainVeh.TS2.Transparency = 1
  159. wait(0.02)
  160. MainVeh.TS1.Transparency = 0.4
  161. MainVeh.TS2.Transparency = 1
  162. wait(0.02)
  163.  
  164. MainVeh.TS1.Transparency = 0.5
  165. MainVeh.TS2.Transparency = 1
  166. wait(0.02)
  167. MainVeh.TS1.Transparency = 0.6
  168. MainVeh.TS2.Transparency = 1
  169. wait(0.02)
  170. MainVeh.TS1.Transparency = 0.7
  171. MainVeh.TS2.Transparency = 1
  172. wait(0.02)
  173. MainVeh.TS1.Transparency = 0.8
  174. MainVeh.TS2.Transparency = 1
  175. wait(0.02)
  176.  
  177.  
  178. MainVeh.TS2.Transparency = 1
  179. MainVeh.TS1.Transparency = 1
  180. wait(0.02)
  181. MainVeh.TS2.Transparency = 0.8
  182. MainVeh.TS1.Transparency = 1
  183. wait(0.02)
  184. MainVeh.TS2.Transparency = 0.7
  185. MainVeh.TS1.Transparency = 1
  186. wait(0.02)
  187. MainVeh.TS2.Transparency = 0.6
  188. MainVeh.TS1.Transparency = 1
  189. wait(0.02)
  190. MainVeh.TS2.Transparency = 0.5
  191. MainVeh.TS1.Transparency = 1
  192. wait(0.02)
  193. MainVeh.TS2.Transparency = 0.4
  194. MainVeh.TS1.Transparency = 1
  195. wait(0.02)
  196. MainVeh.TS2.Transparency = 0.3
  197. MainVeh.TS1.Transparency = 1
  198. wait(0.02)
  199. MainVeh.TS2.Transparency = 0.2
  200. MainVeh.TS1.Transparency = 1
  201. wait(0.02)
  202. MainVeh.TS2.Transparency = 0.1
  203. MainVeh.TS1.Transparency = 1
  204. wait(0.02)
  205.  
  206. MainVeh.TS2.Transparency = 0.1
  207. MainVeh.TS1.Transparency = 1
  208. wait(0.02)
  209. MainVeh.TS2.Transparency = 0.2
  210. MainVeh.TS1.Transparency = 1
  211. wait(0.02)
  212. MainVeh.TS2.Transparency = 0.3
  213. MainVeh.TS1.Transparency = 1
  214. wait(0.02)
  215. MainVeh.TS2.Transparency = 0.4
  216. MainVeh.TS1.Transparency = 1
  217. wait(0.02)
  218.  
  219. MainVeh.TS2.Transparency = 0.5
  220. MainVeh.TS1.Transparency = 1
  221. wait(0.02)
  222. MainVeh.TS2.Transparency = 0.6
  223. MainVeh.TS1.Transparency = 1
  224. wait(0.02)
  225. MainVeh.TS2.Transparency = 0.7
  226. MainVeh.TS1.Transparency = 1
  227. wait(0.02)
  228. MainVeh.TS2.Transparency = 0.8
  229. MainVeh.TS1.Transparency = 1
  230. wait(0.02)
  231.  
  232.  
  233. else
  234. MainVeh.TS1.Transparency = 1
  235. MainVeh.TS2.Transparency = 1
  236.  
  237.  
  238.  
  239. end
  240. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement