Advertisement
Antskidcentric

Untitled

Jul 16th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 283.48 KB | None | 0 0
  1.  
  2. local runDummyScript = function(f,scri)
  3. local oldenv = getfenv(f)
  4. local newenv = setmetatable({}, {
  5. __index = function(_, k)
  6. if k:lower() == 'script' then
  7. return scri
  8. else
  9. return oldenv[k]
  10. end
  11. end
  12. })
  13. setfenv(f, newenv)
  14. ypcall(function() f() end)
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. mas.Name = "CompiledModel"
  19. o1 = Instance.new("Model")
  20. o2 = Instance.new("VehicleSeat")
  21. o3 = Instance.new("Sound")
  22. o4 = Instance.new("Sound")
  23. o5 = Instance.new("Sound")
  24. o6 = Instance.new("Script")
  25. o7 = Instance.new("ScreenGui")
  26. o8 = Instance.new("LocalScript")
  27. o9 = Instance.new("ObjectValue")
  28. o10 = Instance.new("Sound")
  29. o11 = Instance.new("Script")
  30. o12 = Instance.new("ScreenGui")
  31. o13 = Instance.new("LocalScript")
  32. o14 = Instance.new("ObjectValue")
  33. o15 = Instance.new("Sound")
  34. o16 = Instance.new("Script")
  35. o17 = Instance.new("ScreenGui")
  36. o18 = Instance.new("LocalScript")
  37. o19 = Instance.new("ObjectValue")
  38. o20 = Instance.new("Sound")
  39. o21 = Instance.new("Script")
  40. o22 = Instance.new("Script")
  41. o23 = Instance.new("Sound")
  42. o24 = Instance.new("BoolValue")
  43. o25 = Instance.new("BoolValue")
  44. o26 = Instance.new("ScreenGui")
  45. o28 = Instance.new("Folder")
  46. o29 = Instance.new("Frame")
  47. o30 = Instance.new("LocalScript")
  48. o31 = Instance.new("Frame")
  49. o32 = Instance.new("Frame")
  50. o33 = Instance.new("Frame")
  51. o34 = Instance.new("ImageLabel")
  52. o35 = Instance.new("Frame")
  53. o36 = Instance.new("Frame")
  54. o37 = Instance.new("ImageLabel")
  55. o38 = Instance.new("Frame")
  56. o39 = Instance.new("Frame")
  57. o40 = Instance.new("ImageLabel")
  58. o41 = Instance.new("Frame")
  59. o42 = Instance.new("Frame")
  60. o43 = Instance.new("ImageLabel")
  61. o44 = Instance.new("Frame")
  62. o45 = Instance.new("Frame")
  63. o46 = Instance.new("ImageLabel")
  64. o47 = Instance.new("TextLabel")
  65. o48 = Instance.new("TextLabel")
  66. o49 = Instance.new("Frame")
  67. o50 = Instance.new("TextButton")
  68. o51 = Instance.new("Frame")
  69. o52 = Instance.new("Frame")
  70. o53 = Instance.new("Frame")
  71. o54 = Instance.new("TextButton")
  72. o55 = Instance.new("TextButton")
  73. o56 = Instance.new("TextButton")
  74. o57 = Instance.new("TextLabel")
  75. o58 = Instance.new("TextLabel")
  76. o59 = Instance.new("Frame")
  77. o60 = Instance.new("TextLabel")
  78. o61 = Instance.new("TextLabel")
  79. o62 = Instance.new("TextLabel")
  80. o63 = Instance.new("TextLabel")
  81. o64 = Instance.new("TextLabel")
  82. o65 = Instance.new("TextLabel")
  83. o66 = Instance.new("TextLabel")
  84. o67 = Instance.new("TextLabel")
  85. o68 = Instance.new("TextLabel")
  86. o69 = Instance.new("TextLabel")
  87. o70 = Instance.new("TextLabel")
  88. o71 = Instance.new("TextLabel")
  89. o72 = Instance.new("TextLabel")
  90. o73 = Instance.new("TextLabel")
  91. o74 = Instance.new("TextLabel")
  92. o75 = Instance.new("TextButton")
  93. o76 = Instance.new("TextButton")
  94. o77 = Instance.new("TextButton")
  95. o78 = Instance.new("TextButton")
  96. o79 = Instance.new("TextButton")
  97. o80 = Instance.new("TextButton")
  98. o81 = Instance.new("TextButton")
  99. o82 = Instance.new("TextButton")
  100. o83 = Instance.new("TextButton")
  101. o84 = Instance.new("TextButton")
  102. o85 = Instance.new("TextButton")
  103. o86 = Instance.new("TextButton")
  104. o87 = Instance.new("TextButton")
  105. o88 = Instance.new("TextButton")
  106. o89 = Instance.new("TextButton")
  107. o90 = Instance.new("TextLabel")
  108. o91 = Instance.new("TextLabel")
  109. o92 = Instance.new("TextLabel")
  110. o93 = Instance.new("TextLabel")
  111. o94 = Instance.new("TextLabel")
  112. o95 = Instance.new("TextLabel")
  113. o96 = Instance.new("TextLabel")
  114. o97 = Instance.new("TextButton")
  115. o98 = Instance.new("TextButton")
  116. o99 = Instance.new("TextButton")
  117. o100 = Instance.new("TextButton")
  118. o101 = Instance.new("TextButton")
  119. o102 = Instance.new("TextButton")
  120. o103 = Instance.new("TextButton")
  121. o104 = Instance.new("TextLabel")
  122. o105 = Instance.new("TextLabel")
  123. o106 = Instance.new("TextLabel")
  124. o107 = Instance.new("TextLabel")
  125. o108 = Instance.new("TextLabel")
  126. o109 = Instance.new("TextLabel")
  127. o110 = Instance.new("TextLabel")
  128. o111 = Instance.new("TextLabel")
  129. o112 = Instance.new("TextLabel")
  130. o113 = Instance.new("TextButton")
  131. o114 = Instance.new("TextButton")
  132. o115 = Instance.new("TextButton")
  133. o116 = Instance.new("TextButton")
  134. o117 = Instance.new("TextButton")
  135. o118 = Instance.new("TextButton")
  136. o119 = Instance.new("TextButton")
  137. o120 = Instance.new("TextButton")
  138. o121 = Instance.new("TextButton")
  139. o122 = Instance.new("TextLabel")
  140. o123 = Instance.new("TextLabel")
  141. o124 = Instance.new("TextLabel")
  142. o125 = Instance.new("TextLabel")
  143. o126 = Instance.new("TextLabel")
  144. o127 = Instance.new("ScrollingFrame")
  145. o128 = Instance.new("TextLabel")
  146. o129 = Instance.new("ScrollingFrame")
  147. o130 = Instance.new("TextLabel")
  148. o131 = Instance.new("ScrollingFrame")
  149. o132 = Instance.new("TextLabel")
  150. o133 = Instance.new("ScrollingFrame")
  151. o134 = Instance.new("TextLabel")
  152. o135 = Instance.new("TextLabel")
  153. o136 = Instance.new("LocalScript")
  154. o137 = Instance.new("Frame")
  155. o138 = Instance.new("LocalScript")
  156. o139 = Instance.new("Frame")
  157. o140 = Instance.new("Frame")
  158. o141 = Instance.new("Frame")
  159. o142 = Instance.new("Frame")
  160. o143 = Instance.new("Frame")
  161. o144 = Instance.new("Frame")
  162. o145 = Instance.new("Frame")
  163. o146 = Instance.new("Frame")
  164. o147 = Instance.new("TextLabel")
  165. o148 = Instance.new("TextLabel")
  166. o149 = Instance.new("TextLabel")
  167. o150 = Instance.new("TextLabel")
  168. o151 = Instance.new("TextLabel")
  169. o152 = Instance.new("TextLabel")
  170. o153 = Instance.new("TextLabel")
  171. o154 = Instance.new("LocalScript")
  172. o155 = Instance.new("LocalScript")
  173. o156 = Instance.new("LocalScript")
  174. o157 = Instance.new("LocalScript")
  175. o158 = Instance.new("LocalScript")
  176. o159 = Instance.new("RemoteEvent")
  177. o160 = Instance.new("Script")
  178. o161 = Instance.new("Sound")
  179. o162 = Instance.new("NumberValue")
  180. o163 = Instance.new("NumberValue")
  181. o164 = Instance.new("LocalScript")
  182. o165 = Instance.new("Sound")
  183. o166 = Instance.new("Sound")
  184. o167 = Instance.new("ScreenGui")
  185. o168 = Instance.new("ObjectValue")
  186. o169 = Instance.new("Folder")
  187. o170 = Instance.new("NumberValue")
  188. o171 = Instance.new("NumberValue")
  189. o172 = Instance.new("NumberValue")
  190. o173 = Instance.new("StringValue")
  191. o174 = Instance.new("NumberValue")
  192. o175 = Instance.new("NumberValue")
  193. o176 = Instance.new("NumberValue")
  194. o177 = Instance.new("NumberValue")
  195. o178 = Instance.new("NumberValue")
  196. o179 = Instance.new("BoolValue")
  197. o180 = Instance.new("BoolValue")
  198. o181 = Instance.new("BoolValue")
  199. o182 = Instance.new("Vector3Value")
  200. o183 = Instance.new("BoolValue")
  201. o184 = Instance.new("BoolValue")
  202. o185 = Instance.new("LocalScript")
  203. o186 = Instance.new("Script")
  204. o189 = Instance.new("Sound")
  205. o190 = Instance.new("BoolValue")
  206. o191 = Instance.new("Script")
  207. o192 = Instance.new("Script")
  208. o193 = Instance.new("Sound")
  209. o194 = Instance.new("Sound")
  210. o195 = Instance.new("NumberValue")
  211. o196 = Instance.new("BoolValue")
  212. o197 = Instance.new("BoolValue")
  213. o198 = Instance.new("BoolValue")
  214. o199 = Instance.new("BoolValue")
  215. o200 = Instance.new("BoolValue")
  216. o201 = Instance.new("NumberValue")
  217. o203 = Instance.new("Folder")
  218. o204 = Instance.new("Frame")
  219. o205 = Instance.new("LocalScript")
  220. o206 = Instance.new("Frame")
  221. o207 = Instance.new("Frame")
  222. o208 = Instance.new("Frame")
  223. o209 = Instance.new("ImageLabel")
  224. o210 = Instance.new("Frame")
  225. o211 = Instance.new("Frame")
  226. o212 = Instance.new("ImageLabel")
  227. o213 = Instance.new("Frame")
  228. o214 = Instance.new("Frame")
  229. o215 = Instance.new("ImageLabel")
  230. o216 = Instance.new("Frame")
  231. o217 = Instance.new("Frame")
  232. o218 = Instance.new("ImageLabel")
  233. o219 = Instance.new("Frame")
  234. o220 = Instance.new("Frame")
  235. o221 = Instance.new("ImageLabel")
  236. o222 = Instance.new("TextLabel")
  237. o223 = Instance.new("TextLabel")
  238. o224 = Instance.new("Frame")
  239. o225 = Instance.new("TextButton")
  240. o226 = Instance.new("Frame")
  241. o227 = Instance.new("Frame")
  242. o228 = Instance.new("Frame")
  243. o229 = Instance.new("TextButton")
  244. o230 = Instance.new("TextButton")
  245. o231 = Instance.new("TextButton")
  246. o232 = Instance.new("TextLabel")
  247. o233 = Instance.new("TextLabel")
  248. o234 = Instance.new("Frame")
  249. o235 = Instance.new("TextLabel")
  250. o236 = Instance.new("TextLabel")
  251. o237 = Instance.new("TextLabel")
  252. o238 = Instance.new("TextLabel")
  253. o239 = Instance.new("TextLabel")
  254. o240 = Instance.new("TextLabel")
  255. o241 = Instance.new("TextLabel")
  256. o242 = Instance.new("TextLabel")
  257. o243 = Instance.new("TextLabel")
  258. o244 = Instance.new("TextLabel")
  259. o245 = Instance.new("TextLabel")
  260. o246 = Instance.new("TextLabel")
  261. o247 = Instance.new("TextLabel")
  262. o248 = Instance.new("TextLabel")
  263. o249 = Instance.new("TextLabel")
  264. o250 = Instance.new("TextButton")
  265. o251 = Instance.new("TextButton")
  266. o252 = Instance.new("TextButton")
  267. o253 = Instance.new("TextButton")
  268. o254 = Instance.new("TextButton")
  269. o255 = Instance.new("TextButton")
  270. o256 = Instance.new("TextButton")
  271. o257 = Instance.new("TextButton")
  272. o258 = Instance.new("TextButton")
  273. o259 = Instance.new("TextButton")
  274. o260 = Instance.new("TextButton")
  275. o261 = Instance.new("TextButton")
  276. o262 = Instance.new("TextButton")
  277. o263 = Instance.new("TextButton")
  278. o264 = Instance.new("TextButton")
  279. o265 = Instance.new("TextLabel")
  280. o266 = Instance.new("TextLabel")
  281. o267 = Instance.new("TextLabel")
  282. o268 = Instance.new("TextLabel")
  283. o269 = Instance.new("TextLabel")
  284. o270 = Instance.new("TextLabel")
  285. o271 = Instance.new("TextLabel")
  286. o272 = Instance.new("TextButton")
  287. o273 = Instance.new("TextButton")
  288. o274 = Instance.new("TextButton")
  289. o275 = Instance.new("TextButton")
  290. o276 = Instance.new("TextButton")
  291. o277 = Instance.new("TextButton")
  292. o278 = Instance.new("TextButton")
  293. o279 = Instance.new("TextLabel")
  294. o280 = Instance.new("TextLabel")
  295. o281 = Instance.new("TextLabel")
  296. o282 = Instance.new("TextLabel")
  297. o283 = Instance.new("TextLabel")
  298. o284 = Instance.new("TextLabel")
  299. o285 = Instance.new("TextLabel")
  300. o286 = Instance.new("TextLabel")
  301. o287 = Instance.new("TextLabel")
  302. o288 = Instance.new("TextButton")
  303. o289 = Instance.new("TextButton")
  304. o290 = Instance.new("TextButton")
  305. o291 = Instance.new("TextButton")
  306. o292 = Instance.new("TextButton")
  307. o293 = Instance.new("TextButton")
  308. o294 = Instance.new("TextButton")
  309. o295 = Instance.new("TextButton")
  310. o296 = Instance.new("TextButton")
  311. o297 = Instance.new("TextLabel")
  312. o298 = Instance.new("TextLabel")
  313. o299 = Instance.new("TextLabel")
  314. o300 = Instance.new("TextLabel")
  315. o301 = Instance.new("TextLabel")
  316. o302 = Instance.new("ScrollingFrame")
  317. o303 = Instance.new("TextLabel")
  318. o304 = Instance.new("ScrollingFrame")
  319. o305 = Instance.new("TextLabel")
  320. o306 = Instance.new("ScrollingFrame")
  321. o307 = Instance.new("TextLabel")
  322. o308 = Instance.new("ScrollingFrame")
  323. o309 = Instance.new("TextLabel")
  324. o310 = Instance.new("TextLabel")
  325. o311 = Instance.new("LocalScript")
  326. o312 = Instance.new("LocalScript")
  327. o313 = Instance.new("LocalScript")
  328. o314 = Instance.new("LocalScript")
  329. o315 = Instance.new("LocalScript")
  330. o316 = Instance.new("LocalScript")
  331. o317 = Instance.new("LocalScript")
  332. o318 = Instance.new("LocalScript")
  333. o319 = Instance.new("LocalScript")
  334. o320 = Instance.new("LocalScript")
  335. o321 = Instance.new("Sound")
  336. o322 = Instance.new("Sound")
  337. o323 = Instance.new("LocalScript")
  338. o324 = Instance.new("LocalScript")
  339. o325 = Instance.new("Sound")
  340. o326 = Instance.new("NumberValue")
  341. o327 = Instance.new("NumberValue")
  342. o328 = Instance.new("RemoteEvent")
  343. o329 = Instance.new("Script")
  344. o330 = Instance.new("LocalScript")
  345. o331 = Instance.new("Frame")
  346. o332 = Instance.new("LocalScript")
  347. o333 = Instance.new("Frame")
  348. o334 = Instance.new("Frame")
  349. o335 = Instance.new("Frame")
  350. o336 = Instance.new("Frame")
  351. o337 = Instance.new("Frame")
  352. o338 = Instance.new("Frame")
  353. o339 = Instance.new("Frame")
  354. o340 = Instance.new("Frame")
  355. o341 = Instance.new("TextLabel")
  356. o342 = Instance.new("TextLabel")
  357. o343 = Instance.new("TextLabel")
  358. o344 = Instance.new("TextLabel")
  359. o345 = Instance.new("TextLabel")
  360. o346 = Instance.new("TextLabel")
  361. o347 = Instance.new("TextLabel")
  362. o348 = Instance.new("ScreenGui")
  363. o349 = Instance.new("ObjectValue")
  364. o350 = Instance.new("Folder")
  365. o351 = Instance.new("NumberValue")
  366. o352 = Instance.new("NumberValue")
  367. o353 = Instance.new("NumberValue")
  368. o354 = Instance.new("StringValue")
  369. o355 = Instance.new("NumberValue")
  370. o356 = Instance.new("NumberValue")
  371. o357 = Instance.new("NumberValue")
  372. o358 = Instance.new("NumberValue")
  373. o359 = Instance.new("NumberValue")
  374. o360 = Instance.new("BoolValue")
  375. o361 = Instance.new("BoolValue")
  376. o362 = Instance.new("BoolValue")
  377. o363 = Instance.new("Vector3Value")
  378. o364 = Instance.new("BoolValue")
  379. o365 = Instance.new("BoolValue")
  380. o366 = Instance.new("LocalScript")
  381. o367 = Instance.new("Script")
  382. o370 = Instance.new("Humanoid")
  383. o371 = Instance.new("Model")
  384. o372 = Instance.new("Part")
  385. o373 = Instance.new("Model")
  386. o375 = Instance.new("Part")
  387. o376 = Instance.new("BlockMesh")
  388. o377 = Instance.new("Decal")
  389. o378 = Instance.new("Model")
  390. o381 = Instance.new("ParticleEmitter")
  391. o382 = Instance.new("Script")
  392. o385 = Instance.new("Part")
  393. o386 = Instance.new("Model")
  394. o388 = Instance.new("Part")
  395. o389 = Instance.new("BlockMesh")
  396. o390 = Instance.new("Decal")
  397. o391 = Instance.new("Model")
  398. o394 = Instance.new("ParticleEmitter")
  399. o395 = Instance.new("Script")
  400. o398 = Instance.new("Part")
  401. o399 = Instance.new("Model")
  402. o401 = Instance.new("Part")
  403. o402 = Instance.new("BlockMesh")
  404. o403 = Instance.new("Decal")
  405. o404 = Instance.new("Model")
  406. o408 = Instance.new("ParticleEmitter")
  407. o409 = Instance.new("Script")
  408. o411 = Instance.new("Part")
  409. o412 = Instance.new("Model")
  410. o414 = Instance.new("Part")
  411. o415 = Instance.new("BlockMesh")
  412. o416 = Instance.new("Decal")
  413. o417 = Instance.new("Model")
  414. o421 = Instance.new("ParticleEmitter")
  415. o422 = Instance.new("Script")
  416. o424 = Instance.new("Model")
  417. o425 = Instance.new("Model")
  418. o426 = Instance.new("Model")
  419. o427 = Instance.new("Model")
  420. o429 = Instance.new("Model")
  421. o431 = Instance.new("Model")
  422. o433 = Instance.new("SurfaceLight")
  423. o434 = Instance.new("Part")
  424. o435 = Instance.new("Model")
  425. o436 = Instance.new("Script")
  426. o437 = Instance.new("Model")
  427. o441 = Instance.new("Part")
  428. o442 = Instance.new("Model")
  429. o456 = Instance.new("Sound")
  430. o457 = Instance.new("Script")
  431. o458 = Instance.new("Script")
  432. o459 = Instance.new("Sound")
  433. o460 = Instance.new("Sound")
  434. o461 = Instance.new("NumberValue")
  435. o462 = Instance.new("ParticleEmitter")
  436. o463 = Instance.new("Script")
  437. o469 = Instance.new("Script")
  438. o472 = Instance.new("Sound")
  439. o473 = Instance.new("Sound")
  440. o474 = Instance.new("Script")
  441. o475 = Instance.new("NumberValue")
  442. o476 = Instance.new("ParticleEmitter")
  443. o490 = Instance.new("Texture")
  444. o492 = Instance.new("Sound")
  445. o493 = Instance.new("Sound")
  446. o494 = Instance.new("NumberValue")
  447. o495 = Instance.new("ParticleEmitter")
  448. o496 = Instance.new("Script")
  449. o498 = Instance.new("Script")
  450. o499 = Instance.new("Script")
  451. o500 = Instance.new("Sound")
  452. o501 = Instance.new("NumberValue")
  453. o502 = Instance.new("ParticleEmitter")
  454. o503 = Instance.new("Sound")
  455. o504 = Instance.new("Sound")
  456. o505 = Instance.new("Script")
  457. o512 = Instance.new("Model")
  458. o513 = Instance.new("VehicleSeat")
  459. o514 = Instance.new("Script")
  460. o515 = Instance.new("Script")
  461. o516 = Instance.new("ScreenGui")
  462. o517 = Instance.new("ObjectValue")
  463. o518 = Instance.new("LocalScript")
  464. o519 = Instance.new("Script")
  465. o520 = Instance.new("Frame")
  466. o521 = Instance.new("TextButton")
  467. o522 = Instance.new("StringValue")
  468. o523 = Instance.new("Model")
  469. o524 = Instance.new("Part")
  470. o525 = Instance.new("SurfaceGui")
  471. o526 = Instance.new("Frame")
  472. o527 = Instance.new("Frame")
  473. o528 = Instance.new("ImageLabel")
  474. o529 = Instance.new("ImageLabel")
  475. o530 = Instance.new("ImageLabel")
  476. o531 = Instance.new("Script")
  477. o532 = Instance.new("Model")
  478. o534 = Instance.new("SurfaceLight")
  479. o536 = Instance.new("SurfaceLight")
  480. o540 = Instance.new("SpotLight")
  481. o541 = Instance.new("Model")
  482. o543 = Instance.new("SurfaceLight")
  483. o544 = Instance.new("Part")
  484. o545 = Instance.new("SurfaceLight")
  485. o546 = Instance.new("BlockMesh")
  486. o547 = Instance.new("Part")
  487. o548 = Instance.new("SurfaceLight")
  488. o549 = Instance.new("BlockMesh")
  489. o551 = Instance.new("SurfaceLight")
  490. o553 = Instance.new("SurfaceLight")
  491. o555 = Instance.new("SurfaceLight")
  492. o557 = Instance.new("SurfaceLight")
  493. o558 = Instance.new("Part")
  494. o559 = Instance.new("Model")
  495. o560 = Instance.new("Part")
  496. o561 = Instance.new("Sound")
  497. o562 = Instance.new("ParticleEmitter")
  498. o563 = Instance.new("PointLight")
  499. o564 = Instance.new("Part")
  500. o565 = Instance.new("Sound")
  501. o566 = Instance.new("ParticleEmitter")
  502. o567 = Instance.new("PointLight")
  503. o568 = Instance.new("Part")
  504. o569 = Instance.new("SurfaceGui")
  505. o570 = Instance.new("TextBox")
  506. o571 = Instance.new("BlockMesh")
  507. o572 = Instance.new("Decal")
  508. o1.Name = "Lamborghini Huracan"
  509. o1.Parent = mas
  510. o2.Name = "DriveSeat"
  511. o2.Parent = o1
  512. o2.Material = Enum.Material.SmoothPlastic
  513. o2.Transparency = 1
  514. o2.Position = Vector3.new(36.9357529, 1.48882401, 136.00499)
  515. o2.Rotation = Vector3.new(0, 0.00999999978, 0.0199999996)
  516. o2.Anchored = true
  517. o2.CanCollide = false
  518. o2.Elasticity = 0
  519. o2.Size = Vector3.new(1.85084724, 0.625423968, 1.67084718)
  520. o2.CFrame = CFrame.new(36.9357529, 1.48882401, 136.00499, 1.00000083, -0.00027900454, 0.00014497056, 0.00027899415, 1.00000083, 7.16127179e-05, -0.000144990423, -7.15722126e-05, 1)
  521. o2.BackSurface = Enum.SurfaceType.Unjoinable
  522. o2.BottomSurface = Enum.SurfaceType.Unjoinable
  523. o2.FrontSurface = Enum.SurfaceType.Motor
  524. o2.LeftSurface = Enum.SurfaceType.Unjoinable
  525. o2.RightSurface = Enum.SurfaceType.Unjoinable
  526. o2.TopSurface = Enum.SurfaceType.Hinge
  527. o2.MaxSpeed = 0
  528. o2.Torque = 0
  529. o2.TurnSpeed = 0
  530. o2.Position = Vector3.new(36.9357529, 1.48882401, 136.00499)
  531. o3.Name = "Audio"
  532. o3.Parent = o2
  533. o3.Volume = 0.20000000298023
  534. o4.Name = "BoV"
  535. o4.Parent = o2
  536. o4.SoundId = "rbxassetid://749968223"
  537. o4.Volume = 10
  538. o5.Name = "Horn"
  539. o5.Parent = o2
  540. o5.SoundId = "rbxassetid://200530606"
  541. o5.Volume = 10
  542. o5.Looped = true
  543. o6.Name = "Control"
  544. o6.Parent = o5
  545. table.insert(cors,coroutine.create(function()
  546. wait()
  547. runDummyScript(function()
  548. if script.Parent.Parent:IsA("VehicleSeat") then
  549. script.Parent.Parent.ChildAdded:connect(function(child)
  550. if child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
  551. local p=game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  552. local g=script.G:Clone()
  553. g.Parent=p.PlayerGui
  554. g:WaitForChild("src")
  555. g.src.Value=script.Parent
  556. g.Horn.Disabled=false
  557. end
  558. end)
  559. end
  560. end,o6)
  561. end))
  562. o7.Name = "G"
  563. o7.Parent = o6
  564. o8.Name = "Horn"
  565. o8.Parent = o7
  566. o8.Disabled = true
  567. table.insert(cors,coroutine.create(function()
  568. wait()
  569. runDummyScript(function()
  570. local mouse=game.Players.LocalPlayer:GetMouse()
  571. script.Parent:WaitForChild("src")
  572. src=script.Parent.src.Value
  573. mouse.KeyDown:connect(function(key)
  574. if key=="h" then
  575. src:Play()
  576. end
  577. end)
  578. mouse.KeyUp:connect(function(key)
  579. if key=="h" then
  580. src:Stop()
  581. end
  582. end)
  583. src.Parent.ChildRemoved:connect(function(child)
  584. if child.Name=="SeatWeld" then
  585. src:Stop()
  586. script.Parent:Destroy()
  587. end
  588. end)
  589. end,o8)
  590. end))
  591. o9.Name = "src"
  592. o9.Parent = o7
  593. o10.Name = "Shift1"
  594. o10.Parent = o2
  595. o10.Pitch = 3
  596. o10.SoundId = "rbxassetid://161822060"
  597. o10.Volume = 1
  598. o11.Name = "Control"
  599. o11.Parent = o10
  600. table.insert(cors,coroutine.create(function()
  601. wait()
  602. runDummyScript(function()
  603. if script.Parent.Parent:IsA("VehicleSeat") then
  604. script.Parent.Parent.ChildAdded:connect(function(child)
  605. if child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
  606. local p=game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  607. local g=script.G:Clone()
  608. g.Parent=p.PlayerGui
  609. g:WaitForChild("src")
  610. g.src.Value=script.Parent
  611. g.Horn.Disabled=false
  612. end
  613. end)
  614. end
  615. end,o11)
  616. end))
  617. o12.Name = "G"
  618. o12.Parent = o11
  619. o13.Name = "Horn"
  620. o13.Parent = o12
  621. o13.Disabled = true
  622. table.insert(cors,coroutine.create(function()
  623. wait()
  624. runDummyScript(function()
  625. local mouse=game.Players.LocalPlayer:GetMouse()
  626. script.Parent:WaitForChild("src")
  627. src=script.Parent.src.Value
  628. mouse.KeyDown:connect(function(key)
  629. if key=="q" then
  630. src:Play()
  631. end
  632. end)
  633. src.Parent.ChildRemoved:connect(function(child)
  634. if child.Name=="SeatWeld" then
  635. src:Stop()
  636. script.Parent:Destroy()
  637. end
  638. end)
  639. end,o13)
  640. end))
  641. o14.Name = "src"
  642. o14.Parent = o12
  643. o15.Name = "Shift2"
  644. o15.Parent = o2
  645. o15.SoundId = "rbxassetid://749968299"
  646. o15.Volume = 5
  647. o16.Name = "Control"
  648. o16.Parent = o15
  649. table.insert(cors,coroutine.create(function()
  650. wait()
  651. runDummyScript(function()
  652. if script.Parent.Parent:IsA("VehicleSeat") then
  653. script.Parent.Parent.ChildAdded:connect(function(child)
  654. if child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
  655. local p=game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  656. local g=script.G:Clone()
  657. g.Parent=p.PlayerGui
  658. g:WaitForChild("src")
  659. g.src.Value=script.Parent
  660. g.Horn.Disabled=false
  661. end
  662. end)
  663. end
  664. end,o16)
  665. end))
  666. o17.Name = "G"
  667. o17.Parent = o16
  668. o18.Name = "Horn"
  669. o18.Parent = o17
  670. o18.Disabled = true
  671. table.insert(cors,coroutine.create(function()
  672. wait()
  673. runDummyScript(function()
  674. local mouse=game.Players.LocalPlayer:GetMouse()
  675. script.Parent:WaitForChild("src")
  676. src=script.Parent.src.Value
  677. mouse.KeyDown:connect(function(key)
  678. if key=="e" then
  679. src:Play()
  680. end
  681. end)
  682. src.Parent.ChildRemoved:connect(function(child)
  683. if child.Name=="SeatWeld" then
  684. src:Stop()
  685. script.Parent:Destroy()
  686. end
  687. end)
  688. end,o18)
  689. end))
  690. o19.Name = "src"
  691. o19.Parent = o17
  692. o20.Name = "Indicator"
  693. o20.Parent = o2
  694. o20.Pitch = 0.80000001192093
  695. o20.SoundId = "rbxassetid://190126363"
  696. o20.Volume = 0.30000001192093
  697. o21.Name = "Gui Giver"
  698. o21.Parent = o2
  699. table.insert(cors,coroutine.create(function()
  700. wait()
  701. runDummyScript(function()
  702. GUI = script.Parent.Screen
  703.  
  704. script.Parent.ChildAdded:connect(function(child)
  705. if child:IsA("Weld") then
  706. if child.Part1.Name == "HumanoidRootPart" then
  707. child.C0 = CFrame.new(-1,-.8,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) --// Reposition player
  708. player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  709. if player and (not player.PlayerGui:FindFirstChild("Screen")) then --// The part after the "and" prevents multiple GUI's to be copied over.
  710. GUI.CarSeat.Value = script.Parent --// Puts a reference of the seat in this ObjectValue, now you can use this ObjectValue's value to find the car directly.
  711. GUI:Clone().Parent = player.PlayerGui --// Compact version
  712. script.Parent.Startup:Play()
  713. end
  714. end
  715. end
  716. end)
  717.  
  718. script.Parent.ChildRemoved:connect(function(child)
  719. if child:IsA("Weld") then
  720. if child.Part1.Name == "HumanoidRootPart" then
  721. script.Parent.Parent.Parent.RWD.MaxSpeed = 0
  722. script.Parent.Parent.Parent.RWD.Throttle = 0
  723. script.Parent.Parent.Parent.RWD.Torque = 20
  724. script.Parent.Parent.Parent.LW.VS.MaxSpeed = 0
  725. script.Parent.Parent.Parent.LW.VS.Throttle = 0
  726. script.Parent.Parent.Parent.LW.VS.Torque = 20
  727. script.Parent.Parent.Parent.RW.VS.MaxSpeed = 0
  728. script.Parent.Parent.Parent.RW.VS.Throttle = 0
  729. script.Parent.Parent.Parent.RW.VS.Torque = 20
  730. script.Parent.Sound:Stop()
  731. script.Parent.Sound2:Stop()
  732. script.Parent.Sound3:Stop()
  733.  
  734. player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  735. if player and player.PlayerGui:FindFirstChild("Screen") then
  736. player.PlayerGui:FindFirstChild("Screen"):Destroy()
  737. end
  738. end
  739. end
  740. end)
  741.  
  742.  
  743. end,o21)
  744. end))
  745. o22.Name = "TheFix"
  746. o22.Parent = o21
  747. table.insert(cors,coroutine.create(function()
  748. wait()
  749. runDummyScript(function()
  750. wait(2)
  751. script.Parent.Disabled = false
  752. end,o22)
  753. end))
  754. o23.Name = "BoV2"
  755. o23.Parent = o2
  756. o23.SoundId = "rbxassetid://392206182"
  757. o23.Volume = 10
  758. o24.Name = "DSL"
  759. o24.Parent = o2
  760. o24.Value = true
  761. o25.Name = "DL"
  762. o25.Parent = o2
  763. o26.Name = "SS3"
  764. o26.Parent = o2
  765. o28.Name = "Plugins"
  766. o28.Parent = mas
  767. o29.Name = "Inspare_Splash"
  768. o29.Parent = o28
  769. o29.Size = UDim2.new(1,0,1,0)
  770. o29.BackgroundColor3 = Color3.new(1, 1, 1)
  771. o29.BackgroundTransparency = 1
  772. o29.BorderSizePixel = 0
  773. o30.Name = "Inspare_Splash"
  774. o30.Parent = o29
  775. table.insert(cors,coroutine.create(function()
  776. wait()
  777. runDummyScript(function()
  778. --SecondLogic @ INSPARE
  779. wait(.2)
  780. local out=false
  781. coroutine.resume(coroutine.create(function()
  782. local fr = 0
  783. local trs=1
  784. while wait(.05) do
  785. fr = fr+1
  786. if fr>=10 then fr=0 end
  787. if not out then
  788. trs=math.max(0,trs-.05)
  789. else
  790. trs=math.min(1,trs+.05)
  791. end
  792. for i,v in pairs(script.Parent.Frame:GetChildren()) do
  793. v.Frame.ImageLabel.ImageTransparency = trs
  794. v.Frame.ImageLabel.Position=UDim2.new(-(fr%3),0,-math.floor(fr/3),0)
  795. if out then
  796. v.BackgroundTransparency=.5+(.5*trs)
  797. v.Frame.ImageLabel.BackgroundTransparency=trs
  798. end
  799. end
  800. if out then
  801. script.Parent.IN.TextTransparency=trs
  802. script.Parent.SPARE.TextTransparency=trs
  803. end
  804. if out and trs==1 then
  805. break
  806. end
  807. end
  808. script.Parent:Destroy()
  809. end))
  810.  
  811. game:GetService("RunService").RenderStepped:connect(function()
  812. for i,v in pairs(script.Parent.Frame:GetChildren()) do
  813. v.Frame.Position = UDim2.new(0,-250-v.Position.X.Offset-script.Parent.Frame.Position.X.Offset,0,-136-v.Position.Y.Offset)
  814. end
  815. end)
  816.  
  817. script.Parent.Frame:TweenPosition(UDim2.new(0,-100,0,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Linear,10)
  818. script.Parent.IN:TweenPosition(UDim2.new(0.5,-74,0.5,100),Enum.EasingDirection.InOut,Enum.EasingStyle.Linear,10)
  819. script.Parent.SPARE:TweenPosition(UDim2.new(0.5,6,0.5,100),Enum.EasingDirection.InOut,Enum.EasingStyle.Linear,10)
  820.  
  821. script.Parent.Frame.B:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  822. script.Parent.Frame.C:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  823. script.Parent.Frame.D:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  824. script.Parent.Frame.E:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  825. wait(.35)
  826. script.Parent.Frame.C:TweenPosition(UDim2.new(0.5, -44,0.5, -44),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  827. script.Parent.Frame.D:TweenPosition(UDim2.new(0.5, -44,0.5, 46),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  828. script.Parent.Frame.E:TweenPosition(UDim2.new(0.5, -44,0.5, 46),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  829. wait(.35)
  830. script.Parent.Frame.E:TweenPosition(UDim2.new(0.5, -134,0.5, 46),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  831. wait(1)
  832. for i=1,30 do
  833. for _,v in pairs(script.Parent.Frame:GetChildren()) do
  834. v.BackgroundTransparency=1-(i/60)
  835. end
  836. script.Parent.IN.TextTransparency=1-(i/30)
  837. script.Parent.SPARE.TextTransparency=1-(i/30)
  838. wait(.01)
  839. end
  840. wait(1.5)
  841. out=true
  842. end,o30)
  843. end))
  844. o31.Parent = o29
  845. o31.Position = UDim2.new(0,50,0,0)
  846. o31.Size = UDim2.new(1,0,1,0)
  847. o31.Position = UDim2.new(0,50,0,0)
  848. o31.BackgroundColor3 = Color3.new(1, 1, 1)
  849. o31.BackgroundTransparency = 1
  850. o31.BorderSizePixel = 0
  851. o32.Name = "C"
  852. o32.Parent = o31
  853. o32.Position = UDim2.new(0.5,46,0.5,-134)
  854. o32.Size = UDim2.new(0,88,0,88)
  855. o32.Position = UDim2.new(0.5,46,0.5,-134)
  856. o32.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  857. o32.BackgroundTransparency = 1
  858. o32.BorderSizePixel = 0
  859. o32.ZIndex = 3
  860. o32.ClipsDescendants = true
  861. o33.Parent = o32
  862. o33.Position = UDim2.new(0,-250,0,-136)
  863. o33.Size = UDim2.new(0,500,0,272)
  864. o33.Position = UDim2.new(0,-250,0,-136)
  865. o33.BackgroundColor3 = Color3.new(1, 1, 1)
  866. o33.BackgroundTransparency = 1
  867. o33.BorderSizePixel = 0
  868. o33.ClipsDescendants = true
  869. o34.Parent = o33
  870. o34.Size = UDim2.new(0,1500,0,1088)
  871. o34.BackgroundColor3 = Color3.new(1, 1, 1)
  872. o34.ZIndex = 2
  873. o34.Image = "rbxassetid://423455664"
  874. o34.ImageTransparency = 1
  875. o35.Name = "B"
  876. o35.Parent = o31
  877. o35.Position = UDim2.new(0.5,46,0.5,-134)
  878. o35.Size = UDim2.new(0,88,0,88)
  879. o35.Position = UDim2.new(0.5,46,0.5,-134)
  880. o35.BackgroundColor3 = Color3.new(1, 1, 1)
  881. o35.BackgroundTransparency = 1
  882. o35.BorderSizePixel = 0
  883. o35.ZIndex = 3
  884. o35.ClipsDescendants = true
  885. o36.Parent = o35
  886. o36.Position = UDim2.new(0,-250,0,-136)
  887. o36.Size = UDim2.new(0,500,0,272)
  888. o36.Position = UDim2.new(0,-250,0,-136)
  889. o36.BackgroundColor3 = Color3.new(1, 1, 1)
  890. o36.BackgroundTransparency = 1
  891. o36.BorderSizePixel = 0
  892. o36.ClipsDescendants = true
  893. o37.Parent = o36
  894. o37.Size = UDim2.new(0,1500,0,1088)
  895. o37.BackgroundColor3 = Color3.new(1, 1, 1)
  896. o37.ZIndex = 2
  897. o37.Image = "rbxassetid://423455664"
  898. o37.ImageTransparency = 1
  899. o38.Name = "D"
  900. o38.Parent = o31
  901. o38.Position = UDim2.new(0.5,46,0.5,-134)
  902. o38.Size = UDim2.new(0,88,0,88)
  903. o38.Position = UDim2.new(0.5,46,0.5,-134)
  904. o38.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  905. o38.BackgroundTransparency = 1
  906. o38.BorderSizePixel = 0
  907. o38.ZIndex = 3
  908. o38.ClipsDescendants = true
  909. o39.Parent = o38
  910. o39.Position = UDim2.new(0,-250,0,-136)
  911. o39.Size = UDim2.new(0,500,0,272)
  912. o39.Position = UDim2.new(0,-250,0,-136)
  913. o39.BackgroundColor3 = Color3.new(1, 1, 1)
  914. o39.BackgroundTransparency = 1
  915. o39.BorderSizePixel = 0
  916. o39.ClipsDescendants = true
  917. o40.Parent = o39
  918. o40.Size = UDim2.new(0,1500,0,1088)
  919. o40.BackgroundColor3 = Color3.new(1, 1, 1)
  920. o40.ZIndex = 2
  921. o40.Image = "rbxassetid://423455664"
  922. o40.ImageTransparency = 1
  923. o41.Name = "E"
  924. o41.Parent = o31
  925. o41.Position = UDim2.new(0.5,46,0.5,-134)
  926. o41.Size = UDim2.new(0,88,0,88)
  927. o41.Position = UDim2.new(0.5,46,0.5,-134)
  928. o41.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  929. o41.BackgroundTransparency = 1
  930. o41.BorderSizePixel = 0
  931. o41.ZIndex = 3
  932. o41.ClipsDescendants = true
  933. o42.Parent = o41
  934. o42.Position = UDim2.new(0,-250,0,-136)
  935. o42.Size = UDim2.new(0,500,0,272)
  936. o42.Position = UDim2.new(0,-250,0,-136)
  937. o42.BackgroundColor3 = Color3.new(1, 1, 1)
  938. o42.BackgroundTransparency = 1
  939. o42.BorderSizePixel = 0
  940. o42.ClipsDescendants = true
  941. o43.Parent = o42
  942. o43.Size = UDim2.new(0,1500,0,1088)
  943. o43.BackgroundColor3 = Color3.new(1, 1, 1)
  944. o43.ZIndex = 2
  945. o43.Image = "rbxassetid://423455664"
  946. o43.ImageTransparency = 1
  947. o44.Name = "A"
  948. o44.Parent = o31
  949. o44.Position = UDim2.new(0.5,46,0.5,-134)
  950. o44.Size = UDim2.new(0,88,0,88)
  951. o44.Position = UDim2.new(0.5,46,0.5,-134)
  952. o44.BackgroundColor3 = Color3.new(1, 1, 1)
  953. o44.BackgroundTransparency = 1
  954. o44.BorderSizePixel = 0
  955. o44.ZIndex = 3
  956. o44.ClipsDescendants = true
  957. o45.Parent = o44
  958. o45.Position = UDim2.new(0,-250,0,-136)
  959. o45.Size = UDim2.new(0,500,0,272)
  960. o45.Position = UDim2.new(0,-250,0,-136)
  961. o45.BackgroundColor3 = Color3.new(1, 1, 1)
  962. o45.BackgroundTransparency = 1
  963. o45.BorderSizePixel = 0
  964. o45.ClipsDescendants = true
  965. o46.Parent = o45
  966. o46.Size = UDim2.new(0,1500,0,1088)
  967. o46.BackgroundColor3 = Color3.new(1, 1, 1)
  968. o46.ZIndex = 2
  969. o46.Image = "rbxassetid://423455664"
  970. o46.ImageTransparency = 1
  971. o47.Name = "IN"
  972. o47.Parent = o29
  973. o47.Position = UDim2.new(0.5,76,0.5,100)
  974. o47.Text = "IN"
  975. o47.Position = UDim2.new(0.5,76,0.5,100)
  976. o47.BackgroundColor3 = Color3.new(1, 1, 1)
  977. o47.BackgroundTransparency = 1
  978. o47.BorderSizePixel = 0
  979. o47.ZIndex = 5
  980. o47.Font = Enum.Font.Arial
  981. o47.FontSize = Enum.FontSize.Size48
  982. o47.TextColor3 = Color3.new(1, 1, 1)
  983. o47.TextTransparency = 1
  984. o48.Name = "SPARE"
  985. o48.Parent = o29
  986. o48.Position = UDim2.new(0.5,156,0.5,100)
  987. o48.Text = "SPARE"
  988. o48.Position = UDim2.new(0.5,156,0.5,100)
  989. o48.BackgroundColor3 = Color3.new(1, 1, 1)
  990. o48.BackgroundTransparency = 1
  991. o48.BorderSizePixel = 0
  992. o48.ZIndex = 5
  993. o48.Font = Enum.Font.Arial
  994. o48.FontSize = Enum.FontSize.Size48
  995. o48.TextColor3 = Color3.new(1, 0.666667, 0)
  996. o48.TextTransparency = 1
  997. o49.Name = "AC6_Controls_Module"
  998. o49.Parent = o28
  999. o49.Size = UDim2.new(1,0,1,0)
  1000. o49.BackgroundColor3 = Color3.new(1, 1, 1)
  1001. o49.BackgroundTransparency = 1
  1002. o49.BorderSizePixel = 0
  1003. o50.Name = "Toggle"
  1004. o50.Parent = o49
  1005. o50.Position = UDim2.new(0,50,1,-30)
  1006. o50.Size = UDim2.new(0,120,0,27)
  1007. o50.Text = "Controls"
  1008. o50.Position = UDim2.new(0,50,1,-30)
  1009. o50.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  1010. o50.BackgroundTransparency = 0.5
  1011. o50.BorderColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  1012. o50.BorderSizePixel = 0
  1013. o50.Font = Enum.Font.Arial
  1014. o50.FontSize = Enum.FontSize.Size24
  1015. o50.TextColor3 = Color3.new(1, 1, 1)
  1016. o50.TextStrokeColor3 = Color3.new(0.415686, 0.415686, 0.415686)
  1017. o50.TextStrokeTransparency = 0.5
  1018. o51.Name = "Window"
  1019. o51.Parent = o49
  1020. o51.Position = UDim2.new(0.5,-250,0,-500)
  1021. o51.Size = UDim2.new(0,500,0,400)
  1022. o51.Position = UDim2.new(0.5,-250,0,-500)
  1023. o51.BackgroundColor3 = Color3.new(0, 0, 0)
  1024. o51.BackgroundTransparency = 0.5
  1025. o51.BorderSizePixel = 0
  1026. o51.ClipsDescendants = true
  1027. o52.Name = "Tabs"
  1028. o52.Parent = o51
  1029. o52.Position = UDim2.new(0,5,0,40)
  1030. o52.Size = UDim2.new(0,490,0,20)
  1031. o52.Position = UDim2.new(0,5,0,40)
  1032. o52.BackgroundColor3 = Color3.new(1, 1, 1)
  1033. o52.BackgroundTransparency = 1
  1034. o52.BorderSizePixel = 0
  1035. o52.ClipsDescendants = true
  1036. o53.Name = "Line"
  1037. o53.Parent = o52
  1038. o53.Size = UDim2.new(1,0,0,2)
  1039. o53.BackgroundColor3 = Color3.new(1, 1, 1)
  1040. o53.BorderSizePixel = 0
  1041. o54.Name = "Keyboard"
  1042. o54.Parent = o52
  1043. o54.Position = UDim2.new(0,5,0,0)
  1044. o54.Size = UDim2.new(0,100,0,20)
  1045. o54.Text = "Keyboard"
  1046. o54.Position = UDim2.new(0,5,0,0)
  1047. o54.BackgroundColor3 = Color3.new(1, 1, 1)
  1048. o54.BorderSizePixel = 0
  1049. o54.Font = Enum.Font.SourceSans
  1050. o54.FontSize = Enum.FontSize.Size14
  1051. o54.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1052. o54.TextStrokeTransparency = 0.94999998807907
  1053. o54.TextYAlignment = Enum.TextYAlignment.Bottom
  1054. o55.Name = "Mouse"
  1055. o55.Parent = o52
  1056. o55.Position = UDim2.new(0,120,0,-5)
  1057. o55.Size = UDim2.new(0,100,0,20)
  1058. o55.Text = "Mouse"
  1059. o55.Position = UDim2.new(0,120,0,-5)
  1060. o55.BackgroundColor3 = Color3.new(1, 1, 1)
  1061. o55.BorderSizePixel = 0
  1062. o55.Font = Enum.Font.SourceSans
  1063. o55.FontSize = Enum.FontSize.Size14
  1064. o55.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1065. o55.TextStrokeTransparency = 0.94999998807907
  1066. o55.TextYAlignment = Enum.TextYAlignment.Bottom
  1067. o56.Name = "Controller"
  1068. o56.Parent = o52
  1069. o56.Position = UDim2.new(0,235,0,-5)
  1070. o56.Size = UDim2.new(0,100,0,20)
  1071. o56.Text = "Controller"
  1072. o56.Position = UDim2.new(0,235,0,-5)
  1073. o56.BackgroundColor3 = Color3.new(1, 1, 1)
  1074. o56.BorderSizePixel = 0
  1075. o56.Font = Enum.Font.SourceSans
  1076. o56.FontSize = Enum.FontSize.Size14
  1077. o56.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1078. o56.TextStrokeTransparency = 0.94999998807907
  1079. o56.TextYAlignment = Enum.TextYAlignment.Bottom
  1080. o57.Name = "Header"
  1081. o57.Parent = o51
  1082. o57.Position = UDim2.new(0,10,0,20)
  1083. o57.Text = "Controls"
  1084. o57.Position = UDim2.new(0,10,0,20)
  1085. o57.BackgroundColor3 = Color3.new(1, 1, 1)
  1086. o57.BackgroundTransparency = 1
  1087. o57.BorderSizePixel = 0
  1088. o57.Font = Enum.Font.SourceSansLight
  1089. o57.FontSize = Enum.FontSize.Size32
  1090. o57.TextColor3 = Color3.new(1, 1, 1)
  1091. o57.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1092. o57.TextStrokeTransparency = 0.94999998807907
  1093. o57.TextXAlignment = Enum.TextXAlignment.Left
  1094. o58.Name = "//INSPARE"
  1095. o58.Parent = o51
  1096. o58.Position = UDim2.new(1,-20,0,20)
  1097. o58.Text = "A-Chassis 6 by //INSPARE"
  1098. o58.Position = UDim2.new(1,-20,0,20)
  1099. o58.BackgroundColor3 = Color3.new(1, 1, 1)
  1100. o58.BackgroundTransparency = 1
  1101. o58.BorderSizePixel = 0
  1102. o58.Font = Enum.Font.SourceSansLight
  1103. o58.FontSize = Enum.FontSize.Size14
  1104. o58.TextColor3 = Color3.new(1, 1, 1)
  1105. o58.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1106. o58.TextStrokeTransparency = 0.94999998807907
  1107. o58.TextXAlignment = Enum.TextXAlignment.Right
  1108. o59.Name = "Content"
  1109. o59.Parent = o51
  1110. o59.Position = UDim2.new(0,0,0,60)
  1111. o59.Size = UDim2.new(1,0,1,-60)
  1112. o59.Position = UDim2.new(0,0,0,60)
  1113. o59.BackgroundColor3 = Color3.new(1, 1, 1)
  1114. o59.BackgroundTransparency = 1
  1115. o59.BorderSizePixel = 0
  1116. o60.Name = "T"
  1117. o60.Parent = o59
  1118. o60.Position = UDim2.new(0,150,0,20)
  1119. o60.Text = "Throttle"
  1120. o60.Position = UDim2.new(0,150,0,20)
  1121. o60.BackgroundColor3 = Color3.new(1, 1, 1)
  1122. o60.BackgroundTransparency = 1
  1123. o60.BorderSizePixel = 0
  1124. o60.Font = Enum.Font.SourceSansItalic
  1125. o60.FontSize = Enum.FontSize.Size18
  1126. o60.TextColor3 = Color3.new(1, 1, 1)
  1127. o60.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1128. o60.TextStrokeTransparency = 0.94999998807907
  1129. o60.TextXAlignment = Enum.TextXAlignment.Right
  1130. o61.Name = "T"
  1131. o61.Parent = o59
  1132. o61.Position = UDim2.new(0,150,0,40)
  1133. o61.Text = "Brakes"
  1134. o61.Position = UDim2.new(0,150,0,40)
  1135. o61.BackgroundColor3 = Color3.new(1, 1, 1)
  1136. o61.BackgroundTransparency = 1
  1137. o61.BorderSizePixel = 0
  1138. o61.Font = Enum.Font.SourceSansItalic
  1139. o61.FontSize = Enum.FontSize.Size18
  1140. o61.TextColor3 = Color3.new(1, 1, 1)
  1141. o61.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1142. o61.TextStrokeTransparency = 0.94999998807907
  1143. o61.TextXAlignment = Enum.TextXAlignment.Right
  1144. o62.Name = "T"
  1145. o62.Parent = o59
  1146. o62.Position = UDim2.new(0,150,0,60)
  1147. o62.Text = "Steer Left"
  1148. o62.Position = UDim2.new(0,150,0,60)
  1149. o62.BackgroundColor3 = Color3.new(1, 1, 1)
  1150. o62.BackgroundTransparency = 1
  1151. o62.BorderSizePixel = 0
  1152. o62.Font = Enum.Font.SourceSansItalic
  1153. o62.FontSize = Enum.FontSize.Size18
  1154. o62.TextColor3 = Color3.new(1, 1, 1)
  1155. o62.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1156. o62.TextStrokeTransparency = 0.94999998807907
  1157. o62.TextXAlignment = Enum.TextXAlignment.Right
  1158. o63.Name = "T"
  1159. o63.Parent = o59
  1160. o63.Position = UDim2.new(0,150,0,80)
  1161. o63.Text = "Steer Right"
  1162. o63.Position = UDim2.new(0,150,0,80)
  1163. o63.BackgroundColor3 = Color3.new(1, 1, 1)
  1164. o63.BackgroundTransparency = 1
  1165. o63.BorderSizePixel = 0
  1166. o63.Font = Enum.Font.SourceSansItalic
  1167. o63.FontSize = Enum.FontSize.Size18
  1168. o63.TextColor3 = Color3.new(1, 1, 1)
  1169. o63.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1170. o63.TextStrokeTransparency = 0.94999998807907
  1171. o63.TextXAlignment = Enum.TextXAlignment.Right
  1172. o64.Name = "T"
  1173. o64.Parent = o59
  1174. o64.Position = UDim2.new(0,150,0,100)
  1175. o64.Text = "[Secondary] Throttle"
  1176. o64.Position = UDim2.new(0,150,0,100)
  1177. o64.BackgroundColor3 = Color3.new(1, 1, 1)
  1178. o64.BackgroundTransparency = 1
  1179. o64.BorderSizePixel = 0
  1180. o64.Font = Enum.Font.SourceSansItalic
  1181. o64.FontSize = Enum.FontSize.Size18
  1182. o64.TextColor3 = Color3.new(1, 1, 1)
  1183. o64.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1184. o64.TextStrokeTransparency = 0.94999998807907
  1185. o64.TextXAlignment = Enum.TextXAlignment.Right
  1186. o65.Name = "T"
  1187. o65.Parent = o59
  1188. o65.Position = UDim2.new(0,150,0,120)
  1189. o65.Text = "[Secondary] Brakes"
  1190. o65.Position = UDim2.new(0,150,0,120)
  1191. o65.BackgroundColor3 = Color3.new(1, 1, 1)
  1192. o65.BackgroundTransparency = 1
  1193. o65.BorderSizePixel = 0
  1194. o65.Font = Enum.Font.SourceSansItalic
  1195. o65.FontSize = Enum.FontSize.Size18
  1196. o65.TextColor3 = Color3.new(1, 1, 1)
  1197. o65.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1198. o65.TextStrokeTransparency = 0.94999998807907
  1199. o65.TextXAlignment = Enum.TextXAlignment.Right
  1200. o66.Name = "T"
  1201. o66.Parent = o59
  1202. o66.Position = UDim2.new(0,150,0,140)
  1203. o66.Text = "[Secondary] Steer Left"
  1204. o66.Position = UDim2.new(0,150,0,140)
  1205. o66.BackgroundColor3 = Color3.new(1, 1, 1)
  1206. o66.BackgroundTransparency = 1
  1207. o66.BorderSizePixel = 0
  1208. o66.Font = Enum.Font.SourceSansItalic
  1209. o66.FontSize = Enum.FontSize.Size18
  1210. o66.TextColor3 = Color3.new(1, 1, 1)
  1211. o66.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1212. o66.TextStrokeTransparency = 0.94999998807907
  1213. o66.TextXAlignment = Enum.TextXAlignment.Right
  1214. o67.Name = "T"
  1215. o67.Parent = o59
  1216. o67.Position = UDim2.new(0,150,0,160)
  1217. o67.Text = "[Secondary] SteerRight"
  1218. o67.Position = UDim2.new(0,150,0,160)
  1219. o67.BackgroundColor3 = Color3.new(1, 1, 1)
  1220. o67.BackgroundTransparency = 1
  1221. o67.BorderSizePixel = 0
  1222. o67.Font = Enum.Font.SourceSansItalic
  1223. o67.FontSize = Enum.FontSize.Size18
  1224. o67.TextColor3 = Color3.new(1, 1, 1)
  1225. o67.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1226. o67.TextStrokeTransparency = 0.94999998807907
  1227. o67.TextXAlignment = Enum.TextXAlignment.Right
  1228. o68.Name = "T"
  1229. o68.Parent = o59
  1230. o68.Position = UDim2.new(0,150,0,180)
  1231. o68.Text = "Shift Up"
  1232. o68.Position = UDim2.new(0,150,0,180)
  1233. o68.BackgroundColor3 = Color3.new(1, 1, 1)
  1234. o68.BackgroundTransparency = 1
  1235. o68.BorderSizePixel = 0
  1236. o68.Font = Enum.Font.SourceSansItalic
  1237. o68.FontSize = Enum.FontSize.Size18
  1238. o68.TextColor3 = Color3.new(1, 1, 1)
  1239. o68.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1240. o68.TextStrokeTransparency = 0.94999998807907
  1241. o68.TextXAlignment = Enum.TextXAlignment.Right
  1242. o69.Name = "T"
  1243. o69.Parent = o59
  1244. o69.Position = UDim2.new(0,150,0,200)
  1245. o69.Text = "Shift Down"
  1246. o69.Position = UDim2.new(0,150,0,200)
  1247. o69.BackgroundColor3 = Color3.new(1, 1, 1)
  1248. o69.BackgroundTransparency = 1
  1249. o69.BorderSizePixel = 0
  1250. o69.Font = Enum.Font.SourceSansItalic
  1251. o69.FontSize = Enum.FontSize.Size18
  1252. o69.TextColor3 = Color3.new(1, 1, 1)
  1253. o69.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1254. o69.TextStrokeTransparency = 0.94999998807907
  1255. o69.TextXAlignment = Enum.TextXAlignment.Right
  1256. o70.Name = "T"
  1257. o70.Parent = o59
  1258. o70.Position = UDim2.new(0,150,0,220)
  1259. o70.Text = "Clutch"
  1260. o70.Position = UDim2.new(0,150,0,220)
  1261. o70.BackgroundColor3 = Color3.new(1, 1, 1)
  1262. o70.BackgroundTransparency = 1
  1263. o70.BorderSizePixel = 0
  1264. o70.Font = Enum.Font.SourceSansItalic
  1265. o70.FontSize = Enum.FontSize.Size18
  1266. o70.TextColor3 = Color3.new(1, 1, 1)
  1267. o70.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1268. o70.TextStrokeTransparency = 0.94999998807907
  1269. o70.TextXAlignment = Enum.TextXAlignment.Right
  1270. o71.Name = "T"
  1271. o71.Parent = o59
  1272. o71.Position = UDim2.new(0,150,0,240)
  1273. o71.Text = "Handbrake"
  1274. o71.Position = UDim2.new(0,150,0,240)
  1275. o71.BackgroundColor3 = Color3.new(1, 1, 1)
  1276. o71.BackgroundTransparency = 1
  1277. o71.BorderSizePixel = 0
  1278. o71.Font = Enum.Font.SourceSansItalic
  1279. o71.FontSize = Enum.FontSize.Size18
  1280. o71.TextColor3 = Color3.new(1, 1, 1)
  1281. o71.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1282. o71.TextStrokeTransparency = 0.94999998807907
  1283. o71.TextXAlignment = Enum.TextXAlignment.Right
  1284. o72.Name = "T"
  1285. o72.Parent = o59
  1286. o72.Position = UDim2.new(0,150,0,260)
  1287. o72.Text = " Transmission Mode"
  1288. o72.Position = UDim2.new(0,150,0,260)
  1289. o72.BackgroundColor3 = Color3.new(1, 1, 1)
  1290. o72.BackgroundTransparency = 1
  1291. o72.BorderSizePixel = 0
  1292. o72.Font = Enum.Font.SourceSansItalic
  1293. o72.FontSize = Enum.FontSize.Size18
  1294. o72.TextColor3 = Color3.new(1, 1, 1)
  1295. o72.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1296. o72.TextStrokeTransparency = 0.94999998807907
  1297. o72.TextXAlignment = Enum.TextXAlignment.Right
  1298. o73.Name = "T"
  1299. o73.Parent = o59
  1300. o73.Position = UDim2.new(0,150,0,280)
  1301. o73.Text = "Toggle TCS"
  1302. o73.Position = UDim2.new(0,150,0,280)
  1303. o73.BackgroundColor3 = Color3.new(1, 1, 1)
  1304. o73.BackgroundTransparency = 1
  1305. o73.BorderSizePixel = 0
  1306. o73.Font = Enum.Font.SourceSansItalic
  1307. o73.FontSize = Enum.FontSize.Size18
  1308. o73.TextColor3 = Color3.new(1, 1, 1)
  1309. o73.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1310. o73.TextStrokeTransparency = 0.94999998807907
  1311. o73.TextXAlignment = Enum.TextXAlignment.Right
  1312. o74.Name = "T"
  1313. o74.Parent = o59
  1314. o74.Position = UDim2.new(0,150,0,300)
  1315. o74.Text = "Switch Mouse Control"
  1316. o74.Position = UDim2.new(0,150,0,300)
  1317. o74.BackgroundColor3 = Color3.new(1, 1, 1)
  1318. o74.BackgroundTransparency = 1
  1319. o74.BorderSizePixel = 0
  1320. o74.Font = Enum.Font.SourceSansItalic
  1321. o74.FontSize = Enum.FontSize.Size18
  1322. o74.TextColor3 = Color3.new(1, 1, 1)
  1323. o74.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1324. o74.TextStrokeTransparency = 0.94999998807907
  1325. o74.TextXAlignment = Enum.TextXAlignment.Right
  1326. o75.Name = "Throttle"
  1327. o75.Parent = o59
  1328. o75.Position = UDim2.new(0,170,0,13)
  1329. o75.Size = UDim2.new(0,300,0,15)
  1330. o75.Position = UDim2.new(0,170,0,13)
  1331. o75.BackgroundColor3 = Color3.new(0, 0, 0)
  1332. o75.BackgroundTransparency = 0.5
  1333. o75.BorderSizePixel = 0
  1334. o75.Font = Enum.Font.SourceSans
  1335. o75.FontSize = Enum.FontSize.Size14
  1336. o75.TextColor3 = Color3.new(1, 1, 1)
  1337. o76.Name = "Brake"
  1338. o76.Parent = o59
  1339. o76.Position = UDim2.new(0,170,0,33)
  1340. o76.Size = UDim2.new(0,300,0,15)
  1341. o76.Position = UDim2.new(0,170,0,33)
  1342. o76.BackgroundColor3 = Color3.new(0, 0, 0)
  1343. o76.BackgroundTransparency = 0.5
  1344. o76.BorderSizePixel = 0
  1345. o76.Font = Enum.Font.SourceSans
  1346. o76.FontSize = Enum.FontSize.Size14
  1347. o76.TextColor3 = Color3.new(1, 1, 1)
  1348. o77.Name = "SteerLeft"
  1349. o77.Parent = o59
  1350. o77.Position = UDim2.new(0,170,0,53)
  1351. o77.Size = UDim2.new(0,300,0,15)
  1352. o77.Position = UDim2.new(0,170,0,53)
  1353. o77.BackgroundColor3 = Color3.new(0, 0, 0)
  1354. o77.BackgroundTransparency = 0.5
  1355. o77.BorderSizePixel = 0
  1356. o77.Font = Enum.Font.SourceSans
  1357. o77.FontSize = Enum.FontSize.Size14
  1358. o77.TextColor3 = Color3.new(1, 1, 1)
  1359. o78.Name = "SteerRight"
  1360. o78.Parent = o59
  1361. o78.Position = UDim2.new(0,170,0,73)
  1362. o78.Size = UDim2.new(0,300,0,15)
  1363. o78.Position = UDim2.new(0,170,0,73)
  1364. o78.BackgroundColor3 = Color3.new(0, 0, 0)
  1365. o78.BackgroundTransparency = 0.5
  1366. o78.BorderSizePixel = 0
  1367. o78.Font = Enum.Font.SourceSans
  1368. o78.FontSize = Enum.FontSize.Size14
  1369. o78.TextColor3 = Color3.new(1, 1, 1)
  1370. o79.Name = "Throttle2"
  1371. o79.Parent = o59
  1372. o79.Position = UDim2.new(0,170,0,93)
  1373. o79.Size = UDim2.new(0,300,0,15)
  1374. o79.Position = UDim2.new(0,170,0,93)
  1375. o79.BackgroundColor3 = Color3.new(0, 0, 0)
  1376. o79.BackgroundTransparency = 0.5
  1377. o79.BorderSizePixel = 0
  1378. o79.Font = Enum.Font.SourceSans
  1379. o79.FontSize = Enum.FontSize.Size14
  1380. o79.TextColor3 = Color3.new(1, 1, 1)
  1381. o80.Name = "Brake2"
  1382. o80.Parent = o59
  1383. o80.Position = UDim2.new(0,170,0,113)
  1384. o80.Size = UDim2.new(0,300,0,15)
  1385. o80.Position = UDim2.new(0,170,0,113)
  1386. o80.BackgroundColor3 = Color3.new(0, 0, 0)
  1387. o80.BackgroundTransparency = 0.5
  1388. o80.BorderSizePixel = 0
  1389. o80.Font = Enum.Font.SourceSans
  1390. o80.FontSize = Enum.FontSize.Size14
  1391. o80.TextColor3 = Color3.new(1, 1, 1)
  1392. o81.Name = "SteerLeft2"
  1393. o81.Parent = o59
  1394. o81.Position = UDim2.new(0,170,0,133)
  1395. o81.Size = UDim2.new(0,300,0,15)
  1396. o81.Position = UDim2.new(0,170,0,133)
  1397. o81.BackgroundColor3 = Color3.new(0, 0, 0)
  1398. o81.BackgroundTransparency = 0.5
  1399. o81.BorderSizePixel = 0
  1400. o81.Font = Enum.Font.SourceSans
  1401. o81.FontSize = Enum.FontSize.Size14
  1402. o81.TextColor3 = Color3.new(1, 1, 1)
  1403. o82.Name = "SteerRight2"
  1404. o82.Parent = o59
  1405. o82.Position = UDim2.new(0,170,0,153)
  1406. o82.Size = UDim2.new(0,300,0,15)
  1407. o82.Position = UDim2.new(0,170,0,153)
  1408. o82.BackgroundColor3 = Color3.new(0, 0, 0)
  1409. o82.BackgroundTransparency = 0.5
  1410. o82.BorderSizePixel = 0
  1411. o82.Font = Enum.Font.SourceSans
  1412. o82.FontSize = Enum.FontSize.Size14
  1413. o82.TextColor3 = Color3.new(1, 1, 1)
  1414. o83.Name = "ShiftUp"
  1415. o83.Parent = o59
  1416. o83.Position = UDim2.new(0,170,0,173)
  1417. o83.Size = UDim2.new(0,300,0,15)
  1418. o83.Position = UDim2.new(0,170,0,173)
  1419. o83.BackgroundColor3 = Color3.new(0, 0, 0)
  1420. o83.BackgroundTransparency = 0.5
  1421. o83.BorderSizePixel = 0
  1422. o83.Font = Enum.Font.SourceSans
  1423. o83.FontSize = Enum.FontSize.Size14
  1424. o83.TextColor3 = Color3.new(1, 1, 1)
  1425. o84.Name = "ShiftDown"
  1426. o84.Parent = o59
  1427. o84.Position = UDim2.new(0,170,0,193)
  1428. o84.Size = UDim2.new(0,300,0,15)
  1429. o84.Position = UDim2.new(0,170,0,193)
  1430. o84.BackgroundColor3 = Color3.new(0, 0, 0)
  1431. o84.BackgroundTransparency = 0.5
  1432. o84.BorderSizePixel = 0
  1433. o84.Font = Enum.Font.SourceSans
  1434. o84.FontSize = Enum.FontSize.Size14
  1435. o84.TextColor3 = Color3.new(1, 1, 1)
  1436. o85.Name = "Clutch"
  1437. o85.Parent = o59
  1438. o85.Position = UDim2.new(0,170,0,213)
  1439. o85.Size = UDim2.new(0,300,0,15)
  1440. o85.Position = UDim2.new(0,170,0,213)
  1441. o85.BackgroundColor3 = Color3.new(0, 0, 0)
  1442. o85.BackgroundTransparency = 0.5
  1443. o85.BorderSizePixel = 0
  1444. o85.Font = Enum.Font.SourceSans
  1445. o85.FontSize = Enum.FontSize.Size14
  1446. o85.TextColor3 = Color3.new(1, 1, 1)
  1447. o86.Name = "PBrake"
  1448. o86.Parent = o59
  1449. o86.Position = UDim2.new(0,170,0,233)
  1450. o86.Size = UDim2.new(0,300,0,15)
  1451. o86.Position = UDim2.new(0,170,0,233)
  1452. o86.BackgroundColor3 = Color3.new(0, 0, 0)
  1453. o86.BackgroundTransparency = 0.5
  1454. o86.BorderSizePixel = 0
  1455. o86.Font = Enum.Font.SourceSans
  1456. o86.FontSize = Enum.FontSize.Size14
  1457. o86.TextColor3 = Color3.new(1, 1, 1)
  1458. o87.Name = "ToggleTransMode"
  1459. o87.Parent = o59
  1460. o87.Position = UDim2.new(0,170,0,253)
  1461. o87.Size = UDim2.new(0,300,0,15)
  1462. o87.Position = UDim2.new(0,170,0,253)
  1463. o87.BackgroundColor3 = Color3.new(0, 0, 0)
  1464. o87.BackgroundTransparency = 0.5
  1465. o87.BorderSizePixel = 0
  1466. o87.Font = Enum.Font.SourceSans
  1467. o87.FontSize = Enum.FontSize.Size14
  1468. o87.TextColor3 = Color3.new(1, 1, 1)
  1469. o88.Name = "ToggleTCS"
  1470. o88.Parent = o59
  1471. o88.Position = UDim2.new(0,170,0,273)
  1472. o88.Size = UDim2.new(0,300,0,15)
  1473. o88.Position = UDim2.new(0,170,0,273)
  1474. o88.BackgroundColor3 = Color3.new(0, 0, 0)
  1475. o88.BackgroundTransparency = 0.5
  1476. o88.BorderSizePixel = 0
  1477. o88.Font = Enum.Font.SourceSans
  1478. o88.FontSize = Enum.FontSize.Size14
  1479. o88.TextColor3 = Color3.new(1, 1, 1)
  1480. o89.Name = "ToggleMouseDrive"
  1481. o89.Parent = o59
  1482. o89.Position = UDim2.new(0,170,0,293)
  1483. o89.Size = UDim2.new(0,300,0,15)
  1484. o89.Position = UDim2.new(0,170,0,293)
  1485. o89.BackgroundColor3 = Color3.new(0, 0, 0)
  1486. o89.BackgroundTransparency = 0.5
  1487. o89.BorderSizePixel = 0
  1488. o89.Font = Enum.Font.SourceSans
  1489. o89.FontSize = Enum.FontSize.Size14
  1490. o89.TextColor3 = Color3.new(1, 1, 1)
  1491. o90.Name = "T"
  1492. o90.Parent = o59
  1493. o90.Position = UDim2.new(1,150,0,20)
  1494. o90.Text = "Throttle"
  1495. o90.Position = UDim2.new(1,150,0,20)
  1496. o90.BackgroundColor3 = Color3.new(1, 1, 1)
  1497. o90.BackgroundTransparency = 1
  1498. o90.BorderSizePixel = 0
  1499. o90.Font = Enum.Font.SourceSansItalic
  1500. o90.FontSize = Enum.FontSize.Size18
  1501. o90.TextColor3 = Color3.new(1, 1, 1)
  1502. o90.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1503. o90.TextStrokeTransparency = 0.94999998807907
  1504. o90.TextXAlignment = Enum.TextXAlignment.Right
  1505. o91.Name = "T"
  1506. o91.Parent = o59
  1507. o91.Position = UDim2.new(1,150,0,40)
  1508. o91.Text = "Brakes"
  1509. o91.Position = UDim2.new(1,150,0,40)
  1510. o91.BackgroundColor3 = Color3.new(1, 1, 1)
  1511. o91.BackgroundTransparency = 1
  1512. o91.BorderSizePixel = 0
  1513. o91.Font = Enum.Font.SourceSansItalic
  1514. o91.FontSize = Enum.FontSize.Size18
  1515. o91.TextColor3 = Color3.new(1, 1, 1)
  1516. o91.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1517. o91.TextStrokeTransparency = 0.94999998807907
  1518. o91.TextXAlignment = Enum.TextXAlignment.Right
  1519. o92.Name = "T"
  1520. o92.Parent = o59
  1521. o92.Position = UDim2.new(1,150,0,60)
  1522. o92.Text = "Steer"
  1523. o92.Position = UDim2.new(1,150,0,60)
  1524. o92.BackgroundColor3 = Color3.new(1, 1, 1)
  1525. o92.BackgroundTransparency = 1
  1526. o92.BorderSizePixel = 0
  1527. o92.Font = Enum.Font.SourceSansItalic
  1528. o92.FontSize = Enum.FontSize.Size18
  1529. o92.TextColor3 = Color3.new(1, 1, 1)
  1530. o92.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1531. o92.TextStrokeTransparency = 0.94999998807907
  1532. o92.TextXAlignment = Enum.TextXAlignment.Right
  1533. o93.Name = "T"
  1534. o93.Parent = o59
  1535. o93.Position = UDim2.new(1,150,0,80)
  1536. o93.Text = "Shift Up"
  1537. o93.Position = UDim2.new(1,150,0,80)
  1538. o93.BackgroundColor3 = Color3.new(1, 1, 1)
  1539. o93.BackgroundTransparency = 1
  1540. o93.BorderSizePixel = 0
  1541. o93.Font = Enum.Font.SourceSansItalic
  1542. o93.FontSize = Enum.FontSize.Size18
  1543. o93.TextColor3 = Color3.new(1, 1, 1)
  1544. o93.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1545. o93.TextStrokeTransparency = 0.94999998807907
  1546. o93.TextXAlignment = Enum.TextXAlignment.Right
  1547. o94.Name = "T"
  1548. o94.Parent = o59
  1549. o94.Position = UDim2.new(1,150,0,100)
  1550. o94.Text = "Shift Down"
  1551. o94.Position = UDim2.new(1,150,0,100)
  1552. o94.BackgroundColor3 = Color3.new(1, 1, 1)
  1553. o94.BackgroundTransparency = 1
  1554. o94.BorderSizePixel = 0
  1555. o94.Font = Enum.Font.SourceSansItalic
  1556. o94.FontSize = Enum.FontSize.Size18
  1557. o94.TextColor3 = Color3.new(1, 1, 1)
  1558. o94.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1559. o94.TextStrokeTransparency = 0.94999998807907
  1560. o94.TextXAlignment = Enum.TextXAlignment.Right
  1561. o95.Name = "T"
  1562. o95.Parent = o59
  1563. o95.Position = UDim2.new(1,150,0,120)
  1564. o95.Text = "Clutch"
  1565. o95.Position = UDim2.new(1,150,0,120)
  1566. o95.BackgroundColor3 = Color3.new(1, 1, 1)
  1567. o95.BackgroundTransparency = 1
  1568. o95.BorderSizePixel = 0
  1569. o95.Font = Enum.Font.SourceSansItalic
  1570. o95.FontSize = Enum.FontSize.Size18
  1571. o95.TextColor3 = Color3.new(1, 1, 1)
  1572. o95.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1573. o95.TextStrokeTransparency = 0.94999998807907
  1574. o95.TextXAlignment = Enum.TextXAlignment.Right
  1575. o96.Name = "T"
  1576. o96.Parent = o59
  1577. o96.Position = UDim2.new(1,150,0,140)
  1578. o96.Text = "Handbrake"
  1579. o96.Position = UDim2.new(1,150,0,140)
  1580. o96.BackgroundColor3 = Color3.new(1, 1, 1)
  1581. o96.BackgroundTransparency = 1
  1582. o96.BorderSizePixel = 0
  1583. o96.Font = Enum.Font.SourceSansItalic
  1584. o96.FontSize = Enum.FontSize.Size18
  1585. o96.TextColor3 = Color3.new(1, 1, 1)
  1586. o96.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1587. o96.TextStrokeTransparency = 0.94999998807907
  1588. o96.TextXAlignment = Enum.TextXAlignment.Right
  1589. o97.Name = "MouseThrottle"
  1590. o97.Parent = o59
  1591. o97.Position = UDim2.new(1,170,0,13)
  1592. o97.Size = UDim2.new(0,300,0,15)
  1593. o97.Position = UDim2.new(1,170,0,13)
  1594. o97.BackgroundColor3 = Color3.new(0, 0, 0)
  1595. o97.BackgroundTransparency = 0.5
  1596. o97.BorderSizePixel = 0
  1597. o97.Font = Enum.Font.SourceSans
  1598. o97.FontSize = Enum.FontSize.Size14
  1599. o97.TextColor3 = Color3.new(1, 1, 1)
  1600. o98.Name = "MouseBrake"
  1601. o98.Parent = o59
  1602. o98.Position = UDim2.new(1,170,0,33)
  1603. o98.Size = UDim2.new(0,300,0,15)
  1604. o98.Position = UDim2.new(1,170,0,33)
  1605. o98.BackgroundColor3 = Color3.new(0, 0, 0)
  1606. o98.BackgroundTransparency = 0.5
  1607. o98.BorderSizePixel = 0
  1608. o98.Font = Enum.Font.SourceSans
  1609. o98.FontSize = Enum.FontSize.Size14
  1610. o98.TextColor3 = Color3.new(1, 1, 1)
  1611. o99.Name = "MouseSteer"
  1612. o99.Parent = o59
  1613. o99.Position = UDim2.new(1,170,0,53)
  1614. o99.Size = UDim2.new(0,300,0,15)
  1615. o99.Text = "MouseMove"
  1616. o99.Position = UDim2.new(1,170,0,53)
  1617. o99.Active = false
  1618. o99.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  1619. o99.BackgroundTransparency = 0.5
  1620. o99.BorderSizePixel = 0
  1621. o99.Font = Enum.Font.SourceSans
  1622. o99.FontSize = Enum.FontSize.Size14
  1623. o99.TextColor3 = Color3.new(0.690196, 0.690196, 0.690196)
  1624. o100.Name = "MouseShiftUp"
  1625. o100.Parent = o59
  1626. o100.Position = UDim2.new(1,170,0,73)
  1627. o100.Size = UDim2.new(0,300,0,15)
  1628. o100.Position = UDim2.new(1,170,0,73)
  1629. o100.Active = false
  1630. o100.BackgroundColor3 = Color3.new(0, 0, 0)
  1631. o100.BackgroundTransparency = 0.5
  1632. o100.BorderSizePixel = 0
  1633. o100.Font = Enum.Font.SourceSans
  1634. o100.FontSize = Enum.FontSize.Size14
  1635. o100.TextColor3 = Color3.new(1, 1, 1)
  1636. o101.Name = "MouseShiftDown"
  1637. o101.Parent = o59
  1638. o101.Position = UDim2.new(1,170,0,93)
  1639. o101.Size = UDim2.new(0,300,0,15)
  1640. o101.Position = UDim2.new(1,170,0,93)
  1641. o101.Active = false
  1642. o101.BackgroundColor3 = Color3.new(0, 0, 0)
  1643. o101.BackgroundTransparency = 0.5
  1644. o101.BorderSizePixel = 0
  1645. o101.Font = Enum.Font.SourceSans
  1646. o101.FontSize = Enum.FontSize.Size14
  1647. o101.TextColor3 = Color3.new(1, 1, 1)
  1648. o102.Name = "MouseClutch"
  1649. o102.Parent = o59
  1650. o102.Position = UDim2.new(1,170,0,113)
  1651. o102.Size = UDim2.new(0,300,0,15)
  1652. o102.Position = UDim2.new(1,170,0,113)
  1653. o102.Active = false
  1654. o102.BackgroundColor3 = Color3.new(0, 0, 0)
  1655. o102.BackgroundTransparency = 0.5
  1656. o102.BorderSizePixel = 0
  1657. o102.Font = Enum.Font.SourceSans
  1658. o102.FontSize = Enum.FontSize.Size14
  1659. o102.TextColor3 = Color3.new(1, 1, 1)
  1660. o103.Name = "MousePBrake"
  1661. o103.Parent = o59
  1662. o103.Position = UDim2.new(1,170,0,133)
  1663. o103.Size = UDim2.new(0,300,0,15)
  1664. o103.Position = UDim2.new(1,170,0,133)
  1665. o103.Active = false
  1666. o103.BackgroundColor3 = Color3.new(0, 0, 0)
  1667. o103.BackgroundTransparency = 0.5
  1668. o103.BorderSizePixel = 0
  1669. o103.Font = Enum.Font.SourceSans
  1670. o103.FontSize = Enum.FontSize.Size14
  1671. o103.TextColor3 = Color3.new(1, 1, 1)
  1672. o104.Name = "T"
  1673. o104.Parent = o59
  1674. o104.Position = UDim2.new(2,150,0,20)
  1675. o104.Text = "Throttle"
  1676. o104.Position = UDim2.new(2,150,0,20)
  1677. o104.BackgroundColor3 = Color3.new(1, 1, 1)
  1678. o104.BackgroundTransparency = 1
  1679. o104.BorderSizePixel = 0
  1680. o104.Font = Enum.Font.SourceSansItalic
  1681. o104.FontSize = Enum.FontSize.Size18
  1682. o104.TextColor3 = Color3.new(1, 1, 1)
  1683. o104.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1684. o104.TextStrokeTransparency = 0.94999998807907
  1685. o104.TextXAlignment = Enum.TextXAlignment.Right
  1686. o105.Name = "T"
  1687. o105.Parent = o59
  1688. o105.Position = UDim2.new(2,150,0,40)
  1689. o105.Text = "Brakes"
  1690. o105.Position = UDim2.new(2,150,0,40)
  1691. o105.BackgroundColor3 = Color3.new(1, 1, 1)
  1692. o105.BackgroundTransparency = 1
  1693. o105.BorderSizePixel = 0
  1694. o105.Font = Enum.Font.SourceSansItalic
  1695. o105.FontSize = Enum.FontSize.Size18
  1696. o105.TextColor3 = Color3.new(1, 1, 1)
  1697. o105.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1698. o105.TextStrokeTransparency = 0.94999998807907
  1699. o105.TextXAlignment = Enum.TextXAlignment.Right
  1700. o106.Name = "T"
  1701. o106.Parent = o59
  1702. o106.Position = UDim2.new(2,150,0,60)
  1703. o106.Text = "Steer"
  1704. o106.Position = UDim2.new(2,150,0,60)
  1705. o106.BackgroundColor3 = Color3.new(1, 1, 1)
  1706. o106.BackgroundTransparency = 1
  1707. o106.BorderSizePixel = 0
  1708. o106.Font = Enum.Font.SourceSansItalic
  1709. o106.FontSize = Enum.FontSize.Size18
  1710. o106.TextColor3 = Color3.new(1, 1, 1)
  1711. o106.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1712. o106.TextStrokeTransparency = 0.94999998807907
  1713. o106.TextXAlignment = Enum.TextXAlignment.Right
  1714. o107.Name = "T"
  1715. o107.Parent = o59
  1716. o107.Position = UDim2.new(2,150,0,80)
  1717. o107.Text = "Shift Up"
  1718. o107.Position = UDim2.new(2,150,0,80)
  1719. o107.BackgroundColor3 = Color3.new(1, 1, 1)
  1720. o107.BackgroundTransparency = 1
  1721. o107.BorderSizePixel = 0
  1722. o107.Font = Enum.Font.SourceSansItalic
  1723. o107.FontSize = Enum.FontSize.Size18
  1724. o107.TextColor3 = Color3.new(1, 1, 1)
  1725. o107.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1726. o107.TextStrokeTransparency = 0.94999998807907
  1727. o107.TextXAlignment = Enum.TextXAlignment.Right
  1728. o108.Name = "T"
  1729. o108.Parent = o59
  1730. o108.Position = UDim2.new(2,150,0,100)
  1731. o108.Text = "Shift Down"
  1732. o108.Position = UDim2.new(2,150,0,100)
  1733. o108.BackgroundColor3 = Color3.new(1, 1, 1)
  1734. o108.BackgroundTransparency = 1
  1735. o108.BorderSizePixel = 0
  1736. o108.Font = Enum.Font.SourceSansItalic
  1737. o108.FontSize = Enum.FontSize.Size18
  1738. o108.TextColor3 = Color3.new(1, 1, 1)
  1739. o108.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1740. o108.TextStrokeTransparency = 0.94999998807907
  1741. o108.TextXAlignment = Enum.TextXAlignment.Right
  1742. o109.Name = "T"
  1743. o109.Parent = o59
  1744. o109.Position = UDim2.new(2,150,0,120)
  1745. o109.Text = "Clutch"
  1746. o109.Position = UDim2.new(2,150,0,120)
  1747. o109.BackgroundColor3 = Color3.new(1, 1, 1)
  1748. o109.BackgroundTransparency = 1
  1749. o109.BorderSizePixel = 0
  1750. o109.Font = Enum.Font.SourceSansItalic
  1751. o109.FontSize = Enum.FontSize.Size18
  1752. o109.TextColor3 = Color3.new(1, 1, 1)
  1753. o109.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1754. o109.TextStrokeTransparency = 0.94999998807907
  1755. o109.TextXAlignment = Enum.TextXAlignment.Right
  1756. o110.Name = "T"
  1757. o110.Parent = o59
  1758. o110.Position = UDim2.new(2,150,0,140)
  1759. o110.Text = "Handbrake"
  1760. o110.Position = UDim2.new(2,150,0,140)
  1761. o110.BackgroundColor3 = Color3.new(1, 1, 1)
  1762. o110.BackgroundTransparency = 1
  1763. o110.BorderSizePixel = 0
  1764. o110.Font = Enum.Font.SourceSansItalic
  1765. o110.FontSize = Enum.FontSize.Size18
  1766. o110.TextColor3 = Color3.new(1, 1, 1)
  1767. o110.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1768. o110.TextStrokeTransparency = 0.94999998807907
  1769. o110.TextXAlignment = Enum.TextXAlignment.Right
  1770. o111.Name = "T"
  1771. o111.Parent = o59
  1772. o111.Position = UDim2.new(2,150,0,180)
  1773. o111.Text = "Toggle TCS"
  1774. o111.Position = UDim2.new(2,150,0,180)
  1775. o111.BackgroundColor3 = Color3.new(1, 1, 1)
  1776. o111.BackgroundTransparency = 1
  1777. o111.BorderSizePixel = 0
  1778. o111.Font = Enum.Font.SourceSansItalic
  1779. o111.FontSize = Enum.FontSize.Size18
  1780. o111.TextColor3 = Color3.new(1, 1, 1)
  1781. o111.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1782. o111.TextStrokeTransparency = 0.94999998807907
  1783. o111.TextXAlignment = Enum.TextXAlignment.Right
  1784. o112.Name = "T"
  1785. o112.Parent = o59
  1786. o112.Position = UDim2.new(2,150,0,160)
  1787. o112.Text = "Transmission Mode"
  1788. o112.Position = UDim2.new(2,150,0,160)
  1789. o112.BackgroundColor3 = Color3.new(1, 1, 1)
  1790. o112.BackgroundTransparency = 1
  1791. o112.BorderSizePixel = 0
  1792. o112.Font = Enum.Font.SourceSansItalic
  1793. o112.FontSize = Enum.FontSize.Size18
  1794. o112.TextColor3 = Color3.new(1, 1, 1)
  1795. o112.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1796. o112.TextStrokeTransparency = 0.94999998807907
  1797. o112.TextXAlignment = Enum.TextXAlignment.Right
  1798. o113.Name = "ContlrThrottle"
  1799. o113.Parent = o59
  1800. o113.Position = UDim2.new(2,170,0,13)
  1801. o113.Size = UDim2.new(0,300,0,15)
  1802. o113.Position = UDim2.new(2,170,0,13)
  1803. o113.BackgroundColor3 = Color3.new(0, 0, 0)
  1804. o113.BackgroundTransparency = 0.5
  1805. o113.BorderSizePixel = 0
  1806. o113.Font = Enum.Font.SourceSans
  1807. o113.FontSize = Enum.FontSize.Size14
  1808. o113.TextColor3 = Color3.new(1, 1, 1)
  1809. o114.Name = "ContlrBrake"
  1810. o114.Parent = o59
  1811. o114.Position = UDim2.new(2,170,0,33)
  1812. o114.Size = UDim2.new(0,300,0,15)
  1813. o114.Position = UDim2.new(2,170,0,33)
  1814. o114.BackgroundColor3 = Color3.new(0, 0, 0)
  1815. o114.BackgroundTransparency = 0.5
  1816. o114.BorderSizePixel = 0
  1817. o114.Font = Enum.Font.SourceSans
  1818. o114.FontSize = Enum.FontSize.Size14
  1819. o114.TextColor3 = Color3.new(1, 1, 1)
  1820. o115.Name = "ContlrSteer"
  1821. o115.Parent = o59
  1822. o115.Position = UDim2.new(2,170,0,53)
  1823. o115.Size = UDim2.new(0,300,0,15)
  1824. o115.Position = UDim2.new(2,170,0,53)
  1825. o115.BackgroundColor3 = Color3.new(0, 0, 0)
  1826. o115.BackgroundTransparency = 0.5
  1827. o115.BorderSizePixel = 0
  1828. o115.Font = Enum.Font.SourceSans
  1829. o115.FontSize = Enum.FontSize.Size14
  1830. o115.TextColor3 = Color3.new(1, 1, 1)
  1831. o116.Name = "ContlrShiftUp"
  1832. o116.Parent = o59
  1833. o116.Position = UDim2.new(2,170,0,73)
  1834. o116.Size = UDim2.new(0,300,0,15)
  1835. o116.Position = UDim2.new(2,170,0,73)
  1836. o116.BackgroundColor3 = Color3.new(0, 0, 0)
  1837. o116.BackgroundTransparency = 0.5
  1838. o116.BorderSizePixel = 0
  1839. o116.Font = Enum.Font.SourceSans
  1840. o116.FontSize = Enum.FontSize.Size14
  1841. o116.TextColor3 = Color3.new(1, 1, 1)
  1842. o117.Name = "ContlrShiftDown"
  1843. o117.Parent = o59
  1844. o117.Position = UDim2.new(2,170,0,93)
  1845. o117.Size = UDim2.new(0,300,0,15)
  1846. o117.Position = UDim2.new(2,170,0,93)
  1847. o117.BackgroundColor3 = Color3.new(0, 0, 0)
  1848. o117.BackgroundTransparency = 0.5
  1849. o117.BorderSizePixel = 0
  1850. o117.Font = Enum.Font.SourceSans
  1851. o117.FontSize = Enum.FontSize.Size14
  1852. o117.TextColor3 = Color3.new(1, 1, 1)
  1853. o118.Name = "ContlrClutch"
  1854. o118.Parent = o59
  1855. o118.Position = UDim2.new(2,170,0,113)
  1856. o118.Size = UDim2.new(0,300,0,15)
  1857. o118.Position = UDim2.new(2,170,0,113)
  1858. o118.BackgroundColor3 = Color3.new(0, 0, 0)
  1859. o118.BackgroundTransparency = 0.5
  1860. o118.BorderSizePixel = 0
  1861. o118.Font = Enum.Font.SourceSans
  1862. o118.FontSize = Enum.FontSize.Size14
  1863. o118.TextColor3 = Color3.new(1, 1, 1)
  1864. o119.Name = "ContlrPBrake"
  1865. o119.Parent = o59
  1866. o119.Position = UDim2.new(2,170,0,133)
  1867. o119.Size = UDim2.new(0,300,0,15)
  1868. o119.Position = UDim2.new(2,170,0,133)
  1869. o119.BackgroundColor3 = Color3.new(0, 0, 0)
  1870. o119.BackgroundTransparency = 0.5
  1871. o119.BorderSizePixel = 0
  1872. o119.Font = Enum.Font.SourceSans
  1873. o119.FontSize = Enum.FontSize.Size14
  1874. o119.TextColor3 = Color3.new(1, 1, 1)
  1875. o120.Name = "ContlrToggleTMode"
  1876. o120.Parent = o59
  1877. o120.Position = UDim2.new(2,170,0,153)
  1878. o120.Size = UDim2.new(0,300,0,15)
  1879. o120.Position = UDim2.new(2,170,0,153)
  1880. o120.BackgroundColor3 = Color3.new(0, 0, 0)
  1881. o120.BackgroundTransparency = 0.5
  1882. o120.BorderSizePixel = 0
  1883. o120.Font = Enum.Font.SourceSans
  1884. o120.FontSize = Enum.FontSize.Size14
  1885. o120.TextColor3 = Color3.new(1, 1, 1)
  1886. o121.Name = "ContlrToggleTCS"
  1887. o121.Parent = o59
  1888. o121.Position = UDim2.new(2,170,0,173)
  1889. o121.Size = UDim2.new(0,300,0,15)
  1890. o121.Position = UDim2.new(2,170,0,173)
  1891. o121.BackgroundColor3 = Color3.new(0, 0, 0)
  1892. o121.BackgroundTransparency = 0.5
  1893. o121.BorderSizePixel = 0
  1894. o121.Font = Enum.Font.SourceSans
  1895. o121.FontSize = Enum.FontSize.Size14
  1896. o121.TextColor3 = Color3.new(1, 1, 1)
  1897. o122.Name = "T"
  1898. o122.Parent = o59
  1899. o122.Position = UDim2.new(1,150,0,160)
  1900. o122.Text = "Deadzone"
  1901. o122.Position = UDim2.new(1,150,0,160)
  1902. o122.BackgroundColor3 = Color3.new(1, 1, 1)
  1903. o122.BackgroundTransparency = 1
  1904. o122.BorderSizePixel = 0
  1905. o122.Font = Enum.Font.SourceSansItalic
  1906. o122.FontSize = Enum.FontSize.Size18
  1907. o122.TextColor3 = Color3.new(1, 1, 1)
  1908. o122.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1909. o122.TextStrokeTransparency = 0.94999998807907
  1910. o122.TextXAlignment = Enum.TextXAlignment.Right
  1911. o123.Name = "T"
  1912. o123.Parent = o59
  1913. o123.Position = UDim2.new(1,150,0,180)
  1914. o123.Text = "Control Width"
  1915. o123.Position = UDim2.new(1,150,0,180)
  1916. o123.BackgroundColor3 = Color3.new(1, 1, 1)
  1917. o123.BackgroundTransparency = 1
  1918. o123.BorderSizePixel = 0
  1919. o123.Font = Enum.Font.SourceSansItalic
  1920. o123.FontSize = Enum.FontSize.Size18
  1921. o123.TextColor3 = Color3.new(1, 1, 1)
  1922. o123.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1923. o123.TextStrokeTransparency = 0.94999998807907
  1924. o123.TextXAlignment = Enum.TextXAlignment.Right
  1925. o124.Name = "T"
  1926. o124.Parent = o59
  1927. o124.Position = UDim2.new(2,150,0,200)
  1928. o124.Text = "Left Deadzone"
  1929. o124.Position = UDim2.new(2,150,0,200)
  1930. o124.BackgroundColor3 = Color3.new(1, 1, 1)
  1931. o124.BackgroundTransparency = 1
  1932. o124.BorderSizePixel = 0
  1933. o124.Font = Enum.Font.SourceSansItalic
  1934. o124.FontSize = Enum.FontSize.Size18
  1935. o124.TextColor3 = Color3.new(1, 1, 1)
  1936. o124.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1937. o124.TextStrokeTransparency = 0.94999998807907
  1938. o124.TextXAlignment = Enum.TextXAlignment.Right
  1939. o125.Name = "T"
  1940. o125.Parent = o59
  1941. o125.Position = UDim2.new(2,150,0,220)
  1942. o125.Text = "Right Deadzone"
  1943. o125.Position = UDim2.new(2,150,0,220)
  1944. o125.BackgroundColor3 = Color3.new(1, 1, 1)
  1945. o125.BackgroundTransparency = 1
  1946. o125.BorderSizePixel = 0
  1947. o125.Font = Enum.Font.SourceSansItalic
  1948. o125.FontSize = Enum.FontSize.Size18
  1949. o125.TextColor3 = Color3.new(1, 1, 1)
  1950. o125.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1951. o125.TextStrokeTransparency = 0.94999998807907
  1952. o125.TextXAlignment = Enum.TextXAlignment.Right
  1953. o126.Name = "MSteerDZone"
  1954. o126.Parent = o59
  1955. o126.Position = UDim2.new(1,200,0,160)
  1956. o126.Text = "100%"
  1957. o126.Position = UDim2.new(1,200,0,160)
  1958. o126.BackgroundColor3 = Color3.new(1, 1, 1)
  1959. o126.BackgroundTransparency = 1
  1960. o126.BorderSizePixel = 0
  1961. o126.Font = Enum.Font.SourceSansItalic
  1962. o126.FontSize = Enum.FontSize.Size18
  1963. o126.TextColor3 = Color3.new(1, 1, 1)
  1964. o126.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1965. o126.TextStrokeTransparency = 0.94999998807907
  1966. o126.TextXAlignment = Enum.TextXAlignment.Right
  1967. o127.Name = "S"
  1968. o127.Parent = o126
  1969. o127.Position = UDim2.new(0,10,0,2)
  1970. o127.Size = UDim2.new(0,260,0,3)
  1971. o127.Position = UDim2.new(0,10,0,2)
  1972. o127.CanvasSize = UDim2.new(0,5200,0,0)
  1973. o127.BackgroundColor3 = Color3.new(0, 0, 0)
  1974. o127.BackgroundTransparency = 0.5
  1975. o127.BorderSizePixel = 0
  1976. o127.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1977. o127.ScrollBarThickness = 8
  1978. o127.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  1979. o128.Name = "MSteerWidth"
  1980. o128.Parent = o59
  1981. o128.Position = UDim2.new(1,200,0,180)
  1982. o128.Text = "100%"
  1983. o128.Position = UDim2.new(1,200,0,180)
  1984. o128.BackgroundColor3 = Color3.new(1, 1, 1)
  1985. o128.BackgroundTransparency = 1
  1986. o128.BorderSizePixel = 0
  1987. o128.Font = Enum.Font.SourceSansItalic
  1988. o128.FontSize = Enum.FontSize.Size18
  1989. o128.TextColor3 = Color3.new(1, 1, 1)
  1990. o128.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  1991. o128.TextStrokeTransparency = 0.94999998807907
  1992. o128.TextXAlignment = Enum.TextXAlignment.Right
  1993. o129.Name = "S"
  1994. o129.Parent = o128
  1995. o129.Position = UDim2.new(0,10,0,2)
  1996. o129.Size = UDim2.new(0,260,0,3)
  1997. o129.Position = UDim2.new(0,10,0,2)
  1998. o129.CanvasSize = UDim2.new(0,5200,0,0)
  1999. o129.BackgroundColor3 = Color3.new(0, 0, 0)
  2000. o129.BackgroundTransparency = 0.5
  2001. o129.BorderSizePixel = 0
  2002. o129.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2003. o129.ScrollBarThickness = 8
  2004. o129.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2005. o130.Name = "ControlLDZone"
  2006. o130.Parent = o59
  2007. o130.Position = UDim2.new(2,200,0,200)
  2008. o130.Text = "100%"
  2009. o130.Position = UDim2.new(2,200,0,200)
  2010. o130.BackgroundColor3 = Color3.new(1, 1, 1)
  2011. o130.BackgroundTransparency = 1
  2012. o130.BorderSizePixel = 0
  2013. o130.Font = Enum.Font.SourceSansItalic
  2014. o130.FontSize = Enum.FontSize.Size18
  2015. o130.TextColor3 = Color3.new(1, 1, 1)
  2016. o130.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  2017. o130.TextStrokeTransparency = 0.94999998807907
  2018. o130.TextXAlignment = Enum.TextXAlignment.Right
  2019. o131.Name = "S"
  2020. o131.Parent = o130
  2021. o131.Position = UDim2.new(0,10,0,2)
  2022. o131.Size = UDim2.new(0,260,0,3)
  2023. o131.Position = UDim2.new(0,10,0,2)
  2024. o131.CanvasSize = UDim2.new(0,5200,0,0)
  2025. o131.BackgroundColor3 = Color3.new(0, 0, 0)
  2026. o131.BackgroundTransparency = 0.5
  2027. o131.BorderSizePixel = 0
  2028. o131.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2029. o131.ScrollBarThickness = 8
  2030. o131.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2031. o132.Name = "ControlRDZone"
  2032. o132.Parent = o59
  2033. o132.Position = UDim2.new(2,200,0,220)
  2034. o132.Text = "100%"
  2035. o132.Position = UDim2.new(2,200,0,220)
  2036. o132.BackgroundColor3 = Color3.new(1, 1, 1)
  2037. o132.BackgroundTransparency = 1
  2038. o132.BorderSizePixel = 0
  2039. o132.Font = Enum.Font.SourceSansItalic
  2040. o132.FontSize = Enum.FontSize.Size18
  2041. o132.TextColor3 = Color3.new(1, 1, 1)
  2042. o132.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  2043. o132.TextStrokeTransparency = 0.94999998807907
  2044. o132.TextXAlignment = Enum.TextXAlignment.Right
  2045. o133.Name = "S"
  2046. o133.Parent = o132
  2047. o133.Position = UDim2.new(0,10,0,2)
  2048. o133.Size = UDim2.new(0,260,0,3)
  2049. o133.Position = UDim2.new(0,10,0,2)
  2050. o133.CanvasSize = UDim2.new(0,5200,0,0)
  2051. o133.BackgroundColor3 = Color3.new(0, 0, 0)
  2052. o133.BackgroundTransparency = 0.5
  2053. o133.BorderSizePixel = 0
  2054. o133.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2055. o133.ScrollBarThickness = 8
  2056. o133.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  2057. o134.Name = "Error"
  2058. o134.Parent = o51
  2059. o134.Position = UDim2.new(0.5,0,0,20)
  2060. o134.Text = "Invalid Input"
  2061. o134.Position = UDim2.new(0.5,0,0,20)
  2062. o134.Visible = false
  2063. o134.BackgroundColor3 = Color3.new(1, 1, 1)
  2064. o134.BackgroundTransparency = 1
  2065. o134.BorderSizePixel = 0
  2066. o134.Font = Enum.Font.SourceSansItalic
  2067. o134.FontSize = Enum.FontSize.Size18
  2068. o134.TextColor3 = Color3.new(1, 0, 0)
  2069. o134.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  2070. o134.TextStrokeTransparency = 0.94999998807907
  2071. o135.Name = "Overlay"
  2072. o135.Parent = o51
  2073. o135.Size = UDim2.new(1,0,1,0)
  2074. o135.Text = "[Press a key to assign or Enter to cancel]"
  2075. o135.Visible = false
  2076. o135.BackgroundColor3 = Color3.new(1, 1, 1)
  2077. o135.BackgroundTransparency = 0.5
  2078. o135.BorderSizePixel = 0
  2079. o135.ZIndex = 2
  2080. o135.Font = Enum.Font.SourceSansItalic
  2081. o135.FontSize = Enum.FontSize.Size28
  2082. o135.TextColor3 = Color3.new(1, 1, 1)
  2083. o135.TextStrokeColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  2084. o135.TextStrokeTransparency = 0
  2085. o136.Name = "Controls_AC6"
  2086. o136.Parent = o49
  2087. table.insert(cors,coroutine.create(function()
  2088. wait()
  2089. runDummyScript(function()
  2090. --[[
  2091. ___ _______ _
  2092. / _ |____/ ___/ / ___ ____ ___ (_)__
  2093. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  2094. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  2095. SecondLogic @ Inspare
  2096. ]]
  2097.  
  2098.  
  2099. ---Controls UI
  2100. script.Parent.Parent:WaitForChild("Controls")
  2101. script.Parent.Parent:WaitForChild("ControlsOpen")
  2102. script.Parent:WaitForChild("Window")
  2103. script.Parent:WaitForChild("Toggle")
  2104.  
  2105. local car = script.Parent.Parent.Car.Value
  2106. local _Tune = require(car["A-Chassis Tune"])
  2107. local UserInputService = game:GetService("UserInputService")
  2108. local cPanel = script.Parent
  2109. local Controls = script.Parent.Parent.Controls
  2110.  
  2111. local ver = require(car["A-Chassis Tune"].README)
  2112. cPanel.Window["//INSPARE"].Text = "A-Chassis "..ver.." by //INSPARE"
  2113.  
  2114. local controlsOpen = false
  2115. local cInputB = nil
  2116. local cInputT = nil
  2117. local cInput = false
  2118.  
  2119. for i,v in pairs(_Tune.Peripherals) do
  2120. script.Parent.Parent.Controls:WaitForChild(i)
  2121. local slider = cPanel.Window.Content[i]
  2122. slider.Text = v.."%"
  2123. slider.S.CanvasPosition=Vector2.new(v*(slider.S.CanvasSize.X.Offset-slider.S.Size.X.Offset)/100,0)
  2124. slider.S.Changed:connect(function(property)
  2125. if property=="CanvasPosition" then
  2126. Controls[i].Value = math.floor(100*slider.S.CanvasPosition.x/(slider.S.CanvasSize.X.Offset-slider.S.Size.X.Offset))
  2127. slider.Text = Controls[i].Value.."%"
  2128. end
  2129. end)
  2130. end
  2131.  
  2132. for i,v in pairs(_Tune.Controls) do
  2133. script.Parent.Parent.Controls:WaitForChild(i)
  2134. local button = cPanel.Window.Content[i]
  2135. button.Text = v.Name
  2136. button.MouseButton1Click:connect(function()
  2137. script.Parent.Parent.ControlsOpen.Value = true
  2138. cPanel.Window.Overlay.Visible = true
  2139. cInput = true
  2140. repeat wait() until cInputB~=nil
  2141. if cInputB == Enum.KeyCode.Return or cInputB == Enum.KeyCode.KeypadEnter then
  2142. --do nothing
  2143. elseif string.find(i,"Contlr")~=nil then
  2144. if cInputT.Name:find("Gamepad") then
  2145. Controls[i].Value = cInputB.Name
  2146. button.Text = cInputB.Name
  2147. else
  2148. cPanel.Window.Error.Visible = true
  2149. end
  2150. elseif i=="MouseThrottle" or i=="MouseBrake" then
  2151. if cInputT == Enum.UserInputType.MouseButton1 or cInputT == Enum.UserInputType.MouseButton2 then
  2152. Controls[i].Value = cInputT.Name
  2153. button.Text = cInputT.Name
  2154. else
  2155. cPanel.Window.Error.Visible = true
  2156. end
  2157. else
  2158. if cInputT == Enum.UserInputType.Keyboard then
  2159. Controls[i].Value = cInputB.Name
  2160. button.Text = cInputB.Name
  2161. else
  2162. cPanel.Window.Error.Visible = true
  2163. end
  2164. end
  2165. cInputB = nil
  2166. cInputT = nil
  2167. cInput = false
  2168. wait(.2)
  2169. cPanel.Window.Overlay.Visible = false
  2170. script.Parent.Parent.ControlsOpen.Value = false
  2171. end)
  2172. end
  2173.  
  2174. cPanel.Window.Error.Changed:connect(function(property)
  2175. if property == "Visible" then
  2176. wait(3)
  2177. cPanel.Window.Error.Visible = false
  2178. end
  2179. end)
  2180.  
  2181. UserInputService.InputBegan:connect(function(input) if cInput then cInputB = input.KeyCode cInputT = input.UserInputType end end)
  2182. UserInputService.InputChanged:connect(function(input) if cInput and (input.KeyCode==Enum.KeyCode.Thumbstick1 or input.KeyCode==Enum.KeyCode.Thumbstick2) then cInputB = input.KeyCode cInputT = input.UserInputType end end)
  2183.  
  2184.  
  2185. cPanel.Toggle.MouseButton1Click:connect(function()
  2186. controlsOpen = not controlsOpen
  2187. if controlsOpen then
  2188. cPanel.Toggle.BackgroundColor3 = Color3.new(1,85/255,.5)
  2189. cPanel.Window:TweenPosition(UDim2.new(0.5, -250,0.5, -250),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.7,true)
  2190. else
  2191. cPanel.Toggle.BackgroundColor3 = Color3.new(1,170/255,0)
  2192. cPanel.Window:TweenPosition(UDim2.new(0.5, -250,0, -500),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.7,true)
  2193. end
  2194. end)
  2195.  
  2196. cPanel.Window.Tabs.Keyboard.MouseButton1Click:connect(function()
  2197. cPanel.Window.Content:TweenPosition(UDim2.new(0, 0, 0, 60),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2198. cPanel.Window.Tabs.Keyboard:TweenPosition(UDim2.new(0, 5, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2199. cPanel.Window.Tabs.Mouse:TweenPosition(UDim2.new(0, 120, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2200. cPanel.Window.Tabs.Controller:TweenPosition(UDim2.new(0, 235, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2201. end)
  2202.  
  2203. cPanel.Window.Tabs.Mouse.MouseButton1Click:connect(function()
  2204. cPanel.Window.Content:TweenPosition(UDim2.new(-1, 0, 0, 60),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2205. cPanel.Window.Tabs.Keyboard:TweenPosition(UDim2.new(0, 5, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2206. cPanel.Window.Tabs.Mouse:TweenPosition(UDim2.new(0, 120, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2207. cPanel.Window.Tabs.Controller:TweenPosition(UDim2.new(0, 235, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2208. end)
  2209.  
  2210. cPanel.Window.Tabs.Controller.MouseButton1Click:connect(function()
  2211. cPanel.Window.Content:TweenPosition(UDim2.new(-2, 0, 0, 60),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2212. cPanel.Window.Tabs.Keyboard:TweenPosition(UDim2.new(0, 5, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2213. cPanel.Window.Tabs.Mouse:TweenPosition(UDim2.new(0, 120, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2214. cPanel.Window.Tabs.Controller:TweenPosition(UDim2.new(0, 235, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  2215. end)
  2216.  
  2217. wait(.5)
  2218. cPanel.Toggle:TweenPosition(UDim2.new(0, 50, 1, -30),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,false)
  2219. for i=1,6 do
  2220. cPanel.Toggle.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  2221. wait(.2)
  2222. if controlsOpen then
  2223. cPanel.Toggle.BackgroundColor3 = Color3.new(1,85/255,.5)
  2224. else
  2225. cPanel.Toggle.BackgroundColor3 = Color3.new(1,170/255,0)
  2226. end
  2227. wait(.2)
  2228. end
  2229. end,o136)
  2230. end))
  2231. o137.Name = "AC6_Stock_Gauges"
  2232. o137.Parent = o28
  2233. o137.Position = UDim2.new(0,0,0,300)
  2234. o137.Size = UDim2.new(1,0,1,0)
  2235. o137.Position = UDim2.new(0,0,0,300)
  2236. o137.BackgroundColor3 = Color3.new(1, 1, 1)
  2237. o137.BackgroundTransparency = 1
  2238. o137.BorderSizePixel = 0
  2239. o138.Name = "Gauges_AC6"
  2240. o138.Parent = o137
  2241. table.insert(cors,coroutine.create(function()
  2242. wait()
  2243. runDummyScript(function()
  2244. --[[
  2245. ___ _______ _
  2246. / _ |____/ ___/ / ___ ____ ___ (_)__
  2247. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  2248. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  2249. SecondLogic @ Inspare
  2250. ]]
  2251.  
  2252. script.Parent:WaitForChild("Speedo")
  2253. script.Parent:WaitForChild("Tach")
  2254. script.Parent:WaitForChild("ln")
  2255. script.Parent:WaitForChild("Gear")
  2256. script.Parent:WaitForChild("Speed")
  2257.  
  2258.  
  2259. local car = script.Parent.Parent.Car.Value
  2260. car.DriveSeat.HeadsUpDisplay = false
  2261.  
  2262. local _Tune = require(car["A-Chassis Tune"])
  2263.  
  2264. local _pRPM = _Tune.PeakRPM
  2265. local _lRPM = _Tune.Redline
  2266.  
  2267. local revEnd = math.ceil(_lRPM/1000)
  2268.  
  2269. local Drive={}
  2270. if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
  2271. if car.Wheels:FindFirstChild("FL")~= nil then
  2272. table.insert(Drive,car.Wheels.FL)
  2273. end
  2274. if car.Wheels:FindFirstChild("FR")~= nil then
  2275. table.insert(Drive,car.Wheels.FR)
  2276. end
  2277. if car.Wheels:FindFirstChild("F")~= nil then
  2278. table.insert(Drive,car.Wheels.F)
  2279. end
  2280. end
  2281. if _Tune.Config == "RWD" or _Tune.Config == "AWD" then
  2282. if car.Wheels:FindFirstChild("RL")~= nil then
  2283. table.insert(Drive,car.Wheels.RL)
  2284. end
  2285. if car.Wheels:FindFirstChild("RR")~= nil then
  2286. table.insert(Drive,car.Wheels.RR)
  2287. end
  2288. if car.Wheels:FindFirstChild("R")~= nil then
  2289. table.insert(Drive,car.Wheels.R)
  2290. end
  2291. end
  2292.  
  2293. local wDia = 0
  2294. for i,v in pairs(Drive) do
  2295. if v.Size.x>wDia then wDia = v.Size.x end
  2296. end
  2297. Drive = nil
  2298. local maxSpeed = math.ceil(wDia*math.pi*_lRPM/60/_Tune.Ratios[#_Tune.Ratios]/_Tune.FinalDrive)
  2299. local spInc = math.max(math.ceil(maxSpeed/200)*20,20)
  2300.  
  2301.  
  2302. for i=0,revEnd*2 do
  2303. local ln = script.Parent.ln:clone()
  2304. ln.Parent = script.Parent.Tach
  2305. ln.Rotation = 45 + i * 225 / (revEnd*2)
  2306. ln.Num.Text = i/2
  2307. ln.Num.Rotation = -ln.Rotation
  2308. if i*500>=math.floor(_pRPM/500)*500 then
  2309. ln.Frame.BackgroundColor3 = Color3.new(1,0,0)
  2310. if i<revEnd*2 then
  2311. ln2 = ln:clone()
  2312. ln2.Parent = script.Parent.Tach
  2313. ln2.Rotation = 45 + (i+.5) * 225 / (revEnd*2)
  2314. ln2.Num:Destroy()
  2315. ln2.Visible=true
  2316. end
  2317. end
  2318. if i%2==0 then
  2319. ln.Frame.Size = UDim2.new(0,3,0,10)
  2320. ln.Frame.Position = UDim2.new(0,-1,0,100)
  2321. ln.Num.Visible = true
  2322. else
  2323. ln.Num:Destroy()
  2324. end
  2325. ln.Visible=true
  2326. end
  2327.  
  2328. for i=1,90 do
  2329. local ln = script.Parent.ln:clone()
  2330. ln.Parent = script.Parent.Speedo
  2331. ln.Rotation = 45 + 225*(i/90)
  2332. if i%2==0 then
  2333. ln.Frame.Size = UDim2.new(0,2,0,10)
  2334. ln.Frame.Position = UDim2.new(0,-1,0,100)
  2335. else
  2336. ln.Frame.Size = UDim2.new(0,3,0,5)
  2337. end
  2338. ln.Num:Destroy()
  2339. ln.Visible=true
  2340. end
  2341. for i=0,maxSpeed,spInc do
  2342. local ln = script.Parent.ln:clone()
  2343. ln.Parent = script.Parent.Speedo
  2344. ln.Rotation = 45 + 225*(i/maxSpeed)
  2345. ln.Num.Text = i
  2346. ln.Num.Rotation = -ln.Rotation
  2347. ln.Frame:Destroy()
  2348. ln.Num.Visible=true
  2349. ln.Visible=true
  2350. end
  2351.  
  2352. if script.Parent.Parent.IsOn.Value then
  2353. script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
  2354. end
  2355.  
  2356. script.Parent.Parent.IsOn.Changed:connect(function()
  2357. if script.Parent.Parent.IsOn.Value then
  2358. script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
  2359. end
  2360. end)
  2361.  
  2362. script.Parent.Parent.Values.RPM.Changed:connect(function()
  2363. script.Parent.Tach.Needle.Rotation = 45 + 225 * math.min(1,script.Parent.Parent.Values.RPM.Value / (revEnd*1000))
  2364. end)
  2365.  
  2366. script.Parent.Parent.Values.Gear.Changed:connect(function()
  2367. local gearText = script.Parent.Parent.Values.Gear.Value
  2368. if gearText == 0 then gearText = "N"
  2369. elseif gearText == -1 then gearText = "R"
  2370. end
  2371. script.Parent.Gear.Text = gearText
  2372. end)
  2373.  
  2374. script.Parent.Parent.Values.TCS.Changed:connect(function()
  2375. if script.Parent.Parent.Values.TCS.Value then
  2376. script.Parent.TCS.TextColor3 = Color3.new(1,170/255,0)
  2377. script.Parent.TCS.TextStrokeColor3 = Color3.new(1,170/255,0)
  2378. if script.Parent.Parent.Values.TCSActive.Value then
  2379. wait()
  2380. script.Parent.TCS.Visible = not script.Parent.TCS.Visible
  2381. else
  2382. wait()
  2383. script.Parent.TCS.Visible = false
  2384. end
  2385. else
  2386. script.Parent.TCS.Visible = true
  2387. script.Parent.TCS.TextColor3 = Color3.new(1,0,0)
  2388. script.Parent.TCS.TextStrokeColor3 = Color3.new(1,0,0)
  2389. end
  2390. end)
  2391.  
  2392. script.Parent.Parent.Values.TCSActive.Changed:connect(function()
  2393. if script.Parent.Parent.Values.TCSActive.Value and script.Parent.Parent.Values.TCS.Value then
  2394. wait()
  2395. script.Parent.TCS.Visible = not script.Parent.TCS.Visible
  2396. elseif not script.Parent.Parent.Values.TCS.Value then
  2397. wait()
  2398. script.Parent.TCS.Visible = true
  2399. else
  2400. wait()
  2401. script.Parent.TCS.Visible = false
  2402. end
  2403. end)
  2404.  
  2405. script.Parent.TCS.Changed:connect(function()
  2406. if script.Parent.Parent.Values.TCSActive.Value and script.Parent.Parent.Values.TCS.Value then
  2407. wait()
  2408. script.Parent.TCS.Visible = not script.Parent.TCS.Visible
  2409. elseif not script.Parent.Parent.Values.TCS.Value then
  2410. wait()
  2411. script.Parent.TCS.Visible = true
  2412. end
  2413. end)
  2414.  
  2415. script.Parent.Parent.Values.PBrake.Changed:connect(function()
  2416. script.Parent.PBrake.Visible = script.Parent.Parent.Values.PBrake.Value
  2417. end)
  2418.  
  2419. script.Parent.Parent.Values.TransmissionMode.Changed:connect(function()
  2420. if script.Parent.Parent.Values.TransmissionMode.Value == "Auto" then
  2421. script.Parent.TMode.Text = "A/T"
  2422. script.Parent.TMode.BackgroundColor3 = Color3.new(1,170/255,0)
  2423. elseif script.Parent.Parent.Values.TransmissionMode.Value == "Semi" then
  2424. script.Parent.TMode.Text = "S/T"
  2425. script.Parent.TMode.BackgroundColor3 = Color3.new(0, 170/255, 127/255)
  2426. else
  2427. script.Parent.TMode.Text = "M/T"
  2428. script.Parent.TMode.BackgroundColor3 = Color3.new(1,85/255,.5)
  2429. end
  2430. end)
  2431.  
  2432. script.Parent.Parent.Values.Velocity.Changed:connect(function(property)
  2433. script.Parent.Speedo.Needle.Rotation =45 + 225 * math.min(1,script.Parent.Parent.Values.Velocity.Value.Magnitude/maxSpeed)
  2434. script.Parent.Speed.Text = math.floor(script.Parent.Parent.Values.Velocity.Value.Magnitude) .. " SPS"
  2435. end)
  2436.  
  2437. end,o138)
  2438. end))
  2439. o139.Name = "Tach"
  2440. o139.Parent = o137
  2441. o139.Position = UDim2.new(0.5,-150,1,-100)
  2442. o139.Position = UDim2.new(0.5,-150,1,-100)
  2443. o139.BackgroundColor3 = Color3.new(1, 1, 1)
  2444. o139.BorderSizePixel = 0
  2445. o140.Name = "Needle"
  2446. o140.Parent = o139
  2447. o140.Rotation = 45
  2448. o140.BackgroundColor3 = Color3.new(1, 1, 1)
  2449. o140.BorderSizePixel = 0
  2450. o141.Parent = o140
  2451. o141.Position = UDim2.new(0,-2,0,-10)
  2452. o141.Size = UDim2.new(0,4,0,110)
  2453. o141.Position = UDim2.new(0,-2,0,-10)
  2454. o141.BackgroundColor3 = Color3.new(1, 0, 0)
  2455. o141.BackgroundTransparency = 0.10000000149012
  2456. o141.BorderSizePixel = 0
  2457. o141.ZIndex = 2
  2458. o142.Name = "Speedo"
  2459. o142.Parent = o137
  2460. o142.Position = UDim2.new(0.5,150,1,-100)
  2461. o142.Position = UDim2.new(0.5,150,1,-100)
  2462. o142.BackgroundColor3 = Color3.new(1, 1, 1)
  2463. o142.BorderSizePixel = 0
  2464. o143.Name = "Needle"
  2465. o143.Parent = o142
  2466. o143.Rotation = 45
  2467. o143.BackgroundColor3 = Color3.new(1, 1, 1)
  2468. o143.BorderSizePixel = 0
  2469. o144.Parent = o143
  2470. o144.Position = UDim2.new(0,-2,0,-10)
  2471. o144.Size = UDim2.new(0,4,0,110)
  2472. o144.Position = UDim2.new(0,-2,0,-10)
  2473. o144.BackgroundColor3 = Color3.new(1, 0, 0)
  2474. o144.BackgroundTransparency = 0.10000000149012
  2475. o144.BorderSizePixel = 0
  2476. o144.ZIndex = 2
  2477. o145.Name = "ln"
  2478. o145.Parent = o137
  2479. o145.Rotation = 45
  2480. o145.Visible = false
  2481. o145.BackgroundColor3 = Color3.new(1, 1, 1)
  2482. o145.BorderSizePixel = 0
  2483. o146.Parent = o145
  2484. o146.Position = UDim2.new(0,-2,0,105)
  2485. o146.Size = UDim2.new(0,3,0,5)
  2486. o146.Position = UDim2.new(0,-2,0,105)
  2487. o146.BackgroundColor3 = Color3.new(1, 1, 1)
  2488. o146.BackgroundTransparency = 0.10000000149012
  2489. o146.BorderSizePixel = 0
  2490. o147.Name = "Num"
  2491. o147.Parent = o145
  2492. o147.Position = UDim2.new(0,0,0,88)
  2493. o147.Rotation = -45
  2494. o147.Text = "0"
  2495. o147.Position = UDim2.new(0,0,0,88)
  2496. o147.Visible = false
  2497. o147.BackgroundColor3 = Color3.new(1, 1, 1)
  2498. o147.BackgroundTransparency = 1
  2499. o147.BorderSizePixel = 0
  2500. o147.Font = Enum.Font.ArialBold
  2501. o147.FontSize = Enum.FontSize.Size18
  2502. o147.TextColor3 = Color3.new(1, 1, 1)
  2503. o147.TextStrokeColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  2504. o147.TextStrokeTransparency = 0.89999997615814
  2505. o147.TextTransparency = 0.10000000149012
  2506. o148.Name = "Gear"
  2507. o148.Parent = o137
  2508. o148.Position = UDim2.new(0.5,-120,1,-70)
  2509. o148.Text = "N"
  2510. o148.Position = UDim2.new(0.5,-120,1,-70)
  2511. o148.BackgroundColor3 = Color3.new(1, 1, 1)
  2512. o148.BackgroundTransparency = 1
  2513. o148.BorderSizePixel = 0
  2514. o148.Font = Enum.Font.ArialBold
  2515. o148.FontSize = Enum.FontSize.Size48
  2516. o148.TextColor3 = Color3.new(1, 1, 1)
  2517. o148.TextStrokeColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  2518. o148.TextStrokeTransparency = 0.89999997615814
  2519. o148.TextTransparency = 0.10000000149012
  2520. o149.Name = "Speed"
  2521. o149.Parent = o137
  2522. o149.Position = UDim2.new(0.5,250,1,-70)
  2523. o149.Text = "0 SPS"
  2524. o149.Position = UDim2.new(0.5,250,1,-70)
  2525. o149.BackgroundColor3 = Color3.new(1, 1, 1)
  2526. o149.BackgroundTransparency = 1
  2527. o149.BorderSizePixel = 0
  2528. o149.Font = Enum.Font.ArialBold
  2529. o149.FontSize = Enum.FontSize.Size24
  2530. o149.TextColor3 = Color3.new(1, 1, 1)
  2531. o149.TextStrokeColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  2532. o149.TextStrokeTransparency = 0.89999997615814
  2533. o149.TextTransparency = 0.10000000149012
  2534. o149.TextXAlignment = Enum.TextXAlignment.Right
  2535. o150.Name = "ABS"
  2536. o150.Parent = o137
  2537. o150.Position = UDim2.new(0.5,130,1,-100)
  2538. o150.Text = "ABS"
  2539. o150.Position = UDim2.new(0.5,130,1,-100)
  2540. o150.Visible = false
  2541. o150.BackgroundColor3 = Color3.new(1, 1, 1)
  2542. o150.BackgroundTransparency = 1
  2543. o150.BorderSizePixel = 0
  2544. o150.Font = Enum.Font.ArialBold
  2545. o150.FontSize = Enum.FontSize.Size18
  2546. o150.TextColor3 = Color3.new(1, 0.666667, 0)
  2547. o150.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  2548. o150.TextStrokeTransparency = 0.89999997615814
  2549. o150.TextTransparency = 0.10000000149012
  2550. o150.TextXAlignment = Enum.TextXAlignment.Right
  2551. o151.Name = "PBrake"
  2552. o151.Parent = o137
  2553. o151.Position = UDim2.new(0.5,200,1,-120)
  2554. o151.Text = "P"
  2555. o151.Position = UDim2.new(0.5,200,1,-120)
  2556. o151.Visible = false
  2557. o151.BackgroundColor3 = Color3.new(1, 1, 1)
  2558. o151.BackgroundTransparency = 1
  2559. o151.BorderSizePixel = 0
  2560. o151.Font = Enum.Font.ArialBold
  2561. o151.FontSize = Enum.FontSize.Size24
  2562. o151.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  2563. o151.TextStrokeColor3 = Color3.new(1, 0.333333, 0.498039)
  2564. o151.TextStrokeTransparency = 0.89999997615814
  2565. o151.TextTransparency = 0.10000000149012
  2566. o151.TextXAlignment = Enum.TextXAlignment.Right
  2567. o152.Name = "TCS"
  2568. o152.Parent = o137
  2569. o152.Position = UDim2.new(0.5,130,1,-120)
  2570. o152.Text = "TCS"
  2571. o152.Position = UDim2.new(0.5,130,1,-120)
  2572. o152.Visible = false
  2573. o152.BackgroundColor3 = Color3.new(1, 1, 1)
  2574. o152.BackgroundTransparency = 1
  2575. o152.BorderSizePixel = 0
  2576. o152.Font = Enum.Font.ArialBold
  2577. o152.FontSize = Enum.FontSize.Size18
  2578. o152.TextColor3 = Color3.new(1, 0.666667, 0)
  2579. o152.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  2580. o152.TextStrokeTransparency = 0.89999997615814
  2581. o152.TextTransparency = 0.10000000149012
  2582. o152.TextXAlignment = Enum.TextXAlignment.Right
  2583. o153.Name = "TMode"
  2584. o153.Parent = o137
  2585. o153.Position = UDim2.new(0.5,-165,1,-40)
  2586. o153.Size = UDim2.new(0,40,0,20)
  2587. o153.Text = "A/T"
  2588. o153.Position = UDim2.new(0.5,-165,1,-40)
  2589. o153.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  2590. o153.BackgroundTransparency = 0.5
  2591. o153.BorderSizePixel = 0
  2592. o153.Font = Enum.Font.ArialBold
  2593. o153.FontSize = Enum.FontSize.Size18
  2594. o153.TextColor3 = Color3.new(1, 1, 1)
  2595. o153.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  2596. o153.TextStrokeTransparency = 0.89999997615814
  2597. o153.TextTransparency = 0.10000000149012
  2598. o154.Name = "Backfire"
  2599. o154.Parent = o28
  2600. table.insert(cors,coroutine.create(function()
  2601. wait()
  2602. runDummyScript(function()
  2603. local car = script.Parent.Car.Value
  2604. local _Tune = require(car["A-Chassis Tune"])
  2605. local rate=0
  2606. local prate=rate
  2607.  
  2608.  
  2609. car.Body.Exhaust.E1.S:Play()
  2610.  
  2611. car.DriveSeat.ChildRemoved:connect(function(child)
  2612. if child.Name=="SeatWeld" then
  2613. car.Body.Exhaust.E1.S:Stop()
  2614. car.Body.Exhaust.E1.Afterburn.Rate=0
  2615. car.Body.Exhaust.E1.L.Range = 0
  2616. end
  2617. end)
  2618.  
  2619. function backfire()
  2620. if script.Parent.IsOn.Value and script.Parent.Values.Throttle.Value <= _Tune.IdleThrottle and script.Parent.Values.RPM.Value>_Tune.PeakRPM and script.Parent.Values.Gear.Value~=-1 then
  2621. rate = 35
  2622. elseif rate>0 then
  2623. rate = math.max(rate-25,0)
  2624. end
  2625. if prate~=rate then
  2626. car.Body.Exhaust.E1.Afterburn.Rate = rate
  2627. car.Body.Exhaust.E1.L.Range = (7+(math.random(-10,10)/10))*rate/35
  2628. end
  2629. prate=rate
  2630. if car.DriveSeat:FindFirstChild("Rev")~=nil then
  2631. local on=1
  2632. if not script.Parent.IsOn.Value then on=math.max(on-.015,0) else on=1 end
  2633. car.Body.Exhaust.E1.S.Volume = (((car.DriveSeat.Rev.Pitch - car.DriveSeat.Rev.SetPitch.Value)/car.DriveSeat.Rev.SetRev.Value)-math.min(1,car.DriveSeat.Velocity.Magnitude/40)*(script.Parent.Values.Throttle.Value))
  2634. end
  2635. end
  2636.  
  2637. while wait(.1) do
  2638. backfire()
  2639. end
  2640.  
  2641. script.Parent.Values.Throttle.Changed:connect(backfire())
  2642. end,o154)
  2643. end))
  2644. o155.Name = "Burnout"
  2645. o155.Parent = o28
  2646. table.insert(cors,coroutine.create(function()
  2647. wait()
  2648. runDummyScript(function()
  2649. local car = script.Parent.Car.Value
  2650. local slip = 0
  2651. local pslip = slip
  2652.  
  2653. car.DriveSeat.ChildRemoved:connect(function(child)
  2654. if child.Name=="SeatWeld" then
  2655. car.Wheels.RL.Burnout.Force = Vector3.new(0,0,0)
  2656. car.Wheels.RR.Burnout.Force = Vector3.new(0,0,0)
  2657. end
  2658. end)
  2659.  
  2660. while wait(.2) do
  2661. if script.Parent.Values.PBrake.Value and not script.Parent.Values.TCS.Value and car.DriveSeat.Velocity.Magnitude < 5 and script.Parent.Values.RPM.Value > 4000 then
  2662. slip = math.min(15000,slip+3000)
  2663. else
  2664. slip = math.max(0,slip-1000)
  2665. end
  2666. if pslip~=slip then
  2667. car.Wheels.RL.Burnout.Force = Vector3.new(0,slip,0)
  2668. car.Wheels.RR.Burnout.Force = Vector3.new(0,slip,0)
  2669. end
  2670. pslip=slip
  2671. end
  2672.  
  2673. end,o155)
  2674. end))
  2675. o156.Name = "Smoke"
  2676. o156.Parent = o28
  2677. table.insert(cors,coroutine.create(function()
  2678. wait()
  2679. runDummyScript(function()
  2680. local car = script.Parent.Car.Value
  2681. car.Wheels.RL.SQ:Play()
  2682. car.Wheels.RR.SQ:Play()
  2683.  
  2684. car.DriveSeat.ChildRemoved:connect(function(child)
  2685. if child.Name=="SeatWeld" then
  2686. car.Wheels.RL.SQ:Stop()
  2687. car.Wheels.RR.SQ:Stop()
  2688. car.Wheels.RL.Smoke.Rate=0
  2689. car.Wheels.RR.Smoke.Rate=0
  2690. end
  2691. end)
  2692.  
  2693. while wait(.2) do
  2694. local r1 = Ray.new(car.Wheels.RL.Position,(car.Wheels.RL.Arm.CFrame*CFrame.Angles(-math.pi/2,0,0)).lookVector*(car.Wheels.RL.Size.x/2))
  2695. local r1hit = 0
  2696. if workspace:FindPartOnRay(r1,car)~=nil then r1hit=1 end
  2697.  
  2698. local r2 = Ray.new(car.Wheels.RL.Position,(car.Wheels.RR.Arm.CFrame*CFrame.Angles(-math.pi/2,0,0)).lookVector*(car.Wheels.RR.Size.x/2))
  2699. local r2hit = 0
  2700. if workspace:FindPartOnRay(r2,car)~=nil then r2hit=1 end
  2701.  
  2702. local rl = math.min((math.max(math.abs((car.Wheels.RL.RotVelocity.Magnitude*car.Wheels.RL.Size.x/2) - (car.Wheels.RL.Velocity.Magnitude))-20,0)),50)*r1hit
  2703. local rr = math.min((math.max(math.abs((car.Wheels.RR.RotVelocity.Magnitude*car.Wheels.RR.Size.x/2) - (car.Wheels.RR.Velocity.Magnitude))-20,0)),50)*r2hit
  2704. car.Wheels.RL.Smoke.Rate = rl
  2705. car.Wheels.RR.Smoke.Rate = rr
  2706. car.Wheels.RL.SQ.Volume = rl/50
  2707. car.Wheels.RR.SQ.Volume = rr/50
  2708. end
  2709.  
  2710. end,o156)
  2711. end))
  2712. o157.Name = "Lights"
  2713. o157.Parent = o28
  2714. table.insert(cors,coroutine.create(function()
  2715. wait()
  2716. runDummyScript(function()
  2717. script.Parent:WaitForChild("Values")
  2718.  
  2719. local is = game:GetService("UserInputService")
  2720. local cr = script.Parent.Car.Value
  2721. local lt = cr.Body.Lights
  2722. local tk = cr.Body.TK
  2723. local vl = script.Parent.Values
  2724. local GBrake = vl.Brake
  2725. local gr = vl.Gear
  2726. local bk = vl.Brake.Value
  2727.  
  2728. local l1 = lt.RunL
  2729. local r1 = lt.RunR
  2730. local b1 = tk.RLeft
  2731. local b2 = tk.RRight
  2732. local b3 = lt.Brake
  2733. local b4 = tk.Brake
  2734. local lw = lt.B
  2735. local lww = lt.L
  2736. local lwww = lt.L2
  2737. local hi = lt.HB
  2738. local rb = tk.RB
  2739. local rv = tk.Reverse
  2740.  
  2741. local left = false
  2742. local right = false
  2743. local hazards = false
  2744. local reverse = false
  2745. local headlt = false
  2746. local highlt = false
  2747. local relay = false
  2748. local brake = false
  2749.  
  2750. function DealWithInput(input,processed)
  2751. if (processed) then return end
  2752. if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Down then --Brake
  2753. if input.UserInputState == Enum.UserInputState.Begin then
  2754. brake=true
  2755. b3.BrickColor = BrickColor.new("Really red")
  2756. b3.Material = Enum.Material.Neon
  2757. b4.BrickColor = BrickColor.new("Really red")
  2758. b4.Material = Enum.Material.Neon
  2759. elseif input.UserInputState == Enum.UserInputState.End then
  2760. brake=false
  2761. b3.BrickColor = BrickColor.new("Crimson")
  2762. b3.Material = Enum.Material.SmoothPlastic
  2763. b4.BrickColor = BrickColor.new("Crimson")
  2764. b4.Material = Enum.Material.SmoothPlastic
  2765. end
  2766. elseif input.KeyCode == Enum.KeyCode.Z then if input.UserInputState == Enum.UserInputState.Begin then
  2767. if hazards then return end
  2768. left = not left
  2769. right = false
  2770. if relay then repeat wait() until not relay end
  2771. while left do
  2772. l1.BrickColor = BrickColor.new("Deep orange")
  2773. l1.Material = Enum.Material.Neon
  2774. b1.BrickColor = BrickColor.new("Deep orange")
  2775. b1.Material = Enum.Material.Neon
  2776. cr.DriveSeat.Indicator.Value = true
  2777. cr.DriveSeat.LI.Value = true
  2778. wait(1/3)
  2779. l1.BrickColor = BrickColor.new("Pearl")
  2780. l1.Material = Enum.Material.SmoothPlastic
  2781. cr.DriveSeat.Indicator.Value = false
  2782. cr.DriveSeat.LI.Value = false
  2783. if not headlt then
  2784. b1.BrickColor = BrickColor.new("Deep orange")
  2785. b1.Material = Enum.Material.SmoothPlastic
  2786. else
  2787. b1.BrickColor = BrickColor.new("Deep orange")
  2788. b1.Material = Enum.Material.SmoothPlastic
  2789. end
  2790. wait(1/3)
  2791. if not left then
  2792. l1.Material = Enum.Material.Neon
  2793. l1.BrickColor = BrickColor.new("Pearl")
  2794. end
  2795. end end
  2796. elseif input.KeyCode == Enum.KeyCode.X then if input.UserInputState == Enum.UserInputState.Begin then
  2797. if hazards == false then
  2798. hazards = true
  2799. left = true
  2800. right = true
  2801. else
  2802. hazards = false
  2803. left = false
  2804. right = false
  2805. end
  2806. if hazards then left = false right = false end
  2807. if relay then repeat wait() until not relay end
  2808. while hazards do
  2809. l1.BrickColor = BrickColor.new("Deep orange")
  2810. l1.Material = Enum.Material.Neon
  2811. r1.BrickColor = BrickColor.new("Deep orange")
  2812. r1.Material = Enum.Material.Neon
  2813. b1.BrickColor = BrickColor.new("Deep orange")
  2814. b1.Material = Enum.Material.Neon
  2815.  
  2816. b2.BrickColor = BrickColor.new("Deep orange")
  2817. b2.Material = Enum.Material.Neon
  2818. cr.DriveSeat.Indicator.Value = true
  2819. cr.DriveSeat.LI.Value = true
  2820. cr.DriveSeat.RI.Value = true
  2821. wait(1/3)
  2822. l1.BrickColor = BrickColor.new("Pearl")
  2823. l1.Material = Enum.Material.SmoothPlastic
  2824. r1.BrickColor = BrickColor.new("Pearl")
  2825. r1.Material = Enum.Material.SmoothPlastic
  2826. b1.BrickColor = BrickColor.new("Deep orange")
  2827. b1.Material = Enum.Material.SmoothPlastic
  2828. b2.BrickColor = BrickColor.new("Deep orange")
  2829. b2.Material = Enum.Material.SmoothPlastic
  2830. cr.DriveSeat.Indicator.Value = false
  2831. cr.DriveSeat.LI.Value = false
  2832. cr.DriveSeat.RI.Value = false
  2833. wait(1/3)
  2834. if not hazards then
  2835. l1.Material = Enum.Material.Neon
  2836. r1.Material = Enum.Material.Neon
  2837. l1.BrickColor = BrickColor.new("Pearl")
  2838. r1.BrickColor = BrickColor.new("Pearl")
  2839. end
  2840. end end
  2841. elseif input.KeyCode == Enum.KeyCode.C then if input.UserInputState == Enum.UserInputState.Begin then
  2842. if hazards then return end
  2843. right = not right
  2844. left = false
  2845. if relay then repeat wait() until not relay end
  2846. while right do
  2847. r1.BrickColor = BrickColor.new("Deep orange")
  2848. r1.Material = Enum.Material.Neon
  2849. b2.BrickColor = BrickColor.new("Deep orange")
  2850. b2.Material = Enum.Material.Neon
  2851. cr.DriveSeat.Indicator.Value = true
  2852. cr.DriveSeat.RI.Value = true
  2853. wait(1/3)
  2854. r1.BrickColor = BrickColor.new("Pearl")
  2855. r1.Material = Enum.Material.SmoothPlastic
  2856. cr.DriveSeat.Indicator.Value = false
  2857. cr.DriveSeat.RI.Value = false
  2858. if not headlt then
  2859. b2.BrickColor = BrickColor.new("Deep orange")
  2860. b2.Material = Enum.Material.SmoothPlastic
  2861. else
  2862. b2.BrickColor = BrickColor.new("Deep orange")
  2863. b2.Material = Enum.Material.SmoothPlastic
  2864. end
  2865. wait(1/3)
  2866. if not right then
  2867. r1.Material = Enum.Material.Neon
  2868. r1.BrickColor = BrickColor.new("Pearl")
  2869. end
  2870. end end
  2871. elseif input.KeyCode == Enum.KeyCode.L then if input.UserInputState == Enum.UserInputState.Begin then
  2872. if headlt and not highlt then
  2873. highlt = true
  2874. elseif headlt and highlt then
  2875. headlt = false
  2876. highlt = false
  2877. elseif not headlt then
  2878. headlt = true
  2879. end
  2880. if highlt then
  2881. hi.BrickColor = BrickColor.new("Pearl")
  2882. hi.Material = Enum.Material.Neon
  2883. lwww.SpotLight.Enabled = true
  2884. rb.BrickColor = BrickColor.new("Really red")
  2885. rb.Material = Enum.Material.Neon
  2886. elseif not highlt then
  2887. hi.BrickColor = BrickColor.new("Institutional white")
  2888. hi.Material = Enum.Material.SmoothPlastic
  2889. lwww.SpotLight.Enabled = false
  2890. if not headlt then
  2891. rb.BrickColor = BrickColor.new("Crimson")
  2892. rb.Material = Enum.Material.SmoothPlastic
  2893. elseif not headlt or highlt then
  2894. rb.BrickColor = BrickColor.new("Crimson")
  2895. rb.Material = Enum.Material.SmoothPlastic
  2896. end
  2897. end
  2898. if headlt then
  2899. lw.BrickColor = BrickColor.new("Pearl")
  2900. lw.Material = Enum.Material.Neon
  2901. lww.SpotLight.Enabled = true
  2902. rb.BrickColor = BrickColor.new("Really red")
  2903. rb.Material = Enum.Material.Neon
  2904. if not highlt then
  2905. lw.BrickColor = BrickColor.new("Pearl")
  2906. rb.BrickColor = BrickColor.new("Really red")
  2907. rb.Material = Enum.Material.Neon
  2908. else
  2909. end
  2910. elseif not headlt then
  2911. lw.BrickColor = BrickColor.new("Institutional white")
  2912. lw.Material = Enum.Material.SmoothPlastic
  2913. lww.SpotLight.Enabled = false
  2914. if not brake then
  2915. end
  2916. end end
  2917. end
  2918. end
  2919.  
  2920. is.InputBegan:connect(DealWithInput)
  2921. is.InputChanged:connect(DealWithInput)
  2922. is.InputEnded:connect(DealWithInput)
  2923.  
  2924. gr.Changed:connect(function()
  2925. if gr.Value == -1 then
  2926. rv.Material = Enum.Material.Neon
  2927. else
  2928. rv.Material = Enum.Material.SmoothPlastic
  2929. end
  2930. end)
  2931. end,o157)
  2932. end))
  2933. o158.Name = "AC6_Stock_Sound"
  2934. o158.Parent = o28
  2935. table.insert(cors,coroutine.create(function()
  2936. wait()
  2937. runDummyScript(function()
  2938. --[[
  2939. ___ _______ _
  2940. / _ |____/ ___/ / ___ ____ ___ (_)__
  2941. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  2942. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  2943. SecondLogic @ Inspare
  2944. ]]
  2945. local FE = workspace.FilteringEnabled
  2946. local car = script.Parent.Car.Value
  2947. local _Tune = require(car["A-Chassis Tune"])
  2948. local on = 0
  2949.  
  2950. script:WaitForChild("Rev")
  2951.  
  2952. if not FE then
  2953. for i,v in pairs(car.DriveSeat:GetChildren()) do
  2954. for _,a in pairs(script:GetChildren()) do
  2955. if v.Name==a.Name then v:Stop() wait() v:Destroy() end
  2956. end
  2957. end
  2958. for i,v in pairs(script:GetChildren()) do
  2959. v.Parent=car.DriveSeat
  2960. end
  2961.  
  2962. car.DriveSeat.Rev:Play()
  2963.  
  2964. while wait() do
  2965. local _RPM = script.Parent.Values.RPM.Value
  2966.  
  2967. if not script.Parent.IsOn.Value then on=math.max(on-.015,0) else on=1 end
  2968. car.DriveSeat.Rev.Pitch = (car.DriveSeat.Rev.SetPitch.Value + car.DriveSeat.Rev.SetRev.Value*_RPM/_Tune.Redline)*on^2
  2969. end
  2970. else
  2971. local handler = car.AC6_FE_Sounds
  2972. handler:FireServer("newSound","Rev",car.DriveSeat,script.Rev.SoundId,0,script.Rev.Volume,true)
  2973. handler:FireServer("playSound","Rev")
  2974. local pitch=0
  2975. while wait() do
  2976. local _RPM = script.Parent.Values.RPM.Value
  2977.  
  2978. if not script.Parent.IsOn.Value then on=math.max(on-.015,0) else on=1 end
  2979. pitch = (script.Rev.SetPitch.Value + script.Rev.SetRev.Value*_RPM/_Tune.Redline)*on^2
  2980. handler:FireServer("updateSound","Rev",script.Rev.SoundId,pitch,script.Rev.Volume)
  2981. end
  2982. end
  2983.  
  2984. end,o158)
  2985. end))
  2986. o159.Name = "AC6_FE_Sounds"
  2987. o159.Parent = o158
  2988. o160.Name = "Handler"
  2989. o160.Parent = o159
  2990. o160.Disabled = true
  2991. table.insert(cors,coroutine.create(function()
  2992. wait()
  2993. runDummyScript(function()
  2994. local Sounds = {}
  2995. local F = {}
  2996.  
  2997. F.newSound = function(name,par,id,pitch,volume,loop)
  2998. for i,v in pairs(Sounds) do
  2999. if i==name then
  3000. v:Stop()
  3001. v:Destroy()
  3002. end
  3003. end
  3004. local sn = Instance.new("Sound",par)
  3005. sn.Name = name
  3006. sn.SoundId = id
  3007. sn.Pitch = pitch
  3008. sn.Volume = volume
  3009. sn.Looped = loop
  3010. sn.AncestryChanged:connect(function(child,parent) print(parent) end)
  3011. Sounds[name]=sn
  3012. end
  3013.  
  3014. F.updateSound = function(sound,id,pit,vol)
  3015. local sn = Sounds[sound]
  3016. if id~=sn.SoundId then sn.SoundId = id end
  3017. if pit~=sn.Pitch then sn.Pitch = pit end
  3018. if vol~=sn.Volume then sn.Volume = vol end
  3019. end
  3020.  
  3021. F.playSound = function(sound)
  3022. Sounds[sound]:Play()
  3023. end
  3024.  
  3025. F.pauseSound = function(sound)
  3026. Sounds[sound]:Pause()
  3027. end
  3028.  
  3029. F.stopSound = function(sound)
  3030. Sounds[sound]:Stop()
  3031. end
  3032.  
  3033. F.removeSound = function(sound)
  3034. Sounds[sound]:Stop()
  3035. Sounds[sound]:Destroy()
  3036. Sounds[sound]=nil
  3037. end
  3038.  
  3039. script.Parent.OnServerEvent:connect(function(pl,Fnc,...)
  3040. F[Fnc](...)
  3041. end)
  3042. end,o160)
  3043. end))
  3044. o161.Name = "Rev"
  3045. o161.Parent = o158
  3046. o161.Pitch = 0
  3047. o161.SoundId = "rbxassetid://502694720"
  3048. o161.Volume = 4
  3049. o161.Looped = true
  3050. o162.Name = "SetRev"
  3051. o162.Parent = o161
  3052. o162.Value = 1.4
  3053. o163.Name = "SetPitch"
  3054. o163.Parent = o161
  3055. o163.Value = 0.05
  3056. o164.Name = "Ignition"
  3057. o164.Parent = o28
  3058. table.insert(cors,coroutine.create(function()
  3059. wait()
  3060. runDummyScript(function()
  3061. local car = script.Parent.Car.Value
  3062.  
  3063. script:WaitForChild("Start1")
  3064. script:WaitForChild("Start2")
  3065.  
  3066. for i,v in pairs(car.DriveSeat:GetChildren()) do
  3067. for _,a in pairs(script:GetChildren()) do
  3068. if v.Name==a.Name then v:Stop() wait() v:Destroy() end
  3069. end
  3070. end
  3071. for i,v in pairs(script:GetChildren()) do
  3072. v.Parent=car.DriveSeat
  3073. end
  3074.  
  3075. car.DriveSeat.Start1:Play()
  3076. wait(5.12)
  3077. car.DriveSeat.Start2:Play()
  3078. script.Parent.IsOn.Value=true
  3079. wait(.0)
  3080. car.DriveSeat.Start1:Stop()
  3081. car.DriveSeat.Start2:Stop()
  3082. end,o164)
  3083. end))
  3084. o165.Name = "Start1"
  3085. o165.Parent = o164
  3086. o165.SoundId = "rbxassetid://339770028"
  3087. o165.Volume = 1
  3088. o166.Name = "Start2"
  3089. o166.Parent = o164
  3090. o166.SoundId = "rbxassetid://1"
  3091. o166.Volume = 1
  3092. o167.Name = "A-Chassis Interface"
  3093. o167.Parent = mas
  3094. o168.Name = "Car"
  3095. o168.Parent = o167
  3096. o169.Name = "Values"
  3097. o169.Parent = o167
  3098. o170.Name = "RPM"
  3099. o170.Parent = o169
  3100. o171.Name = "Horsepower"
  3101. o171.Parent = o169
  3102. o172.Name = "Torque"
  3103. o172.Parent = o169
  3104. o173.Name = "TransmissionMode"
  3105. o173.Parent = o169
  3106. o174.Name = "Gear"
  3107. o174.Parent = o169
  3108. o175.Name = "Throttle"
  3109. o175.Parent = o169
  3110. o176.Name = "SteerC"
  3111. o176.Parent = o169
  3112. o177.Name = "SteerT"
  3113. o177.Parent = o169
  3114. o178.Name = "Brake"
  3115. o178.Parent = o169
  3116. o179.Name = "TCS"
  3117. o179.Parent = o169
  3118. o180.Name = "PBrake"
  3119. o180.Parent = o169
  3120. o181.Name = "TCSActive"
  3121. o181.Parent = o169
  3122. o182.Name = "Velocity"
  3123. o182.Parent = o169
  3124. o183.Name = "IsOn"
  3125. o183.Parent = o167
  3126. o184.Name = "ControlsOpen"
  3127. o184.Parent = o167
  3128. o185.Name = "Drive"
  3129. o185.Parent = o167
  3130. table.insert(cors,coroutine.create(function()
  3131. wait()
  3132. runDummyScript(function()
  3133. --[[
  3134. ___ _______ _
  3135. / _ |____/ ___/ / ___ ____ ___ (_)__
  3136. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  3137. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  3138. SecondLogic @ Inspare
  3139.  
  3140.  
  3141. *I assume you know what you're doing if you're gonna change something here.* ]]--
  3142.  
  3143.  
  3144. script.Parent:WaitForChild("Car")
  3145. script.Parent:WaitForChild("IsOn")
  3146. script.Parent:WaitForChild("ControlsOpen")
  3147. script.Parent:WaitForChild("Values")
  3148.  
  3149. --Vars
  3150. local player = game.Players.LocalPlayer
  3151. local mouse = player:GetMouse()
  3152. local UserInputService = game:GetService("UserInputService")
  3153. local cam = workspace.CurrentCamera
  3154.  
  3155. local car = script.Parent.Car.Value
  3156. local _Tune = require(car["A-Chassis Tune"])
  3157. local _IsOn = _Tune.AutoStart
  3158. if _Tune.AutoStart then script.Parent.IsOn.Value=true end
  3159.  
  3160. local _GSteerT=0
  3161. local _GSteerC=0
  3162. local _GThrot=0
  3163. local _GBrake=0
  3164.  
  3165. local _ClutchOn = true
  3166. local _ClPressing = false
  3167. local _RPM = 0
  3168. local _HP = 0
  3169. local _OutTorque = 0
  3170. local _CGear = 0
  3171. local _PGear = _CGear
  3172.  
  3173. local _TMode = _Tune.TransModes[1]
  3174.  
  3175. local _MSteer = false
  3176. local _SteerL = false
  3177. local _SteerR = false
  3178. local _PBrake = false
  3179. local _TCS = true
  3180. local _TCSActive = false
  3181.  
  3182. local FlipWait=tick()
  3183. local FlipDB=false
  3184.  
  3185. local _InControls = false
  3186.  
  3187. --Shutdown
  3188. car.DriveSeat.ChildRemoved:connect(function(child)
  3189. if child.Name=="SeatWeld" and child:IsA("Weld") then
  3190. script.Parent:Destroy()
  3191. end
  3192. end)
  3193.  
  3194. --Controls
  3195. local _CTRL = _Tune.Controls
  3196. local Controls = Instance.new("Folder",script.Parent)
  3197. Controls.Name = "Controls"
  3198. for i,v in pairs(_CTRL) do
  3199. local a=Instance.new("StringValue",Controls)
  3200. a.Name=i
  3201. a.Value=v.Name
  3202. a.Changed:connect(function()
  3203. if i=="MouseThrottle" or i=="MouseBrake" then
  3204. _CTRL[i]=Enum.UserInputType[a.Value]
  3205. else
  3206. _CTRL[i]=Enum.KeyCode[a.Value]
  3207. end
  3208. end)
  3209. end
  3210.  
  3211. local _PPH = _Tune.Peripherals
  3212. for i,v in pairs(_PPH) do
  3213. local a = Instance.new("IntValue",Controls)
  3214. a.Name = i
  3215. a.Value = v
  3216. a.Changed:connect(function()
  3217. a.Value=math.min(100,math.max(0,a.Value))
  3218. _PPH[i] = a.Value
  3219. end)
  3220. end
  3221.  
  3222. function DealWithInput(input,IsRobloxFunction)
  3223. if (UserInputService:GetFocusedTextBox()==nil) and not _InControls then --No texting while driving
  3224. if _IsOn and (input.KeyCode ==_CTRL["ContlrShiftDown"] or (_MSteer and input.KeyCode==_CTRL["MouseShiftDown"]) or ((not _MSteer) and input.KeyCode==_CTRL["ShiftDown"])) and (_TMode=="Semi" or (_TMode=="Manual" and (not _ClutchOn))) and input.UserInputState == Enum.UserInputState.Begin then
  3225. if _CGear == 0 and (_TMode=="Auto" or not _ClPressing) then _ClutchOn = true end
  3226. _CGear = math.max(_CGear-1,-1)
  3227. elseif _IsOn and (input.KeyCode ==_CTRL["ContlrShiftUp"] or (_MSteer and input.KeyCode==_CTRL["MouseShiftUp"]) or ((not _MSteer) and input.KeyCode==_CTRL["ShiftUp"])) and (_TMode=="Semi" or (_TMode=="Manual" and (not _ClutchOn))) and input.UserInputState == Enum.UserInputState.Begin then
  3228. if _CGear == 0 and (_TMode=="Auto" or not _ClPressing) then _ClutchOn = true end
  3229. _CGear = math.min(_CGear+1,#_Tune.Ratios-2)
  3230. elseif _IsOn and (input.KeyCode ==_CTRL["ContlrClutch"] or (_MSteer and input.KeyCode==_CTRL["MouseClutch"]) or ((not _MSteer) and input.KeyCode==_CTRL["Clutch"])) and _TMode=="Manual" then
  3231. if input.UserInputState == Enum.UserInputState.Begin then
  3232. _ClutchOn = false
  3233. _ClPressing = true
  3234. elseif input.UserInputState == Enum.UserInputState.End then
  3235. _ClutchOn = true
  3236. _ClPressing = false
  3237. end
  3238. elseif _IsOn and input.KeyCode ==_CTRL["ContlrPBrake"] or (_MSteer and input.KeyCode==_CTRL["MousePBrake"]) or ((not _MSteer) and input.KeyCode==_CTRL["PBrake"]) then
  3239. if input.UserInputState == Enum.UserInputState.Begin then
  3240. _PBrake = not _PBrake
  3241. elseif input.UserInputState == Enum.UserInputState.End then
  3242. if car.DriveSeat.Velocity.Magnitude>5 then
  3243. _PBrake = false
  3244. end
  3245. end
  3246. elseif (input.KeyCode == _CTRL["ContlrToggleTMode"] or input.KeyCode==_CTRL["ToggleTransMode"]) and input.UserInputState == Enum.UserInputState.Begin then
  3247. local n=1
  3248. for i,v in pairs(_Tune.TransModes) do
  3249. if v==_TMode then n=i break end
  3250. end
  3251. n=n+1
  3252. if n>#_Tune.TransModes then n=1 end
  3253. _TMode = _Tune.TransModes[n]
  3254. elseif _IsOn and ((not _MSteer) and (input.KeyCode==_CTRL["Throttle"] or input.KeyCode == _CTRL["Throttle2"])) or (input.UserInputType == _CTRL["MouseThrottle"] and _MSteer) then
  3255. if input.UserInputState == Enum.UserInputState.Begin then
  3256. _GThrot = 1
  3257. else
  3258. _GThrot = _Tune.IdleThrottle
  3259. end
  3260. elseif ((not _MSteer) and (input.KeyCode==_CTRL["Brake"] or input.KeyCode == _CTRL["Brake2"])) or (input.UserInputType == _CTRL["MouseBrake"] and _MSteer) then
  3261. if input.UserInputState == Enum.UserInputState.Begin then
  3262. _GBrake = 1
  3263. else
  3264. _GBrake = 0
  3265. end
  3266. elseif (not _MSteer) and (input.KeyCode==_CTRL["SteerLeft"] or input.KeyCode == _CTRL["SteerLeft2"]) then
  3267. if input.UserInputState == Enum.UserInputState.Begin then
  3268. _GSteerT = -1
  3269. _SteerL = true
  3270. else
  3271. if _SteerR then
  3272. _GSteerT = 1
  3273. else
  3274. _GSteerT = 0
  3275. end
  3276. _SteerL = false
  3277. end
  3278. elseif (not _MSteer) and (input.KeyCode==_CTRL["SteerRight"] or input.KeyCode == _CTRL["SteerRight2"]) then
  3279. if input.UserInputState == Enum.UserInputState.Begin then
  3280. _GSteerT = 1
  3281. _SteerR = true
  3282. else
  3283. if _SteerL then
  3284. _GSteerT = -1
  3285. else
  3286. _GSteerT = 0
  3287. end
  3288. _SteerR = false
  3289. end
  3290. elseif input.KeyCode ==_CTRL["ToggleMouseDrive"] then
  3291. if input.UserInputState == Enum.UserInputState.End then
  3292. _MSteer = not _MSteer
  3293. _GThrot = _Tune.IdleThrottle
  3294. _GBrake = 0
  3295. _GSteerT = 0
  3296. _ClutchOn = true
  3297. end
  3298. elseif _IsOn and input.KeyCode == _CTRL["ToggleTCS"] or input.KeyCode == _CTRL["ContlrToggleTCS"] then
  3299. if input.UserInputState == Enum.UserInputState.End then
  3300. _TCS = not _TCS
  3301. end
  3302. end
  3303. if input.UserInputType.Name:find("Gamepad") then
  3304. if input.KeyCode == _CTRL["ContlrSteer"] then
  3305.  
  3306. if input.Position.X>= 0 then
  3307. local cDZone = math.min(.99,_Tune.Peripherals.ControlRDZone/100)
  3308. if math.abs(input.Position.X)>cDZone then
  3309. _GSteerT = (input.Position.X-cDZone)/(1-cDZone)
  3310. else
  3311. _GSteerT = 0
  3312. end
  3313. else
  3314. local cDZone = math.min(.99,_Tune.Peripherals.ControlLDZone/100)
  3315. if math.abs(input.Position.X)>cDZone then
  3316. _GSteerT = (input.Position.X+cDZone)/(1-cDZone)
  3317. else
  3318. _GSteerT = 0
  3319. end
  3320. end
  3321. elseif _IsOn and input.KeyCode == _CTRL["ContlrThrottle"] then
  3322. _GThrot = math.max(_Tune.IdleThrottle,input.Position.Z)
  3323. elseif input.KeyCode == _CTRL["ContlrBrake"] then
  3324. _GBrake = input.Position.Z
  3325. end
  3326. end
  3327. else
  3328. _GThrot = _Tune.IdleThrottle
  3329. _GSteerT = 0
  3330. _GBrake = 0
  3331. if _CGear~=0 then _ClutchOn = true end
  3332. end
  3333. end
  3334. UserInputService.InputBegan:connect(DealWithInput)
  3335. UserInputService.InputChanged:connect(DealWithInput)
  3336. UserInputService.InputEnded:connect(DealWithInput)
  3337.  
  3338. ---Drivetrain Initialize
  3339. local wDia = 0
  3340. local Drive={}
  3341. if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
  3342. for i,v in pairs(car.Wheels:GetChildren()) do
  3343. if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
  3344. table.insert(Drive,v)
  3345. end
  3346. end
  3347. end
  3348. if _Tune.Config == "RWD" or _Tune.Config == "AWD" then
  3349. for i,v in pairs(car.Wheels:GetChildren()) do
  3350. if v.Name=="RL" or v.Name=="RR" or v.Name=="R" then
  3351. table.insert(Drive,v)
  3352. end
  3353. end
  3354. end
  3355. for i,v in pairs(Drive) do
  3356. if v.Size.x>wDia then wDia = v.Size.x end
  3357. end
  3358.  
  3359. for i,v in pairs(car.Wheels:GetChildren()) do
  3360. if math.abs(v["#AV"].maxTorque.Magnitude-_Tune.PBrakeForce)<1 then
  3361. _PBrake=true
  3362. end
  3363. end
  3364.  
  3365. ---Camera
  3366. game:GetService("RunService").RenderStepped:connect(function()
  3367. if _MSteer then
  3368. cam.CameraType = Enum.CameraType.Scriptable
  3369. local pspeed = math.min(1,car.DriveSeat.Velocity.Magnitude/500)
  3370. local cc = car.DriveSeat.Position+Vector3.new(0,8+(pspeed*2),0)-(car.DriveSeat.CFrame.lookVector*17)+(car.DriveSeat.Velocity.Unit*-7*pspeed)
  3371. cam.CoordinateFrame = CFrame.new(cc,car.DriveSeat.Position)
  3372. elseif cam.CameraType ~= Enum.CameraType.Custom then
  3373. cam.CameraType = Enum.CameraType.Custom
  3374. end
  3375. end)
  3376.  
  3377. ---Steering
  3378. function Steering()
  3379. if _MSteer then
  3380. local msWidth = math.max(1,mouse.ViewSizeX*_Tune.Peripherals.MSteerWidth/200)
  3381. local mdZone = _Tune.Peripherals.MSteerDZone/100
  3382. local mST = ((mouse.X-mouse.ViewSizeX/2)/msWidth)
  3383. if math.abs(mST)<=mdZone then
  3384. _GSteerT = 0
  3385. else
  3386. _GSteerT = (math.max(math.min((math.abs(mST)-mdZone),(1-mdZone)),0)/(1-mdZone))^_Tune.MSteerExp * (mST / math.abs(mST))
  3387. end
  3388. end
  3389. if _GSteerC < _GSteerT then
  3390. _GSteerC = math.min(_GSteerT,_GSteerC+_Tune.SteerSpeed)
  3391. else
  3392. _GSteerC = math.max(_GSteerT,_GSteerC-_Tune.SteerSpeed)
  3393. end
  3394. local sDecay = (1-math.min(car.DriveSeat.Velocity.Magnitude/_Tune.SteerDecay,1-_Tune.MinSteer))
  3395. for i,v in pairs(car.Wheels:GetChildren()) do
  3396. if v.Name=="F" then
  3397. v.Arm.Steer.cframe=car.Wheels.F.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerInner*sDecay),0)
  3398. elseif v.Name=="FL" then
  3399. if _GSteerC>= 0 then
  3400. v.Arm.Steer.cframe=car.Wheels.FL.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerOuter*sDecay),0)
  3401. else
  3402. v.Arm.Steer.cframe=car.Wheels.FL.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerInner*sDecay),0)
  3403. end
  3404. elseif v.Name=="FR" then
  3405. if _GSteerC>= 0 then
  3406. v.Arm.Steer.cframe=car.Wheels.FR.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerInner*sDecay),0)
  3407. else
  3408. v.Arm.Steer.cframe=car.Wheels.FR.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerOuter*sDecay),0)
  3409. end
  3410. end
  3411. end
  3412. end
  3413.  
  3414. --Engine
  3415. function Engine()
  3416. --Neutral Gear
  3417. if _CGear==0 then _ClutchOn = false end
  3418.  
  3419. --Car is off
  3420. local revMin = _Tune.IdleRPM
  3421. if not _IsOn then
  3422. revMin = 0
  3423. _CGear = 0
  3424. _ClutchOn = false
  3425. _GThrot = _Tune.IdleThrottle
  3426. end
  3427.  
  3428. --Determine RPM
  3429. local maxSpin=0
  3430. for i,v in pairs(Drive) do
  3431. if v.RotVelocity.Magnitude>maxSpin then maxSpin = v.RotVelocity.Magnitude end
  3432. end
  3433. if _ClutchOn then
  3434. local aRPM = math.max(math.min(maxSpin*_Tune.Ratios[_CGear+2]*_Tune.FinalDrive*30/math.pi,_Tune.Redline+100),revMin)
  3435. local clutchP = math.min(math.abs(aRPM-_RPM)/_Tune.ClutchTol,.9)
  3436. _RPM = ( (_RPM*2*clutchP) + (aRPM*2*(1-clutchP)) )/2
  3437. _HP = (_Tune.Horsepower/2) * math.sin((math.pi/((1+(math.min(10,_Tune.IdleOffset)/100))*_Tune.PeakRPM)) * (_RPM - (((2-(1+(math.min(10,_Tune.IdleOffset)/100)))* _Tune.PeakRPM)/2))) + (_Tune.Horsepower/2)
  3438. _OutTorque = _HP * 5250 / _RPM * _Tune.Ratios[_CGear+2] * _Tune.FinalDrive
  3439. else
  3440. if _GThrot-_Tune.IdleThrottle>0 then
  3441. _RPM = math.min(_RPM+_Tune.RevAccel*_GThrot,_Tune.Redline+100)
  3442. else
  3443. _RPM = math.max(_RPM-_Tune.RevDecay,revMin)
  3444. end
  3445. _OutTorque = 0
  3446. end
  3447.  
  3448. --Rev Limiter
  3449. local spLimit = 0
  3450. if _RPM>_Tune.Redline then
  3451. if _CGear<#_Tune.Ratios-2 then
  3452. _RPM = _RPM-_Tune.RevBounce
  3453. spLimit = 0
  3454. else
  3455. _RPM = _RPM-_Tune.RevBounce*.5
  3456. end
  3457. else
  3458. spLimit = (_Tune.Redline+100)*math.pi/(30*_Tune.Ratios[_CGear+2]*_Tune.FinalDrive)
  3459. end
  3460.  
  3461. --Automatic Transmission
  3462. if _TMode == "Auto" and _IsOn then
  3463. _ClutchOn = true
  3464. if _CGear == 0 then _CGear = 1 end
  3465. if _CGear >= 1 then
  3466. if _CGear==1 and _GBrake > 0 and car.DriveSeat.Velocity.Magnitude < 20 then
  3467. _CGear = -1
  3468. else
  3469. if _Tune.AutoShiftMode == "RPM" then
  3470. if _RPM>(_Tune.PeakRPM+_Tune.AutoUpThresh) then
  3471. _CGear=math.min(_CGear+1,#_Tune.Ratios-2)
  3472. elseif math.max(math.min(maxSpin*_Tune.Ratios[_CGear+1]*_Tune.FinalDrive*30/math.pi,_Tune.Redline+100),_Tune.IdleRPM)<(_Tune.PeakRPM-_Tune.AutoDownThresh) then
  3473. _CGear=math.max(_CGear-1,1)
  3474. end
  3475. else
  3476. if car.DriveSeat.Velocity.Magnitude > math.ceil(wDia*math.pi*(_Tune.PeakRPM+_Tune.AutoUpThresh)/60/_Tune.Ratios[_CGear+2]/_Tune.FinalDrive) then
  3477. _CGear=math.min(_CGear+1,#_Tune.Ratios-2)
  3478. elseif car.DriveSeat.Velocity.Magnitude < math.ceil(wDia*math.pi*(_Tune.PeakRPM-_Tune.AutoDownThresh)/60/_Tune.Ratios[_CGear+1]/_Tune.FinalDrive) then
  3479. _CGear=math.max(_CGear-1,1)
  3480. end
  3481. end
  3482. end
  3483. else
  3484. if _GThrot-_Tune.IdleThrottle > 0 and car.DriveSeat.Velocity.Magnitude < 20 then
  3485. _CGear = 1
  3486. end
  3487. end
  3488. end
  3489.  
  3490. --Differential Stuff
  3491. local fwspeed=0
  3492. local fwcount=0
  3493. local rwspeed=0
  3494. local rwcount=0
  3495.  
  3496. for i,v in pairs(car.Wheels:GetChildren()) do
  3497. if v.Name=="FL" or v.Name=="FR" or v.Name == "F" then
  3498. fwspeed=fwspeed+v.RotVelocity.Magnitude
  3499. fwcount=fwcount+1
  3500. elseif v.Name=="RL" or v.Name=="RR" or v.Name == "R" then
  3501. rwspeed=rwspeed+v.RotVelocity.Magnitude
  3502. rwcount=rwcount+1
  3503. end
  3504. end
  3505. fwspeed=fwspeed/fwcount
  3506. rwspeed=rwspeed/rwcount
  3507. local cwspeed=(fwspeed+rwspeed)/2
  3508.  
  3509. --Apply Forces
  3510. for i,v in pairs(car.Wheels:GetChildren()) do
  3511. local Ref=v.Axle.CFrame.lookVector
  3512. local aRef=1
  3513. local diffMult=1
  3514. if v.Name=="FL" or v.Name=="RL" then aRef=-1 end
  3515.  
  3516. --Torque Compensation
  3517. if _Tune.Config ~= "AWD" then _OutTorque = _OutTorque*1.3 end
  3518.  
  3519. --Differential
  3520. if v.Name=="FL" or v.Name=="FR" then
  3521. diffMult=math.max(0,math.min(1,1+((((v.RotVelocity.Magnitude-fwspeed)/fwspeed)/(math.max(_Tune.FDiffSlipThres,1)/100))*((_Tune.FDiffLockThres-50)/50))))
  3522. if _Tune.Config == "AWD" then
  3523. diffMult=math.max(0,math.min(1,diffMult*(1+((((fwspeed-cwspeed)/cwspeed)/(math.max(_Tune.CDiffSlipThres,1)/100))*((_Tune.CDiffLockThres-50)/50)))))
  3524. end
  3525. elseif v.Name=="RL" or v.Name=="RR" then
  3526. diffMult=math.max(0,math.min(1,1+((((v.RotVelocity.Magnitude-rwspeed)/rwspeed)/(math.max(_Tune.RDiffSlipThres,1)/100))*((_Tune.RDiffLockThres-50)/50))))
  3527. if _Tune.Config == "AWD" then
  3528. diffMult=math.max(0,math.min(1,diffMult*(1+((((rwspeed-cwspeed)/cwspeed)/(math.max(_Tune.CDiffSlipThres,1)/100))*((_Tune.CDiffLockThres-50)/50)))))
  3529. end
  3530. end
  3531.  
  3532. --Output
  3533. if _PBrake and ((_Tune.Config ~= "FWD" and (((v.Name=="FL" or v.Name=="FR") and car.DriveSeat.Velocity.Magnitude<20) or ((v.Name=="RR" or v.Name=="RL") and car.DriveSeat.Velocity.Magnitude>=20))) or (_Tune.Config == "FWD" and (v.Name=="RR" or v.Name=="RL"))) then
  3534. v["#AV"].maxTorque=Vector3.new(math.abs(Ref.x),math.abs(Ref.y),math.abs(Ref.z))*_Tune.PBrakeForce
  3535. v["#AV"].angularvelocity=Vector3.new()
  3536. else
  3537. if ((_TMode == "Manual" or _TMode == "Semi") and _GBrake==0) or (_TMode == "Auto" and ((_CGear>-1 and _GBrake==0 ) or (_CGear==-1 and _GThrot-_Tune.IdleThrottle==0 )))then
  3538. local driven = false
  3539. for _,a in pairs(Drive) do if a==v then driven = true end end
  3540. if driven then
  3541. local on=1
  3542. if not script.Parent.IsOn.Value then on=0 end
  3543. local throt = _GThrot
  3544. if _TMode == "Auto" and _CGear==-1 then throt = _GBrake end
  3545. local tqTCS = 1
  3546. if _TCS then
  3547. tqTCS = 1-(math.min(math.max(0,math.abs(v.RotVelocity.Magnitude*(v.Size.x/2) - v.Velocity.Magnitude)-_Tune.TCSThreshold)/_Tune.TCSGradient,1)*(1-_Tune.TCSLimit))
  3548. end
  3549. if tqTCS < 1 then
  3550. _TCSActive = true
  3551. else
  3552. _TCSActive = false
  3553. end
  3554. local dir = 1
  3555. if _CGear==-1 then dir = -1 end
  3556. v["#AV"].maxTorque=Vector3.new(math.abs(Ref.x),math.abs(Ref.y),math.abs(Ref.z))*_OutTorque*(1+(v.RotVelocity.Magnitude/60)^1.15)*throt*tqTCS*diffMult*on
  3557. v["#AV"].angularvelocity=Ref*aRef*spLimit*dir
  3558. else
  3559. v["#AV"].maxTorque=Vector3.new()
  3560. v["#AV"].angularvelocity=Vector3.new()
  3561. end
  3562. else
  3563. local brake = _GBrake
  3564. if _TMode == "Auto" and _CGear==-1 then brake = _GThrot end
  3565. v["#AV"].maxTorque=Vector3.new(math.abs(Ref.x),math.abs(Ref.y),math.abs(Ref.z))*_Tune.BrakeForce*brake
  3566. v["#AV"].angularvelocity=Vector3.new()
  3567. end
  3568. end
  3569. end
  3570. end
  3571.  
  3572.  
  3573. ---Flip
  3574. function Flip()
  3575. if (car.DriveSeat.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector.y > .1 or FlipDB then
  3576. FlipWait=tick()
  3577. else
  3578. if tick()-FlipWait>=3 then
  3579. FlipDB=true
  3580. local gyro = car.DriveSeat.Flip
  3581. gyro.maxTorque = Vector3.new(10000,0,10000)
  3582. gyro.P=3000
  3583. gyro.D=500
  3584. wait(1)
  3585. gyro.maxTorque = Vector3.new(0,0,0)
  3586. gyro.P=0
  3587. gyro.D=0
  3588. FlipDB=false
  3589. end
  3590. end
  3591. end
  3592.  
  3593. --Run
  3594. local ver=require(car["A-Chassis Tune"].README)
  3595. print("//INSPARE: AC6 Loaded - Build "..ver)
  3596.  
  3597. while wait() do
  3598. Steering()
  3599. Engine()
  3600. if _Tune.AutoFlip then Flip() end
  3601.  
  3602. _IsOn = script.Parent.IsOn.Value
  3603. _InControls = script.Parent.ControlsOpen.Value
  3604. script.Parent.Values.Gear.Value = _CGear
  3605. script.Parent.Values.RPM.Value = _RPM
  3606. script.Parent.Values.Horsepower.Value = _HP
  3607. script.Parent.Values.Torque.Value = _HP * 5250 / _RPM
  3608. script.Parent.Values.TransmissionMode.Value = _TMode
  3609. script.Parent.Values.Throttle.Value = _GThrot
  3610. script.Parent.Values.Brake.Value = _GBrake
  3611. script.Parent.Values.SteerC.Value = _GSteerC*(1-math.min(car.DriveSeat.Velocity.Magnitude/_Tune.SteerDecay,1-_Tune.MinSteer))
  3612. script.Parent.Values.SteerT.Value = _GSteerT
  3613. script.Parent.Values.PBrake.Value = _PBrake
  3614. script.Parent.Values.TCS.Value = _TCS
  3615. script.Parent.Values.TCSActive.Value = _TCSActive
  3616. script.Parent.Values.Velocity.Value = car.DriveSeat.Velocity
  3617.  
  3618. if _PGear~=_CGear then
  3619. _PGear=_CGear
  3620. car.DriveSeat.MaxSpeed = car.DriveSeat.Velocity.Magnitude*(_Tune.Redline/_RPM)
  3621. end
  3622. end
  3623.  
  3624.  
  3625. end,o185)
  3626. end))
  3627. o186.Name = " Initialize"
  3628. o186.Parent = mas
  3629. table.insert(cors,coroutine.create(function()
  3630. wait()
  3631. runDummyScript(function()
  3632. --BasedWeld2.0
  3633. local JS = game:GetService("JointsService")
  3634. function MakeWeld(x,y,type,s)
  3635. if type==nil then type="Weld" end
  3636. local W=Instance.new(type,JS)
  3637. W.Part0=x W.Part1=y
  3638. W.C0=x.CFrame:inverse()*x.CFrame
  3639. W.C1=y.CFrame:inverse()*x.CFrame
  3640. if type=="Motor" and s~=nil then
  3641. W.MaxVelocity=s
  3642. end
  3643. return W
  3644. end
  3645.  
  3646. function ModelWeld(a,b)
  3647. if a:IsA("BasePart") then
  3648. MakeWeld(b,a,"Weld")
  3649. elseif a:IsA("Model") then
  3650. for i,v in pairs(a:GetChildren()) do
  3651. ModelWeld(v,b)
  3652. end
  3653. end
  3654. end
  3655.  
  3656. function UnAnchor(a)
  3657. if a:IsA("BasePart") then a.Anchored=false end for i,v in pairs(a:GetChildren()) do UnAnchor(v) end
  3658. end
  3659. --
  3660. script.Parent:WaitForChild("A-Chassis Interface")
  3661. script.Parent:WaitForChild("Plugins")
  3662. script.Parent:WaitForChild("README")
  3663.  
  3664. local car=script.Parent.Parent
  3665. local _Tune=require(script.Parent)
  3666.  
  3667. local Drive=car.Wheels:GetChildren()
  3668.  
  3669. function getParts(model,t,a)
  3670. for i,v in pairs(model:GetChildren()) do
  3671. if v:IsA("BasePart") then table.insert(t,{v,a.CFrame:toObjectSpace(v.CFrame)})
  3672. elseif v:IsA("Model") then getParts(v,t,a)
  3673. end
  3674. end
  3675. end
  3676.  
  3677. for _,v in pairs(Drive) do
  3678.  
  3679. for _,a in pairs({"Top","Bottom","Left","Right","Front","Back"}) do
  3680. v[a.."Surface"]=Enum.SurfaceType.SmoothNoOutlines
  3681. end
  3682.  
  3683. local WParts = {}
  3684.  
  3685. local tPos = v.Position-car.DriveSeat.Position
  3686. if v.Name=="FL" or v.Name=="RL" then
  3687. v.CFrame = car.DriveSeat.CFrame*CFrame.Angles(math.rad(90),0,math.rad(90))
  3688. else
  3689. v.CFrame = car.DriveSeat.CFrame*CFrame.Angles(math.rad(90),0,math.rad(-90))
  3690. end
  3691. v.CFrame = v.CFrame+tPos
  3692.  
  3693. if v:FindFirstChild("Parts")~=nil then
  3694. getParts(v.Parts,WParts,v)
  3695. end
  3696. if v:FindFirstChild("Fixed")~=nil then
  3697. getParts(v.Fixed,WParts,v)
  3698. end
  3699.  
  3700. if v.Name=="FL" or v.Name=="FR" then
  3701. v.CFrame = v.CFrame*CFrame.Angles(math.rad(_Tune.FCamber),0,0)
  3702. if v.Name=="FL" then
  3703. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(_Tune.FToe))
  3704. else
  3705. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(-_Tune.FToe))
  3706. end
  3707. elseif v.Name=="RL" or v.Name=="RR" then
  3708. v.CFrame = v.CFrame*CFrame.Angles(math.rad(_Tune.RCamber),0,0)
  3709. if v.Name=="RL" then
  3710. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(_Tune.RToe))
  3711. else
  3712. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(-_Tune.RToe))
  3713. end
  3714. end
  3715.  
  3716. for _,a in pairs(WParts) do
  3717. a[1].CFrame=v.CFrame:toWorldSpace(a[2])
  3718. end
  3719.  
  3720. if v.Name=="FL" then
  3721. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(-_Tune.FCaster),0)
  3722. elseif v.Name=="FR" or v.Name=="F" then
  3723. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(_Tune.FCaster),0)
  3724. elseif v.Name=="RL" then
  3725. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(-_Tune.RCaster),0)
  3726. elseif v.Name=="RR" or v.Name=="R" then
  3727. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(_Tune.RCaster),0)
  3728. end
  3729.  
  3730. local arm=Instance.new("Part",v)
  3731. arm.Name="Arm"
  3732. arm.Anchored=true
  3733. arm.CanCollide=false
  3734. arm.FormFactor=Enum.FormFactor.Custom
  3735. arm.Size=Vector3.new(1,1,1)
  3736. arm.CFrame=(v.CFrame*CFrame.new(0,_Tune.StAxisOffset,0))*CFrame.Angles(-math.pi/2,-math.pi/2,0)
  3737. arm.TopSurface=Enum.SurfaceType.Smooth
  3738. arm.BottomSurface=Enum.SurfaceType.Smooth
  3739. arm.Transparency=1
  3740.  
  3741. local base=arm:Clone()
  3742. base.Parent=v
  3743. base.Name="Base"
  3744. base.CFrame=base.CFrame*CFrame.new(0,1,0)
  3745. base.BottomSurface=Enum.SurfaceType.Hinge
  3746.  
  3747. local axle=arm:Clone()
  3748. axle.Parent=v
  3749. axle.Name="Axle"
  3750. axle.CFrame=CFrame.new(v.Position-((v.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector*((v.Size.x/2)+(axle.Size.x/2))),v.Position)*CFrame.Angles(0,math.pi,0)
  3751. axle.BackSurface=Enum.SurfaceType.Hinge
  3752.  
  3753. if v.Name=="F" or v.Name=="R" then
  3754. local axle2=arm:Clone()
  3755. axle2.Parent=v
  3756. axle2.Name="Axle"
  3757. axle2.CFrame=CFrame.new(v.Position+((v.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector*((v.Size.x/2)+(axle2.Size.x/2))),v.Position)*CFrame.Angles(0,math.pi,0)
  3758. axle2.BackSurface=Enum.SurfaceType.Hinge
  3759. MakeWeld(arm,axle2)
  3760. end
  3761.  
  3762. MakeWeld(car.DriveSeat,base)
  3763. if v.Parent.Name == "RL" or v.Parent.Name == "RR" or v.Name=="R" then
  3764. MakeWeld(car.DriveSeat,arm)
  3765. end
  3766.  
  3767. MakeWeld(arm,axle)
  3768.  
  3769. arm:MakeJoints()
  3770. axle:MakeJoints()
  3771.  
  3772.  
  3773. if v:FindFirstChild("Fixed")~=nil then
  3774. ModelWeld(v.Fixed,axle)
  3775. end
  3776.  
  3777. if v:FindFirstChild("Parts")~=nil then
  3778. ModelWeld(v.Parts,v)
  3779. end
  3780.  
  3781. if v:FindFirstChild("Steer") then
  3782. v:FindFirstChild("Steer"):Destroy()
  3783. end
  3784.  
  3785. local gyro=Instance.new("BodyGyro",v)
  3786. gyro.Name="Stabilizer"
  3787. if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
  3788. gyro.D=_Tune.FGyroD
  3789. gyro.MaxTorque=_Tune.FGyroMaxTorque
  3790. gyro.P=_Tune.FGyroP
  3791. else
  3792. gyro.D=_Tune.RGyroD
  3793. gyro.MaxTorque=_Tune.RGyroMaxTorque
  3794. gyro.P=_Tune.RGyroP
  3795. end
  3796.  
  3797. if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
  3798. local steer=Instance.new("BodyGyro",arm)
  3799. steer.Name="Steer"
  3800. steer.P=_Tune.SteerP
  3801. steer.D=_Tune.SteerD
  3802. steer.MaxTorque=Vector3.new(0,_Tune.SteerMaxTorque,0)
  3803. steer.cframe=base.CFrame
  3804. else
  3805. MakeWeld(base,axle,"Weld")
  3806. end
  3807.  
  3808. local AV=Instance.new("BodyAngularVelocity",v)
  3809. AV.Name="#AV"
  3810. AV.angularvelocity=Vector3.new(0,0,0)
  3811. AV.maxTorque=Vector3.new(_Tune.PBrakeForce,0,_Tune.PBrakeForce)
  3812. AV.P=1e9
  3813. end
  3814.  
  3815. for i,v in pairs(script:GetChildren()) do
  3816. if v:IsA("ModuleScript") then
  3817. require(v)
  3818. end
  3819. end
  3820.  
  3821. wait()
  3822. ModelWeld(car.Body,car.DriveSeat)
  3823.  
  3824. local flipG = Instance.new("BodyGyro",car.DriveSeat)
  3825. flipG.Name = "Flip"
  3826. flipG.D = 0
  3827. flipG.MaxTorque = Vector3.new(0,0,0)
  3828. flipG.P = 0
  3829.  
  3830. wait()
  3831.  
  3832. UnAnchor(car)
  3833.  
  3834. script.Parent["A-Chassis Interface"].Car.Value=car
  3835. for i,v in pairs(script.Parent.Plugins:GetChildren()) do
  3836. for _,a in pairs(v:GetChildren()) do
  3837. if a:IsA("RemoteEvent") or a:IsA("RemoteFunction") then
  3838. a.Parent=car
  3839. for _,b in pairs(a:GetChildren()) do
  3840. if b:IsA("Script") then b.Disabled=false end
  3841. end
  3842. end
  3843. end
  3844. v.Parent = script.Parent["A-Chassis Interface"]
  3845. end
  3846. script.Parent.Plugins:Destroy()
  3847.  
  3848. car.DriveSeat.ChildAdded:connect(function(child)
  3849. if child.Name=="SeatWeld" and child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
  3850. local p=game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  3851. car.DriveSeat:SetNetworkOwner(p)
  3852. local g=script.Parent["A-Chassis Interface"]:Clone()
  3853. g.Parent=p.PlayerGui
  3854. end
  3855. end)
  3856. car.DriveSeat.ChildRemoved:connect(function(child)
  3857. if child.Name=="SeatWeld" and child:IsA("Weld") then
  3858. for i,v in pairs(car.DriveSeat:GetChildren()) do
  3859. if v:IsA("Sound") then v:Stop() end
  3860. end
  3861. if car.DriveSeat:FindFirstChild("Flip")~=nil then
  3862. car.DriveSeat.Flip.MaxTorque = Vector3.new()
  3863. end
  3864. for i,v in pairs(car.Wheels:GetChildren()) do
  3865. if v:FindFirstChild("#AV")~=nil then
  3866. if v["#AV"].AngularVelocity.Magnitude>0 then
  3867. v["#AV"].AngularVelocity = Vector3.new()
  3868. v["#AV"].MaxTorque = Vector3.new()
  3869. end
  3870. end
  3871. end
  3872. end
  3873. end)
  3874.  
  3875. ver = require(script.Parent.README)
  3876. end,o186)
  3877. end))
  3878. o189.Name = "Indicator2"
  3879. o189.Parent = o2
  3880. o189.Pitch = 0.69999998807907
  3881. o189.SoundId = "rbxassetid://190126363"
  3882. o189.Volume = 0.30000001192093
  3883. o190.Name = "TL"
  3884. o190.Parent = o2
  3885. o191.Name = "Gui Giver"
  3886. o191.Parent = o2
  3887. o191.Disabled = true
  3888. table.insert(cors,coroutine.create(function()
  3889. wait()
  3890. runDummyScript(function()
  3891. GUI = script.Parent.SS3
  3892.  
  3893. script.Parent.ChildAdded:connect(function(child)
  3894. if child:IsA("Weld") then
  3895. -- child.C0 = CFrame.new(0,-0.6,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) --// Reposition player
  3896. if child.Part1.Name == "HumanoidRootPart" then
  3897. player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  3898. if player and (not player.PlayerGui:FindFirstChild("Screen")) then --// The part after the "and" prevents multiple GUI's to be copied over.
  3899. GUI.CarSeat.Value = script.Parent --// Puts a reference of the seat in this ObjectValue, now you can use this ObjectValue's value to find the car directly.
  3900. GUI:Clone().Parent = player.PlayerGui --// Compact version
  3901. script.Parent.Parent.Body.Lights.RunL.Material = "Neon"
  3902. script.Parent.Parent.Body.Lights.RunR.Material = "Neon"
  3903. script.Parent.Parent.Body.Dash.DashSc.G.Enabled = true
  3904. script.Parent.Parent.Body.Dash.S.G.Enabled = true
  3905. end
  3906. end
  3907. end
  3908. end)
  3909.  
  3910. script.Parent.ChildRemoved:connect(function(child)
  3911. if child:IsA("Weld") then
  3912. if child.Part1.Name == "HumanoidRootPart" then
  3913. game.Workspace.CurrentCamera.FieldOfView = 70
  3914. player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  3915. if player and player.PlayerGui:FindFirstChild("SS3") then
  3916. player.PlayerGui:FindFirstChild("SS3"):Destroy()
  3917. script.Parent.Parent.Body.Lights.RunL.Material = "SmoothPlastic"
  3918. script.Parent.Parent.Body.Lights.RunR.Material = "SmoothPlastic"
  3919. script.Parent.Parent.Body.Dash.DashSc.G.Enabled = false
  3920. script.Parent.Parent.Body.Dash.S.G.Enabled = false
  3921. end
  3922. end
  3923. end
  3924. end)
  3925.  
  3926.  
  3927. end,o191)
  3928. end))
  3929. o192.Name = "TheFix"
  3930. o192.Parent = o191
  3931. table.insert(cors,coroutine.create(function()
  3932. wait()
  3933. runDummyScript(function()
  3934. wait(2)
  3935. script.Parent.Disabled = false
  3936. end,o192)
  3937. end))
  3938. o193.Name = "Unlock"
  3939. o193.Parent = o2
  3940. o193.SoundId = "rbxassetid://588504467"
  3941. o193.Volume = 0.64999997615814
  3942. o194.Name = "Lock"
  3943. o194.Parent = o2
  3944. o194.SoundId = "rbxassetid://588504467"
  3945. o194.Volume = 0.64999997615814
  3946. o195.Name = "Horsepower"
  3947. o195.Parent = o2
  3948. o196.Name = "Indicator"
  3949. o196.Parent = o2
  3950. o197.Name = "IsOn"
  3951. o197.Parent = o2
  3952. o198.Name = "LI"
  3953. o198.Parent = o2
  3954. o199.Name = "PSL"
  3955. o199.Parent = o2
  3956. o200.Name = "RI"
  3957. o200.Parent = o2
  3958. o201.Name = "RPM"
  3959. o201.Parent = o2
  3960. o203.Name = "Plugins"
  3961. o203.Parent = mas
  3962. o204.Name = "Inspare_Splash"
  3963. o204.Parent = o203
  3964. o204.Size = UDim2.new(1,0,1,0)
  3965. o204.BackgroundColor3 = Color3.new(1, 1, 1)
  3966. o204.BackgroundTransparency = 1
  3967. o204.BorderSizePixel = 0
  3968. o205.Name = "Inspare_Splash"
  3969. o205.Parent = o204
  3970. table.insert(cors,coroutine.create(function()
  3971. wait()
  3972. runDummyScript(function()
  3973. --SecondLogic @ INSPARE
  3974. wait(.2)
  3975. local out=false
  3976. coroutine.resume(coroutine.create(function()
  3977. local fr = 0
  3978. local trs=1
  3979. while wait(.05) do
  3980. fr = fr+1
  3981. if fr>=10 then fr=0 end
  3982. if not out then
  3983. trs=math.max(0,trs-.05)
  3984. else
  3985. trs=math.min(1,trs+.05)
  3986. end
  3987. for i,v in pairs(script.Parent.Frame:GetChildren()) do
  3988. v.Frame.ImageLabel.ImageTransparency = trs
  3989. v.Frame.ImageLabel.Position=UDim2.new(-(fr%3),0,-math.floor(fr/3),0)
  3990. if out then
  3991. v.BackgroundTransparency=.5+(.5*trs)
  3992. v.Frame.ImageLabel.BackgroundTransparency=trs
  3993. end
  3994. end
  3995. if out then
  3996. script.Parent.IN.TextTransparency=trs
  3997. script.Parent.SPARE.TextTransparency=trs
  3998. end
  3999. if out and trs==1 then
  4000. break
  4001. end
  4002. end
  4003. script.Parent:Destroy()
  4004. end))
  4005.  
  4006. game:GetService("RunService").RenderStepped:connect(function()
  4007. for i,v in pairs(script.Parent.Frame:GetChildren()) do
  4008. v.Frame.Position = UDim2.new(0,-250-v.Position.X.Offset-script.Parent.Frame.Position.X.Offset,0,-136-v.Position.Y.Offset)
  4009. end
  4010. end)
  4011.  
  4012. script.Parent.Frame:TweenPosition(UDim2.new(0,-100,0,0),Enum.EasingDirection.InOut,Enum.EasingStyle.Linear,10)
  4013. script.Parent.IN:TweenPosition(UDim2.new(0.5,-74,0.5,100),Enum.EasingDirection.InOut,Enum.EasingStyle.Linear,10)
  4014. script.Parent.SPARE:TweenPosition(UDim2.new(0.5,6,0.5,100),Enum.EasingDirection.InOut,Enum.EasingStyle.Linear,10)
  4015.  
  4016. script.Parent.Frame.B:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4017. script.Parent.Frame.C:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4018. script.Parent.Frame.D:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4019. script.Parent.Frame.E:TweenPosition(UDim2.new(0.5, -44,0.5, -134),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4020. wait(.35)
  4021. script.Parent.Frame.C:TweenPosition(UDim2.new(0.5, -44,0.5, -44),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4022. script.Parent.Frame.D:TweenPosition(UDim2.new(0.5, -44,0.5, 46),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4023. script.Parent.Frame.E:TweenPosition(UDim2.new(0.5, -44,0.5, 46),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4024. wait(.35)
  4025. script.Parent.Frame.E:TweenPosition(UDim2.new(0.5, -134,0.5, 46),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.3)
  4026. wait(1)
  4027. for i=1,30 do
  4028. for _,v in pairs(script.Parent.Frame:GetChildren()) do
  4029. v.BackgroundTransparency=1-(i/60)
  4030. end
  4031. script.Parent.IN.TextTransparency=1-(i/30)
  4032. script.Parent.SPARE.TextTransparency=1-(i/30)
  4033. wait(.01)
  4034. end
  4035. wait(1.5)
  4036. out=true
  4037. end,o205)
  4038. end))
  4039. o206.Parent = o204
  4040. o206.Position = UDim2.new(0,50,0,0)
  4041. o206.Size = UDim2.new(1,0,1,0)
  4042. o206.Position = UDim2.new(0,50,0,0)
  4043. o206.BackgroundColor3 = Color3.new(1, 1, 1)
  4044. o206.BackgroundTransparency = 1
  4045. o206.BorderSizePixel = 0
  4046. o207.Name = "C"
  4047. o207.Parent = o206
  4048. o207.Position = UDim2.new(0.5,46,0.5,-134)
  4049. o207.Size = UDim2.new(0,88,0,88)
  4050. o207.Position = UDim2.new(0.5,46,0.5,-134)
  4051. o207.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  4052. o207.BackgroundTransparency = 1
  4053. o207.BorderSizePixel = 0
  4054. o207.ZIndex = 3
  4055. o207.ClipsDescendants = true
  4056. o208.Parent = o207
  4057. o208.Position = UDim2.new(0,-250,0,-136)
  4058. o208.Size = UDim2.new(0,500,0,272)
  4059. o208.Position = UDim2.new(0,-250,0,-136)
  4060. o208.BackgroundColor3 = Color3.new(1, 1, 1)
  4061. o208.BackgroundTransparency = 1
  4062. o208.BorderSizePixel = 0
  4063. o208.ClipsDescendants = true
  4064. o209.Parent = o208
  4065. o209.Size = UDim2.new(0,1500,0,1088)
  4066. o209.BackgroundColor3 = Color3.new(1, 1, 1)
  4067. o209.ZIndex = 2
  4068. o209.Image = "rbxassetid://423455664"
  4069. o209.ImageTransparency = 1
  4070. o210.Name = "B"
  4071. o210.Parent = o206
  4072. o210.Position = UDim2.new(0.5,46,0.5,-134)
  4073. o210.Size = UDim2.new(0,88,0,88)
  4074. o210.Position = UDim2.new(0.5,46,0.5,-134)
  4075. o210.BackgroundColor3 = Color3.new(1, 1, 1)
  4076. o210.BackgroundTransparency = 1
  4077. o210.BorderSizePixel = 0
  4078. o210.ZIndex = 3
  4079. o210.ClipsDescendants = true
  4080. o211.Parent = o210
  4081. o211.Position = UDim2.new(0,-250,0,-136)
  4082. o211.Size = UDim2.new(0,500,0,272)
  4083. o211.Position = UDim2.new(0,-250,0,-136)
  4084. o211.BackgroundColor3 = Color3.new(1, 1, 1)
  4085. o211.BackgroundTransparency = 1
  4086. o211.BorderSizePixel = 0
  4087. o211.ClipsDescendants = true
  4088. o212.Parent = o211
  4089. o212.Size = UDim2.new(0,1500,0,1088)
  4090. o212.BackgroundColor3 = Color3.new(1, 1, 1)
  4091. o212.ZIndex = 2
  4092. o212.Image = "rbxassetid://423455664"
  4093. o212.ImageTransparency = 1
  4094. o213.Name = "D"
  4095. o213.Parent = o206
  4096. o213.Position = UDim2.new(0.5,46,0.5,-134)
  4097. o213.Size = UDim2.new(0,88,0,88)
  4098. o213.Position = UDim2.new(0.5,46,0.5,-134)
  4099. o213.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  4100. o213.BackgroundTransparency = 1
  4101. o213.BorderSizePixel = 0
  4102. o213.ZIndex = 3
  4103. o213.ClipsDescendants = true
  4104. o214.Parent = o213
  4105. o214.Position = UDim2.new(0,-250,0,-136)
  4106. o214.Size = UDim2.new(0,500,0,272)
  4107. o214.Position = UDim2.new(0,-250,0,-136)
  4108. o214.BackgroundColor3 = Color3.new(1, 1, 1)
  4109. o214.BackgroundTransparency = 1
  4110. o214.BorderSizePixel = 0
  4111. o214.ClipsDescendants = true
  4112. o215.Parent = o214
  4113. o215.Size = UDim2.new(0,1500,0,1088)
  4114. o215.BackgroundColor3 = Color3.new(1, 1, 1)
  4115. o215.ZIndex = 2
  4116. o215.Image = "rbxassetid://423455664"
  4117. o215.ImageTransparency = 1
  4118. o216.Name = "E"
  4119. o216.Parent = o206
  4120. o216.Position = UDim2.new(0.5,46,0.5,-134)
  4121. o216.Size = UDim2.new(0,88,0,88)
  4122. o216.Position = UDim2.new(0.5,46,0.5,-134)
  4123. o216.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  4124. o216.BackgroundTransparency = 1
  4125. o216.BorderSizePixel = 0
  4126. o216.ZIndex = 3
  4127. o216.ClipsDescendants = true
  4128. o217.Parent = o216
  4129. o217.Position = UDim2.new(0,-250,0,-136)
  4130. o217.Size = UDim2.new(0,500,0,272)
  4131. o217.Position = UDim2.new(0,-250,0,-136)
  4132. o217.BackgroundColor3 = Color3.new(1, 1, 1)
  4133. o217.BackgroundTransparency = 1
  4134. o217.BorderSizePixel = 0
  4135. o217.ClipsDescendants = true
  4136. o218.Parent = o217
  4137. o218.Size = UDim2.new(0,1500,0,1088)
  4138. o218.BackgroundColor3 = Color3.new(1, 1, 1)
  4139. o218.ZIndex = 2
  4140. o218.Image = "rbxassetid://423455664"
  4141. o218.ImageTransparency = 1
  4142. o219.Name = "A"
  4143. o219.Parent = o206
  4144. o219.Position = UDim2.new(0.5,46,0.5,-134)
  4145. o219.Size = UDim2.new(0,88,0,88)
  4146. o219.Position = UDim2.new(0.5,46,0.5,-134)
  4147. o219.BackgroundColor3 = Color3.new(1, 1, 1)
  4148. o219.BackgroundTransparency = 1
  4149. o219.BorderSizePixel = 0
  4150. o219.ZIndex = 3
  4151. o219.ClipsDescendants = true
  4152. o220.Parent = o219
  4153. o220.Position = UDim2.new(0,-250,0,-136)
  4154. o220.Size = UDim2.new(0,500,0,272)
  4155. o220.Position = UDim2.new(0,-250,0,-136)
  4156. o220.BackgroundColor3 = Color3.new(1, 1, 1)
  4157. o220.BackgroundTransparency = 1
  4158. o220.BorderSizePixel = 0
  4159. o220.ClipsDescendants = true
  4160. o221.Parent = o220
  4161. o221.Size = UDim2.new(0,1500,0,1088)
  4162. o221.BackgroundColor3 = Color3.new(1, 1, 1)
  4163. o221.ZIndex = 2
  4164. o221.Image = "rbxassetid://423455664"
  4165. o221.ImageTransparency = 1
  4166. o222.Name = "IN"
  4167. o222.Parent = o204
  4168. o222.Position = UDim2.new(0.5,76,0.5,100)
  4169. o222.Text = "IN"
  4170. o222.Position = UDim2.new(0.5,76,0.5,100)
  4171. o222.BackgroundColor3 = Color3.new(1, 1, 1)
  4172. o222.BackgroundTransparency = 1
  4173. o222.BorderSizePixel = 0
  4174. o222.ZIndex = 5
  4175. o222.Font = Enum.Font.Arial
  4176. o222.FontSize = Enum.FontSize.Size48
  4177. o222.TextColor3 = Color3.new(1, 1, 1)
  4178. o222.TextTransparency = 1
  4179. o223.Name = "SPARE"
  4180. o223.Parent = o204
  4181. o223.Position = UDim2.new(0.5,156,0.5,100)
  4182. o223.Text = "SPARE"
  4183. o223.Position = UDim2.new(0.5,156,0.5,100)
  4184. o223.BackgroundColor3 = Color3.new(1, 1, 1)
  4185. o223.BackgroundTransparency = 1
  4186. o223.BorderSizePixel = 0
  4187. o223.ZIndex = 5
  4188. o223.Font = Enum.Font.Arial
  4189. o223.FontSize = Enum.FontSize.Size48
  4190. o223.TextColor3 = Color3.new(1, 0.666667, 0)
  4191. o223.TextTransparency = 1
  4192. o224.Name = "AC6_Controls_Module"
  4193. o224.Parent = o203
  4194. o224.Size = UDim2.new(1,0,1,0)
  4195. o224.BackgroundColor3 = Color3.new(1, 1, 1)
  4196. o224.BackgroundTransparency = 1
  4197. o224.BorderSizePixel = 0
  4198. o225.Name = "Toggle"
  4199. o225.Parent = o224
  4200. o225.Position = UDim2.new(0,50,1,-30)
  4201. o225.Size = UDim2.new(0,120,0,27)
  4202. o225.Text = "Controls"
  4203. o225.Position = UDim2.new(0,50,1,-30)
  4204. o225.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  4205. o225.BackgroundTransparency = 0.5
  4206. o225.BorderColor3 = Color3.new(0.588235, 0.588235, 0.588235)
  4207. o225.BorderSizePixel = 0
  4208. o225.Font = Enum.Font.Arial
  4209. o225.FontSize = Enum.FontSize.Size24
  4210. o225.TextColor3 = Color3.new(1, 1, 1)
  4211. o225.TextStrokeColor3 = Color3.new(0.415686, 0.415686, 0.415686)
  4212. o225.TextStrokeTransparency = 0.5
  4213. o226.Name = "Window"
  4214. o226.Parent = o224
  4215. o226.Position = UDim2.new(0.5,-250,0,-500)
  4216. o226.Size = UDim2.new(0,500,0,400)
  4217. o226.Position = UDim2.new(0.5,-250,0,-500)
  4218. o226.BackgroundColor3 = Color3.new(0, 0, 0)
  4219. o226.BackgroundTransparency = 0.5
  4220. o226.BorderSizePixel = 0
  4221. o226.ClipsDescendants = true
  4222. o227.Name = "Tabs"
  4223. o227.Parent = o226
  4224. o227.Position = UDim2.new(0,5,0,40)
  4225. o227.Size = UDim2.new(0,490,0,20)
  4226. o227.Position = UDim2.new(0,5,0,40)
  4227. o227.BackgroundColor3 = Color3.new(1, 1, 1)
  4228. o227.BackgroundTransparency = 1
  4229. o227.BorderSizePixel = 0
  4230. o227.ClipsDescendants = true
  4231. o228.Name = "Line"
  4232. o228.Parent = o227
  4233. o228.Size = UDim2.new(1,0,0,2)
  4234. o228.BackgroundColor3 = Color3.new(1, 1, 1)
  4235. o228.BorderSizePixel = 0
  4236. o229.Name = "Keyboard"
  4237. o229.Parent = o227
  4238. o229.Position = UDim2.new(0,5,0,0)
  4239. o229.Size = UDim2.new(0,100,0,20)
  4240. o229.Text = "Keyboard"
  4241. o229.Position = UDim2.new(0,5,0,0)
  4242. o229.BackgroundColor3 = Color3.new(1, 1, 1)
  4243. o229.BorderSizePixel = 0
  4244. o229.Font = Enum.Font.SourceSans
  4245. o229.FontSize = Enum.FontSize.Size14
  4246. o229.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4247. o229.TextStrokeTransparency = 0.94999998807907
  4248. o229.TextYAlignment = Enum.TextYAlignment.Bottom
  4249. o230.Name = "Mouse"
  4250. o230.Parent = o227
  4251. o230.Position = UDim2.new(0,120,0,-5)
  4252. o230.Size = UDim2.new(0,100,0,20)
  4253. o230.Text = "Mouse"
  4254. o230.Position = UDim2.new(0,120,0,-5)
  4255. o230.BackgroundColor3 = Color3.new(1, 1, 1)
  4256. o230.BorderSizePixel = 0
  4257. o230.Font = Enum.Font.SourceSans
  4258. o230.FontSize = Enum.FontSize.Size14
  4259. o230.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4260. o230.TextStrokeTransparency = 0.94999998807907
  4261. o230.TextYAlignment = Enum.TextYAlignment.Bottom
  4262. o231.Name = "Controller"
  4263. o231.Parent = o227
  4264. o231.Position = UDim2.new(0,235,0,-5)
  4265. o231.Size = UDim2.new(0,100,0,20)
  4266. o231.Text = "Controller"
  4267. o231.Position = UDim2.new(0,235,0,-5)
  4268. o231.BackgroundColor3 = Color3.new(1, 1, 1)
  4269. o231.BorderSizePixel = 0
  4270. o231.Font = Enum.Font.SourceSans
  4271. o231.FontSize = Enum.FontSize.Size14
  4272. o231.TextColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4273. o231.TextStrokeTransparency = 0.94999998807907
  4274. o231.TextYAlignment = Enum.TextYAlignment.Bottom
  4275. o232.Name = "Header"
  4276. o232.Parent = o226
  4277. o232.Position = UDim2.new(0,10,0,20)
  4278. o232.Text = "Controls"
  4279. o232.Position = UDim2.new(0,10,0,20)
  4280. o232.BackgroundColor3 = Color3.new(1, 1, 1)
  4281. o232.BackgroundTransparency = 1
  4282. o232.BorderSizePixel = 0
  4283. o232.Font = Enum.Font.SourceSansLight
  4284. o232.FontSize = Enum.FontSize.Size32
  4285. o232.TextColor3 = Color3.new(1, 1, 1)
  4286. o232.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4287. o232.TextStrokeTransparency = 0.94999998807907
  4288. o232.TextXAlignment = Enum.TextXAlignment.Left
  4289. o233.Name = "//INSPARE"
  4290. o233.Parent = o226
  4291. o233.Position = UDim2.new(1,-20,0,20)
  4292. o233.Text = "A-Chassis 6 by //INSPARE"
  4293. o233.Position = UDim2.new(1,-20,0,20)
  4294. o233.BackgroundColor3 = Color3.new(1, 1, 1)
  4295. o233.BackgroundTransparency = 1
  4296. o233.BorderSizePixel = 0
  4297. o233.Font = Enum.Font.SourceSansLight
  4298. o233.FontSize = Enum.FontSize.Size14
  4299. o233.TextColor3 = Color3.new(1, 1, 1)
  4300. o233.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4301. o233.TextStrokeTransparency = 0.94999998807907
  4302. o233.TextXAlignment = Enum.TextXAlignment.Right
  4303. o234.Name = "Content"
  4304. o234.Parent = o226
  4305. o234.Position = UDim2.new(0,0,0,60)
  4306. o234.Size = UDim2.new(1,0,1,-60)
  4307. o234.Position = UDim2.new(0,0,0,60)
  4308. o234.BackgroundColor3 = Color3.new(1, 1, 1)
  4309. o234.BackgroundTransparency = 1
  4310. o234.BorderSizePixel = 0
  4311. o235.Name = "T"
  4312. o235.Parent = o234
  4313. o235.Position = UDim2.new(0,150,0,20)
  4314. o235.Text = "Throttle"
  4315. o235.Position = UDim2.new(0,150,0,20)
  4316. o235.BackgroundColor3 = Color3.new(1, 1, 1)
  4317. o235.BackgroundTransparency = 1
  4318. o235.BorderSizePixel = 0
  4319. o235.Font = Enum.Font.SourceSansItalic
  4320. o235.FontSize = Enum.FontSize.Size18
  4321. o235.TextColor3 = Color3.new(1, 1, 1)
  4322. o235.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4323. o235.TextStrokeTransparency = 0.94999998807907
  4324. o235.TextXAlignment = Enum.TextXAlignment.Right
  4325. o236.Name = "T"
  4326. o236.Parent = o234
  4327. o236.Position = UDim2.new(0,150,0,40)
  4328. o236.Text = "Brakes"
  4329. o236.Position = UDim2.new(0,150,0,40)
  4330. o236.BackgroundColor3 = Color3.new(1, 1, 1)
  4331. o236.BackgroundTransparency = 1
  4332. o236.BorderSizePixel = 0
  4333. o236.Font = Enum.Font.SourceSansItalic
  4334. o236.FontSize = Enum.FontSize.Size18
  4335. o236.TextColor3 = Color3.new(1, 1, 1)
  4336. o236.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4337. o236.TextStrokeTransparency = 0.94999998807907
  4338. o236.TextXAlignment = Enum.TextXAlignment.Right
  4339. o237.Name = "T"
  4340. o237.Parent = o234
  4341. o237.Position = UDim2.new(0,150,0,60)
  4342. o237.Text = "Steer Left"
  4343. o237.Position = UDim2.new(0,150,0,60)
  4344. o237.BackgroundColor3 = Color3.new(1, 1, 1)
  4345. o237.BackgroundTransparency = 1
  4346. o237.BorderSizePixel = 0
  4347. o237.Font = Enum.Font.SourceSansItalic
  4348. o237.FontSize = Enum.FontSize.Size18
  4349. o237.TextColor3 = Color3.new(1, 1, 1)
  4350. o237.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4351. o237.TextStrokeTransparency = 0.94999998807907
  4352. o237.TextXAlignment = Enum.TextXAlignment.Right
  4353. o238.Name = "T"
  4354. o238.Parent = o234
  4355. o238.Position = UDim2.new(0,150,0,80)
  4356. o238.Text = "Steer Right"
  4357. o238.Position = UDim2.new(0,150,0,80)
  4358. o238.BackgroundColor3 = Color3.new(1, 1, 1)
  4359. o238.BackgroundTransparency = 1
  4360. o238.BorderSizePixel = 0
  4361. o238.Font = Enum.Font.SourceSansItalic
  4362. o238.FontSize = Enum.FontSize.Size18
  4363. o238.TextColor3 = Color3.new(1, 1, 1)
  4364. o238.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4365. o238.TextStrokeTransparency = 0.94999998807907
  4366. o238.TextXAlignment = Enum.TextXAlignment.Right
  4367. o239.Name = "T"
  4368. o239.Parent = o234
  4369. o239.Position = UDim2.new(0,150,0,100)
  4370. o239.Text = "[Secondary] Throttle"
  4371. o239.Position = UDim2.new(0,150,0,100)
  4372. o239.BackgroundColor3 = Color3.new(1, 1, 1)
  4373. o239.BackgroundTransparency = 1
  4374. o239.BorderSizePixel = 0
  4375. o239.Font = Enum.Font.SourceSansItalic
  4376. o239.FontSize = Enum.FontSize.Size18
  4377. o239.TextColor3 = Color3.new(1, 1, 1)
  4378. o239.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4379. o239.TextStrokeTransparency = 0.94999998807907
  4380. o239.TextXAlignment = Enum.TextXAlignment.Right
  4381. o240.Name = "T"
  4382. o240.Parent = o234
  4383. o240.Position = UDim2.new(0,150,0,120)
  4384. o240.Text = "[Secondary] Brakes"
  4385. o240.Position = UDim2.new(0,150,0,120)
  4386. o240.BackgroundColor3 = Color3.new(1, 1, 1)
  4387. o240.BackgroundTransparency = 1
  4388. o240.BorderSizePixel = 0
  4389. o240.Font = Enum.Font.SourceSansItalic
  4390. o240.FontSize = Enum.FontSize.Size18
  4391. o240.TextColor3 = Color3.new(1, 1, 1)
  4392. o240.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4393. o240.TextStrokeTransparency = 0.94999998807907
  4394. o240.TextXAlignment = Enum.TextXAlignment.Right
  4395. o241.Name = "T"
  4396. o241.Parent = o234
  4397. o241.Position = UDim2.new(0,150,0,140)
  4398. o241.Text = "[Secondary] Steer Left"
  4399. o241.Position = UDim2.new(0,150,0,140)
  4400. o241.BackgroundColor3 = Color3.new(1, 1, 1)
  4401. o241.BackgroundTransparency = 1
  4402. o241.BorderSizePixel = 0
  4403. o241.Font = Enum.Font.SourceSansItalic
  4404. o241.FontSize = Enum.FontSize.Size18
  4405. o241.TextColor3 = Color3.new(1, 1, 1)
  4406. o241.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4407. o241.TextStrokeTransparency = 0.94999998807907
  4408. o241.TextXAlignment = Enum.TextXAlignment.Right
  4409. o242.Name = "T"
  4410. o242.Parent = o234
  4411. o242.Position = UDim2.new(0,150,0,160)
  4412. o242.Text = "[Secondary] SteerRight"
  4413. o242.Position = UDim2.new(0,150,0,160)
  4414. o242.BackgroundColor3 = Color3.new(1, 1, 1)
  4415. o242.BackgroundTransparency = 1
  4416. o242.BorderSizePixel = 0
  4417. o242.Font = Enum.Font.SourceSansItalic
  4418. o242.FontSize = Enum.FontSize.Size18
  4419. o242.TextColor3 = Color3.new(1, 1, 1)
  4420. o242.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4421. o242.TextStrokeTransparency = 0.94999998807907
  4422. o242.TextXAlignment = Enum.TextXAlignment.Right
  4423. o243.Name = "T"
  4424. o243.Parent = o234
  4425. o243.Position = UDim2.new(0,150,0,180)
  4426. o243.Text = "Shift Up"
  4427. o243.Position = UDim2.new(0,150,0,180)
  4428. o243.BackgroundColor3 = Color3.new(1, 1, 1)
  4429. o243.BackgroundTransparency = 1
  4430. o243.BorderSizePixel = 0
  4431. o243.Font = Enum.Font.SourceSansItalic
  4432. o243.FontSize = Enum.FontSize.Size18
  4433. o243.TextColor3 = Color3.new(1, 1, 1)
  4434. o243.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4435. o243.TextStrokeTransparency = 0.94999998807907
  4436. o243.TextXAlignment = Enum.TextXAlignment.Right
  4437. o244.Name = "T"
  4438. o244.Parent = o234
  4439. o244.Position = UDim2.new(0,150,0,200)
  4440. o244.Text = "Shift Down"
  4441. o244.Position = UDim2.new(0,150,0,200)
  4442. o244.BackgroundColor3 = Color3.new(1, 1, 1)
  4443. o244.BackgroundTransparency = 1
  4444. o244.BorderSizePixel = 0
  4445. o244.Font = Enum.Font.SourceSansItalic
  4446. o244.FontSize = Enum.FontSize.Size18
  4447. o244.TextColor3 = Color3.new(1, 1, 1)
  4448. o244.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4449. o244.TextStrokeTransparency = 0.94999998807907
  4450. o244.TextXAlignment = Enum.TextXAlignment.Right
  4451. o245.Name = "T"
  4452. o245.Parent = o234
  4453. o245.Position = UDim2.new(0,150,0,220)
  4454. o245.Text = "Clutch"
  4455. o245.Position = UDim2.new(0,150,0,220)
  4456. o245.BackgroundColor3 = Color3.new(1, 1, 1)
  4457. o245.BackgroundTransparency = 1
  4458. o245.BorderSizePixel = 0
  4459. o245.Font = Enum.Font.SourceSansItalic
  4460. o245.FontSize = Enum.FontSize.Size18
  4461. o245.TextColor3 = Color3.new(1, 1, 1)
  4462. o245.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4463. o245.TextStrokeTransparency = 0.94999998807907
  4464. o245.TextXAlignment = Enum.TextXAlignment.Right
  4465. o246.Name = "T"
  4466. o246.Parent = o234
  4467. o246.Position = UDim2.new(0,150,0,240)
  4468. o246.Text = "Handbrake"
  4469. o246.Position = UDim2.new(0,150,0,240)
  4470. o246.BackgroundColor3 = Color3.new(1, 1, 1)
  4471. o246.BackgroundTransparency = 1
  4472. o246.BorderSizePixel = 0
  4473. o246.Font = Enum.Font.SourceSansItalic
  4474. o246.FontSize = Enum.FontSize.Size18
  4475. o246.TextColor3 = Color3.new(1, 1, 1)
  4476. o246.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4477. o246.TextStrokeTransparency = 0.94999998807907
  4478. o246.TextXAlignment = Enum.TextXAlignment.Right
  4479. o247.Name = "T"
  4480. o247.Parent = o234
  4481. o247.Position = UDim2.new(0,150,0,260)
  4482. o247.Text = " Transmission Mode"
  4483. o247.Position = UDim2.new(0,150,0,260)
  4484. o247.BackgroundColor3 = Color3.new(1, 1, 1)
  4485. o247.BackgroundTransparency = 1
  4486. o247.BorderSizePixel = 0
  4487. o247.Font = Enum.Font.SourceSansItalic
  4488. o247.FontSize = Enum.FontSize.Size18
  4489. o247.TextColor3 = Color3.new(1, 1, 1)
  4490. o247.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4491. o247.TextStrokeTransparency = 0.94999998807907
  4492. o247.TextXAlignment = Enum.TextXAlignment.Right
  4493. o248.Name = "T"
  4494. o248.Parent = o234
  4495. o248.Position = UDim2.new(0,150,0,280)
  4496. o248.Text = "Toggle TCS"
  4497. o248.Position = UDim2.new(0,150,0,280)
  4498. o248.BackgroundColor3 = Color3.new(1, 1, 1)
  4499. o248.BackgroundTransparency = 1
  4500. o248.BorderSizePixel = 0
  4501. o248.Font = Enum.Font.SourceSansItalic
  4502. o248.FontSize = Enum.FontSize.Size18
  4503. o248.TextColor3 = Color3.new(1, 1, 1)
  4504. o248.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4505. o248.TextStrokeTransparency = 0.94999998807907
  4506. o248.TextXAlignment = Enum.TextXAlignment.Right
  4507. o249.Name = "T"
  4508. o249.Parent = o234
  4509. o249.Position = UDim2.new(0,150,0,300)
  4510. o249.Text = "Switch Mouse Control"
  4511. o249.Position = UDim2.new(0,150,0,300)
  4512. o249.BackgroundColor3 = Color3.new(1, 1, 1)
  4513. o249.BackgroundTransparency = 1
  4514. o249.BorderSizePixel = 0
  4515. o249.Font = Enum.Font.SourceSansItalic
  4516. o249.FontSize = Enum.FontSize.Size18
  4517. o249.TextColor3 = Color3.new(1, 1, 1)
  4518. o249.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4519. o249.TextStrokeTransparency = 0.94999998807907
  4520. o249.TextXAlignment = Enum.TextXAlignment.Right
  4521. o250.Name = "Throttle"
  4522. o250.Parent = o234
  4523. o250.Position = UDim2.new(0,170,0,13)
  4524. o250.Size = UDim2.new(0,300,0,15)
  4525. o250.Position = UDim2.new(0,170,0,13)
  4526. o250.BackgroundColor3 = Color3.new(0, 0, 0)
  4527. o250.BackgroundTransparency = 0.5
  4528. o250.BorderSizePixel = 0
  4529. o250.Font = Enum.Font.SourceSans
  4530. o250.FontSize = Enum.FontSize.Size14
  4531. o250.TextColor3 = Color3.new(1, 1, 1)
  4532. o251.Name = "Brake"
  4533. o251.Parent = o234
  4534. o251.Position = UDim2.new(0,170,0,33)
  4535. o251.Size = UDim2.new(0,300,0,15)
  4536. o251.Position = UDim2.new(0,170,0,33)
  4537. o251.BackgroundColor3 = Color3.new(0, 0, 0)
  4538. o251.BackgroundTransparency = 0.5
  4539. o251.BorderSizePixel = 0
  4540. o251.Font = Enum.Font.SourceSans
  4541. o251.FontSize = Enum.FontSize.Size14
  4542. o251.TextColor3 = Color3.new(1, 1, 1)
  4543. o252.Name = "SteerLeft"
  4544. o252.Parent = o234
  4545. o252.Position = UDim2.new(0,170,0,53)
  4546. o252.Size = UDim2.new(0,300,0,15)
  4547. o252.Position = UDim2.new(0,170,0,53)
  4548. o252.BackgroundColor3 = Color3.new(0, 0, 0)
  4549. o252.BackgroundTransparency = 0.5
  4550. o252.BorderSizePixel = 0
  4551. o252.Font = Enum.Font.SourceSans
  4552. o252.FontSize = Enum.FontSize.Size14
  4553. o252.TextColor3 = Color3.new(1, 1, 1)
  4554. o253.Name = "SteerRight"
  4555. o253.Parent = o234
  4556. o253.Position = UDim2.new(0,170,0,73)
  4557. o253.Size = UDim2.new(0,300,0,15)
  4558. o253.Position = UDim2.new(0,170,0,73)
  4559. o253.BackgroundColor3 = Color3.new(0, 0, 0)
  4560. o253.BackgroundTransparency = 0.5
  4561. o253.BorderSizePixel = 0
  4562. o253.Font = Enum.Font.SourceSans
  4563. o253.FontSize = Enum.FontSize.Size14
  4564. o253.TextColor3 = Color3.new(1, 1, 1)
  4565. o254.Name = "Throttle2"
  4566. o254.Parent = o234
  4567. o254.Position = UDim2.new(0,170,0,93)
  4568. o254.Size = UDim2.new(0,300,0,15)
  4569. o254.Position = UDim2.new(0,170,0,93)
  4570. o254.BackgroundColor3 = Color3.new(0, 0, 0)
  4571. o254.BackgroundTransparency = 0.5
  4572. o254.BorderSizePixel = 0
  4573. o254.Font = Enum.Font.SourceSans
  4574. o254.FontSize = Enum.FontSize.Size14
  4575. o254.TextColor3 = Color3.new(1, 1, 1)
  4576. o255.Name = "Brake2"
  4577. o255.Parent = o234
  4578. o255.Position = UDim2.new(0,170,0,113)
  4579. o255.Size = UDim2.new(0,300,0,15)
  4580. o255.Position = UDim2.new(0,170,0,113)
  4581. o255.BackgroundColor3 = Color3.new(0, 0, 0)
  4582. o255.BackgroundTransparency = 0.5
  4583. o255.BorderSizePixel = 0
  4584. o255.Font = Enum.Font.SourceSans
  4585. o255.FontSize = Enum.FontSize.Size14
  4586. o255.TextColor3 = Color3.new(1, 1, 1)
  4587. o256.Name = "SteerLeft2"
  4588. o256.Parent = o234
  4589. o256.Position = UDim2.new(0,170,0,133)
  4590. o256.Size = UDim2.new(0,300,0,15)
  4591. o256.Position = UDim2.new(0,170,0,133)
  4592. o256.BackgroundColor3 = Color3.new(0, 0, 0)
  4593. o256.BackgroundTransparency = 0.5
  4594. o256.BorderSizePixel = 0
  4595. o256.Font = Enum.Font.SourceSans
  4596. o256.FontSize = Enum.FontSize.Size14
  4597. o256.TextColor3 = Color3.new(1, 1, 1)
  4598. o257.Name = "SteerRight2"
  4599. o257.Parent = o234
  4600. o257.Position = UDim2.new(0,170,0,153)
  4601. o257.Size = UDim2.new(0,300,0,15)
  4602. o257.Position = UDim2.new(0,170,0,153)
  4603. o257.BackgroundColor3 = Color3.new(0, 0, 0)
  4604. o257.BackgroundTransparency = 0.5
  4605. o257.BorderSizePixel = 0
  4606. o257.Font = Enum.Font.SourceSans
  4607. o257.FontSize = Enum.FontSize.Size14
  4608. o257.TextColor3 = Color3.new(1, 1, 1)
  4609. o258.Name = "ShiftUp"
  4610. o258.Parent = o234
  4611. o258.Position = UDim2.new(0,170,0,173)
  4612. o258.Size = UDim2.new(0,300,0,15)
  4613. o258.Position = UDim2.new(0,170,0,173)
  4614. o258.BackgroundColor3 = Color3.new(0, 0, 0)
  4615. o258.BackgroundTransparency = 0.5
  4616. o258.BorderSizePixel = 0
  4617. o258.Font = Enum.Font.SourceSans
  4618. o258.FontSize = Enum.FontSize.Size14
  4619. o258.TextColor3 = Color3.new(1, 1, 1)
  4620. o259.Name = "ShiftDown"
  4621. o259.Parent = o234
  4622. o259.Position = UDim2.new(0,170,0,193)
  4623. o259.Size = UDim2.new(0,300,0,15)
  4624. o259.Position = UDim2.new(0,170,0,193)
  4625. o259.BackgroundColor3 = Color3.new(0, 0, 0)
  4626. o259.BackgroundTransparency = 0.5
  4627. o259.BorderSizePixel = 0
  4628. o259.Font = Enum.Font.SourceSans
  4629. o259.FontSize = Enum.FontSize.Size14
  4630. o259.TextColor3 = Color3.new(1, 1, 1)
  4631. o260.Name = "Clutch"
  4632. o260.Parent = o234
  4633. o260.Position = UDim2.new(0,170,0,213)
  4634. o260.Size = UDim2.new(0,300,0,15)
  4635. o260.Position = UDim2.new(0,170,0,213)
  4636. o260.BackgroundColor3 = Color3.new(0, 0, 0)
  4637. o260.BackgroundTransparency = 0.5
  4638. o260.BorderSizePixel = 0
  4639. o260.Font = Enum.Font.SourceSans
  4640. o260.FontSize = Enum.FontSize.Size14
  4641. o260.TextColor3 = Color3.new(1, 1, 1)
  4642. o261.Name = "PBrake"
  4643. o261.Parent = o234
  4644. o261.Position = UDim2.new(0,170,0,233)
  4645. o261.Size = UDim2.new(0,300,0,15)
  4646. o261.Position = UDim2.new(0,170,0,233)
  4647. o261.BackgroundColor3 = Color3.new(0, 0, 0)
  4648. o261.BackgroundTransparency = 0.5
  4649. o261.BorderSizePixel = 0
  4650. o261.Font = Enum.Font.SourceSans
  4651. o261.FontSize = Enum.FontSize.Size14
  4652. o261.TextColor3 = Color3.new(1, 1, 1)
  4653. o262.Name = "ToggleTransMode"
  4654. o262.Parent = o234
  4655. o262.Position = UDim2.new(0,170,0,253)
  4656. o262.Size = UDim2.new(0,300,0,15)
  4657. o262.Position = UDim2.new(0,170,0,253)
  4658. o262.BackgroundColor3 = Color3.new(0, 0, 0)
  4659. o262.BackgroundTransparency = 0.5
  4660. o262.BorderSizePixel = 0
  4661. o262.Font = Enum.Font.SourceSans
  4662. o262.FontSize = Enum.FontSize.Size14
  4663. o262.TextColor3 = Color3.new(1, 1, 1)
  4664. o263.Name = "ToggleTCS"
  4665. o263.Parent = o234
  4666. o263.Position = UDim2.new(0,170,0,273)
  4667. o263.Size = UDim2.new(0,300,0,15)
  4668. o263.Position = UDim2.new(0,170,0,273)
  4669. o263.BackgroundColor3 = Color3.new(0, 0, 0)
  4670. o263.BackgroundTransparency = 0.5
  4671. o263.BorderSizePixel = 0
  4672. o263.Font = Enum.Font.SourceSans
  4673. o263.FontSize = Enum.FontSize.Size14
  4674. o263.TextColor3 = Color3.new(1, 1, 1)
  4675. o264.Name = "ToggleMouseDrive"
  4676. o264.Parent = o234
  4677. o264.Position = UDim2.new(0,170,0,293)
  4678. o264.Size = UDim2.new(0,300,0,15)
  4679. o264.Position = UDim2.new(0,170,0,293)
  4680. o264.BackgroundColor3 = Color3.new(0, 0, 0)
  4681. o264.BackgroundTransparency = 0.5
  4682. o264.BorderSizePixel = 0
  4683. o264.Font = Enum.Font.SourceSans
  4684. o264.FontSize = Enum.FontSize.Size14
  4685. o264.TextColor3 = Color3.new(1, 1, 1)
  4686. o265.Name = "T"
  4687. o265.Parent = o234
  4688. o265.Position = UDim2.new(1,150,0,20)
  4689. o265.Text = "Throttle"
  4690. o265.Position = UDim2.new(1,150,0,20)
  4691. o265.BackgroundColor3 = Color3.new(1, 1, 1)
  4692. o265.BackgroundTransparency = 1
  4693. o265.BorderSizePixel = 0
  4694. o265.Font = Enum.Font.SourceSansItalic
  4695. o265.FontSize = Enum.FontSize.Size18
  4696. o265.TextColor3 = Color3.new(1, 1, 1)
  4697. o265.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4698. o265.TextStrokeTransparency = 0.94999998807907
  4699. o265.TextXAlignment = Enum.TextXAlignment.Right
  4700. o266.Name = "T"
  4701. o266.Parent = o234
  4702. o266.Position = UDim2.new(1,150,0,40)
  4703. o266.Text = "Brakes"
  4704. o266.Position = UDim2.new(1,150,0,40)
  4705. o266.BackgroundColor3 = Color3.new(1, 1, 1)
  4706. o266.BackgroundTransparency = 1
  4707. o266.BorderSizePixel = 0
  4708. o266.Font = Enum.Font.SourceSansItalic
  4709. o266.FontSize = Enum.FontSize.Size18
  4710. o266.TextColor3 = Color3.new(1, 1, 1)
  4711. o266.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4712. o266.TextStrokeTransparency = 0.94999998807907
  4713. o266.TextXAlignment = Enum.TextXAlignment.Right
  4714. o267.Name = "T"
  4715. o267.Parent = o234
  4716. o267.Position = UDim2.new(1,150,0,60)
  4717. o267.Text = "Steer"
  4718. o267.Position = UDim2.new(1,150,0,60)
  4719. o267.BackgroundColor3 = Color3.new(1, 1, 1)
  4720. o267.BackgroundTransparency = 1
  4721. o267.BorderSizePixel = 0
  4722. o267.Font = Enum.Font.SourceSansItalic
  4723. o267.FontSize = Enum.FontSize.Size18
  4724. o267.TextColor3 = Color3.new(1, 1, 1)
  4725. o267.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4726. o267.TextStrokeTransparency = 0.94999998807907
  4727. o267.TextXAlignment = Enum.TextXAlignment.Right
  4728. o268.Name = "T"
  4729. o268.Parent = o234
  4730. o268.Position = UDim2.new(1,150,0,80)
  4731. o268.Text = "Shift Up"
  4732. o268.Position = UDim2.new(1,150,0,80)
  4733. o268.BackgroundColor3 = Color3.new(1, 1, 1)
  4734. o268.BackgroundTransparency = 1
  4735. o268.BorderSizePixel = 0
  4736. o268.Font = Enum.Font.SourceSansItalic
  4737. o268.FontSize = Enum.FontSize.Size18
  4738. o268.TextColor3 = Color3.new(1, 1, 1)
  4739. o268.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4740. o268.TextStrokeTransparency = 0.94999998807907
  4741. o268.TextXAlignment = Enum.TextXAlignment.Right
  4742. o269.Name = "T"
  4743. o269.Parent = o234
  4744. o269.Position = UDim2.new(1,150,0,100)
  4745. o269.Text = "Shift Down"
  4746. o269.Position = UDim2.new(1,150,0,100)
  4747. o269.BackgroundColor3 = Color3.new(1, 1, 1)
  4748. o269.BackgroundTransparency = 1
  4749. o269.BorderSizePixel = 0
  4750. o269.Font = Enum.Font.SourceSansItalic
  4751. o269.FontSize = Enum.FontSize.Size18
  4752. o269.TextColor3 = Color3.new(1, 1, 1)
  4753. o269.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4754. o269.TextStrokeTransparency = 0.94999998807907
  4755. o269.TextXAlignment = Enum.TextXAlignment.Right
  4756. o270.Name = "T"
  4757. o270.Parent = o234
  4758. o270.Position = UDim2.new(1,150,0,120)
  4759. o270.Text = "Clutch"
  4760. o270.Position = UDim2.new(1,150,0,120)
  4761. o270.BackgroundColor3 = Color3.new(1, 1, 1)
  4762. o270.BackgroundTransparency = 1
  4763. o270.BorderSizePixel = 0
  4764. o270.Font = Enum.Font.SourceSansItalic
  4765. o270.FontSize = Enum.FontSize.Size18
  4766. o270.TextColor3 = Color3.new(1, 1, 1)
  4767. o270.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4768. o270.TextStrokeTransparency = 0.94999998807907
  4769. o270.TextXAlignment = Enum.TextXAlignment.Right
  4770. o271.Name = "T"
  4771. o271.Parent = o234
  4772. o271.Position = UDim2.new(1,150,0,140)
  4773. o271.Text = "Handbrake"
  4774. o271.Position = UDim2.new(1,150,0,140)
  4775. o271.BackgroundColor3 = Color3.new(1, 1, 1)
  4776. o271.BackgroundTransparency = 1
  4777. o271.BorderSizePixel = 0
  4778. o271.Font = Enum.Font.SourceSansItalic
  4779. o271.FontSize = Enum.FontSize.Size18
  4780. o271.TextColor3 = Color3.new(1, 1, 1)
  4781. o271.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4782. o271.TextStrokeTransparency = 0.94999998807907
  4783. o271.TextXAlignment = Enum.TextXAlignment.Right
  4784. o272.Name = "MouseThrottle"
  4785. o272.Parent = o234
  4786. o272.Position = UDim2.new(1,170,0,13)
  4787. o272.Size = UDim2.new(0,300,0,15)
  4788. o272.Position = UDim2.new(1,170,0,13)
  4789. o272.BackgroundColor3 = Color3.new(0, 0, 0)
  4790. o272.BackgroundTransparency = 0.5
  4791. o272.BorderSizePixel = 0
  4792. o272.Font = Enum.Font.SourceSans
  4793. o272.FontSize = Enum.FontSize.Size14
  4794. o272.TextColor3 = Color3.new(1, 1, 1)
  4795. o273.Name = "MouseBrake"
  4796. o273.Parent = o234
  4797. o273.Position = UDim2.new(1,170,0,33)
  4798. o273.Size = UDim2.new(0,300,0,15)
  4799. o273.Position = UDim2.new(1,170,0,33)
  4800. o273.BackgroundColor3 = Color3.new(0, 0, 0)
  4801. o273.BackgroundTransparency = 0.5
  4802. o273.BorderSizePixel = 0
  4803. o273.Font = Enum.Font.SourceSans
  4804. o273.FontSize = Enum.FontSize.Size14
  4805. o273.TextColor3 = Color3.new(1, 1, 1)
  4806. o274.Name = "MouseSteer"
  4807. o274.Parent = o234
  4808. o274.Position = UDim2.new(1,170,0,53)
  4809. o274.Size = UDim2.new(0,300,0,15)
  4810. o274.Text = "MouseMove"
  4811. o274.Position = UDim2.new(1,170,0,53)
  4812. o274.Active = false
  4813. o274.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  4814. o274.BackgroundTransparency = 0.5
  4815. o274.BorderSizePixel = 0
  4816. o274.Font = Enum.Font.SourceSans
  4817. o274.FontSize = Enum.FontSize.Size14
  4818. o274.TextColor3 = Color3.new(0.690196, 0.690196, 0.690196)
  4819. o275.Name = "MouseShiftUp"
  4820. o275.Parent = o234
  4821. o275.Position = UDim2.new(1,170,0,73)
  4822. o275.Size = UDim2.new(0,300,0,15)
  4823. o275.Position = UDim2.new(1,170,0,73)
  4824. o275.Active = false
  4825. o275.BackgroundColor3 = Color3.new(0, 0, 0)
  4826. o275.BackgroundTransparency = 0.5
  4827. o275.BorderSizePixel = 0
  4828. o275.Font = Enum.Font.SourceSans
  4829. o275.FontSize = Enum.FontSize.Size14
  4830. o275.TextColor3 = Color3.new(1, 1, 1)
  4831. o276.Name = "MouseShiftDown"
  4832. o276.Parent = o234
  4833. o276.Position = UDim2.new(1,170,0,93)
  4834. o276.Size = UDim2.new(0,300,0,15)
  4835. o276.Position = UDim2.new(1,170,0,93)
  4836. o276.Active = false
  4837. o276.BackgroundColor3 = Color3.new(0, 0, 0)
  4838. o276.BackgroundTransparency = 0.5
  4839. o276.BorderSizePixel = 0
  4840. o276.Font = Enum.Font.SourceSans
  4841. o276.FontSize = Enum.FontSize.Size14
  4842. o276.TextColor3 = Color3.new(1, 1, 1)
  4843. o277.Name = "MouseClutch"
  4844. o277.Parent = o234
  4845. o277.Position = UDim2.new(1,170,0,113)
  4846. o277.Size = UDim2.new(0,300,0,15)
  4847. o277.Position = UDim2.new(1,170,0,113)
  4848. o277.Active = false
  4849. o277.BackgroundColor3 = Color3.new(0, 0, 0)
  4850. o277.BackgroundTransparency = 0.5
  4851. o277.BorderSizePixel = 0
  4852. o277.Font = Enum.Font.SourceSans
  4853. o277.FontSize = Enum.FontSize.Size14
  4854. o277.TextColor3 = Color3.new(1, 1, 1)
  4855. o278.Name = "MousePBrake"
  4856. o278.Parent = o234
  4857. o278.Position = UDim2.new(1,170,0,133)
  4858. o278.Size = UDim2.new(0,300,0,15)
  4859. o278.Position = UDim2.new(1,170,0,133)
  4860. o278.Active = false
  4861. o278.BackgroundColor3 = Color3.new(0, 0, 0)
  4862. o278.BackgroundTransparency = 0.5
  4863. o278.BorderSizePixel = 0
  4864. o278.Font = Enum.Font.SourceSans
  4865. o278.FontSize = Enum.FontSize.Size14
  4866. o278.TextColor3 = Color3.new(1, 1, 1)
  4867. o279.Name = "T"
  4868. o279.Parent = o234
  4869. o279.Position = UDim2.new(2,150,0,20)
  4870. o279.Text = "Throttle"
  4871. o279.Position = UDim2.new(2,150,0,20)
  4872. o279.BackgroundColor3 = Color3.new(1, 1, 1)
  4873. o279.BackgroundTransparency = 1
  4874. o279.BorderSizePixel = 0
  4875. o279.Font = Enum.Font.SourceSansItalic
  4876. o279.FontSize = Enum.FontSize.Size18
  4877. o279.TextColor3 = Color3.new(1, 1, 1)
  4878. o279.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4879. o279.TextStrokeTransparency = 0.94999998807907
  4880. o279.TextXAlignment = Enum.TextXAlignment.Right
  4881. o280.Name = "T"
  4882. o280.Parent = o234
  4883. o280.Position = UDim2.new(2,150,0,40)
  4884. o280.Text = "Brakes"
  4885. o280.Position = UDim2.new(2,150,0,40)
  4886. o280.BackgroundColor3 = Color3.new(1, 1, 1)
  4887. o280.BackgroundTransparency = 1
  4888. o280.BorderSizePixel = 0
  4889. o280.Font = Enum.Font.SourceSansItalic
  4890. o280.FontSize = Enum.FontSize.Size18
  4891. o280.TextColor3 = Color3.new(1, 1, 1)
  4892. o280.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4893. o280.TextStrokeTransparency = 0.94999998807907
  4894. o280.TextXAlignment = Enum.TextXAlignment.Right
  4895. o281.Name = "T"
  4896. o281.Parent = o234
  4897. o281.Position = UDim2.new(2,150,0,60)
  4898. o281.Text = "Steer"
  4899. o281.Position = UDim2.new(2,150,0,60)
  4900. o281.BackgroundColor3 = Color3.new(1, 1, 1)
  4901. o281.BackgroundTransparency = 1
  4902. o281.BorderSizePixel = 0
  4903. o281.Font = Enum.Font.SourceSansItalic
  4904. o281.FontSize = Enum.FontSize.Size18
  4905. o281.TextColor3 = Color3.new(1, 1, 1)
  4906. o281.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4907. o281.TextStrokeTransparency = 0.94999998807907
  4908. o281.TextXAlignment = Enum.TextXAlignment.Right
  4909. o282.Name = "T"
  4910. o282.Parent = o234
  4911. o282.Position = UDim2.new(2,150,0,80)
  4912. o282.Text = "Shift Up"
  4913. o282.Position = UDim2.new(2,150,0,80)
  4914. o282.BackgroundColor3 = Color3.new(1, 1, 1)
  4915. o282.BackgroundTransparency = 1
  4916. o282.BorderSizePixel = 0
  4917. o282.Font = Enum.Font.SourceSansItalic
  4918. o282.FontSize = Enum.FontSize.Size18
  4919. o282.TextColor3 = Color3.new(1, 1, 1)
  4920. o282.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4921. o282.TextStrokeTransparency = 0.94999998807907
  4922. o282.TextXAlignment = Enum.TextXAlignment.Right
  4923. o283.Name = "T"
  4924. o283.Parent = o234
  4925. o283.Position = UDim2.new(2,150,0,100)
  4926. o283.Text = "Shift Down"
  4927. o283.Position = UDim2.new(2,150,0,100)
  4928. o283.BackgroundColor3 = Color3.new(1, 1, 1)
  4929. o283.BackgroundTransparency = 1
  4930. o283.BorderSizePixel = 0
  4931. o283.Font = Enum.Font.SourceSansItalic
  4932. o283.FontSize = Enum.FontSize.Size18
  4933. o283.TextColor3 = Color3.new(1, 1, 1)
  4934. o283.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4935. o283.TextStrokeTransparency = 0.94999998807907
  4936. o283.TextXAlignment = Enum.TextXAlignment.Right
  4937. o284.Name = "T"
  4938. o284.Parent = o234
  4939. o284.Position = UDim2.new(2,150,0,120)
  4940. o284.Text = "Clutch"
  4941. o284.Position = UDim2.new(2,150,0,120)
  4942. o284.BackgroundColor3 = Color3.new(1, 1, 1)
  4943. o284.BackgroundTransparency = 1
  4944. o284.BorderSizePixel = 0
  4945. o284.Font = Enum.Font.SourceSansItalic
  4946. o284.FontSize = Enum.FontSize.Size18
  4947. o284.TextColor3 = Color3.new(1, 1, 1)
  4948. o284.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4949. o284.TextStrokeTransparency = 0.94999998807907
  4950. o284.TextXAlignment = Enum.TextXAlignment.Right
  4951. o285.Name = "T"
  4952. o285.Parent = o234
  4953. o285.Position = UDim2.new(2,150,0,140)
  4954. o285.Text = "Handbrake"
  4955. o285.Position = UDim2.new(2,150,0,140)
  4956. o285.BackgroundColor3 = Color3.new(1, 1, 1)
  4957. o285.BackgroundTransparency = 1
  4958. o285.BorderSizePixel = 0
  4959. o285.Font = Enum.Font.SourceSansItalic
  4960. o285.FontSize = Enum.FontSize.Size18
  4961. o285.TextColor3 = Color3.new(1, 1, 1)
  4962. o285.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4963. o285.TextStrokeTransparency = 0.94999998807907
  4964. o285.TextXAlignment = Enum.TextXAlignment.Right
  4965. o286.Name = "T"
  4966. o286.Parent = o234
  4967. o286.Position = UDim2.new(2,150,0,180)
  4968. o286.Text = "Toggle TCS"
  4969. o286.Position = UDim2.new(2,150,0,180)
  4970. o286.BackgroundColor3 = Color3.new(1, 1, 1)
  4971. o286.BackgroundTransparency = 1
  4972. o286.BorderSizePixel = 0
  4973. o286.Font = Enum.Font.SourceSansItalic
  4974. o286.FontSize = Enum.FontSize.Size18
  4975. o286.TextColor3 = Color3.new(1, 1, 1)
  4976. o286.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4977. o286.TextStrokeTransparency = 0.94999998807907
  4978. o286.TextXAlignment = Enum.TextXAlignment.Right
  4979. o287.Name = "T"
  4980. o287.Parent = o234
  4981. o287.Position = UDim2.new(2,150,0,160)
  4982. o287.Text = "Transmission Mode"
  4983. o287.Position = UDim2.new(2,150,0,160)
  4984. o287.BackgroundColor3 = Color3.new(1, 1, 1)
  4985. o287.BackgroundTransparency = 1
  4986. o287.BorderSizePixel = 0
  4987. o287.Font = Enum.Font.SourceSansItalic
  4988. o287.FontSize = Enum.FontSize.Size18
  4989. o287.TextColor3 = Color3.new(1, 1, 1)
  4990. o287.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  4991. o287.TextStrokeTransparency = 0.94999998807907
  4992. o287.TextXAlignment = Enum.TextXAlignment.Right
  4993. o288.Name = "ContlrThrottle"
  4994. o288.Parent = o234
  4995. o288.Position = UDim2.new(2,170,0,13)
  4996. o288.Size = UDim2.new(0,300,0,15)
  4997. o288.Position = UDim2.new(2,170,0,13)
  4998. o288.BackgroundColor3 = Color3.new(0, 0, 0)
  4999. o288.BackgroundTransparency = 0.5
  5000. o288.BorderSizePixel = 0
  5001. o288.Font = Enum.Font.SourceSans
  5002. o288.FontSize = Enum.FontSize.Size14
  5003. o288.TextColor3 = Color3.new(1, 1, 1)
  5004. o289.Name = "ContlrBrake"
  5005. o289.Parent = o234
  5006. o289.Position = UDim2.new(2,170,0,33)
  5007. o289.Size = UDim2.new(0,300,0,15)
  5008. o289.Position = UDim2.new(2,170,0,33)
  5009. o289.BackgroundColor3 = Color3.new(0, 0, 0)
  5010. o289.BackgroundTransparency = 0.5
  5011. o289.BorderSizePixel = 0
  5012. o289.Font = Enum.Font.SourceSans
  5013. o289.FontSize = Enum.FontSize.Size14
  5014. o289.TextColor3 = Color3.new(1, 1, 1)
  5015. o290.Name = "ContlrSteer"
  5016. o290.Parent = o234
  5017. o290.Position = UDim2.new(2,170,0,53)
  5018. o290.Size = UDim2.new(0,300,0,15)
  5019. o290.Position = UDim2.new(2,170,0,53)
  5020. o290.BackgroundColor3 = Color3.new(0, 0, 0)
  5021. o290.BackgroundTransparency = 0.5
  5022. o290.BorderSizePixel = 0
  5023. o290.Font = Enum.Font.SourceSans
  5024. o290.FontSize = Enum.FontSize.Size14
  5025. o290.TextColor3 = Color3.new(1, 1, 1)
  5026. o291.Name = "ContlrShiftUp"
  5027. o291.Parent = o234
  5028. o291.Position = UDim2.new(2,170,0,73)
  5029. o291.Size = UDim2.new(0,300,0,15)
  5030. o291.Position = UDim2.new(2,170,0,73)
  5031. o291.BackgroundColor3 = Color3.new(0, 0, 0)
  5032. o291.BackgroundTransparency = 0.5
  5033. o291.BorderSizePixel = 0
  5034. o291.Font = Enum.Font.SourceSans
  5035. o291.FontSize = Enum.FontSize.Size14
  5036. o291.TextColor3 = Color3.new(1, 1, 1)
  5037. o292.Name = "ContlrShiftDown"
  5038. o292.Parent = o234
  5039. o292.Position = UDim2.new(2,170,0,93)
  5040. o292.Size = UDim2.new(0,300,0,15)
  5041. o292.Position = UDim2.new(2,170,0,93)
  5042. o292.BackgroundColor3 = Color3.new(0, 0, 0)
  5043. o292.BackgroundTransparency = 0.5
  5044. o292.BorderSizePixel = 0
  5045. o292.Font = Enum.Font.SourceSans
  5046. o292.FontSize = Enum.FontSize.Size14
  5047. o292.TextColor3 = Color3.new(1, 1, 1)
  5048. o293.Name = "ContlrClutch"
  5049. o293.Parent = o234
  5050. o293.Position = UDim2.new(2,170,0,113)
  5051. o293.Size = UDim2.new(0,300,0,15)
  5052. o293.Position = UDim2.new(2,170,0,113)
  5053. o293.BackgroundColor3 = Color3.new(0, 0, 0)
  5054. o293.BackgroundTransparency = 0.5
  5055. o293.BorderSizePixel = 0
  5056. o293.Font = Enum.Font.SourceSans
  5057. o293.FontSize = Enum.FontSize.Size14
  5058. o293.TextColor3 = Color3.new(1, 1, 1)
  5059. o294.Name = "ContlrPBrake"
  5060. o294.Parent = o234
  5061. o294.Position = UDim2.new(2,170,0,133)
  5062. o294.Size = UDim2.new(0,300,0,15)
  5063. o294.Position = UDim2.new(2,170,0,133)
  5064. o294.BackgroundColor3 = Color3.new(0, 0, 0)
  5065. o294.BackgroundTransparency = 0.5
  5066. o294.BorderSizePixel = 0
  5067. o294.Font = Enum.Font.SourceSans
  5068. o294.FontSize = Enum.FontSize.Size14
  5069. o294.TextColor3 = Color3.new(1, 1, 1)
  5070. o295.Name = "ContlrToggleTMode"
  5071. o295.Parent = o234
  5072. o295.Position = UDim2.new(2,170,0,153)
  5073. o295.Size = UDim2.new(0,300,0,15)
  5074. o295.Position = UDim2.new(2,170,0,153)
  5075. o295.BackgroundColor3 = Color3.new(0, 0, 0)
  5076. o295.BackgroundTransparency = 0.5
  5077. o295.BorderSizePixel = 0
  5078. o295.Font = Enum.Font.SourceSans
  5079. o295.FontSize = Enum.FontSize.Size14
  5080. o295.TextColor3 = Color3.new(1, 1, 1)
  5081. o296.Name = "ContlrToggleTCS"
  5082. o296.Parent = o234
  5083. o296.Position = UDim2.new(2,170,0,173)
  5084. o296.Size = UDim2.new(0,300,0,15)
  5085. o296.Position = UDim2.new(2,170,0,173)
  5086. o296.BackgroundColor3 = Color3.new(0, 0, 0)
  5087. o296.BackgroundTransparency = 0.5
  5088. o296.BorderSizePixel = 0
  5089. o296.Font = Enum.Font.SourceSans
  5090. o296.FontSize = Enum.FontSize.Size14
  5091. o296.TextColor3 = Color3.new(1, 1, 1)
  5092. o297.Name = "T"
  5093. o297.Parent = o234
  5094. o297.Position = UDim2.new(1,150,0,160)
  5095. o297.Text = "Deadzone"
  5096. o297.Position = UDim2.new(1,150,0,160)
  5097. o297.BackgroundColor3 = Color3.new(1, 1, 1)
  5098. o297.BackgroundTransparency = 1
  5099. o297.BorderSizePixel = 0
  5100. o297.Font = Enum.Font.SourceSansItalic
  5101. o297.FontSize = Enum.FontSize.Size18
  5102. o297.TextColor3 = Color3.new(1, 1, 1)
  5103. o297.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5104. o297.TextStrokeTransparency = 0.94999998807907
  5105. o297.TextXAlignment = Enum.TextXAlignment.Right
  5106. o298.Name = "T"
  5107. o298.Parent = o234
  5108. o298.Position = UDim2.new(1,150,0,180)
  5109. o298.Text = "Control Width"
  5110. o298.Position = UDim2.new(1,150,0,180)
  5111. o298.BackgroundColor3 = Color3.new(1, 1, 1)
  5112. o298.BackgroundTransparency = 1
  5113. o298.BorderSizePixel = 0
  5114. o298.Font = Enum.Font.SourceSansItalic
  5115. o298.FontSize = Enum.FontSize.Size18
  5116. o298.TextColor3 = Color3.new(1, 1, 1)
  5117. o298.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5118. o298.TextStrokeTransparency = 0.94999998807907
  5119. o298.TextXAlignment = Enum.TextXAlignment.Right
  5120. o299.Name = "T"
  5121. o299.Parent = o234
  5122. o299.Position = UDim2.new(2,150,0,200)
  5123. o299.Text = "Left Deadzone"
  5124. o299.Position = UDim2.new(2,150,0,200)
  5125. o299.BackgroundColor3 = Color3.new(1, 1, 1)
  5126. o299.BackgroundTransparency = 1
  5127. o299.BorderSizePixel = 0
  5128. o299.Font = Enum.Font.SourceSansItalic
  5129. o299.FontSize = Enum.FontSize.Size18
  5130. o299.TextColor3 = Color3.new(1, 1, 1)
  5131. o299.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5132. o299.TextStrokeTransparency = 0.94999998807907
  5133. o299.TextXAlignment = Enum.TextXAlignment.Right
  5134. o300.Name = "T"
  5135. o300.Parent = o234
  5136. o300.Position = UDim2.new(2,150,0,220)
  5137. o300.Text = "Right Deadzone"
  5138. o300.Position = UDim2.new(2,150,0,220)
  5139. o300.BackgroundColor3 = Color3.new(1, 1, 1)
  5140. o300.BackgroundTransparency = 1
  5141. o300.BorderSizePixel = 0
  5142. o300.Font = Enum.Font.SourceSansItalic
  5143. o300.FontSize = Enum.FontSize.Size18
  5144. o300.TextColor3 = Color3.new(1, 1, 1)
  5145. o300.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5146. o300.TextStrokeTransparency = 0.94999998807907
  5147. o300.TextXAlignment = Enum.TextXAlignment.Right
  5148. o301.Name = "MSteerDZone"
  5149. o301.Parent = o234
  5150. o301.Position = UDim2.new(1,200,0,160)
  5151. o301.Text = "100%"
  5152. o301.Position = UDim2.new(1,200,0,160)
  5153. o301.BackgroundColor3 = Color3.new(1, 1, 1)
  5154. o301.BackgroundTransparency = 1
  5155. o301.BorderSizePixel = 0
  5156. o301.Font = Enum.Font.SourceSansItalic
  5157. o301.FontSize = Enum.FontSize.Size18
  5158. o301.TextColor3 = Color3.new(1, 1, 1)
  5159. o301.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5160. o301.TextStrokeTransparency = 0.94999998807907
  5161. o301.TextXAlignment = Enum.TextXAlignment.Right
  5162. o302.Name = "S"
  5163. o302.Parent = o301
  5164. o302.Position = UDim2.new(0,10,0,2)
  5165. o302.Size = UDim2.new(0,260,0,3)
  5166. o302.Position = UDim2.new(0,10,0,2)
  5167. o302.CanvasSize = UDim2.new(0,5200,0,0)
  5168. o302.BackgroundColor3 = Color3.new(0, 0, 0)
  5169. o302.BackgroundTransparency = 0.5
  5170. o302.BorderSizePixel = 0
  5171. o302.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5172. o302.ScrollBarThickness = 8
  5173. o302.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5174. o303.Name = "MSteerWidth"
  5175. o303.Parent = o234
  5176. o303.Position = UDim2.new(1,200,0,180)
  5177. o303.Text = "100%"
  5178. o303.Position = UDim2.new(1,200,0,180)
  5179. o303.BackgroundColor3 = Color3.new(1, 1, 1)
  5180. o303.BackgroundTransparency = 1
  5181. o303.BorderSizePixel = 0
  5182. o303.Font = Enum.Font.SourceSansItalic
  5183. o303.FontSize = Enum.FontSize.Size18
  5184. o303.TextColor3 = Color3.new(1, 1, 1)
  5185. o303.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5186. o303.TextStrokeTransparency = 0.94999998807907
  5187. o303.TextXAlignment = Enum.TextXAlignment.Right
  5188. o304.Name = "S"
  5189. o304.Parent = o303
  5190. o304.Position = UDim2.new(0,10,0,2)
  5191. o304.Size = UDim2.new(0,260,0,3)
  5192. o304.Position = UDim2.new(0,10,0,2)
  5193. o304.CanvasSize = UDim2.new(0,5200,0,0)
  5194. o304.BackgroundColor3 = Color3.new(0, 0, 0)
  5195. o304.BackgroundTransparency = 0.5
  5196. o304.BorderSizePixel = 0
  5197. o304.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5198. o304.ScrollBarThickness = 8
  5199. o304.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5200. o305.Name = "ControlLDZone"
  5201. o305.Parent = o234
  5202. o305.Position = UDim2.new(2,200,0,200)
  5203. o305.Text = "100%"
  5204. o305.Position = UDim2.new(2,200,0,200)
  5205. o305.BackgroundColor3 = Color3.new(1, 1, 1)
  5206. o305.BackgroundTransparency = 1
  5207. o305.BorderSizePixel = 0
  5208. o305.Font = Enum.Font.SourceSansItalic
  5209. o305.FontSize = Enum.FontSize.Size18
  5210. o305.TextColor3 = Color3.new(1, 1, 1)
  5211. o305.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5212. o305.TextStrokeTransparency = 0.94999998807907
  5213. o305.TextXAlignment = Enum.TextXAlignment.Right
  5214. o306.Name = "S"
  5215. o306.Parent = o305
  5216. o306.Position = UDim2.new(0,10,0,2)
  5217. o306.Size = UDim2.new(0,260,0,3)
  5218. o306.Position = UDim2.new(0,10,0,2)
  5219. o306.CanvasSize = UDim2.new(0,5200,0,0)
  5220. o306.BackgroundColor3 = Color3.new(0, 0, 0)
  5221. o306.BackgroundTransparency = 0.5
  5222. o306.BorderSizePixel = 0
  5223. o306.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5224. o306.ScrollBarThickness = 8
  5225. o306.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5226. o307.Name = "ControlRDZone"
  5227. o307.Parent = o234
  5228. o307.Position = UDim2.new(2,200,0,220)
  5229. o307.Text = "100%"
  5230. o307.Position = UDim2.new(2,200,0,220)
  5231. o307.BackgroundColor3 = Color3.new(1, 1, 1)
  5232. o307.BackgroundTransparency = 1
  5233. o307.BorderSizePixel = 0
  5234. o307.Font = Enum.Font.SourceSansItalic
  5235. o307.FontSize = Enum.FontSize.Size18
  5236. o307.TextColor3 = Color3.new(1, 1, 1)
  5237. o307.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5238. o307.TextStrokeTransparency = 0.94999998807907
  5239. o307.TextXAlignment = Enum.TextXAlignment.Right
  5240. o308.Name = "S"
  5241. o308.Parent = o307
  5242. o308.Position = UDim2.new(0,10,0,2)
  5243. o308.Size = UDim2.new(0,260,0,3)
  5244. o308.Position = UDim2.new(0,10,0,2)
  5245. o308.CanvasSize = UDim2.new(0,5200,0,0)
  5246. o308.BackgroundColor3 = Color3.new(0, 0, 0)
  5247. o308.BackgroundTransparency = 0.5
  5248. o308.BorderSizePixel = 0
  5249. o308.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5250. o308.ScrollBarThickness = 8
  5251. o308.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  5252. o309.Name = "Error"
  5253. o309.Parent = o226
  5254. o309.Position = UDim2.new(0.5,0,0,20)
  5255. o309.Text = "Invalid Input"
  5256. o309.Position = UDim2.new(0.5,0,0,20)
  5257. o309.Visible = false
  5258. o309.BackgroundColor3 = Color3.new(1, 1, 1)
  5259. o309.BackgroundTransparency = 1
  5260. o309.BorderSizePixel = 0
  5261. o309.Font = Enum.Font.SourceSansItalic
  5262. o309.FontSize = Enum.FontSize.Size18
  5263. o309.TextColor3 = Color3.new(1, 0, 0)
  5264. o309.TextStrokeColor3 = Color3.new(0.392157, 0.392157, 0.392157)
  5265. o309.TextStrokeTransparency = 0.94999998807907
  5266. o310.Name = "Overlay"
  5267. o310.Parent = o226
  5268. o310.Size = UDim2.new(1,0,1,0)
  5269. o310.Text = "[Press a key to assign or Enter to cancel]"
  5270. o310.Visible = false
  5271. o310.BackgroundColor3 = Color3.new(1, 1, 1)
  5272. o310.BackgroundTransparency = 0.5
  5273. o310.BorderSizePixel = 0
  5274. o310.ZIndex = 2
  5275. o310.Font = Enum.Font.SourceSansItalic
  5276. o310.FontSize = Enum.FontSize.Size28
  5277. o310.TextColor3 = Color3.new(1, 1, 1)
  5278. o310.TextStrokeColor3 = Color3.new(0.184314, 0.184314, 0.184314)
  5279. o310.TextStrokeTransparency = 0
  5280. o311.Name = "Controls_AC6"
  5281. o311.Parent = o224
  5282. table.insert(cors,coroutine.create(function()
  5283. wait()
  5284. runDummyScript(function()
  5285. --[[
  5286. ___ _______ _
  5287. / _ |____/ ___/ / ___ ____ ___ (_)__
  5288. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  5289. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  5290. SecondLogic @ Inspare
  5291. ]]
  5292.  
  5293.  
  5294. ---Controls UI
  5295. script.Parent.Parent:WaitForChild("Controls")
  5296. script.Parent.Parent:WaitForChild("ControlsOpen")
  5297. script.Parent:WaitForChild("Window")
  5298. script.Parent:WaitForChild("Toggle")
  5299.  
  5300. local car = script.Parent.Parent.Car.Value
  5301. local _Tune = require(car["A-Chassis Tune"])
  5302. local UserInputService = game:GetService("UserInputService")
  5303. local cPanel = script.Parent
  5304. local Controls = script.Parent.Parent.Controls
  5305.  
  5306. local ver = require(car["A-Chassis Tune"].README)
  5307. cPanel.Window["//INSPARE"].Text = "A-Chassis "..ver.." by //INSPARE"
  5308.  
  5309. local controlsOpen = false
  5310. local cInputB = nil
  5311. local cInputT = nil
  5312. local cInput = false
  5313.  
  5314. for i,v in pairs(_Tune.Peripherals) do
  5315. script.Parent.Parent.Controls:WaitForChild(i)
  5316. local slider = cPanel.Window.Content[i]
  5317. slider.Text = v.."%"
  5318. slider.S.CanvasPosition=Vector2.new(v*(slider.S.CanvasSize.X.Offset-slider.S.Size.X.Offset)/100,0)
  5319. slider.S.Changed:connect(function(property)
  5320. if property=="CanvasPosition" then
  5321. Controls[i].Value = math.floor(100*slider.S.CanvasPosition.x/(slider.S.CanvasSize.X.Offset-slider.S.Size.X.Offset))
  5322. slider.Text = Controls[i].Value.."%"
  5323. end
  5324. end)
  5325. end
  5326.  
  5327. for i,v in pairs(_Tune.Controls) do
  5328. script.Parent.Parent.Controls:WaitForChild(i)
  5329. local button = cPanel.Window.Content[i]
  5330. button.Text = v.Name
  5331. button.MouseButton1Click:connect(function()
  5332. script.Parent.Parent.ControlsOpen.Value = true
  5333. cPanel.Window.Overlay.Visible = true
  5334. cInput = true
  5335. repeat wait() until cInputB~=nil
  5336. if cInputB == Enum.KeyCode.Return or cInputB == Enum.KeyCode.KeypadEnter then
  5337. --do nothing
  5338. elseif string.find(i,"Contlr")~=nil then
  5339. if cInputT.Name:find("Gamepad") then
  5340. Controls[i].Value = cInputB.Name
  5341. button.Text = cInputB.Name
  5342. else
  5343. cPanel.Window.Error.Visible = true
  5344. end
  5345. elseif i=="MouseThrottle" or i=="MouseBrake" then
  5346. if cInputT == Enum.UserInputType.MouseButton1 or cInputT == Enum.UserInputType.MouseButton2 then
  5347. Controls[i].Value = cInputT.Name
  5348. button.Text = cInputT.Name
  5349. else
  5350. cPanel.Window.Error.Visible = true
  5351. end
  5352. else
  5353. if cInputT == Enum.UserInputType.Keyboard then
  5354. Controls[i].Value = cInputB.Name
  5355. button.Text = cInputB.Name
  5356. else
  5357. cPanel.Window.Error.Visible = true
  5358. end
  5359. end
  5360. cInputB = nil
  5361. cInputT = nil
  5362. cInput = false
  5363. wait(.2)
  5364. cPanel.Window.Overlay.Visible = false
  5365. script.Parent.Parent.ControlsOpen.Value = false
  5366. end)
  5367. end
  5368.  
  5369. cPanel.Window.Error.Changed:connect(function(property)
  5370. if property == "Visible" then
  5371. wait(3)
  5372. cPanel.Window.Error.Visible = false
  5373. end
  5374. end)
  5375.  
  5376. UserInputService.InputBegan:connect(function(input) if cInput then cInputB = input.KeyCode cInputT = input.UserInputType end end)
  5377. UserInputService.InputChanged:connect(function(input) if cInput and (input.KeyCode==Enum.KeyCode.Thumbstick1 or input.KeyCode==Enum.KeyCode.Thumbstick2) then cInputB = input.KeyCode cInputT = input.UserInputType end end)
  5378.  
  5379.  
  5380. cPanel.Toggle.MouseButton1Click:connect(function()
  5381. controlsOpen = not controlsOpen
  5382. if controlsOpen then
  5383. cPanel.Toggle.BackgroundColor3 = Color3.new(1,85/255,.5)
  5384. cPanel.Window:TweenPosition(UDim2.new(0.5, -250,0.5, -250),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.7,true)
  5385. else
  5386. cPanel.Toggle.BackgroundColor3 = Color3.new(1,170/255,0)
  5387. cPanel.Window:TweenPosition(UDim2.new(0.5, -250,0, -500),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.7,true)
  5388. end
  5389. end)
  5390.  
  5391. cPanel.Window.Tabs.Keyboard.MouseButton1Click:connect(function()
  5392. cPanel.Window.Content:TweenPosition(UDim2.new(0, 0, 0, 60),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5393. cPanel.Window.Tabs.Keyboard:TweenPosition(UDim2.new(0, 5, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5394. cPanel.Window.Tabs.Mouse:TweenPosition(UDim2.new(0, 120, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5395. cPanel.Window.Tabs.Controller:TweenPosition(UDim2.new(0, 235, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5396. end)
  5397.  
  5398. cPanel.Window.Tabs.Mouse.MouseButton1Click:connect(function()
  5399. cPanel.Window.Content:TweenPosition(UDim2.new(-1, 0, 0, 60),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5400. cPanel.Window.Tabs.Keyboard:TweenPosition(UDim2.new(0, 5, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5401. cPanel.Window.Tabs.Mouse:TweenPosition(UDim2.new(0, 120, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5402. cPanel.Window.Tabs.Controller:TweenPosition(UDim2.new(0, 235, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5403. end)
  5404.  
  5405. cPanel.Window.Tabs.Controller.MouseButton1Click:connect(function()
  5406. cPanel.Window.Content:TweenPosition(UDim2.new(-2, 0, 0, 60),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5407. cPanel.Window.Tabs.Keyboard:TweenPosition(UDim2.new(0, 5, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5408. cPanel.Window.Tabs.Mouse:TweenPosition(UDim2.new(0, 120, 0, -5),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5409. cPanel.Window.Tabs.Controller:TweenPosition(UDim2.new(0, 235, 0, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,true)
  5410. end)
  5411.  
  5412. wait(.5)
  5413. cPanel.Toggle:TweenPosition(UDim2.new(0, 50, 1, -30),Enum.EasingDirection.Out,Enum.EasingStyle.Quad,.4,false)
  5414. for i=1,6 do
  5415. cPanel.Toggle.BackgroundColor3 = Color3.new(100/255,100/255,100/255)
  5416. wait(.2)
  5417. if controlsOpen then
  5418. cPanel.Toggle.BackgroundColor3 = Color3.new(1,85/255,.5)
  5419. else
  5420. cPanel.Toggle.BackgroundColor3 = Color3.new(1,170/255,0)
  5421. end
  5422. wait(.2)
  5423. end
  5424. end,o311)
  5425. end))
  5426. o312.Name = "BrakeHeat"
  5427. o312.Parent = o203
  5428. table.insert(cors,coroutine.create(function()
  5429. wait()
  5430. runDummyScript(function()
  5431. local heat = 0
  5432. local pheat = heat
  5433. local car = script.Parent.Car.Value
  5434. local Drive = car.Wheels:GetChildren()
  5435. local _Tune = require(car["A-Chassis Tune"])
  5436.  
  5437. car.DriveSeat.ChildRemoved:connect(function(child)
  5438. for i,a in pairs(Drive) do
  5439. a.Parts.Heat.Transparency=1
  5440. a.Parts.Heat.L.Range=0
  5441. end
  5442. end)
  5443.  
  5444. while wait(.2) do
  5445. for i,a in pairs(Drive) do
  5446. if script.Parent.Values.Brake.Value>.3 and a.RotVelocity.Magnitude>100 then
  5447. heat=math.min(1,heat+math.min(.075,.075*script.Parent.Values.Brake.Value*(a.RotVelocity.Magnitude/300)))
  5448. else
  5449. heat=math.max(0,heat-.025)
  5450. end
  5451. if pheat~=heat then
  5452. a.Parts.Heat.Transparency=1-heat
  5453. a.Parts.Heat.L.Range=heat*6
  5454. end
  5455. end
  5456. pheat = heat
  5457. end
  5458. end,o312)
  5459. end))
  5460. o313.Name = "Burnout"
  5461. o313.Parent = o203
  5462. table.insert(cors,coroutine.create(function()
  5463. wait()
  5464. runDummyScript(function()
  5465. local car = script.Parent.Car.Value
  5466. local slip = 0
  5467. local pslip = slip
  5468.  
  5469. car.DriveSeat.ChildRemoved:connect(function(child)
  5470. if child.Name=="SeatWeld" then
  5471. car.Wheels.RL.Burnout.Force = Vector3.new(0,0,0)
  5472. car.Wheels.RR.Burnout.Force = Vector3.new(0,0,0)
  5473. end
  5474. end)
  5475.  
  5476. while wait(.2) do
  5477. if script.Parent.Values.PBrake.Value and not script.Parent.Values.TCS.Value and car.DriveSeat.Velocity.Magnitude < 5 and script.Parent.Values.RPM.Value > 4000 then
  5478. slip = math.min(15000,slip+3000)
  5479. else
  5480. slip = math.max(0,slip-1000)
  5481. end
  5482. if pslip~=slip then
  5483. car.Wheels.RL.Burnout.Force = Vector3.new(0,slip,0)
  5484. car.Wheels.RR.Burnout.Force = Vector3.new(0,slip,0)
  5485. end
  5486. pslip=slip
  5487. end
  5488.  
  5489. end,o313)
  5490. end))
  5491. o314.Name = "Smoke"
  5492. o314.Parent = o203
  5493. table.insert(cors,coroutine.create(function()
  5494. wait()
  5495. runDummyScript(function()
  5496. local car = script.Parent.Car.Value
  5497. car.Wheels.RL.SQ:Play()
  5498. car.Wheels.RR.SQ:Play()
  5499.  
  5500. car.DriveSeat.ChildRemoved:connect(function(child)
  5501. if child.Name=="SeatWeld" then
  5502. car.Wheels.RL.SQ:Stop()
  5503. car.Wheels.RR.SQ:Stop()
  5504. car.Wheels.RL.Smoke.Rate=0
  5505. car.Wheels.RR.Smoke.Rate=0
  5506. end
  5507. end)
  5508.  
  5509. while wait(.2) do
  5510. local r1 = Ray.new(car.Wheels.RL.Position,(car.Wheels.RL.Arm.CFrame*CFrame.Angles(-math.pi/2,0,0)).lookVector*(car.Wheels.RL.Size.x/2))
  5511. local r1hit = 0
  5512. if workspace:FindPartOnRay(r1,car)~=nil then r1hit=1 end
  5513.  
  5514. local r2 = Ray.new(car.Wheels.RL.Position,(car.Wheels.RR.Arm.CFrame*CFrame.Angles(-math.pi/2,0,0)).lookVector*(car.Wheels.RR.Size.x/2))
  5515. local r2hit = 0
  5516. if workspace:FindPartOnRay(r2,car)~=nil then r2hit=1 end
  5517.  
  5518. local rl = math.min((math.max(math.abs((car.Wheels.RL.RotVelocity.Magnitude*car.Wheels.RL.Size.x/2) - (car.Wheels.RL.Velocity.Magnitude))-20,0)),50)*r1hit
  5519. local rr = math.min((math.max(math.abs((car.Wheels.RR.RotVelocity.Magnitude*car.Wheels.RR.Size.x/2) - (car.Wheels.RR.Velocity.Magnitude))-20,0)),50)*r2hit
  5520. car.Wheels.RL.Smoke.Rate = rl
  5521. car.Wheels.RR.Smoke.Rate = rr
  5522. car.Wheels.RL.SQ.Volume = rl/50
  5523. car.Wheels.RR.SQ.Volume = rr/50
  5524. end
  5525.  
  5526. end,o314)
  5527. end))
  5528. o315.Name = "Turbo"
  5529. o315.Parent = o203
  5530. table.insert(cors,coroutine.create(function()
  5531. wait()
  5532. runDummyScript(function()
  5533. wait(0.1)
  5534. local car = script.Parent.Car.Value
  5535. local BOV = car.DriveSeat.BOV
  5536. --tune
  5537. local PSI = 35
  5538. local Turbos = "Twin" -- "Twin","Single" no quad turbo s14s pls ;)
  5539. local TurboSize = "Large" -- "Small","Medium","Large"
  5540. local TwoStep = true
  5541. local Valve = "BOV" -- "BOV","Bleed"
  5542. --valve things
  5543. local BOVsound = car.DriveSeat.BOV
  5544. BOVsound.Volume = 1 --bov volume
  5545. BOVsound.Pitch = 1 -- pitch, i wouldn't change this lol
  5546. BOVsound.SoundId = "rbxassetid://337982546" --sound, duh.
  5547. --ignore
  5548. local CPSI = 0
  5549. local Values = script.Parent.Parent:FindFirstChild("A-Chassis Interface")
  5550. local Throttle = Values.Values.Throttle.Value
  5551. local CurrentGear = Values.Values.Gear.Value
  5552. local CurrentRPM = Values.Values.RPM.Value
  5553. local _Tune = require(car["A-Chassis Tune"])
  5554. local MaxRPM = _Tune.Redline
  5555. Values.Values.TPSI.Value = PSI
  5556. local DEADBOOST = PSI - 0.5
  5557. local active = false
  5558. local boom = true
  5559. --notes
  5560. --rpm = 11000 / 100000 = 0.1, rpm = 1000 / 100000 = 0.01 * 4 = 0.04
  5561. Values.Values.RPM.Changed:connect(function()
  5562. Throttle = Values.Values.Throttle.Value
  5563. CurrentGear = Values.Values.Gear.Value
  5564. CurrentRPM = Values.Values.RPM.Value
  5565. if Throttle == 1 then
  5566. active = true
  5567. if CPSI < PSI then
  5568. if Turbos == "Single" then
  5569. if TurboSize == "Small" then
  5570. CPSI = CPSI + (CurrentRPM / 75000) * 4
  5571. wait(0.1)
  5572. Values.Values.PSI.Value = CPSI * 8
  5573. Values.Values.APSI.Value = CPSI
  5574. end
  5575. if TurboSize == "Medium" then
  5576. CPSI = CPSI + (CurrentRPM / 100000) * 4
  5577. wait(0.1)
  5578. Values.Values.PSI.Value = CPSI * 10
  5579. Values.Values.APSI.Value = CPSI
  5580. end
  5581. if TurboSize == "Large" then
  5582. CPSI = CPSI + (CurrentRPM / 125000) * 4
  5583. wait(0.1)
  5584. Values.Values.PSI.Value = CPSI * 12
  5585. Values.Values.APSI.Value = CPSI
  5586. end
  5587. elseif Turbos == "Twin" then
  5588. if TurboSize == "Small" then
  5589. CPSI = CPSI + (CurrentRPM / 75000) * 4
  5590. wait(0.05)
  5591. Values.Values.PSI.Value = CPSI * 8
  5592. Values.Values.APSI.Value = CPSI
  5593. end
  5594. if TurboSize == "Medium" then
  5595. CPSI = CPSI + (CurrentRPM / 100000) * 4
  5596. wait(0.05)
  5597. Values.Values.PSI.Value = CPSI * 10
  5598. Values.Values.APSI.Value = CPSI
  5599. end
  5600. if TurboSize == "Large" then
  5601. CPSI = CPSI + (CurrentRPM / 125000) * 4
  5602. wait(0.05)
  5603. Values.Values.PSI.Value = CPSI * 12
  5604. Values.Values.APSI.Value = CPSI
  5605. end
  5606. end
  5607. end
  5608. if CurrentRPM > (_Tune.Redline - 500) and TwoStep == true and boom == true then
  5609. boom = false
  5610. if car.Body.Exhaust.E1.S.IsPlaying then
  5611. else
  5612. local i = math.random(1,4)
  5613. i = math.ceil(i)
  5614. while i >= 1 do
  5615. car.Body.Exhaust.E2.S:Play()
  5616. car.Body.Exhaust.E1.Afterburn.Enabled = true
  5617. car.Body.Exhaust.E2.Afterburn.Enabled = true
  5618. wait(math.random(0.2,.3))
  5619. car.Body.Exhaust.E1.Afterburn.Enabled = false
  5620. car.Body.Exhaust.E2.Afterburn.Enabled = false
  5621. i= i - 1
  5622. end
  5623. wait(0.5)
  5624. boom = true
  5625. end
  5626. end
  5627. end
  5628. if Throttle <= 0.01 and active == true and Valve == "BOV" then
  5629. active = false
  5630. CPSI = 0
  5631. if TurboSize == "Large" then
  5632. Values.Values.PSI.Value = CPSI * 12
  5633. elseif TurboSize == "Medium" then
  5634. Values.Values.PSI.Value = CPSI * 10
  5635. elseif TurboSize == "Small" then
  5636. Values.Values.PSI.Value = CPSI * 8
  5637. end
  5638. Values.Values.APSI.Value = CPSI
  5639. if BOV.IsPlaying then
  5640. else
  5641. BOV:Play()
  5642. end
  5643. end
  5644. if Throttle <= 0.01 and Valve == "Bleed" then
  5645. if CPSI > 0 then
  5646. CPSI = CPSI - 0.1
  5647. wait(0.05)
  5648. end
  5649. if TurboSize == "Large" then
  5650. Values.Values.PSI.Value = CPSI * 12
  5651. elseif TurboSize == "Medium" then
  5652. Values.Values.PSI.Value = CPSI * 10
  5653. elseif TurboSize == "Small" then
  5654. Values.Values.PSI.Value = CPSI * 8
  5655. end
  5656. Values.Values.APSI.Value = CPSI
  5657. if active == true then
  5658. if BOV.IsPlaying then
  5659. else
  5660. BOV:Play()
  5661. active = false
  5662. end
  5663. end
  5664. end
  5665. end
  5666. )
  5667. if boom == false then wait(math.random(1)) boom = true end
  5668. end,o315)
  5669. end))
  5670. o316.Name = "Backfire"
  5671. o316.Parent = o203
  5672. table.insert(cors,coroutine.create(function()
  5673. wait()
  5674. runDummyScript(function()
  5675. local car = script.Parent.Car.Value
  5676. local _Tune = require(car["A-Chassis Tune"])
  5677. local rate=0
  5678. local prate=rate
  5679.  
  5680.  
  5681.  
  5682. car.DriveSeat.ChildRemoved:connect(function(child)
  5683. if child.Name=="SeatWeld" then
  5684. car.Body.Exhaust.E1.Afterburn.Rate=0
  5685. car.Body.Exhaust.E1.L.Range = 0
  5686. car.Body.Exhaust.E1.Sound:Stop()
  5687. end
  5688. end)
  5689.  
  5690. function backfire()
  5691. if script.Parent.IsOn.Value and script.Parent.Values.Throttle.Value <= _Tune.IdleThrottle and script.Parent.Values.RPM.Value>_Tune.PeakRPM and script.Parent.Values.Gear.Value~=-1 then
  5692. rate = 50
  5693. car.Body.Exhaust.E1.Sound:Play()
  5694. elseif rate>0 then
  5695. rate = math.max(rate-50,0)
  5696. end
  5697. if prate~=rate then
  5698. car.Body.Exhaust.E1.Afterburn.Rate = rate
  5699. car.Body.Exhaust.E1.L.Range = (7+(math.random(-10,10)/10))*rate/100
  5700. end
  5701. prate=rate
  5702. if car.DriveSeat:FindFirstChild("Rev")~=nil then
  5703. local on=1
  5704. if not script.Parent.IsOn.Value then on=math.max(on-.015,0) else on=1 end
  5705. end
  5706. end
  5707.  
  5708. while wait(.1) do
  5709. backfire()
  5710. end
  5711.  
  5712. script.Parent.Values.Throttle.Changed:connect(backfire())
  5713. end,o316)
  5714. end))
  5715. o317.Name = "Backfire"
  5716. o317.Parent = o203
  5717. table.insert(cors,coroutine.create(function()
  5718. wait()
  5719. runDummyScript(function()
  5720. local car = script.Parent.Car.Value
  5721. local _Tune = require(car["A-Chassis Tune"])
  5722. local rate=0
  5723. local prate=rate
  5724.  
  5725.  
  5726. car.Body.Exhaust.E2.S:Play()
  5727.  
  5728. car.DriveSeat.ChildRemoved:connect(function(child)
  5729. if child.Name=="SeatWeld" then
  5730. car.Body.Exhaust.E2.S:Stop()
  5731. car.Body.Exhaust.E2.Afterburn.Rate=0
  5732. car.Body.Exhaust.E2.L.Range = 0
  5733. end
  5734. end)
  5735.  
  5736. function backfire()
  5737. if script.Parent.IsOn.Value and script.Parent.Values.Throttle.Value <= _Tune.IdleThrottle and script.Parent.Values.RPM.Value>_Tune.PeakRPM and script.Parent.Values.Gear.Value~=-1 then
  5738. rate = 50
  5739. elseif rate>0 then
  5740. rate = math.max(rate-50,0)
  5741. end
  5742. if prate~=rate then
  5743. car.Body.Exhaust.E2.Afterburn.Rate = rate
  5744. car.Body.Exhaust.E2.L.Range = (7+(math.random(-10,10)/10))*rate/100
  5745. end
  5746. prate=rate
  5747. if car.DriveSeat:FindFirstChild("Rev")~=nil then
  5748. local on=1
  5749. if not script.Parent.IsOn.Value then on=math.max(on-1,0) else on=1 end
  5750. car.Body.Exhaust.E2.S.Volume = (((car.DriveSeat.Rev.Pitch - car.DriveSeat.Rev.SetPitch.Value)/car.DriveSeat.Rev.SetRev.Value)-math.min(1,car.DriveSeat.Velocity.Magnitude/40)*(script.Parent.Values.Throttle.Value))
  5751. car.Body.Exhaust.E2.S.Pitch = (((car.DriveSeat.Rev.Pitch - car.DriveSeat.Rev.SetPitch.Value)/car.DriveSeat.Rev.SetRev.Value)-math.min(1,car.DriveSeat.Velocity.Magnitude/40)*(script.Parent.Values.Throttle.Value))
  5752. end
  5753. end
  5754.  
  5755. while wait(.1) do
  5756. backfire()
  5757. end
  5758.  
  5759. script.Parent.Values.Throttle.Changed:connect(backfire())
  5760. end,o317)
  5761. end))
  5762. o318.Name = "Interior"
  5763. o318.Parent = o203
  5764. table.insert(cors,coroutine.create(function()
  5765. wait()
  5766. runDummyScript(function()
  5767. while true do
  5768. wait()
  5769. local car = script.Parent.Car.Value
  5770. local rpmvalue = script.Parent.Values.RPM.Value
  5771. local speed = car.DriveSeat.Velocity.Magnitude
  5772. local tc = car.Misc.TC.SS.Motor
  5773. local sp = car.Misc.SP.SS.Motor
  5774. tc.DesiredAngle = (-(math.pi/2))*(rpmvalue*(270 / 8000))/90
  5775. sp.DesiredAngle = (math.pi/-2)*(speed)/90
  5776.  
  5777. end
  5778.  
  5779. end,o318)
  5780. end))
  5781. o319.Name = "Pedals"
  5782. o319.Parent = o203
  5783. table.insert(cors,coroutine.create(function()
  5784. wait()
  5785. runDummyScript(function()
  5786. local car = script.Parent.Car.Value
  5787. script.Parent.Values.Throttle.Changed:connect(function()
  5788. car.Misc.GP.SS.Motor.DesiredAngle = script.Parent.Values.Throttle.Value^2*math.rad(45)
  5789. end)
  5790. script.Parent.Values.Brake.Changed:connect(function()
  5791. car.Misc.BP.SS.Motor.DesiredAngle = script.Parent.Values.Brake.Value^2*math.rad(45)
  5792. end)
  5793. end,o319)
  5794. end))
  5795. o320.Name = "Ignition"
  5796. o320.Parent = o203
  5797. table.insert(cors,coroutine.create(function()
  5798. wait()
  5799. runDummyScript(function()
  5800. local car = script.Parent.Car.Value
  5801.  
  5802. script:WaitForChild("Start1")
  5803. script:WaitForChild("Start2")
  5804.  
  5805. for i,v in pairs(car.DriveSeat:GetChildren()) do
  5806. for _,a in pairs(script:GetChildren()) do
  5807. if v.Name==a.Name then v:Stop() wait() v:Destroy() end
  5808. end
  5809. end
  5810. for i,v in pairs(script:GetChildren()) do
  5811. v.Parent=car.DriveSeat
  5812. end
  5813.  
  5814. car.DriveSeat.Start1:Play()
  5815. wait(2)
  5816. car.DriveSeat.Start2:Play()
  5817. script.Parent.IsOn.Value=true
  5818. wait(5)
  5819. car.DriveSeat.Start1:Stop()
  5820. car.DriveSeat.Start2:Stop()
  5821. end,o320)
  5822. end))
  5823. o321.Name = "Start1"
  5824. o321.Parent = o320
  5825. o321.SoundId = "rbxassetid://739230574"
  5826. o321.Volume = 6
  5827. o322.Name = "Start2"
  5828. o322.Parent = o320
  5829. o322.SoundId = "rbxassetid://739230574"
  5830. o322.Volume = 0
  5831. o323.Name = "SteeringWheel"
  5832. o323.Parent = o203
  5833. table.insert(cors,coroutine.create(function()
  5834. wait()
  5835. runDummyScript(function()
  5836. local car = script.Parent.Car.Value
  5837. script.Parent.Values.SteerC.Changed:connect(function()
  5838. local ex = 1
  5839. if script.Parent.Values.SteerC.Value<0 then ex=-1 end
  5840. car.Misc.SW.SS.Motor.DesiredAngle = script.Parent.Values.SteerC.Value^2*math.rad(-90)*ex
  5841. end)
  5842. end,o323)
  5843. end))
  5844. o324.Name = "AC6_Stock_Sound"
  5845. o324.Parent = o203
  5846. table.insert(cors,coroutine.create(function()
  5847. wait()
  5848. runDummyScript(function()
  5849. local FE = workspace.FilteringEnabled
  5850. local car = script.Parent.Car.Value
  5851. local _Tune = require(car["A-Chassis Tune"])
  5852. local on = 0
  5853.  
  5854. script:WaitForChild("Rev")
  5855.  
  5856. if not FE then
  5857. for i,v in pairs(car.DriveSeat:GetChildren()) do
  5858. for _,a in pairs(script:GetChildren()) do
  5859. if v.Name==a.Name then v:Stop() wait() v:Destroy() end
  5860. end
  5861. end
  5862. for i,v in pairs(script:GetChildren()) do
  5863. v.Parent=car.DriveSeat
  5864. end
  5865.  
  5866. car.DriveSeat.Rev:Play()
  5867.  
  5868. while wait() do
  5869. local _RPM = script.Parent.Values.RPM.Value
  5870.  
  5871. if not script.Parent.IsOn.Value then on=math.max(on-.015,0) else on=1 end
  5872. car.DriveSeat.Rev.Pitch = (car.DriveSeat.Rev.SetPitch.Value + car.DriveSeat.Rev.SetRev.Value*_RPM/_Tune.Redline)*on^2
  5873. end
  5874. else
  5875. local handler = car.AC6_FE_Sounds
  5876. handler:FireServer("newSound","Rev",car.DriveSeat,script.Rev.SoundId,0,script.Rev.Volume,true)
  5877. handler:FireServer("playSound","Rev")
  5878. local pitch=0
  5879. while wait() do
  5880. local _RPM = script.Parent.Values.RPM.Value
  5881.  
  5882. if not script.Parent.IsOn.Value then on=math.max(on-.015,0) else on=1 end
  5883. pitch = (script.Rev.SetPitch.Value + script.Rev.SetRev.Value*_RPM/_Tune.Redline)*on^2
  5884. handler:FireServer("updateSound","Rev",script.Rev.SoundId,pitch,script.Rev.Volume)
  5885. end
  5886. end
  5887.  
  5888. end,o324)
  5889. end))
  5890. o325.Name = "Rev"
  5891. o325.Parent = o324
  5892. o325.SoundId = "rbxassetid://347190582"
  5893. o325.Volume = 5
  5894. o325.Looped = true
  5895. o326.Name = "SetRev"
  5896. o326.Parent = o325
  5897. o326.Value = 2
  5898. o327.Name = "SetPitch"
  5899. o327.Parent = o325
  5900. o327.Value = 0.1
  5901. o328.Name = "AC6_FE_Sounds"
  5902. o328.Parent = o324
  5903. o329.Name = "Handler"
  5904. o329.Parent = o328
  5905. o329.Disabled = true
  5906. table.insert(cors,coroutine.create(function()
  5907. wait()
  5908. runDummyScript(function()
  5909. local Sounds = {}
  5910. local F = {}
  5911.  
  5912. F.newSound = function(name,par,id,pitch,volume,loop)
  5913. for i,v in pairs(Sounds) do
  5914. if i==name then
  5915. v:Stop()
  5916. v:Destroy()
  5917. end
  5918. end
  5919. local sn = Instance.new("Sound",par)
  5920. sn.Name = name
  5921. sn.SoundId = id
  5922. sn.Pitch = pitch
  5923. sn.Volume = volume
  5924. sn.Looped = loop
  5925. sn.AncestryChanged:connect(function(child,parent) print(parent) end)
  5926. Sounds[name]=sn
  5927. end
  5928.  
  5929. F.updateSound = function(sound,id,pit,vol)
  5930. local sn = Sounds[sound]
  5931. if id~=sn.SoundId then sn.SoundId = id end
  5932. if pit~=sn.Pitch then sn.Pitch = pit end
  5933. if vol~=sn.Volume then sn.Volume = vol end
  5934. end
  5935.  
  5936. F.playSound = function(sound)
  5937. Sounds[sound]:Play()
  5938. end
  5939.  
  5940. F.pauseSound = function(sound)
  5941. Sounds[sound]:Pause()
  5942. end
  5943.  
  5944. F.stopSound = function(sound)
  5945. Sounds[sound]:Stop()
  5946. end
  5947.  
  5948. F.removeSound = function(sound)
  5949. Sounds[sound]:Stop()
  5950. Sounds[sound]:Destroy()
  5951. Sounds[sound]=nil
  5952. end
  5953.  
  5954. script.Parent.OnServerEvent:connect(function(pl,Fnc,...)
  5955. F[Fnc](...)
  5956. end)
  5957. end,o329)
  5958. end))
  5959. o330.Name = "Lights"
  5960. o330.Parent = o203
  5961. table.insert(cors,coroutine.create(function()
  5962. wait()
  5963. runDummyScript(function()
  5964. script.Parent:WaitForChild("Values")
  5965.  
  5966. local is = game:GetService("UserInputService")
  5967. local cr = script.Parent.Car.Value
  5968. local lt = cr.Body.Lights
  5969. local tk = cr.Body.TK
  5970. local vl = script.Parent.Values
  5971. local GBrake = vl.Brake
  5972. local gr = vl.Gear
  5973. local bk = vl.Brake.Value
  5974.  
  5975. local l1 = lt.RunL
  5976. local r1 = lt.RunR
  5977. local b1 = tk.RLeft
  5978. local b2 = tk.RRight
  5979. local b3 = lt.Brake
  5980. local b4 = tk.Brake
  5981. local lw = lt.B
  5982. local lww = lt.L
  5983. local lwww = lt.L2
  5984. local hi = lt.HB
  5985. local rb = tk.RB
  5986. local rv = tk.Reverse
  5987.  
  5988. local left = false
  5989. local right = false
  5990. local hazards = false
  5991. local reverse = false
  5992. local headlt = false
  5993. local highlt = false
  5994. local relay = false
  5995. local brake = false
  5996.  
  5997. function DealWithInput(input,processed)
  5998. if (processed) then return end
  5999. if input.KeyCode == Enum.KeyCode.S or input.KeyCode == Enum.KeyCode.Down then --Brake
  6000. if input.UserInputState == Enum.UserInputState.Begin then
  6001. brake=true
  6002. b3.BrickColor = BrickColor.new("Really red")
  6003. b3.Material = Enum.Material.Neon
  6004. b4.BrickColor = BrickColor.new("Really red")
  6005. b4.Material = Enum.Material.Neon
  6006. elseif input.UserInputState == Enum.UserInputState.End then
  6007. brake=false
  6008. b3.BrickColor = BrickColor.new("Bright red")
  6009. b3.Material = Enum.Material.SmoothPlastic
  6010. b4.BrickColor = BrickColor.new("Black")
  6011. b4.Material = Enum.Material.SmoothPlastic
  6012. end
  6013. elseif input.KeyCode == Enum.KeyCode.Z then if input.UserInputState == Enum.UserInputState.Begin then
  6014. if hazards then return end
  6015. left = not left
  6016. right = false
  6017. if relay then repeat wait() until not relay end
  6018. while left do
  6019. l1.BrickColor = BrickColor.new("Deep orange")
  6020. l1.Material = Enum.Material.Neon
  6021. b1.BrickColor = BrickColor.new("Really red")
  6022. b1.Material = Enum.Material.Neon
  6023. cr.DriveSeat.Indicator.Value = true
  6024. cr.DriveSeat.LI.Value = true
  6025. wait(1/3)
  6026. l1.BrickColor = BrickColor.new("Medium stone grey")
  6027. l1.Material = Enum.Material.SmoothPlastic
  6028. cr.DriveSeat.Indicator.Value = false
  6029. cr.DriveSeat.LI.Value = false
  6030. if not headlt then
  6031. b1.BrickColor = BrickColor.new("Bright red")
  6032. b1.Material = Enum.Material.SmoothPlastic
  6033. else
  6034. b1.BrickColor = BrickColor.new("Bright red")
  6035. b1.Material = Enum.Material.SmoothPlastic
  6036. end
  6037. wait(1/3)
  6038. if not left then
  6039. l1.Material = Enum.Material.Neon
  6040. l1.BrickColor = BrickColor.new("Pearl")
  6041. end
  6042. end end
  6043. elseif input.KeyCode == Enum.KeyCode.X then if input.UserInputState == Enum.UserInputState.Begin then
  6044. if hazards == false then
  6045. hazards = true
  6046. left = true
  6047. right = true
  6048. else
  6049. hazards = false
  6050. left = false
  6051. right = false
  6052. end
  6053. if hazards then left = false right = false end
  6054. if relay then repeat wait() until not relay end
  6055. while hazards do
  6056. l1.BrickColor = BrickColor.new("Deep orange")
  6057. l1.Material = Enum.Material.Neon
  6058. r1.BrickColor = BrickColor.new("Deep orange")
  6059. r1.Material = Enum.Material.Neon
  6060. b1.BrickColor = BrickColor.new("Really red")
  6061. b1.Material = Enum.Material.Neon
  6062.  
  6063. b2.BrickColor = BrickColor.new("Really red")
  6064. b2.Material = Enum.Material.Neon
  6065. cr.DriveSeat.Indicator.Value = true
  6066. cr.DriveSeat.LI.Value = true
  6067. cr.DriveSeat.RI.Value = true
  6068. wait(1/3)
  6069. l1.BrickColor = BrickColor.new("Medium stone grey")
  6070. l1.Material = Enum.Material.SmoothPlastic
  6071. r1.BrickColor = BrickColor.new("Medium stone grey")
  6072. r1.Material = Enum.Material.SmoothPlastic
  6073. b1.BrickColor = BrickColor.new("Bright red")
  6074. b1.Material = Enum.Material.SmoothPlastic
  6075. b2.BrickColor = BrickColor.new("Bright red")
  6076. b2.Material = Enum.Material.SmoothPlastic
  6077. cr.DriveSeat.Indicator.Value = false
  6078. cr.DriveSeat.LI.Value = false
  6079. cr.DriveSeat.RI.Value = false
  6080. wait(1/3)
  6081. if not hazards then
  6082. l1.Material = Enum.Material.Neon
  6083. r1.Material = Enum.Material.Neon
  6084. l1.BrickColor = BrickColor.new("Pearl")
  6085. r1.BrickColor = BrickColor.new("Pearl")
  6086. end
  6087. end end
  6088. elseif input.KeyCode == Enum.KeyCode.C then if input.UserInputState == Enum.UserInputState.Begin then
  6089. if hazards then return end
  6090. right = not right
  6091. left = false
  6092. if relay then repeat wait() until not relay end
  6093. while right do
  6094. r1.BrickColor = BrickColor.new("Deep orange")
  6095. r1.Material = Enum.Material.Neon
  6096. b2.BrickColor = BrickColor.new("Really red")
  6097. b2.Material = Enum.Material.Neon
  6098. cr.DriveSeat.Indicator.Value = true
  6099. cr.DriveSeat.RI.Value = true
  6100. wait(1/3)
  6101. r1.BrickColor = BrickColor.new("Pearl")
  6102. r1.Material = Enum.Material.SmoothPlastic
  6103. cr.DriveSeat.Indicator.Value = false
  6104. cr.DriveSeat.RI.Value = false
  6105. if not headlt then
  6106. b2.BrickColor = BrickColor.new("Bright red")
  6107. b2.Material = Enum.Material.SmoothPlastic
  6108. else
  6109. b2.BrickColor = BrickColor.new("Bright red")
  6110. b2.Material = Enum.Material.SmoothPlastic
  6111. end
  6112. wait(1/3)
  6113. if not right then
  6114. r1.Material = Enum.Material.Neon
  6115. r1.BrickColor = BrickColor.new("Pearl")
  6116. end
  6117. end end
  6118. elseif input.KeyCode == Enum.KeyCode.L then if input.UserInputState == Enum.UserInputState.Begin then
  6119. if headlt and not highlt then
  6120. highlt = true
  6121. elseif headlt and highlt then
  6122. headlt = false
  6123. highlt = false
  6124. elseif not headlt then
  6125. headlt = true
  6126. end
  6127. if highlt then
  6128. hi.BrickColor = BrickColor.new("Pearl")
  6129. hi.Material = Enum.Material.Neon
  6130. lwww.SpotLight.Enabled = true
  6131. rb.BrickColor = BrickColor.new("Really red")
  6132. rb.Material = Enum.Material.Neon
  6133. elseif not highlt then
  6134. hi.BrickColor = BrickColor.new("Pearl")
  6135. hi.Material = Enum.Material.SmoothPlastic
  6136. lwww.SpotLight.Enabled = false
  6137. if not headlt then
  6138. rb.BrickColor = BrickColor.new("Bright red")
  6139. rb.Material = Enum.Material.SmoothPlastic
  6140. elseif not headlt or highlt then
  6141. rb.BrickColor = BrickColor.new("Bright red")
  6142. rb.Material = Enum.Material.SmoothPlastic
  6143. end
  6144. end
  6145. if headlt then
  6146. lw.BrickColor = BrickColor.new("Pearl")
  6147. lw.Material = Enum.Material.Neon
  6148. lww.SpotLight.Enabled = true
  6149. rb.BrickColor = BrickColor.new("Really red")
  6150. rb.Material = Enum.Material.Neon
  6151. if not highlt then
  6152. lw.BrickColor = BrickColor.new("Pearl")
  6153. rb.BrickColor = BrickColor.new("Really red")
  6154. rb.Material = Enum.Material.Neon
  6155. else
  6156. end
  6157. elseif not headlt then
  6158. lw.BrickColor = BrickColor.new("Pearl")
  6159. lw.Material = Enum.Material.SmoothPlastic
  6160. lww.SpotLight.Enabled = false
  6161. if not brake then
  6162. end
  6163. end end
  6164. end
  6165. end
  6166.  
  6167. is.InputBegan:connect(DealWithInput)
  6168. is.InputChanged:connect(DealWithInput)
  6169. is.InputEnded:connect(DealWithInput)
  6170.  
  6171. gr.Changed:connect(function()
  6172. if gr.Value == -1 then
  6173. rv.Material = Enum.Material.Neon
  6174. else
  6175. rv.Material = Enum.Material.SmoothPlastic
  6176. end
  6177. end)
  6178. end,o330)
  6179. end))
  6180. o331.Name = "AC6_Stock_Gauges"
  6181. o331.Parent = o203
  6182. o331.Position = UDim2.new(0,0,0,300)
  6183. o331.Size = UDim2.new(1,0,1,0)
  6184. o331.Position = UDim2.new(0,0,0,300)
  6185. o331.BackgroundColor3 = Color3.new(1, 1, 1)
  6186. o331.BackgroundTransparency = 1
  6187. o331.BorderSizePixel = 0
  6188. o332.Name = "Gauges_AC6"
  6189. o332.Parent = o331
  6190. table.insert(cors,coroutine.create(function()
  6191. wait()
  6192. runDummyScript(function()
  6193. --[[
  6194. ___ _______ _
  6195. / _ |____/ ___/ / ___ ____ ___ (_)__
  6196. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  6197. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  6198. SecondLogic @ Inspare
  6199. ]]
  6200.  
  6201. script.Parent:WaitForChild("Speedo")
  6202. script.Parent:WaitForChild("Tach")
  6203. script.Parent:WaitForChild("ln")
  6204. script.Parent:WaitForChild("Gear")
  6205. script.Parent:WaitForChild("Speed")
  6206.  
  6207.  
  6208. local car = script.Parent.Parent.Car.Value
  6209. car.DriveSeat.HeadsUpDisplay = false
  6210.  
  6211. local _Tune = require(car["A-Chassis Tune"])
  6212.  
  6213. local _pRPM = _Tune.PeakRPM
  6214. local _lRPM = _Tune.Redline
  6215.  
  6216. local revEnd = math.ceil(_lRPM/1000)
  6217.  
  6218. local Drive={}
  6219. if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
  6220. if car.Wheels:FindFirstChild("FL")~= nil then
  6221. table.insert(Drive,car.Wheels.FL)
  6222. end
  6223. if car.Wheels:FindFirstChild("FR")~= nil then
  6224. table.insert(Drive,car.Wheels.FR)
  6225. end
  6226. if car.Wheels:FindFirstChild("F")~= nil then
  6227. table.insert(Drive,car.Wheels.F)
  6228. end
  6229. end
  6230. if _Tune.Config == "RWD" or _Tune.Config == "AWD" then
  6231. if car.Wheels:FindFirstChild("RL")~= nil then
  6232. table.insert(Drive,car.Wheels.RL)
  6233. end
  6234. if car.Wheels:FindFirstChild("RR")~= nil then
  6235. table.insert(Drive,car.Wheels.RR)
  6236. end
  6237. if car.Wheels:FindFirstChild("R")~= nil then
  6238. table.insert(Drive,car.Wheels.R)
  6239. end
  6240. end
  6241.  
  6242. local wDia = 0
  6243. for i,v in pairs(Drive) do
  6244. if v.Size.x>wDia then wDia = v.Size.x end
  6245. end
  6246. Drive = nil
  6247. local maxSpeed = math.ceil(wDia*math.pi*_lRPM/60/_Tune.Ratios[#_Tune.Ratios]/_Tune.FinalDrive)
  6248. local spInc = math.max(math.ceil(maxSpeed/200)*20,20)
  6249.  
  6250.  
  6251. for i=0,revEnd*2 do
  6252. local ln = script.Parent.ln:clone()
  6253. ln.Parent = script.Parent.Tach
  6254. ln.Rotation = 45 + i * 225 / (revEnd*2)
  6255. ln.Num.Text = i/2
  6256. ln.Num.Rotation = -ln.Rotation
  6257. if i*500>=math.floor(_pRPM/500)*500 then
  6258. ln.Frame.BackgroundColor3 = Color3.new(1,0,0)
  6259. if i<revEnd*2 then
  6260. ln2 = ln:clone()
  6261. ln2.Parent = script.Parent.Tach
  6262. ln2.Rotation = 45 + (i+.5) * 225 / (revEnd*2)
  6263. ln2.Num:Destroy()
  6264. ln2.Visible=true
  6265. end
  6266. end
  6267. if i%2==0 then
  6268. ln.Frame.Size = UDim2.new(0,3,0,10)
  6269. ln.Frame.Position = UDim2.new(0,-1,0,100)
  6270. ln.Num.Visible = true
  6271. else
  6272. ln.Num:Destroy()
  6273. end
  6274. ln.Visible=true
  6275. end
  6276.  
  6277. for i=1,90 do
  6278. local ln = script.Parent.ln:clone()
  6279. ln.Parent = script.Parent.Speedo
  6280. ln.Rotation = 45 + 225*(i/90)
  6281. if i%2==0 then
  6282. ln.Frame.Size = UDim2.new(0,2,0,10)
  6283. ln.Frame.Position = UDim2.new(0,-1,0,100)
  6284. else
  6285. ln.Frame.Size = UDim2.new(0,3,0,5)
  6286. end
  6287. ln.Num:Destroy()
  6288. ln.Visible=true
  6289. end
  6290. for i=0,maxSpeed,spInc do
  6291. local ln = script.Parent.ln:clone()
  6292. ln.Parent = script.Parent.Speedo
  6293. ln.Rotation = 45 + 225*(i/maxSpeed)
  6294. ln.Num.Text = i
  6295. ln.Num.Rotation = -ln.Rotation
  6296. ln.Frame:Destroy()
  6297. ln.Num.Visible=true
  6298. ln.Visible=true
  6299. end
  6300.  
  6301. if script.Parent.Parent.IsOn.Value then
  6302. script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
  6303. end
  6304.  
  6305. script.Parent.Parent.IsOn.Changed:connect(function()
  6306. if script.Parent.Parent.IsOn.Value then
  6307. script.Parent:TweenPosition(UDim2.new(0, 0, 0, 0),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,1,true)
  6308. end
  6309. end)
  6310.  
  6311. script.Parent.Parent.Values.RPM.Changed:connect(function()
  6312. script.Parent.Tach.Needle.Rotation = 45 + 225 * math.min(1,script.Parent.Parent.Values.RPM.Value / (revEnd*1000))
  6313. end)
  6314.  
  6315. script.Parent.Parent.Values.Gear.Changed:connect(function()
  6316. local gearText = script.Parent.Parent.Values.Gear.Value
  6317. if gearText == 0 then gearText = "N"
  6318. elseif gearText == -1 then gearText = "R"
  6319. end
  6320. script.Parent.Gear.Text = gearText
  6321. end)
  6322.  
  6323. script.Parent.Parent.Values.TCS.Changed:connect(function()
  6324. if script.Parent.Parent.Values.TCS.Value then
  6325. script.Parent.TCS.TextColor3 = Color3.new(1,170/255,0)
  6326. script.Parent.TCS.TextStrokeColor3 = Color3.new(1,170/255,0)
  6327. if script.Parent.Parent.Values.TCSActive.Value then
  6328. wait()
  6329. script.Parent.TCS.Visible = not script.Parent.TCS.Visible
  6330. else
  6331. wait()
  6332. script.Parent.TCS.Visible = false
  6333. end
  6334. else
  6335. script.Parent.TCS.Visible = true
  6336. script.Parent.TCS.TextColor3 = Color3.new(1,0,0)
  6337. script.Parent.TCS.TextStrokeColor3 = Color3.new(1,0,0)
  6338. end
  6339. end)
  6340.  
  6341. script.Parent.Parent.Values.TCSActive.Changed:connect(function()
  6342. if script.Parent.Parent.Values.TCSActive.Value and script.Parent.Parent.Values.TCS.Value then
  6343. wait()
  6344. script.Parent.TCS.Visible = not script.Parent.TCS.Visible
  6345. elseif not script.Parent.Parent.Values.TCS.Value then
  6346. wait()
  6347. script.Parent.TCS.Visible = true
  6348. else
  6349. wait()
  6350. script.Parent.TCS.Visible = false
  6351. end
  6352. end)
  6353.  
  6354. script.Parent.TCS.Changed:connect(function()
  6355. if script.Parent.Parent.Values.TCSActive.Value and script.Parent.Parent.Values.TCS.Value then
  6356. wait()
  6357. script.Parent.TCS.Visible = not script.Parent.TCS.Visible
  6358. elseif not script.Parent.Parent.Values.TCS.Value then
  6359. wait()
  6360. script.Parent.TCS.Visible = true
  6361. end
  6362. end)
  6363.  
  6364. script.Parent.Parent.Values.PBrake.Changed:connect(function()
  6365. script.Parent.PBrake.Visible = script.Parent.Parent.Values.PBrake.Value
  6366. end)
  6367.  
  6368. script.Parent.Parent.Values.TransmissionMode.Changed:connect(function()
  6369. if script.Parent.Parent.Values.TransmissionMode.Value == "Auto" then
  6370. script.Parent.TMode.Text = "A/T"
  6371. script.Parent.TMode.BackgroundColor3 = Color3.new(1,170/255,0)
  6372. elseif script.Parent.Parent.Values.TransmissionMode.Value == "Semi" then
  6373. script.Parent.TMode.Text = "S/T"
  6374. script.Parent.TMode.BackgroundColor3 = Color3.new(0, 170/255, 127/255)
  6375. else
  6376. script.Parent.TMode.Text = "M/T"
  6377. script.Parent.TMode.BackgroundColor3 = Color3.new(1,85/255,.5)
  6378. end
  6379. end)
  6380.  
  6381. script.Parent.Parent.Values.Velocity.Changed:connect(function(property)
  6382. script.Parent.Speedo.Needle.Rotation =45 + 225 * math.min(1,script.Parent.Parent.Values.Velocity.Value.Magnitude/maxSpeed)
  6383. script.Parent.Speed.Text = math.floor(script.Parent.Parent.Values.Velocity.Value.Magnitude) .. " SPS"
  6384. end)
  6385.  
  6386. end,o332)
  6387. end))
  6388. o333.Name = "Tach"
  6389. o333.Parent = o331
  6390. o333.Position = UDim2.new(1,-400,1,-100)
  6391. o333.Position = UDim2.new(1,-400,1,-100)
  6392. o333.BackgroundColor3 = Color3.new(1, 1, 1)
  6393. o333.BorderSizePixel = 0
  6394. o334.Name = "Needle"
  6395. o334.Parent = o333
  6396. o334.Rotation = 45
  6397. o334.BackgroundColor3 = Color3.new(1, 1, 1)
  6398. o334.BorderSizePixel = 0
  6399. o335.Parent = o334
  6400. o335.Position = UDim2.new(0,-2,0,-10)
  6401. o335.Size = UDim2.new(0,4,0,110)
  6402. o335.Position = UDim2.new(0,-2,0,-10)
  6403. o335.BackgroundColor3 = Color3.new(1, 0, 0)
  6404. o335.BackgroundTransparency = 0.10000000149012
  6405. o335.BorderSizePixel = 0
  6406. o335.ZIndex = 2
  6407. o336.Name = "Speedo"
  6408. o336.Parent = o331
  6409. o336.Position = UDim2.new(1,-150,1,-100)
  6410. o336.Position = UDim2.new(1,-150,1,-100)
  6411. o336.BackgroundColor3 = Color3.new(1, 1, 1)
  6412. o336.BorderSizePixel = 0
  6413. o337.Name = "Needle"
  6414. o337.Parent = o336
  6415. o337.Rotation = 45
  6416. o337.BackgroundColor3 = Color3.new(1, 1, 1)
  6417. o337.BorderSizePixel = 0
  6418. o338.Parent = o337
  6419. o338.Position = UDim2.new(0,-2,0,-10)
  6420. o338.Size = UDim2.new(0,4,0,110)
  6421. o338.Position = UDim2.new(0,-2,0,-10)
  6422. o338.BackgroundColor3 = Color3.new(1, 0, 0)
  6423. o338.BackgroundTransparency = 0.10000000149012
  6424. o338.BorderSizePixel = 0
  6425. o338.ZIndex = 2
  6426. o339.Name = "ln"
  6427. o339.Parent = o331
  6428. o339.Rotation = 45
  6429. o339.Visible = false
  6430. o339.BackgroundColor3 = Color3.new(1, 1, 1)
  6431. o339.BorderSizePixel = 0
  6432. o340.Parent = o339
  6433. o340.Position = UDim2.new(0,-2,0,105)
  6434. o340.Size = UDim2.new(0,3,0,5)
  6435. o340.Position = UDim2.new(0,-2,0,105)
  6436. o340.BackgroundColor3 = Color3.new(1, 1, 1)
  6437. o340.BackgroundTransparency = 0.10000000149012
  6438. o340.BorderSizePixel = 0
  6439. o341.Name = "Num"
  6440. o341.Parent = o339
  6441. o341.Position = UDim2.new(0,0,0,88)
  6442. o341.Rotation = -45
  6443. o341.Text = "0"
  6444. o341.Position = UDim2.new(0,0,0,88)
  6445. o341.Visible = false
  6446. o341.BackgroundColor3 = Color3.new(1, 1, 1)
  6447. o341.BackgroundTransparency = 1
  6448. o341.BorderSizePixel = 0
  6449. o341.Font = Enum.Font.ArialBold
  6450. o341.FontSize = Enum.FontSize.Size18
  6451. o341.TextColor3 = Color3.new(1, 1, 1)
  6452. o341.TextStrokeColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  6453. o341.TextStrokeTransparency = 0.89999997615814
  6454. o341.TextTransparency = 0.10000000149012
  6455. o342.Name = "Gear"
  6456. o342.Parent = o331
  6457. o342.Position = UDim2.new(1,-350,1,-70)
  6458. o342.Text = "N"
  6459. o342.Position = UDim2.new(1,-350,1,-70)
  6460. o342.BackgroundColor3 = Color3.new(1, 1, 1)
  6461. o342.BackgroundTransparency = 1
  6462. o342.BorderSizePixel = 0
  6463. o342.Font = Enum.Font.ArialBold
  6464. o342.FontSize = Enum.FontSize.Size48
  6465. o342.TextColor3 = Color3.new(1, 1, 1)
  6466. o342.TextStrokeColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  6467. o342.TextStrokeTransparency = 0.89999997615814
  6468. o342.TextTransparency = 0.10000000149012
  6469. o343.Name = "Speed"
  6470. o343.Parent = o331
  6471. o343.Position = UDim2.new(1,-90,1,-70)
  6472. o343.Text = "0 SPS"
  6473. o343.Position = UDim2.new(1,-90,1,-70)
  6474. o343.BackgroundColor3 = Color3.new(1, 1, 1)
  6475. o343.BackgroundTransparency = 1
  6476. o343.BorderSizePixel = 0
  6477. o343.Font = Enum.Font.ArialBold
  6478. o343.FontSize = Enum.FontSize.Size24
  6479. o343.TextColor3 = Color3.new(1, 1, 1)
  6480. o343.TextStrokeColor3 = Color3.new(0.835294, 0.835294, 0.835294)
  6481. o343.TextStrokeTransparency = 0.89999997615814
  6482. o343.TextTransparency = 0.10000000149012
  6483. o343.TextXAlignment = Enum.TextXAlignment.Right
  6484. o344.Name = "ABS"
  6485. o344.Parent = o331
  6486. o344.Position = UDim2.new(0.5,130,1,-100)
  6487. o344.Text = "ABS"
  6488. o344.Position = UDim2.new(0.5,130,1,-100)
  6489. o344.Visible = false
  6490. o344.BackgroundColor3 = Color3.new(1, 1, 1)
  6491. o344.BackgroundTransparency = 1
  6492. o344.BorderSizePixel = 0
  6493. o344.Font = Enum.Font.ArialBold
  6494. o344.FontSize = Enum.FontSize.Size18
  6495. o344.TextColor3 = Color3.new(1, 0.666667, 0)
  6496. o344.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  6497. o344.TextStrokeTransparency = 0.89999997615814
  6498. o344.TextTransparency = 0.10000000149012
  6499. o344.TextXAlignment = Enum.TextXAlignment.Right
  6500. o345.Name = "PBrake"
  6501. o345.Parent = o331
  6502. o345.Position = UDim2.new(0.5,200,1,-120)
  6503. o345.Text = "P"
  6504. o345.Position = UDim2.new(0.5,200,1,-120)
  6505. o345.Visible = false
  6506. o345.BackgroundColor3 = Color3.new(1, 1, 1)
  6507. o345.BackgroundTransparency = 1
  6508. o345.BorderSizePixel = 0
  6509. o345.Font = Enum.Font.ArialBold
  6510. o345.FontSize = Enum.FontSize.Size24
  6511. o345.TextColor3 = Color3.new(1, 0.333333, 0.498039)
  6512. o345.TextStrokeColor3 = Color3.new(1, 0.333333, 0.498039)
  6513. o345.TextStrokeTransparency = 0.89999997615814
  6514. o345.TextTransparency = 0.10000000149012
  6515. o345.TextXAlignment = Enum.TextXAlignment.Right
  6516. o346.Name = "TCS"
  6517. o346.Parent = o331
  6518. o346.Position = UDim2.new(0.5,130,1,-120)
  6519. o346.Text = "TCS"
  6520. o346.Position = UDim2.new(0.5,130,1,-120)
  6521. o346.Visible = false
  6522. o346.BackgroundColor3 = Color3.new(1, 1, 1)
  6523. o346.BackgroundTransparency = 1
  6524. o346.BorderSizePixel = 0
  6525. o346.Font = Enum.Font.ArialBold
  6526. o346.FontSize = Enum.FontSize.Size18
  6527. o346.TextColor3 = Color3.new(1, 0.666667, 0)
  6528. o346.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  6529. o346.TextStrokeTransparency = 0.89999997615814
  6530. o346.TextTransparency = 0.10000000149012
  6531. o346.TextXAlignment = Enum.TextXAlignment.Right
  6532. o347.Name = "TMode"
  6533. o347.Parent = o331
  6534. o347.Position = UDim2.new(1,-435,1,-40)
  6535. o347.Size = UDim2.new(0,40,0,20)
  6536. o347.Text = "A/T"
  6537. o347.Position = UDim2.new(1,-435,1,-40)
  6538. o347.BackgroundColor3 = Color3.new(1, 0.666667, 0)
  6539. o347.BackgroundTransparency = 0.5
  6540. o347.BorderSizePixel = 0
  6541. o347.Font = Enum.Font.ArialBold
  6542. o347.FontSize = Enum.FontSize.Size18
  6543. o347.TextColor3 = Color3.new(1, 1, 1)
  6544. o347.TextStrokeColor3 = Color3.new(1, 0.666667, 0)
  6545. o347.TextStrokeTransparency = 0.89999997615814
  6546. o347.TextTransparency = 0.10000000149012
  6547. o348.Name = "A-Chassis Interface"
  6548. o348.Parent = mas
  6549. o349.Name = "Car"
  6550. o349.Parent = o348
  6551. o350.Name = "Values"
  6552. o350.Parent = o348
  6553. o351.Name = "RPM"
  6554. o351.Parent = o350
  6555. o352.Name = "Horsepower"
  6556. o352.Parent = o350
  6557. o353.Name = "Torque"
  6558. o353.Parent = o350
  6559. o354.Name = "TransmissionMode"
  6560. o354.Parent = o350
  6561. o355.Name = "Gear"
  6562. o355.Parent = o350
  6563. o356.Name = "Throttle"
  6564. o356.Parent = o350
  6565. o357.Name = "SteerC"
  6566. o357.Parent = o350
  6567. o358.Name = "SteerT"
  6568. o358.Parent = o350
  6569. o359.Name = "Brake"
  6570. o359.Parent = o350
  6571. o360.Name = "TCS"
  6572. o360.Parent = o350
  6573. o361.Name = "PBrake"
  6574. o361.Parent = o350
  6575. o362.Name = "TCSActive"
  6576. o362.Parent = o350
  6577. o363.Name = "Velocity"
  6578. o363.Parent = o350
  6579. o364.Name = "IsOn"
  6580. o364.Parent = o348
  6581. o365.Name = "ControlsOpen"
  6582. o365.Parent = o348
  6583. o366.Name = "Drive"
  6584. o366.Parent = o348
  6585. table.insert(cors,coroutine.create(function()
  6586. wait()
  6587. runDummyScript(function()
  6588. --[[
  6589. ___ _______ _
  6590. / _ |____/ ___/ / ___ ____ ___ (_)__
  6591. / __ /___/ /__/ _ \/ _ `(_-<(_-</ (_-<
  6592. /_/ |_| \___/_//_/\_,_/___/___/_/___/
  6593. SecondLogic @ Inspare
  6594.  
  6595.  
  6596. *I assume you know what you're doing if you're gonna change something here.* ]]--
  6597.  
  6598.  
  6599. script.Parent:WaitForChild("Car")
  6600. script.Parent:WaitForChild("IsOn")
  6601. script.Parent:WaitForChild("ControlsOpen")
  6602. script.Parent:WaitForChild("Values")
  6603.  
  6604. --Vars
  6605. local player = game.Players.LocalPlayer
  6606. local mouse = player:GetMouse()
  6607. local UserInputService = game:GetService("UserInputService")
  6608. local cam = workspace.CurrentCamera
  6609.  
  6610. local car = script.Parent.Car.Value
  6611. local _Tune = require(car["A-Chassis Tune"])
  6612. local _IsOn = _Tune.AutoStart
  6613. if _Tune.AutoStart then script.Parent.IsOn.Value=true end
  6614.  
  6615. local _GSteerT=0
  6616. local _GSteerC=0
  6617. local _GThrot=0
  6618. local _GBrake=0
  6619.  
  6620. local _ClutchOn = true
  6621. local _ClPressing = false
  6622. local _RPM = 0
  6623. local _HP = 0
  6624. local _OutTorque = 0
  6625. local _CGear = 0
  6626. local _PGear = _CGear
  6627.  
  6628. local _TMode = _Tune.TransModes[1]
  6629.  
  6630. local _MSteer = false
  6631. local _SteerL = false
  6632. local _SteerR = false
  6633. local _PBrake = false
  6634. local _TCS = true
  6635. local _TCSActive = false
  6636.  
  6637. local FlipWait=tick()
  6638. local FlipDB=false
  6639.  
  6640. local _InControls = false
  6641.  
  6642. --Shutdown
  6643. car.DriveSeat.ChildRemoved:connect(function(child)
  6644. if child.Name=="SeatWeld" and child:IsA("Weld") then
  6645. script.Parent:Destroy()
  6646. end
  6647. end)
  6648.  
  6649. --Controls
  6650. local _CTRL = _Tune.Controls
  6651. local Controls = Instance.new("Folder",script.Parent)
  6652. Controls.Name = "Controls"
  6653. for i,v in pairs(_CTRL) do
  6654. local a=Instance.new("StringValue",Controls)
  6655. a.Name=i
  6656. a.Value=v.Name
  6657. a.Changed:connect(function()
  6658. if i=="MouseThrottle" or i=="MouseBrake" then
  6659. _CTRL[i]=Enum.UserInputType[a.Value]
  6660. else
  6661. _CTRL[i]=Enum.KeyCode[a.Value]
  6662. end
  6663. end)
  6664. end
  6665.  
  6666. local _PPH = _Tune.Peripherals
  6667. for i,v in pairs(_PPH) do
  6668. local a = Instance.new("IntValue",Controls)
  6669. a.Name = i
  6670. a.Value = v
  6671. a.Changed:connect(function()
  6672. a.Value=math.min(100,math.max(0,a.Value))
  6673. _PPH[i] = a.Value
  6674. end)
  6675. end
  6676.  
  6677. function DealWithInput(input,IsRobloxFunction)
  6678. if (UserInputService:GetFocusedTextBox()==nil) and not _InControls then --No texting while driving
  6679. if _IsOn and (input.KeyCode ==_CTRL["ContlrShiftDown"] or (_MSteer and input.KeyCode==_CTRL["MouseShiftDown"]) or ((not _MSteer) and input.KeyCode==_CTRL["ShiftDown"])) and (_TMode=="Semi" or (_TMode=="Manual" and (not _ClutchOn))) and input.UserInputState == Enum.UserInputState.Begin then
  6680. if _CGear == 0 and (_TMode=="Auto" or not _ClPressing) then _ClutchOn = true end
  6681. _CGear = math.max(_CGear-1,-1)
  6682. elseif _IsOn and (input.KeyCode ==_CTRL["ContlrShiftUp"] or (_MSteer and input.KeyCode==_CTRL["MouseShiftUp"]) or ((not _MSteer) and input.KeyCode==_CTRL["ShiftUp"])) and (_TMode=="Semi" or (_TMode=="Manual" and (not _ClutchOn))) and input.UserInputState == Enum.UserInputState.Begin then
  6683. if _CGear == 0 and (_TMode=="Auto" or not _ClPressing) then _ClutchOn = true end
  6684. _CGear = math.min(_CGear+1,#_Tune.Ratios-2)
  6685. elseif _IsOn and (input.KeyCode ==_CTRL["ContlrClutch"] or (_MSteer and input.KeyCode==_CTRL["MouseClutch"]) or ((not _MSteer) and input.KeyCode==_CTRL["Clutch"])) and _TMode=="Manual" then
  6686. if input.UserInputState == Enum.UserInputState.Begin then
  6687. _ClutchOn = false
  6688. _ClPressing = true
  6689. elseif input.UserInputState == Enum.UserInputState.End then
  6690. _ClutchOn = true
  6691. _ClPressing = false
  6692. end
  6693. elseif _IsOn and input.KeyCode ==_CTRL["ContlrPBrake"] or (_MSteer and input.KeyCode==_CTRL["MousePBrake"]) or ((not _MSteer) and input.KeyCode==_CTRL["PBrake"]) then
  6694. if input.UserInputState == Enum.UserInputState.Begin then
  6695. _PBrake = not _PBrake
  6696. elseif input.UserInputState == Enum.UserInputState.End then
  6697. if car.DriveSeat.Velocity.Magnitude>5 then
  6698. _PBrake = false
  6699. end
  6700. end
  6701. elseif (input.KeyCode == _CTRL["ContlrToggleTMode"] or input.KeyCode==_CTRL["ToggleTransMode"]) and input.UserInputState == Enum.UserInputState.Begin then
  6702. local n=1
  6703. for i,v in pairs(_Tune.TransModes) do
  6704. if v==_TMode then n=i break end
  6705. end
  6706. n=n+1
  6707. if n>#_Tune.TransModes then n=1 end
  6708. _TMode = _Tune.TransModes[n]
  6709. elseif _IsOn and ((not _MSteer) and (input.KeyCode==_CTRL["Throttle"] or input.KeyCode == _CTRL["Throttle2"])) or (input.UserInputType == _CTRL["MouseThrottle"] and _MSteer) then
  6710. if input.UserInputState == Enum.UserInputState.Begin then
  6711. _GThrot = 1
  6712. else
  6713. _GThrot = _Tune.IdleThrottle
  6714. end
  6715. elseif ((not _MSteer) and (input.KeyCode==_CTRL["Brake"] or input.KeyCode == _CTRL["Brake2"])) or (input.UserInputType == _CTRL["MouseBrake"] and _MSteer) then
  6716. if input.UserInputState == Enum.UserInputState.Begin then
  6717. _GBrake = 1
  6718. else
  6719. _GBrake = 0
  6720. end
  6721. elseif (not _MSteer) and (input.KeyCode==_CTRL["SteerLeft"] or input.KeyCode == _CTRL["SteerLeft2"]) then
  6722. if input.UserInputState == Enum.UserInputState.Begin then
  6723. _GSteerT = -1
  6724. _SteerL = true
  6725. else
  6726. if _SteerR then
  6727. _GSteerT = 1
  6728. else
  6729. _GSteerT = 0
  6730. end
  6731. _SteerL = false
  6732. end
  6733. elseif (not _MSteer) and (input.KeyCode==_CTRL["SteerRight"] or input.KeyCode == _CTRL["SteerRight2"]) then
  6734. if input.UserInputState == Enum.UserInputState.Begin then
  6735. _GSteerT = 1
  6736. _SteerR = true
  6737. else
  6738. if _SteerL then
  6739. _GSteerT = -1
  6740. else
  6741. _GSteerT = 0
  6742. end
  6743. _SteerR = false
  6744. end
  6745. elseif input.KeyCode ==_CTRL["ToggleMouseDrive"] then
  6746. if input.UserInputState == Enum.UserInputState.End then
  6747. _MSteer = not _MSteer
  6748. _GThrot = _Tune.IdleThrottle
  6749. _GBrake = 0
  6750. _GSteerT = 0
  6751. _ClutchOn = true
  6752. end
  6753. elseif _IsOn and input.KeyCode == _CTRL["ToggleTCS"] or input.KeyCode == _CTRL["ContlrToggleTCS"] then
  6754. if input.UserInputState == Enum.UserInputState.End then
  6755. _TCS = not _TCS
  6756. end
  6757. end
  6758. if input.UserInputType.Name:find("Gamepad") then
  6759. if input.KeyCode == _CTRL["ContlrSteer"] then
  6760.  
  6761. if input.Position.X>= 0 then
  6762. local cDZone = math.min(.99,_Tune.Peripherals.ControlRDZone/100)
  6763. if math.abs(input.Position.X)>cDZone then
  6764. _GSteerT = (input.Position.X-cDZone)/(1-cDZone)
  6765. else
  6766. _GSteerT = 0
  6767. end
  6768. else
  6769. local cDZone = math.min(.99,_Tune.Peripherals.ControlLDZone/100)
  6770. if math.abs(input.Position.X)>cDZone then
  6771. _GSteerT = (input.Position.X+cDZone)/(1-cDZone)
  6772. else
  6773. _GSteerT = 0
  6774. end
  6775. end
  6776. elseif _IsOn and input.KeyCode == _CTRL["ContlrThrottle"] then
  6777. _GThrot = math.max(_Tune.IdleThrottle,input.Position.Z)
  6778. elseif input.KeyCode == _CTRL["ContlrBrake"] then
  6779. _GBrake = input.Position.Z
  6780. end
  6781. end
  6782. else
  6783. _GThrot = _Tune.IdleThrottle
  6784. _GSteerT = 0
  6785. _GBrake = 0
  6786. if _CGear~=0 then _ClutchOn = true end
  6787. end
  6788. end
  6789. UserInputService.InputBegan:connect(DealWithInput)
  6790. UserInputService.InputChanged:connect(DealWithInput)
  6791. UserInputService.InputEnded:connect(DealWithInput)
  6792.  
  6793. ---Drivetrain Initialize
  6794. local wDia = 0
  6795. local Drive={}
  6796. if _Tune.Config == "FWD" or _Tune.Config == "AWD" then
  6797. for i,v in pairs(car.Wheels:GetChildren()) do
  6798. if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
  6799. table.insert(Drive,v)
  6800. end
  6801. end
  6802. end
  6803. if _Tune.Config == "RWD" or _Tune.Config == "AWD" then
  6804. for i,v in pairs(car.Wheels:GetChildren()) do
  6805. if v.Name=="RL" or v.Name=="RR" or v.Name=="R" then
  6806. table.insert(Drive,v)
  6807. end
  6808. end
  6809. end
  6810. for i,v in pairs(Drive) do
  6811. if v.Size.x>wDia then wDia = v.Size.x end
  6812. end
  6813.  
  6814. for i,v in pairs(car.Wheels:GetChildren()) do
  6815. if math.abs(v["#AV"].maxTorque.Magnitude-_Tune.PBrakeForce)<1 then
  6816. _PBrake=true
  6817. end
  6818. end
  6819.  
  6820. ---Camera
  6821. game:GetService("RunService").RenderStepped:connect(function()
  6822. if _MSteer then
  6823. cam.CameraType = "Follow"
  6824. local pspeed = math.min(1,car.DriveSeat.Velocity.Magnitude/500)
  6825. local cc = car.DriveSeat.Position+Vector3.new(0,8+(pspeed*2),0)-(car.DriveSeat.CFrame.lookVector*17)+(car.DriveSeat.Velocity.Unit*-7*pspeed)
  6826. cam.CoordinateFrame = CFrame.new(cc,car.DriveSeat.Position)
  6827. elseif cam.CameraType ~= "Follow" then
  6828. cam.CameraType = "Follow"
  6829. end
  6830. end)
  6831.  
  6832. ---Steering
  6833. function Steering()
  6834. if _MSteer then
  6835. local msWidth = math.max(1,mouse.ViewSizeX*_Tune.Peripherals.MSteerWidth/200)
  6836. local mdZone = _Tune.Peripherals.MSteerDZone/100
  6837. local mST = ((mouse.X-mouse.ViewSizeX/2)/msWidth)
  6838. if math.abs(mST)<=mdZone then
  6839. _GSteerT = 0
  6840. else
  6841. _GSteerT = (math.max(math.min((math.abs(mST)-mdZone),(1-mdZone)),0)/(1-mdZone))^_Tune.MSteerExp * (mST / math.abs(mST))
  6842. end
  6843. end
  6844. if _GSteerC < _GSteerT then
  6845. _GSteerC = math.min(_GSteerT,_GSteerC+_Tune.SteerSpeed)
  6846. else
  6847. _GSteerC = math.max(_GSteerT,_GSteerC-_Tune.SteerSpeed)
  6848. end
  6849. local sDecay = (1-math.min(car.DriveSeat.Velocity.Magnitude/_Tune.SteerDecay,1-_Tune.MinSteer))
  6850. for i,v in pairs(car.Wheels:GetChildren()) do
  6851. if v.Name=="F" then
  6852. v.Arm.Steer.cframe=car.Wheels.F.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerInner*sDecay),0)
  6853. elseif v.Name=="FL" then
  6854. if _GSteerC>= 0 then
  6855. v.Arm.Steer.cframe=car.Wheels.FL.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerOuter*sDecay),0)
  6856. else
  6857. v.Arm.Steer.cframe=car.Wheels.FL.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerInner*sDecay),0)
  6858. end
  6859. elseif v.Name=="FR" then
  6860. if _GSteerC>= 0 then
  6861. v.Arm.Steer.cframe=car.Wheels.FR.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerInner*sDecay),0)
  6862. else
  6863. v.Arm.Steer.cframe=car.Wheels.FR.Base.CFrame*CFrame.Angles(0,-math.rad(_GSteerC*_Tune.SteerOuter*sDecay),0)
  6864. end
  6865. end
  6866. end
  6867. end
  6868.  
  6869. --Engine
  6870. function Engine()
  6871. --Neutral Gear
  6872. if _CGear==0 then _ClutchOn = false end
  6873.  
  6874. --Car is off
  6875. local revMin = _Tune.IdleRPM
  6876. if not _IsOn then
  6877. revMin = 0
  6878. _CGear = 0
  6879. _ClutchOn = false
  6880. _GThrot = _Tune.IdleThrottle
  6881. end
  6882.  
  6883. --Determine RPM
  6884. local maxSpin=0
  6885. for i,v in pairs(Drive) do
  6886. if v.RotVelocity.Magnitude>maxSpin then maxSpin = v.RotVelocity.Magnitude end
  6887. end
  6888. if _ClutchOn then
  6889. local aRPM = math.max(math.min(maxSpin*_Tune.Ratios[_CGear+2]*_Tune.FinalDrive*30/math.pi,_Tune.Redline+100),revMin)
  6890. local clutchP = math.min(math.abs(aRPM-_RPM)/_Tune.ClutchTol,.9)
  6891. _RPM = ( (_RPM*2*clutchP) + (aRPM*2*(1-clutchP)) )/2
  6892. _HP = (_Tune.Horsepower/2) * math.sin((math.pi/((1+(math.min(10,_Tune.IdleOffset)/100))*_Tune.PeakRPM)) * (_RPM - (((2-(1+(math.min(10,_Tune.IdleOffset)/100)))* _Tune.PeakRPM)/2))) + (_Tune.Horsepower/2)
  6893. _OutTorque = _HP * 5250 / _RPM * _Tune.Ratios[_CGear+2] * _Tune.FinalDrive
  6894. else
  6895. if _GThrot-_Tune.IdleThrottle>0 then
  6896. _RPM = math.min(_RPM+_Tune.RevAccel*_GThrot,_Tune.Redline+100)
  6897. else
  6898. _RPM = math.max(_RPM-_Tune.RevDecay,revMin)
  6899. end
  6900. _OutTorque = 0
  6901. end
  6902.  
  6903. --Rev Limiter
  6904. local spLimit = 0
  6905. if _RPM>_Tune.Redline then
  6906. if _CGear<#_Tune.Ratios-2 then
  6907. _RPM = _RPM-_Tune.RevBounce
  6908. spLimit = 0
  6909. else
  6910. _RPM = _RPM-_Tune.RevBounce*.5
  6911. end
  6912. else
  6913. spLimit = (_Tune.Redline+100)*math.pi/(30*_Tune.Ratios[_CGear+2]*_Tune.FinalDrive)
  6914. end
  6915.  
  6916. --Automatic Transmission
  6917. if _TMode == "Auto" and _IsOn then
  6918. _ClutchOn = true
  6919. if _CGear == 0 then _CGear = 1 end
  6920. if _CGear >= 1 then
  6921. if _CGear==1 and _GBrake > 0 and car.DriveSeat.Velocity.Magnitude < 20 then
  6922. _CGear = -1
  6923. else
  6924. if _Tune.AutoShiftMode == "RPM" then
  6925. if _RPM>(_Tune.PeakRPM+_Tune.AutoUpThresh) then
  6926. _CGear=math.min(_CGear+1,#_Tune.Ratios-2)
  6927. elseif math.max(math.min(maxSpin*_Tune.Ratios[_CGear+1]*_Tune.FinalDrive*30/math.pi,_Tune.Redline+100),_Tune.IdleRPM)<(_Tune.PeakRPM-_Tune.AutoDownThresh) then
  6928. _CGear=math.max(_CGear-1,1)
  6929. end
  6930. else
  6931. if car.DriveSeat.Velocity.Magnitude > math.ceil(wDia*math.pi*(_Tune.PeakRPM+_Tune.AutoUpThresh)/60/_Tune.Ratios[_CGear+2]/_Tune.FinalDrive) then
  6932. _CGear=math.min(_CGear+1,#_Tune.Ratios-2)
  6933. elseif car.DriveSeat.Velocity.Magnitude < math.ceil(wDia*math.pi*(_Tune.PeakRPM-_Tune.AutoDownThresh)/60/_Tune.Ratios[_CGear+1]/_Tune.FinalDrive) then
  6934. _CGear=math.max(_CGear-1,1)
  6935. end
  6936. end
  6937. end
  6938. else
  6939. if _GThrot-_Tune.IdleThrottle > 0 and car.DriveSeat.Velocity.Magnitude < 20 then
  6940. _CGear = 1
  6941. end
  6942. end
  6943. end
  6944.  
  6945. --Differential Stuff
  6946. local fwspeed=0
  6947. local fwcount=0
  6948. local rwspeed=0
  6949. local rwcount=0
  6950.  
  6951. for i,v in pairs(car.Wheels:GetChildren()) do
  6952. if v.Name=="FL" or v.Name=="FR" or v.Name == "F" then
  6953. fwspeed=fwspeed+v.RotVelocity.Magnitude
  6954. fwcount=fwcount+1
  6955. elseif v.Name=="RL" or v.Name=="RR" or v.Name == "R" then
  6956. rwspeed=rwspeed+v.RotVelocity.Magnitude
  6957. rwcount=rwcount+1
  6958. end
  6959. end
  6960. fwspeed=fwspeed/fwcount
  6961. rwspeed=rwspeed/rwcount
  6962. local cwspeed=(fwspeed+rwspeed)/2
  6963.  
  6964. --Apply Forces
  6965. for i,v in pairs(car.Wheels:GetChildren()) do
  6966. local Ref=v.Axle.CFrame.lookVector
  6967. local aRef=1
  6968. local diffMult=1
  6969. if v.Name=="FL" or v.Name=="RL" then aRef=-1 end
  6970.  
  6971. --Torque Compensation
  6972. if _Tune.Config ~= "AWD" then _OutTorque = _OutTorque*1.3 end
  6973.  
  6974. --Differential
  6975. if v.Name=="FL" or v.Name=="FR" then
  6976. diffMult=math.max(0,math.min(1,1+((((v.RotVelocity.Magnitude-fwspeed)/fwspeed)/(math.max(_Tune.FDiffSlipThres,1)/100))*((_Tune.FDiffLockThres-50)/50))))
  6977. if _Tune.Config == "AWD" then
  6978. diffMult=math.max(0,math.min(1,diffMult*(1+((((fwspeed-cwspeed)/cwspeed)/(math.max(_Tune.CDiffSlipThres,1)/100))*((_Tune.CDiffLockThres-50)/50)))))
  6979. end
  6980. elseif v.Name=="RL" or v.Name=="RR" then
  6981. diffMult=math.max(0,math.min(1,1+((((v.RotVelocity.Magnitude-rwspeed)/rwspeed)/(math.max(_Tune.RDiffSlipThres,1)/100))*((_Tune.RDiffLockThres-50)/50))))
  6982. if _Tune.Config == "AWD" then
  6983. diffMult=math.max(0,math.min(1,diffMult*(1+((((rwspeed-cwspeed)/cwspeed)/(math.max(_Tune.CDiffSlipThres,1)/100))*((_Tune.CDiffLockThres-50)/50)))))
  6984. end
  6985. end
  6986.  
  6987. --Output
  6988. if _PBrake and ((_Tune.Config ~= "FWD" and (((v.Name=="FL" or v.Name=="FR") and car.DriveSeat.Velocity.Magnitude<20) or ((v.Name=="RR" or v.Name=="RL") and car.DriveSeat.Velocity.Magnitude>=20))) or (_Tune.Config == "FWD" and (v.Name=="RR" or v.Name=="RL"))) then
  6989. v["#AV"].maxTorque=Vector3.new(math.abs(Ref.x),math.abs(Ref.y),math.abs(Ref.z))*_Tune.PBrakeForce
  6990. v["#AV"].angularvelocity=Vector3.new()
  6991. else
  6992. if ((_TMode == "Manual" or _TMode == "Semi") and _GBrake==0) or (_TMode == "Auto" and ((_CGear>-1 and _GBrake==0 ) or (_CGear==-1 and _GThrot-_Tune.IdleThrottle==0 )))then
  6993. local driven = false
  6994. for _,a in pairs(Drive) do if a==v then driven = true end end
  6995. if driven then
  6996. local on=1
  6997. if not script.Parent.IsOn.Value then on=0 end
  6998. local throt = _GThrot
  6999. if _TMode == "Auto" and _CGear==-1 then throt = _GBrake end
  7000. local tqTCS = 1
  7001. if _TCS then
  7002. tqTCS = 1-(math.min(math.max(0,math.abs(v.RotVelocity.Magnitude*(v.Size.x/2) - v.Velocity.Magnitude)-_Tune.TCSThreshold)/_Tune.TCSGradient,1)*(1-_Tune.TCSLimit))
  7003. end
  7004. if tqTCS < 1 then
  7005. _TCSActive = true
  7006. else
  7007. _TCSActive = false
  7008. end
  7009. local dir = 1
  7010. if _CGear==-1 then dir = -1 end
  7011. v["#AV"].maxTorque=Vector3.new(math.abs(Ref.x),math.abs(Ref.y),math.abs(Ref.z))*_OutTorque*(1+(v.RotVelocity.Magnitude/60)^1.15)*throt*tqTCS*diffMult*on
  7012. v["#AV"].angularvelocity=Ref*aRef*spLimit*dir
  7013. else
  7014. v["#AV"].maxTorque=Vector3.new()
  7015. v["#AV"].angularvelocity=Vector3.new()
  7016. end
  7017. else
  7018. local brake = _GBrake
  7019. if _TMode == "Auto" and _CGear==-1 then brake = _GThrot end
  7020. v["#AV"].maxTorque=Vector3.new(math.abs(Ref.x),math.abs(Ref.y),math.abs(Ref.z))*_Tune.BrakeForce*brake
  7021. v["#AV"].angularvelocity=Vector3.new()
  7022. end
  7023. end
  7024. end
  7025. end
  7026.  
  7027.  
  7028. ---Flip
  7029. function Flip()
  7030. if (car.DriveSeat.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector.y > .1 or FlipDB then
  7031. FlipWait=tick()
  7032. else
  7033. if tick()-FlipWait>=3 then
  7034. FlipDB=true
  7035. local gyro = car.DriveSeat.Flip
  7036. gyro.maxTorque = Vector3.new(10000,0,10000)
  7037. gyro.P=3000
  7038. gyro.D=500
  7039. wait(1)
  7040. gyro.maxTorque = Vector3.new(0,0,0)
  7041. gyro.P=0
  7042. gyro.D=0
  7043. FlipDB=false
  7044. end
  7045. end
  7046. end
  7047.  
  7048. --Run
  7049. local ver=require(car["A-Chassis Tune"].README)
  7050. print("//INSPARE: AC6 Loaded - Build "..ver)
  7051.  
  7052. while wait() do
  7053. Steering()
  7054. Engine()
  7055. if _Tune.AutoFlip then Flip() end
  7056.  
  7057. _IsOn = script.Parent.IsOn.Value
  7058. _InControls = script.Parent.ControlsOpen.Value
  7059. script.Parent.Values.Gear.Value = _CGear
  7060. script.Parent.Values.RPM.Value = _RPM
  7061. script.Parent.Values.Horsepower.Value = _HP
  7062. script.Parent.Values.Torque.Value = _HP * 5250 / _RPM
  7063. script.Parent.Values.TransmissionMode.Value = _TMode
  7064. script.Parent.Values.Throttle.Value = _GThrot
  7065. script.Parent.Values.Brake.Value = _GBrake
  7066. script.Parent.Values.SteerC.Value = _GSteerC*(1-math.min(car.DriveSeat.Velocity.Magnitude/_Tune.SteerDecay,1-_Tune.MinSteer))
  7067. script.Parent.Values.SteerT.Value = _GSteerT
  7068. script.Parent.Values.PBrake.Value = _PBrake
  7069. script.Parent.Values.TCS.Value = _TCS
  7070. script.Parent.Values.TCSActive.Value = _TCSActive
  7071. script.Parent.Values.Velocity.Value = car.DriveSeat.Velocity
  7072.  
  7073. if _PGear~=_CGear then
  7074. _PGear=_CGear
  7075. car.DriveSeat.MaxSpeed = car.DriveSeat.Velocity.Magnitude*(_Tune.Redline/_RPM)
  7076. end
  7077. end
  7078.  
  7079.  
  7080. end,o366)
  7081. end))
  7082. o367.Name = " Initialize"
  7083. o367.Parent = mas
  7084. table.insert(cors,coroutine.create(function()
  7085. wait()
  7086. runDummyScript(function()
  7087. --BasedWeld2.0
  7088. local JS = game:GetService("JointsService")
  7089. function MakeWeld(x,y,type,s)
  7090. if type==nil then type="Weld" end
  7091. local W=Instance.new(type,JS)
  7092. W.Part0=x W.Part1=y
  7093. W.C0=x.CFrame:inverse()*x.CFrame
  7094. W.C1=y.CFrame:inverse()*x.CFrame
  7095. if type=="Motor" and s~=nil then
  7096. W.MaxVelocity=s
  7097. end
  7098. return W
  7099. end
  7100.  
  7101. function ModelWeld(a,b)
  7102. if a:IsA("BasePart") then
  7103. MakeWeld(b,a,"Weld")
  7104. elseif a:IsA("Model") then
  7105. for i,v in pairs(a:GetChildren()) do
  7106. ModelWeld(v,b)
  7107. end
  7108. end
  7109. end
  7110.  
  7111. function UnAnchor(a)
  7112. if a:IsA("BasePart") then a.Anchored=false end for i,v in pairs(a:GetChildren()) do UnAnchor(v) end
  7113. end
  7114. --
  7115. script.Parent:WaitForChild("A-Chassis Interface")
  7116. script.Parent:WaitForChild("Plugins")
  7117. script.Parent:WaitForChild("README")
  7118.  
  7119. local car=script.Parent.Parent
  7120. local _Tune=require(script.Parent)
  7121.  
  7122. local Drive=car.Wheels:GetChildren()
  7123.  
  7124. function getParts(model,t,a)
  7125. for i,v in pairs(model:GetChildren()) do
  7126. if v:IsA("BasePart") then table.insert(t,{v,a.CFrame:toObjectSpace(v.CFrame)})
  7127. elseif v:IsA("Model") then getParts(v,t,a)
  7128. end
  7129. end
  7130. end
  7131.  
  7132. for _,v in pairs(Drive) do
  7133.  
  7134. for _,a in pairs({"Top","Bottom","Left","Right","Front","Back"}) do
  7135. v[a.."Surface"]=Enum.SurfaceType.SmoothNoOutlines
  7136. end
  7137.  
  7138. local WParts = {}
  7139.  
  7140. local tPos = v.Position-car.DriveSeat.Position
  7141. if v.Name=="FL" or v.Name=="RL" then
  7142. v.CFrame = car.DriveSeat.CFrame*CFrame.Angles(math.rad(90),0,math.rad(90))
  7143. else
  7144. v.CFrame = car.DriveSeat.CFrame*CFrame.Angles(math.rad(90),0,math.rad(-90))
  7145. end
  7146. v.CFrame = v.CFrame+tPos
  7147.  
  7148. if v:FindFirstChild("Parts")~=nil then
  7149. getParts(v.Parts,WParts,v)
  7150. end
  7151. if v:FindFirstChild("Fixed")~=nil then
  7152. getParts(v.Fixed,WParts,v)
  7153. end
  7154.  
  7155. if v.Name=="FL" or v.Name=="FR" then
  7156. v.CFrame = v.CFrame*CFrame.Angles(math.rad(_Tune.FCamber),0,0)
  7157. if v.Name=="FL" then
  7158. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(_Tune.FToe))
  7159. else
  7160. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(-_Tune.FToe))
  7161. end
  7162. elseif v.Name=="RL" or v.Name=="RR" then
  7163. v.CFrame = v.CFrame*CFrame.Angles(math.rad(_Tune.RCamber),0,0)
  7164. if v.Name=="RL" then
  7165. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(_Tune.RToe))
  7166. else
  7167. v.CFrame = v.CFrame*CFrame.Angles(0,0,math.rad(-_Tune.RToe))
  7168. end
  7169. end
  7170.  
  7171. for _,a in pairs(WParts) do
  7172. a[1].CFrame=v.CFrame:toWorldSpace(a[2])
  7173. end
  7174.  
  7175. if v.Name=="FL" then
  7176. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(-_Tune.FCaster),0)
  7177. elseif v.Name=="FR" or v.Name=="F" then
  7178. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(_Tune.FCaster),0)
  7179. elseif v.Name=="RL" then
  7180. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(-_Tune.RCaster),0)
  7181. elseif v.Name=="RR" or v.Name=="R" then
  7182. v.CFrame = v.CFrame*CFrame.Angles(0,math.rad(_Tune.RCaster),0)
  7183. end
  7184.  
  7185. local arm=Instance.new("Part",v)
  7186. arm.Name="Arm"
  7187. arm.Anchored=true
  7188. arm.CanCollide=false
  7189. arm.FormFactor=Enum.FormFactor.Custom
  7190. arm.Size=Vector3.new(1,1,1)
  7191. arm.CFrame=(v.CFrame*CFrame.new(0,_Tune.StAxisOffset,0))*CFrame.Angles(-math.pi/2,-math.pi/2,0)
  7192. arm.TopSurface=Enum.SurfaceType.Smooth
  7193. arm.BottomSurface=Enum.SurfaceType.Smooth
  7194. arm.Transparency=1
  7195.  
  7196. local base=arm:Clone()
  7197. base.Parent=v
  7198. base.Name="Base"
  7199. base.CFrame=base.CFrame*CFrame.new(0,1,0)
  7200. base.BottomSurface=Enum.SurfaceType.Hinge
  7201.  
  7202. local axle=arm:Clone()
  7203. axle.Parent=v
  7204. axle.Name="Axle"
  7205. axle.CFrame=CFrame.new(v.Position-((v.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector*((v.Size.x/2)+(axle.Size.x/2))),v.Position)*CFrame.Angles(0,math.pi,0)
  7206. axle.BackSurface=Enum.SurfaceType.Hinge
  7207.  
  7208. if v.Name=="F" or v.Name=="R" then
  7209. local axle2=arm:Clone()
  7210. axle2.Parent=v
  7211. axle2.Name="Axle"
  7212. axle2.CFrame=CFrame.new(v.Position+((v.CFrame*CFrame.Angles(math.pi/2,0,0)).lookVector*((v.Size.x/2)+(axle2.Size.x/2))),v.Position)*CFrame.Angles(0,math.pi,0)
  7213. axle2.BackSurface=Enum.SurfaceType.Hinge
  7214. MakeWeld(arm,axle2)
  7215. end
  7216.  
  7217. MakeWeld(car.DriveSeat,base)
  7218. if v.Parent.Name == "RL" or v.Parent.Name == "RR" or v.Name=="R" then
  7219. MakeWeld(car.DriveSeat,arm)
  7220. end
  7221.  
  7222. MakeWeld(arm,axle)
  7223.  
  7224. arm:MakeJoints()
  7225. axle:MakeJoints()
  7226.  
  7227.  
  7228. if v:FindFirstChild("Fixed")~=nil then
  7229. ModelWeld(v.Fixed,axle)
  7230. end
  7231.  
  7232. if v:FindFirstChild("Parts")~=nil then
  7233. ModelWeld(v.Parts,v)
  7234. end
  7235.  
  7236. if v:FindFirstChild("Steer") then
  7237. v:FindFirstChild("Steer"):Destroy()
  7238. end
  7239.  
  7240. local gyro=Instance.new("BodyGyro",v)
  7241. gyro.Name="Stabilizer"
  7242. if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
  7243. gyro.D=_Tune.FGyroD
  7244. gyro.MaxTorque=_Tune.FGyroMaxTorque
  7245. gyro.P=_Tune.FGyroP
  7246. else
  7247. gyro.D=_Tune.RGyroD
  7248. gyro.MaxTorque=_Tune.RGyroMaxTorque
  7249. gyro.P=_Tune.RGyroP
  7250. end
  7251.  
  7252. if v.Name=="FL" or v.Name=="FR" or v.Name=="F" then
  7253. local steer=Instance.new("BodyGyro",arm)
  7254. steer.Name="Steer"
  7255. steer.P=_Tune.SteerP
  7256. steer.D=_Tune.SteerD
  7257. steer.MaxTorque=Vector3.new(0,_Tune.SteerMaxTorque,0)
  7258. steer.cframe=base.CFrame
  7259. else
  7260. MakeWeld(base,axle,"Weld")
  7261. end
  7262.  
  7263. local AV=Instance.new("BodyAngularVelocity",v)
  7264. AV.Name="#AV"
  7265. AV.angularvelocity=Vector3.new(0,0,0)
  7266. AV.maxTorque=Vector3.new(_Tune.PBrakeForce,0,_Tune.PBrakeForce)
  7267. AV.P=1e9
  7268. end
  7269.  
  7270. for i,v in pairs(script:GetChildren()) do
  7271. if v:IsA("ModuleScript") then
  7272. require(v)
  7273. end
  7274. end
  7275.  
  7276. wait()
  7277. ModelWeld(car.Body,car.DriveSeat)
  7278.  
  7279. local flipG = Instance.new("BodyGyro",car.DriveSeat)
  7280. flipG.Name = "Flip"
  7281. flipG.D = 0
  7282. flipG.MaxTorque = Vector3.new(0,0,0)
  7283. flipG.P = 0
  7284.  
  7285. wait()
  7286.  
  7287. UnAnchor(car)
  7288.  
  7289. script.Parent["A-Chassis Interface"].Car.Value=car
  7290. for i,v in pairs(script.Parent.Plugins:GetChildren()) do
  7291. for _,a in pairs(v:GetChildren()) do
  7292. if a:IsA("RemoteEvent") or a:IsA("RemoteFunction") then
  7293. a.Parent=car
  7294. for _,b in pairs(a:GetChildren()) do
  7295. if b:IsA("Script") then b.Disabled=false end
  7296. end
  7297. end
  7298. end
  7299. v.Parent = script.Parent["A-Chassis Interface"]
  7300. end
  7301. script.Parent.Plugins:Destroy()
  7302.  
  7303. car.DriveSeat.ChildAdded:connect(function(child)
  7304. if child.Name=="SeatWeld" and child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then
  7305. local p=game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  7306. car.DriveSeat:SetNetworkOwner(p)
  7307. local g=script.Parent["A-Chassis Interface"]:Clone()
  7308. g.Parent=p.PlayerGui
  7309. end
  7310. end)
  7311. car.DriveSeat.ChildRemoved:connect(function(child)
  7312. if child.Name=="SeatWeld" and child:IsA("Weld") then
  7313. for i,v in pairs(car.DriveSeat:GetChildren()) do
  7314. if v:IsA("Sound") then v:Stop() end
  7315. end
  7316. if car.DriveSeat:FindFirstChild("Flip")~=nil then
  7317. car.DriveSeat.Flip.MaxTorque = Vector3.new()
  7318. end
  7319. for i,v in pairs(car.Wheels:GetChildren()) do
  7320. if v:FindFirstChild("#AV")~=nil then
  7321. if v["#AV"].AngularVelocity.Magnitude>0 then
  7322. v["#AV"].AngularVelocity = Vector3.new()
  7323. v["#AV"].MaxTorque = Vector3.new()
  7324. end
  7325. end
  7326. end
  7327. end
  7328. end)
  7329.  
  7330. ver = require(script.Parent.README)
  7331. end,o367)
  7332. end))
  7333. o370.Name = "Shadow"
  7334. o370.Parent = o1
  7335. o370.MaxHealth = 0
  7336. o371.Name = "Wheels"
  7337. o371.Parent = o1
  7338. o372.Name = "RR"
  7339. o372.Parent = o371
  7340. o372.Material = Enum.Material.SmoothPlastic
  7341. o372.BrickColor = BrickColor.new("Really black")
  7342. o372.Transparency = 1
  7343. o372.Position = Vector3.new(40.7351761, 1.42467594, 141.67627)
  7344. o372.Rotation = Vector3.new(89.9799957, 0.00999999978, -89.9799957)
  7345. o372.Anchored = true
  7346. o372.Elasticity = 1
  7347. o372.FormFactor = Enum.FormFactor.Symmetric
  7348. o372.Friction = 1.7999999523163
  7349. o372.Shape = Enum.PartType.Ball
  7350. o372.Size = Vector3.new(2.82399988, 2.82399988, 2.82399988)
  7351. o372.CFrame = CFrame.new(40.7351761, 1.42467594, 141.67627, 0.000395337906, 1.00000072, 0.000197924339, -0.000268617412, 0.000198030539, -1.00000072, -0.999999881, 0.000395284442, 0.000268695469)
  7352. o372.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7353. o372.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7354. o372.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7355. o372.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7356. o372.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7357. o372.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7358. o372.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7359. o372.Position = Vector3.new(40.7351761, 1.42467594, 141.67627)
  7360. o373.Name = "Fixed"
  7361. o373.Parent = o372
  7362. o375.Parent = o373
  7363. o375.Material = Enum.Material.SmoothPlastic
  7364. o375.BrickColor = BrickColor.new("Gold")
  7365. o375.Reflectance = 0.045000001788139
  7366. o375.Transparency = 1
  7367. o375.Position = Vector3.new(40.9538994, 1.53710401, 141.095825)
  7368. o375.Rotation = Vector3.new(-75.0299988, -90, 0)
  7369. o375.Anchored = true
  7370. o375.CanCollide = false
  7371. o375.FormFactor = Enum.FormFactor.Custom
  7372. o375.Size = Vector3.new(0.333240569, 0.529042721, 0.24788782)
  7373. o375.CFrame = CFrame.new(40.9538994, 1.53710401, 141.095825, -5.95167803e-05, -0.000265187438, -1.00000072, 0.966075599, 0.258262634, -0.000125985607, 0.258262455, -0.966074824, 0.000240819747)
  7374. o375.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7375. o375.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7376. o375.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7377. o375.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7378. o375.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7379. o375.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7380. o375.Color = Color3.new(0.937255, 0.721569, 0.219608)
  7381. o375.Position = Vector3.new(40.9538994, 1.53710401, 141.095825)
  7382. o376.Parent = o375
  7383. o376.Offset = Vector3.new(0, 0, -0.00200000009)
  7384. o376.Scale = Vector3.new(1.5, 1, 1.42499995)
  7385. o377.Parent = o375
  7386. o377.Texture = "rbxassetid://77053443"
  7387. o378.Name = "Parts"
  7388. o378.Parent = o372
  7389. o381.Name = "Dust"
  7390. o381.Parent = mas
  7391. o381.Transparency = NumberSequence.new(0.4972972869873,1)
  7392. o381.Size = NumberSequence.new(1,10)
  7393. o381.Color = ColorSequence.new(Color3.new(1, 0.917647, 0.721569),Color3.new(1, 0.917647, 0.721569))
  7394. o381.Enabled = false
  7395. o381.Texture = "rbxassetid://534886217"
  7396. o381.Lifetime = NumberRange.new(3.5,3.5)
  7397. o381.Rate = 60
  7398. o381.Speed = NumberRange.new(0,0)
  7399. o382.Name = "DustScript"
  7400. o382.Parent = mas
  7401. table.insert(cors,coroutine.create(function()
  7402. wait()
  7403. runDummyScript(function()
  7404. while wait(0.25) do
  7405. function onTouched(part)
  7406.  
  7407. if part.Name == "Sand" and script.Parent.Velocity.Magnitude > 15 then
  7408. script.Parent.Dust.Enabled = true
  7409. else
  7410. script.Parent.Dust.Enabled = false
  7411. end
  7412.  
  7413. end
  7414.  
  7415. script.Parent.Touched:connect(onTouched)
  7416.  
  7417. end
  7418. end,o382)
  7419. end))
  7420. o385.Name = "RL"
  7421. o385.Parent = o371
  7422. o385.Material = Enum.Material.SmoothPlastic
  7423. o385.BrickColor = BrickColor.new("Really black")
  7424. o385.Transparency = 1
  7425. o385.Position = Vector3.new(34.1048355, 1.42299795, 141.677261)
  7426. o385.Rotation = Vector3.new(90.0099945, 0.0199999996, 90.0199966)
  7427. o385.Anchored = true
  7428. o385.Elasticity = 1
  7429. o385.FormFactor = Enum.FormFactor.Symmetric
  7430. o385.Friction = 1.7999999523163
  7431. o385.Shape = Enum.PartType.Ball
  7432. o385.Size = Vector3.new(2.82399988, 2.82399988, 2.82399988)
  7433. o385.CFrame = CFrame.new(34.1048355, 1.42299795, 141.677261, -0.000395192445, -1.0000006, 0.000308081624, -0.000149390267, -0.000308022572, -1.00000083, 1, -0.000395238079, -0.00014926841)
  7434. o385.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7435. o385.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7436. o385.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7437. o385.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7438. o385.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7439. o385.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7440. o385.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7441. o385.Position = Vector3.new(34.1048355, 1.42299795, 141.677261)
  7442. o386.Name = "Fixed"
  7443. o386.Parent = o385
  7444. o388.Parent = o386
  7445. o388.Material = Enum.Material.SmoothPlastic
  7446. o388.BrickColor = BrickColor.new("Gold")
  7447. o388.Reflectance = 0.045000001788139
  7448. o388.Transparency = 1
  7449. o388.Position = Vector3.new(33.8861084, 1.53538895, 142.257706)
  7450. o388.Rotation = Vector3.new(75.0199966, 90, 0)
  7451. o388.Anchored = true
  7452. o388.CanCollide = false
  7453. o388.FormFactor = Enum.FormFactor.Custom
  7454. o388.Size = Vector3.new(0.333240569, 0.529042721, 0.24788782)
  7455. o388.CFrame = CFrame.new(33.8861084, 1.53538895, 142.257706, -0.000405691128, 0.000140700533, 1.00000083, 0.966039181, 0.258398712, 0.000355556433, -0.258398443, 0.966038465, -0.000240751906)
  7456. o388.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7457. o388.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7458. o388.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7459. o388.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7460. o388.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7461. o388.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7462. o388.Color = Color3.new(0.937255, 0.721569, 0.219608)
  7463. o388.Position = Vector3.new(33.8861084, 1.53538895, 142.257706)
  7464. o389.Parent = o388
  7465. o389.Offset = Vector3.new(0, 0, -0.00200000009)
  7466. o389.Scale = Vector3.new(1.5, 1, 1.42499995)
  7467. o390.Parent = o388
  7468. o390.Texture = "rbxassetid://77053443"
  7469. o391.Name = "Parts"
  7470. o391.Parent = o385
  7471. o394.Name = "Dust"
  7472. o394.Parent = mas
  7473. o394.Transparency = NumberSequence.new(0.4972972869873,1)
  7474. o394.Size = NumberSequence.new(1,10)
  7475. o394.Color = ColorSequence.new(Color3.new(1, 0.917647, 0.721569),Color3.new(1, 0.917647, 0.721569))
  7476. o394.Enabled = false
  7477. o394.Texture = "rbxassetid://534886217"
  7478. o394.Lifetime = NumberRange.new(3.5,3.5)
  7479. o394.Rate = 60
  7480. o394.Speed = NumberRange.new(0,0)
  7481. o395.Name = "DustScript"
  7482. o395.Parent = mas
  7483. table.insert(cors,coroutine.create(function()
  7484. wait()
  7485. runDummyScript(function()
  7486. while wait(0.25) do
  7487. function onTouched(part)
  7488.  
  7489. if part.Name == "Sand" and script.Parent.Velocity.Magnitude > 15 then
  7490. script.Parent.Dust.Enabled = true
  7491. else
  7492. script.Parent.Dust.Enabled = false
  7493. end
  7494.  
  7495. end
  7496.  
  7497. script.Parent.Touched:connect(onTouched)
  7498.  
  7499. end
  7500. end,o395)
  7501. end))
  7502. o398.Name = "FL"
  7503. o398.Parent = o371
  7504. o398.Material = Enum.Material.SmoothPlastic
  7505. o398.BrickColor = BrickColor.new("Really black")
  7506. o398.Transparency = 1
  7507. o398.Position = Vector3.new(33.9543571, 1.33284795, 130.928665)
  7508. o398.Rotation = Vector3.new(90.0099945, 0.0199999996, 90.0199966)
  7509. o398.Anchored = true
  7510. o398.Elasticity = 1
  7511. o398.FormFactor = Enum.FormFactor.Symmetric
  7512. o398.Friction = 1.7999999523163
  7513. o398.Shape = Enum.PartType.Ball
  7514. o398.Size = Vector3.new(2.64400005, 2.64400005, 2.64400005)
  7515. o398.CFrame = CFrame.new(33.9543571, 1.33284795, 130.928665, -0.000395454728, -1.0000006, 0.000308082963, -0.000148377032, -0.00030802426, -1.00000083, 1, -0.000395500043, -0.000148255087)
  7516. o398.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7517. o398.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7518. o398.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7519. o398.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7520. o398.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7521. o398.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7522. o398.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7523. o398.Position = Vector3.new(33.9543571, 1.33284795, 130.928665)
  7524. o399.Name = "Fixed"
  7525. o399.Parent = o398
  7526. o401.Parent = o399
  7527. o401.Material = Enum.Material.SmoothPlastic
  7528. o401.BrickColor = BrickColor.new("Gold")
  7529. o401.Reflectance = 0.045000001788139
  7530. o401.Transparency = 1
  7531. o401.Position = Vector3.new(33.7844238, 1.180076, 130.437607)
  7532. o401.Rotation = Vector3.new(75.0199966, 90, 0)
  7533. o401.Anchored = true
  7534. o401.CanCollide = false
  7535. o401.FormFactor = Enum.FormFactor.Custom
  7536. o401.Size = Vector3.new(0.483240575, 0.649042726, 0.24788782)
  7537. o401.CFrame = CFrame.new(33.7844238, 1.180076, 130.437607, -0.000406150095, 0.000141494762, 1.00000083, 0.966038883, 0.258399606, 0.000355794386, -0.258399338, 0.966038167, -0.000241638103)
  7538. o401.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7539. o401.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7540. o401.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7541. o401.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7542. o401.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7543. o401.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7544. o401.Color = Color3.new(0.937255, 0.721569, 0.219608)
  7545. o401.Position = Vector3.new(33.7844238, 1.180076, 130.437607)
  7546. o402.Parent = o401
  7547. o402.Offset = Vector3.new(0, 0, -0.00200000009)
  7548. o402.Scale = Vector3.new(1.5, 1, 1.42499995)
  7549. o403.Parent = o401
  7550. o403.Texture = "rbxassetid://77053443"
  7551. o404.Name = "Parts"
  7552. o404.Parent = o398
  7553. o408.Name = "Dust"
  7554. o408.Parent = mas
  7555. o408.Transparency = NumberSequence.new(0.4972972869873,1)
  7556. o408.Size = NumberSequence.new(1,10)
  7557. o408.Color = ColorSequence.new(Color3.new(1, 0.917647, 0.721569),Color3.new(1, 0.917647, 0.721569))
  7558. o408.Enabled = false
  7559. o408.Texture = "rbxassetid://534886217"
  7560. o408.Lifetime = NumberRange.new(3.5,3.5)
  7561. o408.Rate = 60
  7562. o408.Speed = NumberRange.new(0,0)
  7563. o409.Name = "DustScript"
  7564. o409.Parent = mas
  7565. table.insert(cors,coroutine.create(function()
  7566. wait()
  7567. runDummyScript(function()
  7568. while wait(0.25) do
  7569. function onTouched(part)
  7570.  
  7571. if part.Name == "Sand" and script.Parent.Velocity.Magnitude > 15 then
  7572. script.Parent.Dust.Enabled = true
  7573. else
  7574. script.Parent.Dust.Enabled = false
  7575. end
  7576.  
  7577. end
  7578.  
  7579. script.Parent.Touched:connect(onTouched)
  7580.  
  7581. end
  7582. end,o409)
  7583. end))
  7584. o411.Name = "FR"
  7585. o411.Parent = o371
  7586. o411.Material = Enum.Material.SmoothPlastic
  7587. o411.BrickColor = BrickColor.new("Really black")
  7588. o411.Transparency = 1
  7589. o411.Position = Vector3.new(40.8947334, 1.33461201, 130.927658)
  7590. o411.Rotation = Vector3.new(89.9799957, 0.00999999978, -89.9799957)
  7591. o411.Anchored = true
  7592. o411.Elasticity = 1
  7593. o411.FormFactor = Enum.FormFactor.Symmetric
  7594. o411.Friction = 1.7999999523163
  7595. o411.Shape = Enum.PartType.Ball
  7596. o411.Size = Vector3.new(2.64400005, 2.64400005, 2.64400005)
  7597. o411.CFrame = CFrame.new(40.8947334, 1.33461201, 130.927658, 0.000395554525, 1.00000072, 0.000197923102, -0.000267603988, 0.000198028953, -1.00000072, -0.999999881, 0.000395501265, 0.000267682073)
  7598. o411.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7599. o411.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7600. o411.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7601. o411.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7602. o411.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7603. o411.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7604. o411.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  7605. o411.Position = Vector3.new(40.8947334, 1.33461201, 130.927658)
  7606. o412.Name = "Fixed"
  7607. o412.Parent = o411
  7608. o414.Parent = o412
  7609. o414.Material = Enum.Material.SmoothPlastic
  7610. o414.BrickColor = BrickColor.new("Gold")
  7611. o414.Reflectance = 0.045000001788139
  7612. o414.Transparency = 1
  7613. o414.Position = Vector3.new(41.0647011, 1.18198001, 131.418716)
  7614. o414.Rotation = Vector3.new(-75.0299988, -90, 0)
  7615. o414.Anchored = true
  7616. o414.CanCollide = false
  7617. o414.FormFactor = Enum.FormFactor.Custom
  7618. o414.Size = Vector3.new(0.483240575, 0.649042726, 0.24788782)
  7619. o414.CFrame = CFrame.new(41.0647011, 1.18198001, 131.418716, -5.90390118e-05, -0.000264892878, -1.00000072, 0.966075122, 0.258264422, -0.000125448423, 0.258264273, -0.966074288, 0.000240658352)
  7620. o414.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7621. o414.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7622. o414.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7623. o414.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7624. o414.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7625. o414.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7626. o414.Color = Color3.new(0.937255, 0.721569, 0.219608)
  7627. o414.Position = Vector3.new(41.0647011, 1.18198001, 131.418716)
  7628. o415.Parent = o414
  7629. o415.Offset = Vector3.new(0, 0, -0.00200000009)
  7630. o415.Scale = Vector3.new(1.5, 1, 1.42499995)
  7631. o416.Parent = o414
  7632. o416.Texture = "rbxassetid://77053443"
  7633. o417.Name = "Parts"
  7634. o417.Parent = o411
  7635. o421.Name = "Dust"
  7636. o421.Parent = mas
  7637. o421.Transparency = NumberSequence.new(0.4972972869873,1)
  7638. o421.Size = NumberSequence.new(1,10)
  7639. o421.Color = ColorSequence.new(Color3.new(1, 0.917647, 0.721569),Color3.new(1, 0.917647, 0.721569))
  7640. o421.Enabled = false
  7641. o421.Texture = "rbxassetid://534886217"
  7642. o421.Lifetime = NumberRange.new(3.5,3.5)
  7643. o421.Rate = 60
  7644. o421.Speed = NumberRange.new(0,0)
  7645. o422.Name = "DustScript"
  7646. o422.Parent = mas
  7647. table.insert(cors,coroutine.create(function()
  7648. wait()
  7649. runDummyScript(function()
  7650. while wait(0.25) do
  7651. function onTouched(part)
  7652.  
  7653. if part.Name == "Sand" and script.Parent.Velocity.Magnitude > 15 then
  7654. script.Parent.Dust.Enabled = true
  7655. else
  7656. script.Parent.Dust.Enabled = false
  7657. end
  7658.  
  7659. end
  7660.  
  7661. script.Parent.Touched:connect(onTouched)
  7662.  
  7663. end
  7664. end,o422)
  7665. end))
  7666. o424.Name = "Misc"
  7667. o424.Parent = o1
  7668. o425.Name = "Popups"
  7669. o425.Parent = o424
  7670. o426.Name = "Parts"
  7671. o426.Parent = o425
  7672. o427.Parent = o426
  7673. o429.Name = "Wing"
  7674. o429.Parent = o426
  7675. o431.Name = "R"
  7676. o431.Parent = o426
  7677. o433.Name = "Light"
  7678. o433.Parent = mas
  7679. o433.Color = Color3.new(0.666667, 0, 0)
  7680. o433.Enabled = false
  7681. o433.Brightness = 3
  7682. o433.Range = 15
  7683. o433.Shadows = true
  7684. o433.Angle = 50
  7685. o433.Face = Enum.NormalId.Back
  7686. o434.Name = "Hinge"
  7687. o434.Parent = o425
  7688. o434.Material = Enum.Material.SmoothPlastic
  7689. o434.BrickColor = BrickColor.new("Mulberry")
  7690. o434.Transparency = 1
  7691. o434.Position = Vector3.new(40.4100342, 3.91669607, 143.889633)
  7692. o434.Rotation = Vector3.new(89.659996, 90, 0)
  7693. o434.Anchored = true
  7694. o434.CanCollide = false
  7695. o434.Size = Vector3.new(0.231999993, 0.231999993, 0.231999993)
  7696. o434.CFrame = CFrame.new(40.4100342, 3.91669607, 143.889633, -0.000240764828, 8.23939554e-05, 1.00000083, 0.999983251, 0.00592887029, 0.000240272115, -0.00592884608, 0.999982417, -8.38199048e-05)
  7697. o434.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  7698. o434.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  7699. o434.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  7700. o434.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  7701. o434.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  7702. o434.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  7703. o434.Color = Color3.new(0.34902, 0.133333, 0.34902)
  7704. o434.Position = Vector3.new(40.4100342, 3.91669607, 143.889633)
  7705. o435.Name = "SW"
  7706. o435.Parent = o424
  7707. o436.Name = "Body"
  7708. o436.Parent = o435
  7709. table.insert(cors,coroutine.create(function()
  7710. wait()
  7711. runDummyScript(function()
  7712. local P = script.Parent
  7713. local mainPart = P.SS
  7714. ----- NO EDITING BELOW -----
  7715. local weldedParts = {}
  7716. table.insert(weldedParts,mainPart)
  7717.  
  7718. function Weld(x, y)
  7719. weld = Instance.new("Weld")
  7720. weld.Part0 = x
  7721. weld.Part1 = y
  7722. local CJ = CFrame.new(x.Position)
  7723. weld.C0 = x.CFrame:inverse() * CJ
  7724. weld.C1 = y.CFrame:inverse() * CJ
  7725. weld.Parent = x
  7726. table.insert(weldedParts,y)
  7727. end
  7728.  
  7729. function WeldRec(instance)
  7730. local childs = instance:GetChildren()
  7731. for _,v in pairs(childs) do
  7732. if v:IsA("BasePart") then
  7733. Weld(mainPart, v)
  7734. end
  7735. WeldRec(v)
  7736. end
  7737. end
  7738.  
  7739. WeldRec(P)
  7740. --WeldRec(P.Parent.Lights)
  7741.  
  7742. for _,v in pairs(weldedParts) do
  7743. if v:IsA("BasePart") then
  7744. v.Anchored = false
  7745. end
  7746. end
  7747.  
  7748. script:Destroy()
  7749. end,o436)
  7750. end))
  7751. o437.Parent = o435
  7752. o441.Name = "SS"
  7753. o441.Parent = o435
  7754. o441.BrickColor = BrickColor.new("Institutional white")
  7755. o441.Transparency = 1
  7756. o441.Position = Vector3.new(35.9496689, 2.76416397, 134.415878)
  7757. o441.Rotation = Vector3.new(-12.0099993, 0.0299999993, 90)
  7758. o441.Anchored = true
  7759. o441.CanCollide = false
  7760. o441.FormFactor = Enum.FormFactor.Custom
  7761. o441.Size = Vector3.new(0.851503372, 0.851503134, 0.851503074)
  7762. o441.CFrame = CFrame.new(35.9496689, 2.76416397, 134.415878, -5.74823935e-05, -1.00000072, 0.000562827219, 0.978118062, 6.08743576e-05, 0.208054885, -0.208054751, 0.000562469941, 0.978117049)
  7763. o441.BackSurface = Enum.SurfaceType.Unjoinable
  7764. o441.BottomSurface = Enum.SurfaceType.Smooth
  7765. o441.LeftSurface = Enum.SurfaceType.Unjoinable
  7766. o441.TopSurface = Enum.SurfaceType.Unjoinable
  7767. o441.Color = Color3.new(0.972549, 0.972549, 0.972549)
  7768. o441.Position = Vector3.new(35.9496689, 2.76416397, 134.415878)
  7769. o442.Name = "Body"
  7770. o442.Parent = o1
  7771. o456.Parent = mas
  7772. o456.SoundId = "rbxassetid://553325070"
  7773. o456.Volume = 5
  7774. o457.Name = "Hit"
  7775. o457.Parent = mas
  7776. table.insert(cors,coroutine.create(function()
  7777. wait()
  7778. runDummyScript(function()
  7779. function onTouched(part)
  7780.  
  7781. if script.Parent.Velocity.Magnitude > 20 then
  7782. if part.Parent.Humanoid.Health > 0 then
  7783. part.Parent.Humanoid.PlatformStand = true
  7784. part.Parent.Humanoid.Health = part.Parent.Humanoid.Health - script.Parent.Velocity.Magnitude / math.random(1, 1.65)
  7785. script.Parent.Sound.Playing = true
  7786. S = script.GetUp:Clone()
  7787. S.Parent = part.Parent
  7788. S.Disabled = false
  7789. script.Disabled = true
  7790. wait(0.5)
  7791. script.Disabled = false
  7792. end
  7793. end
  7794.  
  7795. end
  7796.  
  7797. script.Parent.Touched:connect(onTouched)
  7798.  
  7799.  
  7800.  
  7801.  
  7802.  
  7803.  
  7804.  
  7805.  
  7806.  
  7807.  
  7808.  
  7809.  
  7810.  
  7811.  
  7812.  
  7813.  
  7814. end,o457)
  7815. end))
  7816. o458.Name = "GetUp"
  7817. o458.Parent = o457
  7818. o458.Disabled = true
  7819. table.insert(cors,coroutine.create(function()
  7820. wait()
  7821. runDummyScript(function()
  7822. wait(math.random(1, 6))
  7823. script.Parent.Humanoid.PlatformStand = false
  7824. wait()
  7825. script:remove()
  7826.  
  7827. end,o458)
  7828. end))
  7829. o459.Name = "Break"
  7830. o459.Parent = mas
  7831. o459.SoundId = "rbxassetid://1228439088"
  7832. o459.Volume = 5
  7833. o460.Name = "Collide"
  7834. o460.Parent = mas
  7835. o460.SoundId = "rbxassetid://215550851"
  7836. o460.Volume = 5
  7837. o461.Name = "Health"
  7838. o461.Parent = mas
  7839. o461.Value = 160
  7840. o462.Name = "Sparks"
  7841. o462.Parent = mas
  7842. o462.Transparency = NumberSequence.new(0.5,0.5)
  7843. o462.Size = NumberSequence.new(0.25,0.25)
  7844. o462.Enabled = false
  7845. o462.LightEmission = 1
  7846. o462.Texture = "rbxassetid://253975502"
  7847. o462.Acceleration = Vector3.new(0, -50, 0)
  7848. o462.Rate = 40
  7849. o462.RotSpeed = NumberRange.new(-50,50)
  7850. o462.Speed = NumberRange.new(15,15)
  7851. o462.VelocitySpread = 50
  7852. o463.Name = "Crash"
  7853. o463.Parent = mas
  7854. table.insert(cors,coroutine.create(function()
  7855. wait()
  7856. runDummyScript(function()
  7857. function crashed(hit)
  7858. if script.Parent.Velocity.Magnitude > hit.Velocity.Magnitude + 45 and hit.CanCollide == true or hit.Velocity.Magnitude > script.Parent.Velocity.Magnitude + 35 then
  7859. script.Disabled = true
  7860. script.Parent.Health.Value = script.Parent.Health.Value - script.Parent.Velocity.Magnitude / 1.25
  7861. wait()
  7862. if script.Parent.Health.Value > 0 then
  7863. script.Parent.Sparks.Enabled = true
  7864. local sound = math.random(1, 2)
  7865. if sound == 1 then
  7866. script.Parent.Collide.SoundId = "rbxassetid://490314550"
  7867. end
  7868. if sound == 2 then
  7869. script.Parent.Collide.SoundId = "rbxassetid://215550851"
  7870. end
  7871. script.Parent.Collide.Playing = true
  7872. wait(0.5)
  7873. script.Parent.Sparks.Enabled = false
  7874. wait()
  7875. script.Disabled = false
  7876. else
  7877. script.Disabled = true
  7878. script.Parent:BreakJoints()
  7879. script.Parent.CanCollide = true
  7880. script.Parent.Break.Playing = true
  7881. script.Parent.Parent = workspace
  7882. wait(15)
  7883. script.Parent:remove()
  7884. end
  7885. end
  7886. end
  7887. script.Parent.Touched:connect(crashed)
  7888. end,o463)
  7889. end))
  7890. o469.Name = "Motors"
  7891. o469.Parent = o442
  7892. table.insert(cors,coroutine.create(function()
  7893. wait()
  7894. runDummyScript(function()
  7895. local sw = Instance.new("Motor", script.Parent.Parent.Misc.SW.SS) --sw
  7896.  
  7897.  
  7898. sw.MaxVelocity = 0.167
  7899. sw.Part0 = script.Parent.SW
  7900. sw.Part1 = sw.Parent
  7901.  
  7902.  
  7903. end,o469)
  7904. end))
  7905. o472.Name = "Break"
  7906. o472.Parent = mas
  7907. o472.SoundId = "rbxassetid://1228439088"
  7908. o472.Volume = 5
  7909. o473.Name = "Collide"
  7910. o473.Parent = mas
  7911. o473.SoundId = "rbxassetid://215550851"
  7912. o473.Volume = 5
  7913. o474.Name = "Crash"
  7914. o474.Parent = mas
  7915. table.insert(cors,coroutine.create(function()
  7916. wait()
  7917. runDummyScript(function()
  7918. function crashed(hit)
  7919. if script.Parent.Velocity.Magnitude > hit.Velocity.Magnitude + 40 and hit.CanCollide == true or hit.Velocity.Magnitude > script.Parent.Velocity.Magnitude + 35 then
  7920. script.Disabled = true
  7921. script.Parent.Health.Value = script.Parent.Health.Value - script.Parent.Velocity.Magnitude / 1.25
  7922. wait()
  7923. if script.Parent.Health.Value > 0 then
  7924. script.Parent.Sparks.Enabled = true
  7925. local sound = math.random(1, 2)
  7926. if sound == 1 then
  7927. script.Parent.Collide.SoundId = "rbxassetid://490314550"
  7928. end
  7929. if sound == 2 then
  7930. script.Parent.Collide.SoundId = "rbxassetid://215550851"
  7931. end
  7932. script.Parent.Collide.Playing = true
  7933. wait(0.5)
  7934. script.Parent.Sparks.Enabled = false
  7935. wait()
  7936. script.Disabled = false
  7937. else
  7938. script.Disabled = true
  7939. script.Parent:BreakJoints()
  7940. script.Parent.CanCollide = true
  7941. script.Parent.Break.Playing = true
  7942. script.Parent.Parent = workspace
  7943. wait(15)
  7944. script.Parent:remove()
  7945. end
  7946. end
  7947. end
  7948. script.Parent.Touched:connect(crashed)
  7949. end,o474)
  7950. end))
  7951. o475.Name = "Health"
  7952. o475.Parent = mas
  7953. o475.Value = 110
  7954. o476.Name = "Sparks"
  7955. o476.Parent = mas
  7956. o476.Transparency = NumberSequence.new(0.5,0.5)
  7957. o476.Size = NumberSequence.new(0.25,0.25)
  7958. o476.Enabled = false
  7959. o476.LightEmission = 1
  7960. o476.Texture = "rbxassetid://253975502"
  7961. o476.Acceleration = Vector3.new(0, -50, 0)
  7962. o476.Rate = 40
  7963. o476.RotSpeed = NumberRange.new(-50,50)
  7964. o476.Speed = NumberRange.new(15,15)
  7965. o476.VelocitySpread = 50
  7966. o490.Parent = mas
  7967. o490.Transparency = 0.89999997615814
  7968. o490.Texture = "rbxassetid://192248506"
  7969. o490.Face = Enum.NormalId.Top
  7970. o492.Name = "Break"
  7971. o492.Parent = mas
  7972. o492.SoundId = "rbxassetid://1228439088"
  7973. o492.Volume = 5
  7974. o493.Name = "Collide"
  7975. o493.Parent = mas
  7976. o493.SoundId = "rbxassetid://215550851"
  7977. o493.Volume = 5
  7978. o494.Name = "Health"
  7979. o494.Parent = mas
  7980. o494.Value = 50
  7981. o495.Name = "Sparks"
  7982. o495.Parent = mas
  7983. o495.Transparency = NumberSequence.new(0.5,0.5)
  7984. o495.Size = NumberSequence.new(0.25,0.25)
  7985. o495.Enabled = false
  7986. o495.LightEmission = 1
  7987. o495.Texture = "rbxassetid://253975502"
  7988. o495.Acceleration = Vector3.new(0, -50, 0)
  7989. o495.Rate = 40
  7990. o495.RotSpeed = NumberRange.new(-50,50)
  7991. o495.Speed = NumberRange.new(15,15)
  7992. o495.VelocitySpread = 50
  7993. o496.Name = "Crash"
  7994. o496.Parent = mas
  7995. table.insert(cors,coroutine.create(function()
  7996. wait()
  7997. runDummyScript(function()
  7998. function crashed(hit)
  7999. if script.Parent.Velocity.Magnitude > hit.Velocity.Magnitude + 35 and hit.CanCollide == true or hit.Velocity.Magnitude > script.Parent.Velocity.Magnitude + 35 then
  8000. script.Disabled = true
  8001. script.Parent.Health.Value = script.Parent.Health.Value - script.Parent.Velocity.Magnitude / 1.25
  8002. wait()
  8003. if script.Parent.Health.Value > 0 then
  8004. script.Parent.Sparks.Enabled = true
  8005. local sound = math.random(1, 2)
  8006. if sound == 1 then
  8007. script.Parent.Collide.SoundId = "rbxassetid://490314550"
  8008. end
  8009. if sound == 2 then
  8010. script.Parent.Collide.SoundId = "rbxassetid://215550851"
  8011. end
  8012. script.Parent.Collide.Playing = true
  8013. wait(0.5)
  8014. script.Parent.Sparks.Enabled = false
  8015. wait()
  8016. script.Disabled = false
  8017. else
  8018. script.Disabled = true
  8019. script.Parent:BreakJoints()
  8020. script.Parent.CanCollide = true
  8021. script.Parent.Break.Playing = true
  8022. script.Parent.Parent = workspace
  8023. wait(15)
  8024. script.Parent:remove()
  8025. end
  8026. end
  8027. end
  8028. script.Parent.Touched:connect(crashed)
  8029. end,o496)
  8030. end))
  8031. o498.Name = "Hit"
  8032. o498.Parent = mas
  8033. table.insert(cors,coroutine.create(function()
  8034. wait()
  8035. runDummyScript(function()
  8036. function onTouched(part)
  8037.  
  8038. if script.Parent.Velocity.Magnitude > 20 then
  8039. if part.Parent.Humanoid.Health > 0 then
  8040. part.Parent.Humanoid.PlatformStand = true
  8041. part.Parent.Humanoid.Health = part.Parent.Humanoid.Health - script.Parent.Velocity.Magnitude / math.random(1, 1.65)
  8042. script.Parent.Sound.Playing = true
  8043. S = script.GetUp:Clone()
  8044. S.Parent = part.Parent
  8045. S.Disabled = false
  8046. script.Disabled = true
  8047. wait(0.5)
  8048. script.Disabled = false
  8049. end
  8050. end
  8051.  
  8052. end
  8053.  
  8054. script.Parent.Touched:connect(onTouched)
  8055.  
  8056.  
  8057.  
  8058.  
  8059.  
  8060.  
  8061.  
  8062.  
  8063.  
  8064.  
  8065.  
  8066.  
  8067.  
  8068.  
  8069.  
  8070.  
  8071. end,o498)
  8072. end))
  8073. o499.Name = "GetUp"
  8074. o499.Parent = o498
  8075. o499.Disabled = true
  8076. table.insert(cors,coroutine.create(function()
  8077. wait()
  8078. runDummyScript(function()
  8079. wait(math.random(1, 6))
  8080. script.Parent.Humanoid.PlatformStand = false
  8081. wait()
  8082. script:remove()
  8083.  
  8084. end,o499)
  8085. end))
  8086. o500.Parent = mas
  8087. o500.SoundId = "rbxassetid://553325070"
  8088. o500.Volume = 5
  8089. o501.Name = "Health"
  8090. o501.Parent = mas
  8091. o501.Value = 220
  8092. o502.Name = "Sparks"
  8093. o502.Parent = mas
  8094. o502.Transparency = NumberSequence.new(0.5,0.5)
  8095. o502.Size = NumberSequence.new(0.25,0.25)
  8096. o502.Enabled = false
  8097. o502.LightEmission = 1
  8098. o502.Texture = "rbxassetid://253975502"
  8099. o502.Acceleration = Vector3.new(0, -50, 0)
  8100. o502.Rate = 40
  8101. o502.RotSpeed = NumberRange.new(-50,50)
  8102. o502.Speed = NumberRange.new(15,15)
  8103. o502.VelocitySpread = 50
  8104. o503.Name = "Collide"
  8105. o503.Parent = mas
  8106. o503.SoundId = "rbxassetid://215550851"
  8107. o503.Volume = 5
  8108. o504.Name = "Break"
  8109. o504.Parent = mas
  8110. o504.SoundId = "rbxassetid://1228439088"
  8111. o504.Volume = 5
  8112. o505.Name = "Crash"
  8113. o505.Parent = mas
  8114. table.insert(cors,coroutine.create(function()
  8115. wait()
  8116. runDummyScript(function()
  8117. function crashed(hit)
  8118. if script.Parent.Velocity.Magnitude > hit.Velocity.Magnitude + 45 and hit.CanCollide == true or hit.Velocity.Magnitude > script.Parent.Velocity.Magnitude + 35 then
  8119. script.Disabled = true
  8120. script.Parent.Health.Value = script.Parent.Health.Value - script.Parent.Velocity.Magnitude / 1.25
  8121. wait()
  8122. if script.Parent.Health.Value > 0 then
  8123. script.Parent.Sparks.Enabled = true
  8124. local sound = math.random(1, 2)
  8125. if sound == 1 then
  8126. script.Parent.Collide.SoundId = "rbxassetid://490314550"
  8127. end
  8128. if sound == 2 then
  8129. script.Parent.Collide.SoundId = "rbxassetid://215550851"
  8130. end
  8131. script.Parent.Collide.Playing = true
  8132. wait(0.5)
  8133. script.Parent.Sparks.Enabled = false
  8134. wait()
  8135. script.Disabled = false
  8136. else
  8137. script.Disabled = true
  8138. script.Parent:BreakJoints()
  8139. script.Parent.CanCollide = true
  8140. script.Parent.Break.Playing = true
  8141. script.Parent.Parent = workspace
  8142. wait(15)
  8143. script.Parent:remove()
  8144. end
  8145. end
  8146. end
  8147. script.Parent.Touched:connect(crashed)
  8148. end,o505)
  8149. end))
  8150. o512.Name = "Misc"
  8151. o512.Parent = o442
  8152. o513.Name = "PassengerSeat"
  8153. o513.Parent = o512
  8154. o513.Material = Enum.Material.SmoothPlastic
  8155. o513.BrickColor = BrickColor.new("Bright blue")
  8156. o513.Transparency = 1
  8157. o513.Position = Vector3.new(38.9480286, 0.73585999, 136.032013)
  8158. o513.Rotation = Vector3.new(9.97999954, 0.00999999978, 0.00999999978)
  8159. o513.Anchored = true
  8160. o513.CanCollide = false
  8161. o513.Elasticity = 0
  8162. o513.Size = Vector3.new(1.22171223, 0.610856116, 1.22170961)
  8163. o513.CFrame = CFrame.new(38.9480286, 0.73585999, 136.032013, 1.00000072, -0.000151933142, 0.00019220775, 0.000182957592, 0.984855175, -0.173383266, -0.000162953889, 0.173383161, 0.984854519)
  8164. o513.BackSurface = Enum.SurfaceType.Unjoinable
  8165. o513.BottomSurface = Enum.SurfaceType.Unjoinable
  8166. o513.FrontSurface = Enum.SurfaceType.Motor
  8167. o513.LeftSurface = Enum.SurfaceType.Unjoinable
  8168. o513.RightSurface = Enum.SurfaceType.Unjoinable
  8169. o513.TopSurface = Enum.SurfaceType.Hinge
  8170. o513.HeadsUpDisplay = false
  8171. o513.MaxSpeed = 0
  8172. o513.Torque = 0
  8173. o513.TurnSpeed = 0
  8174. o513.Color = Color3.new(0.0509804, 0.411765, 0.67451)
  8175. o513.Position = Vector3.new(38.9480286, 0.73585999, 136.032013)
  8176. o514.Name = "Gui Giver"
  8177. o514.Parent = o513
  8178. o514.Disabled = true
  8179. table.insert(cors,coroutine.create(function()
  8180. wait()
  8181. runDummyScript(function()
  8182. GUI = script.Parent.Screen
  8183.  
  8184. script.Parent.ChildAdded:connect(function(child)
  8185. if child:IsA("Weld") then
  8186. child.C0 = CFrame.new(0,-0.1,0)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) --// Reposition player
  8187. if child.Part1.Name == "HumanoidRootPart" then
  8188. player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  8189. if player and (not player.PlayerGui:FindFirstChild("Screen")) then --// The part after the "and" prevents multiple GUI's to be copied over.
  8190. GUI.CarSeat.Value = script.Parent --// Puts a reference of the seat in this ObjectValue, now you can use this ObjectValue's value to find the car directly.
  8191. GUI:Clone().Parent = player.PlayerGui --// Compact version
  8192. end
  8193. end
  8194. end
  8195. end)
  8196.  
  8197. script.Parent.ChildRemoved:connect(function(child)
  8198. if child:IsA("Weld") then
  8199. if child.Part1.Name == "HumanoidRootPart" then
  8200. game.Workspace.CurrentCamera.FieldOfView = 70
  8201. player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
  8202. if player and player.PlayerGui:FindFirstChild("Screen") then
  8203. player.PlayerGui:FindFirstChild("Screen"):Destroy()
  8204. end
  8205. end
  8206. end
  8207. end)
  8208.  
  8209.  
  8210. end,o514)
  8211. end))
  8212. o515.Name = "TheFix"
  8213. o515.Parent = o514
  8214. table.insert(cors,coroutine.create(function()
  8215. wait()
  8216. runDummyScript(function()
  8217. wait(2)
  8218. script.Parent.Disabled = false
  8219. end,o515)
  8220. end))
  8221. o516.Name = "Screen"
  8222. o516.Parent = o513
  8223. o517.Name = "CarSeat"
  8224. o517.Parent = o516
  8225. o518.Name = "GuiScript"
  8226. o518.Parent = o516
  8227. o518.Disabled = true
  8228. table.insert(cors,coroutine.create(function()
  8229. wait()
  8230. runDummyScript(function()
  8231. --// SS3.33T Police Edit originally for 2017 Mercedes-Benz E300 by Itzt and MASERATl, base SS by Inspare
  8232.  
  8233. wait(0.1)
  8234. local player = game.Players.LocalPlayer
  8235. local HUB = script.Parent.HUB
  8236. local limitButton = HUB.Name
  8237. local lightOn = false
  8238. local Camera = game.Workspace.CurrentCamera
  8239. local cam = script.Parent.nxtcam.Value
  8240. local carSeat = script.Parent.CarSeat.Value
  8241. local mouse = game.Players.LocalPlayer:GetMouse()
  8242.  
  8243. -------------------------
  8244.  
  8245. mouse.KeyDown:connect(function (key)
  8246. key = string.lower(key)
  8247. if key == "t" then --Camera controls
  8248. if cam == ("car") then
  8249. Camera.CameraSubject = player.Character.Humanoid
  8250. Camera.CameraType = ("Custom")
  8251. cam = ("freeplr")
  8252. Camera.FieldOfView = 70
  8253. limitButton.Text = "Free Camera"
  8254. wait(3)
  8255. limitButton.Text = ""
  8256. elseif cam == ("freeplr") then
  8257. Camera.CameraSubject = player.Character.Humanoid
  8258. Camera.CameraType = ("Attach")
  8259. cam = ("lockplr")
  8260. Camera.FieldOfView = 45
  8261. limitButton.Text = "FPV Camera"
  8262. wait(3)
  8263. limitButton.Text = ""
  8264. elseif cam == ("lockplr") then
  8265. Camera.CameraSubject = carSeat
  8266. Camera.CameraType = ("Custom")
  8267. cam = ("car")
  8268. Camera.FieldOfView = 70
  8269. limitButton.Text = "Standard Camera"
  8270. wait(3)
  8271. limitButton.Text = ""
  8272. end
  8273. end
  8274. end)
  8275. end,o518)
  8276. end))
  8277. o519.Name = "TheFix"
  8278. o519.Parent = o518
  8279. table.insert(cors,coroutine.create(function()
  8280. wait()
  8281. runDummyScript(function()
  8282. wait(2)
  8283. script.Parent.Disabled = false
  8284. end,o519)
  8285. end))
  8286. o520.Name = "HUB"
  8287. o520.Parent = o516
  8288. o520.Position = UDim2.new(0,0,0,600)
  8289. o520.Size = UDim2.new(0,140,0,30)
  8290. o520.Position = UDim2.new(0,0,0,600)
  8291. o520.Active = true
  8292. o520.BackgroundColor3 = Color3.new(0, 0, 0)
  8293. o520.BackgroundTransparency = 1
  8294. o520.BorderSizePixel = 0
  8295. o520.Draggable = true
  8296. o521.Name = "Name"
  8297. o521.Parent = o520
  8298. o521.Position = UDim2.new(0,0,0,-40)
  8299. o521.Size = UDim2.new(0,140,0,30)
  8300. o521.Text = "Press T to change views"
  8301. o521.Position = UDim2.new(0,0,0,-40)
  8302. o521.BackgroundColor3 = Color3.new(0, 0, 0)
  8303. o521.BackgroundTransparency = 0.60000002384186
  8304. o521.BorderSizePixel = 0
  8305. o521.Font = Enum.Font.SourceSansLight
  8306. o521.FontSize = Enum.FontSize.Size24
  8307. o521.TextColor3 = Color3.new(1, 1, 1)
  8308. o521.TextScaled = true
  8309. o521.TextWrapped = true
  8310. o522.Name = "nxtcam"
  8311. o522.Parent = o516
  8312. o522.Value = "car"
  8313. o523.Name = "Speed Reader"
  8314. o523.Parent = o442
  8315. o524.Name = "SpeedGUI"
  8316. o524.Parent = o523
  8317. o524.Material = Enum.Material.SmoothPlastic
  8318. o524.BrickColor = BrickColor.new("Black")
  8319. o524.Transparency = 1
  8320. o524.Position = Vector3.new(35.8926163, 3.02791595, 133.174072)
  8321. o524.Rotation = Vector3.new(178.470001, -89.4899979, 88.4799957)
  8322. o524.Anchored = true
  8323. o524.FormFactor = Enum.FormFactor.Symmetric
  8324. o524.Size = Vector3.new(0.276738554, 0.212875783, 0.468326747)
  8325. o524.CFrame = CFrame.new(35.8926163, 3.02791595, 133.174072, 0.000240746958, -0.00906011462, -0.999959767, -1.00000083, 0.000143378726, -0.000242055889, 0.000145565777, 0.999958992, -0.00906007271)
  8326. o524.Color = Color3.new(0.105882, 0.164706, 0.207843)
  8327. o524.Position = Vector3.new(35.8926163, 3.02791595, 133.174072)
  8328. o525.Parent = o524
  8329. o525.Face = Enum.NormalId.Top
  8330. o525.CanvasSize = Vector2.new(200, 100)
  8331. o526.Name = "Gauges"
  8332. o526.Parent = o525
  8333. o526.Position = UDim2.new(1,15,1,0)
  8334. o526.Position = UDim2.new(1,15,1,0)
  8335. o526.BackgroundColor3 = Color3.new(1, 1, 1)
  8336. o526.BackgroundTransparency = 1
  8337. o526.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  8338. o526.BorderSizePixel = 0
  8339. o527.Name = "MPH"
  8340. o527.Parent = o526
  8341. o527.Position = UDim2.new(0,-60,0,-80)
  8342. o527.Position = UDim2.new(0,-60,0,-80)
  8343. o527.BackgroundColor3 = Color3.new(1, 1, 1)
  8344. o527.BackgroundTransparency = 1
  8345. o527.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  8346. o527.BorderSizePixel = 0
  8347. o528.Name = "A"
  8348. o528.Parent = o527
  8349. o528.Size = UDim2.new(0,30,0,50)
  8350. o528.BackgroundColor3 = Color3.new(1, 1, 1)
  8351. o528.BackgroundTransparency = 1
  8352. o528.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  8353. o528.BorderSizePixel = 0
  8354. o528.Image = "http://www.roblox.com/asset/?id=180354115"
  8355. o529.Name = "B"
  8356. o529.Parent = o527
  8357. o529.Position = UDim2.new(0,-35,0,0)
  8358. o529.Size = UDim2.new(0,30,0,50)
  8359. o529.Position = UDim2.new(0,-35,0,0)
  8360. o529.BackgroundColor3 = Color3.new(1, 1, 1)
  8361. o529.BackgroundTransparency = 1
  8362. o529.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  8363. o529.BorderSizePixel = 0
  8364. o529.Image = "http://www.roblox.com/asset/?id=180354115"
  8365. o530.Name = "C"
  8366. o530.Parent = o527
  8367. o530.Position = UDim2.new(0,-70,0,0)
  8368. o530.Size = UDim2.new(0,30,0,50)
  8369. o530.Position = UDim2.new(0,-70,0,0)
  8370. o530.BackgroundColor3 = Color3.new(1, 1, 1)
  8371. o530.BackgroundTransparency = 1
  8372. o530.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  8373. o530.BorderSizePixel = 0
  8374. o530.Image = "http://www.roblox.com/asset/?id=180354115"
  8375. o531.Parent = o527
  8376. table.insert(cors,coroutine.create(function()
  8377. wait()
  8378. runDummyScript(function()
  8379. --Version 1.43 Made my PistonsofDoom--
  8380. local carSeat=script.Parent.Parent.Parent.Parent
  8381. local numbers={180354176,180354121,180354128,180354131,180354134,180354138,180354146,180354158,180354160,180354168,180355596,180354115}
  8382.  
  8383.  
  8384. while true do
  8385. wait(0.01)
  8386. local value=(carSeat.Velocity.magnitude)/1 --This is the velocity so if it was 1.6 it should work. If not PM me! or comment!--
  8387. if value<10000 then
  8388. local nnnn=math.floor(value/1000)
  8389. local nnn=(math.floor(value/100))-(nnnn*10)
  8390. local nn=(math.floor(value/10)-(nnn*10))-(nnnn*100)
  8391. local n=(math.floor(value)-(nn*10)-(nnn*100))-(nnnn*1000)
  8392. script.Parent.A.Image="http://www.roblox.com/asset/?id="..numbers[n+1]
  8393. if value>=10 then
  8394. script.Parent.B.Image="http://www.roblox.com/asset/?id="..numbers[nn+1]
  8395. else
  8396. script.Parent.B.Image="http://www.roblox.com/asset/?id="..numbers[12]
  8397. end
  8398. if value>=100 then
  8399. script.Parent.C.Image="http://www.roblox.com/asset/?id="..numbers[nnn+1]
  8400. else
  8401. script.Parent.C.Image="http://www.roblox.com/asset/?id="..numbers[12]
  8402. end
  8403. else
  8404. script.Parent.A.Image="http://www.roblox.com/asset/?id="..numbers[10]
  8405. script.Parent.B.Image="http://www.roblox.com/asset/?id="..numbers[10]
  8406. script.Parent.C.Image="http://www.roblox.com/asset/?id="..numbers[10]
  8407. end
  8408.  
  8409. end
  8410.  
  8411. end,o531)
  8412. end))
  8413. o532.Name = "TK"
  8414. o532.Parent = o442
  8415. o534.Name = "Light"
  8416. o534.Parent = mas
  8417. o534.Color = Color3.new(0.666667, 0, 0)
  8418. o534.Enabled = false
  8419. o534.Brightness = 3
  8420. o534.Range = 15
  8421. o534.Shadows = true
  8422. o534.Angle = 50
  8423. o534.Face = Enum.NormalId.Back
  8424. o536.Name = "Light"
  8425. o536.Parent = mas
  8426. o536.Color = Color3.new(0.666667, 0, 0)
  8427. o536.Enabled = false
  8428. o536.Brightness = 3
  8429. o536.Range = 15
  8430. o536.Shadows = true
  8431. o536.Angle = 50
  8432. o536.Face = Enum.NormalId.Back
  8433. o540.Name = "Light"
  8434. o540.Parent = mas
  8435. o540.Enabled = false
  8436. o540.Face = Enum.NormalId.Back
  8437. o541.Name = "Lights"
  8438. o541.Parent = o442
  8439. o543.Name = "Light"
  8440. o543.Parent = mas
  8441. o543.Color = Color3.new(0.654902, 0.956863, 1)
  8442. o543.Enabled = false
  8443. o543.Brightness = 15
  8444. o543.Range = 60
  8445. o543.Shadows = true
  8446. o544.Name = "L"
  8447. o544.Parent = o541
  8448. o544.Material = Enum.Material.SmoothPlastic
  8449. o544.BrickColor = BrickColor.new("Institutional white")
  8450. o544.Transparency = 1
  8451. o544.Position = Vector3.new(37.388588, 1.70590496, 129.609375)
  8452. o544.Rotation = Vector3.new(-0.00999999978, 0.00999999978, 0.00999999978)
  8453. o544.Anchored = true
  8454. o544.CanCollide = false
  8455. o544.FormFactor = Enum.FormFactor.Custom
  8456. o544.Size = Vector3.new(1.17876232, 0.829499125, 0.213045105)
  8457. o544.CFrame = CFrame.new(37.388588, 1.70590496, 129.609375, 1.00000083, -0.000252981525, 0.000148927415, 0.000252959842, 1.00000083, 0.000145601749, -0.000148964144, -0.000145563958, 1)
  8458. o544.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  8459. o544.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  8460. o544.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  8461. o544.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  8462. o544.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  8463. o544.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  8464. o544.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8465. o544.Position = Vector3.new(37.388588, 1.70590496, 129.609375)
  8466. o545.Name = "SpotLight"
  8467. o545.Parent = o544
  8468. o545.Enabled = false
  8469. o545.Brightness = 3
  8470. o545.Range = 50
  8471. o545.Shadows = true
  8472. o545.Angle = 130
  8473. o546.Parent = o544
  8474. o546.Scale = Vector3.new(1, 1, 0.819692135)
  8475. o547.Name = "L2"
  8476. o547.Parent = o541
  8477. o547.Material = Enum.Material.SmoothPlastic
  8478. o547.BrickColor = BrickColor.new("Institutional white")
  8479. o547.Transparency = 1
  8480. o547.Position = Vector3.new(37.388588, 1.70589197, 129.504593)
  8481. o547.Rotation = Vector3.new(-0.00999999978, 0.00999999978, 0.00999999978)
  8482. o547.Anchored = true
  8483. o547.CanCollide = false
  8484. o547.FormFactor = Enum.FormFactor.Custom
  8485. o547.Size = Vector3.new(1.17876232, 0.829499125, 0.213045105)
  8486. o547.CFrame = CFrame.new(37.388588, 1.70589197, 129.504593, 1.00000083, -0.000252981525, 0.000148927415, 0.000252959842, 1.00000083, 0.000145601749, -0.000148964144, -0.000145563958, 1)
  8487. o547.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  8488. o547.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  8489. o547.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  8490. o547.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  8491. o547.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  8492. o547.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  8493. o547.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8494. o547.Position = Vector3.new(37.388588, 1.70589197, 129.504593)
  8495. o548.Name = "SpotLight"
  8496. o548.Parent = o547
  8497. o548.Enabled = false
  8498. o548.Brightness = 3
  8499. o548.Range = 60
  8500. o548.Shadows = true
  8501. o548.Angle = 100
  8502. o549.Parent = o547
  8503. o549.Scale = Vector3.new(1, 1, 0.819692135)
  8504. o551.Name = "Light"
  8505. o551.Parent = mas
  8506. o551.Enabled = false
  8507. o551.Brightness = 15
  8508. o551.Range = 35
  8509. o551.Shadows = true
  8510. o553.Name = "Light"
  8511. o553.Parent = mas
  8512. o553.Enabled = false
  8513. o553.Brightness = 15
  8514. o553.Range = 35
  8515. o553.Shadows = true
  8516. o555.Name = "Light"
  8517. o555.Parent = mas
  8518. o555.Color = Color3.new(0.666667, 0, 0)
  8519. o555.Enabled = false
  8520. o555.Brightness = 3
  8521. o555.Range = 15
  8522. o555.Shadows = true
  8523. o555.Angle = 50
  8524. o555.Face = Enum.NormalId.Back
  8525. o557.Name = "Light"
  8526. o557.Parent = mas
  8527. o557.Color = Color3.new(0.654902, 0.956863, 1)
  8528. o557.Enabled = false
  8529. o557.Brightness = 15
  8530. o557.Range = 60
  8531. o557.Shadows = true
  8532. o558.Name = "SW"
  8533. o558.Parent = o442
  8534. o558.BrickColor = BrickColor.new("Institutional white")
  8535. o558.Transparency = 1
  8536. o558.Position = Vector3.new(35.9575806, 2.86006594, 134.422821)
  8537. o558.Rotation = Vector3.new(-18.0299988, -0.00999999978, 90.0099945)
  8538. o558.Anchored = true
  8539. o558.CanCollide = false
  8540. o558.FormFactor = Enum.FormFactor.Custom
  8541. o558.Size = Vector3.new(0.851503372, 0.851503134, 0.851503074)
  8542. o558.CFrame = CFrame.new(35.9575806, 2.86006594, 134.422821, -0.000228932768, -1.00000083, -0.000111834393, 0.950899363, -0.000252304919, 0.309502423, -0.309502214, -3.54879558e-05, 0.950898707)
  8543. o558.BackSurface = Enum.SurfaceType.Unjoinable
  8544. o558.BottomSurface = Enum.SurfaceType.Smooth
  8545. o558.LeftSurface = Enum.SurfaceType.Unjoinable
  8546. o558.TopSurface = Enum.SurfaceType.Unjoinable
  8547. o558.Color = Color3.new(0.972549, 0.972549, 0.972549)
  8548. o558.Position = Vector3.new(35.9575806, 2.86006594, 134.422821)
  8549. o559.Name = "Exhaust"
  8550. o559.Parent = o442
  8551. o560.Name = "E1"
  8552. o560.Parent = o559
  8553. o560.Material = Enum.Material.SmoothPlastic
  8554. o560.BrickColor = BrickColor.new("Smoky grey")
  8555. o560.Transparency = 1
  8556. o560.Position = Vector3.new(34.5612335, 1.32983601, 144.615982)
  8557. o560.Rotation = Vector3.new(5.96000004, -88.5, -82.9899979)
  8558. o560.Anchored = true
  8559. o560.CanCollide = false
  8560. o560.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  8561. o560.CFrame = CFrame.new(34.5612335, 1.32983601, 144.615982, 0.00319975708, 0.0260199644, -0.999657214, -0.999827743, 0.0184013266, -0.00272133737, 0.0183241777, 0.999492109, 0.0260743257)
  8562. o560.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  8563. o560.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  8564. o560.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  8565. o560.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  8566. o560.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  8567. o560.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  8568. o560.Color = Color3.new(0.356863, 0.364706, 0.411765)
  8569. o560.Position = Vector3.new(34.5612335, 1.32983601, 144.615982)
  8570. o561.Parent = o560
  8571. o561.Pitch = 0.89999997615814
  8572. o561.Volume = 10
  8573. o562.Name = "Afterburn"
  8574. o562.Parent = o560
  8575. o562.Transparency = NumberSequence.new(1,1)
  8576. o562.Rotation = NumberRange.new(180,180)
  8577. o562.Size = NumberSequence.new(0.3125,0.8125,0.1875)
  8578. o562.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(0, 0, 0.498039),Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  8579. o562.LightEmission = 0.80000001192093
  8580. o562.Texture = "rbxassetid://462433141"
  8581. o562.Acceleration = Vector3.new(0, 0, 5)
  8582. o562.Lifetime = NumberRange.new(0.090000003576279,0.15000000596046)
  8583. o562.Rate = 0
  8584. o562.RotSpeed = NumberRange.new(9000,9000)
  8585. o562.Speed = NumberRange.new(15,15)
  8586. o562.VelocitySpread = 1
  8587. o563.Name = "L"
  8588. o563.Parent = o560
  8589. o563.Color = Color3.new(0.74902, 0.52549, 1)
  8590. o563.Brightness = 0
  8591. o563.Range = 0
  8592. o564.Name = "E2"
  8593. o564.Parent = o559
  8594. o564.Material = Enum.Material.SmoothPlastic
  8595. o564.BrickColor = BrickColor.new("Smoky grey")
  8596. o564.Transparency = 1
  8597. o564.Position = Vector3.new(40.3108749, 1.33174896, 144.615768)
  8598. o564.Rotation = Vector3.new(90, -90, 0)
  8599. o564.Anchored = true
  8600. o564.CanCollide = false
  8601. o564.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  8602. o564.CFrame = CFrame.new(40.3108749, 1.33174896, 144.615768, 0.000241421018, 2.36195842e-06, -1.00000083, -1.00000083, 1.69988652e-07, -0.000241421018, 1.69418286e-07, 1, 2.36199753e-06)
  8603. o564.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  8604. o564.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  8605. o564.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  8606. o564.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  8607. o564.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  8608. o564.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  8609. o564.Color = Color3.new(0.356863, 0.364706, 0.411765)
  8610. o564.Position = Vector3.new(40.3108749, 1.33174896, 144.615768)
  8611. o565.Name = "S"
  8612. o565.Parent = o564
  8613. o565.Pitch = 0
  8614. o565.Volume = 10
  8615. o565.Looped = true
  8616. o566.Name = "Afterburn"
  8617. o566.Parent = o564
  8618. o566.Transparency = NumberSequence.new(1,1)
  8619. o566.Rotation = NumberRange.new(180,180)
  8620. o566.Size = NumberSequence.new(0.3125,0.8125,0.1875)
  8621. o566.Color = ColorSequence.new(Color3.new(1, 0.666667, 0),Color3.new(0, 0, 0.498039),Color3.new(1, 0.333333, 0),Color3.new(1, 0.333333, 0))
  8622. o566.LightEmission = 0.80000001192093
  8623. o566.Texture = "rbxassetid://462433141"
  8624. o566.Acceleration = Vector3.new(0, 0, 5)
  8625. o566.Lifetime = NumberRange.new(0.090000003576279,0.15000000596046)
  8626. o566.Rate = 0
  8627. o566.RotSpeed = NumberRange.new(9000,9000)
  8628. o566.Speed = NumberRange.new(15,15)
  8629. o566.VelocitySpread = 1
  8630. o567.Name = "L"
  8631. o567.Parent = o564
  8632. o567.Color = Color3.new(0.74902, 0.52549, 1)
  8633. o567.Brightness = 0
  8634. o567.Range = 0
  8635. o568.Name = "License Plate"
  8636. o568.Parent = o442
  8637. o568.Material = Enum.Material.SmoothPlastic
  8638. o568.BrickColor = BrickColor.new("Really black")
  8639. o568.Position = Vector3.new(37.3846207, 1.56812894, 144.649277)
  8640. o568.Rotation = Vector3.new(177.839996, -1.49000001, 179.789993)
  8641. o568.Anchored = true
  8642. o568.CanCollide = false
  8643. o568.Elasticity = 0
  8644. o568.FormFactor = Enum.FormFactor.Custom
  8645. o568.Friction = 0.69999998807907
  8646. o568.Size = Vector3.new(1.29561448, 0.588916183, 0.200000003)
  8647. o568.CFrame = CFrame.new(37.3846207, 1.56812894, 144.649277, -0.999655545, -0.00371213816, -0.0260131322, -0.00273193745, 0.999289393, -0.0376157612, 0.0261342395, -0.0375316814, -0.99895364)
  8648. o568.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  8649. o568.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  8650. o568.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  8651. o568.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  8652. o568.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  8653. o568.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  8654. o568.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  8655. o568.Position = Vector3.new(37.3846207, 1.56812894, 144.649277)
  8656. o569.Name = "S"
  8657. o569.Parent = o568
  8658. o569.CanvasSize = Vector2.new(210, 60)
  8659. o570.Name = "T"
  8660. o570.Parent = o569
  8661. o570.Position = UDim2.new(0,1,0,3)
  8662. o570.Size = UDim2.new(1,0,1,0)
  8663. o570.Text = ""
  8664. o570.Position = UDim2.new(0,1,0,3)
  8665. o570.BackgroundColor3 = Color3.new(1, 1, 1)
  8666. o570.BackgroundTransparency = 1
  8667. o570.BorderColor3 = Color3.new(0.0705882, 0.0705882, 0.0627451)
  8668. o570.BorderSizePixel = 0
  8669. o570.ZIndex = 2
  8670. o570.ClearTextOnFocus = false
  8671. o570.Font = Enum.Font.Highway
  8672. o570.FontSize = Enum.FontSize.Size48
  8673. o570.TextColor3 = Color3.new(0, 0, 0.313726)
  8674. o570.TextStrokeColor3 = Color3.new(1, 1, 1)
  8675. o570.TextWrapped = true
  8676. o571.Parent = o568
  8677. o571.Offset = Vector3.new(0, 0, 0.00800000038)
  8678. o571.Scale = Vector3.new(1, 1, 0.571637094)
  8679. o572.Name = "s"
  8680. o572.Parent = o568
  8681. o572.Texture = "rbxassetid://575391537"
  8682. mas.Parent = workspace
  8683. mas:MakeJoints()
  8684. local mas1 = mas:GetChildren()
  8685. for i=1,#mas1 do
  8686. mas1[i].Parent = workspace
  8687. ypcall(function() mas1[i]:MakeJoints() end)
  8688. end
  8689. mas:Destroy()
  8690. for i=1,#cors do
  8691. coroutine.resume(cors[i])
  8692. end
  8693.  
  8694. game:GetService("Lighting").Ambient = Color3.new(0, 0, 0)
  8695. game:GetService("Lighting").Brightness = 1
  8696. game:GetService("Lighting").ColorShift_Bottom = Color3.new(0, 0, 0)
  8697. game:GetService("Lighting").ColorShift_Top = Color3.new(0, 0, 0)
  8698. game:GetService("Lighting").GlobalShadows = true
  8699. game:GetService("Lighting").OutdoorAmbient = Color3.new(0.5, 0.5, 0.5)
  8700. game:GetService("Lighting").Outlines = false
  8701. game:GetService("Lighting").GeographicLatitude = 41.733299255371
  8702. game:GetService("Lighting").TimeOfDay = "14:00:00"
  8703. game:GetService("Lighting").FogColor = Color3.new(0.75, 0.75, 0.75)
  8704. game:GetService("Lighting").FogEnd = 100000
  8705. game:GetService("Lighting").FogStart = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement