Advertisement
LelXD

Go kart

Feb 15th, 2016
1,824
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.49 KB | None | 0 0
  1. --Created with ttyyuu12345's compiler
  2. --Errors: LocalScript,Camera
  3. Create = function(itemClass,tabl)
  4. local item = Instance.new(itemClass)
  5. for i,v in pairs(tabl) do
  6. local a,b = ypcall(function() return item[i] end)
  7. if a then
  8. item[i] = tabl[i]
  9. end
  10. end
  11. return item
  12. end
  13. function runDummyScript(f,scri)
  14. local oldenv = getfenv(f)
  15. local newenv = setmetatable({}, {
  16. __index = function(_, k)
  17. if k:lower() == 'script' then
  18. return scri
  19. else
  20. return oldenv[k]
  21. end
  22. end
  23. })
  24. setfenv(f, newenv)
  25. ypcall(function() f() end)
  26. end
  27. cors = {}
  28. mas = Instance.new("Model",game:GetService("Lighting"))
  29. mas.Name = "CompiledModel"
  30. o1 = Create("Model",{
  31. ["Name"] = "GoKart_ByWrightRacer3n",
  32. ["Parent"] = mas,
  33. ["PrimaryPart"] = o39,
  34. })
  35. o2 = Create("Script",{
  36. ["Name"] = "KartScript",
  37. ["Parent"] = o1,
  38. })
  39. table.insert(cors,coroutine.create(function()
  40. wait()
  41. runDummyScript(function()
  42. -- Kart Customization Script written by CodeWrighter 10/7/2015 10:30PM
  43. -- If you use this, credit is appreciated. :)
  44. -- If you alter this code, I'm not responsible for anything
  45. --[[
  46. Latest Update:
  47. 12/30/2015
  48. Made karts turn visible when you jump out (so you don't lose 'em LOL)
  49. Added ability to pause / play and repeat songs on kart radio
  50.  
  51.  
  52. 12/28/2015
  53. Added radio to the kart
  54. Added MLG mode to the kart
  55. Added flip kart feature
  56. Added invisibility feature
  57. Added ability to easily change color of kart
  58. Added controls HUD
  59.  
  60.  
  61. 11/25/2015
  62. Fixed sounds
  63.  
  64. 11/7/2015
  65. Confidential bug fix
  66. Updated auto-updating kart to change values of new kart to that of old values before updating kart in-game
  67.  
  68. 10/15/2015
  69. Added ability to honk horn and made it FE compatible
  70. Added auto-updating model feature (had to change folder instances to models because they were causing the model to break for some odd reason; fix this ROBLOX?)
  71.  
  72. If you have any ideas, don't hesistate to send me a PM. :)
  73. ~ CodeWrighter
  74. --]]
  75. function AlertCreator()
  76. for i,v in ipairs(game.Players:GetPlayers()) do
  77. if v.userId == game.CreatorId then
  78. if script:findFirstChild('AllowThirdPartySalesNotice') then
  79. if not v.PlayerGui:findFirstChild('AllowThirdPartySalesNotice') then
  80. script.AllowThirdPartySalesNotice:Clone().Parent = v.PlayerGui
  81. end
  82. end
  83. end
  84. end
  85. end
  86. wait(.1)
  87. if not workspace.AllowThirdPartySales then AlertCreator() end
  88. KartAssetId = 193064098 -- Don't mess with this or your warranty is void LOL SO FUNNEH!!
  89. Ids = {
  90. ['G'] = 306060116,
  91. ['C'] = 336722242,
  92. ['M'] = 336724563,
  93. ['I'] = 336725370,
  94. ['R'] = 336726773,
  95. }
  96.  
  97. count = 0
  98. repeat wait() count = count+1 until count >= 5
  99.  
  100. -- define variables
  101. Kart = script.Parent
  102. Steeringwheel = Kart.SteeringWheel
  103. Configurations = Kart.Configurations
  104. BodyColor = Configurations.BodyColor
  105. SeatColor = Configurations.SeatColor
  106. ChassisColor = Configurations.ChassisColor
  107. Number = Configurations.Number
  108.  
  109. Body = Kart.Body
  110. Chassis = Kart.Chassis
  111. Seat = Kart.Seat
  112. Tires = Kart.Tires
  113. NumberDisplay = Seat.SeatWedge.SurfaceGui.TextLabel
  114. VehicleSeat = Seat.VehicleSeat
  115. Sounds = Kart.SteeringWheel
  116. Engine = Sounds.Engine
  117. Horn = Sounds.Horn
  118.  
  119. MainEvent = Kart.RemoteEvents:WaitForChild('MainEvent')
  120. CS = VehicleSeat.ControllerScript -- we'll use this in-case anything were to happen where we'd lose the ControllerScript
  121.  
  122.  
  123. repeat wait() until Kart:FindFirstChild("Version")
  124. local version = Kart.Version.Value
  125.  
  126. local IsInvisible = false
  127. local IsMLGMode = false
  128. local mode = 1
  129.  
  130. KartStorage = {}
  131. CharacterStorage = {}
  132. CreatedItems = {}
  133.  
  134. function GetCurrentVal(color)
  135. for i = 0, 127 do
  136. if BrickColor.palette(i) == color then
  137. return i
  138. end
  139. end
  140. end
  141.  
  142. function GetColor3(r,g,b)
  143. return Color3.new(r/255,g/255,b/255)
  144. end
  145.  
  146. function GetNumberSequence(start,stop)
  147. return NumberSequence.new(start,stop)
  148. end
  149.  
  150. function GetNumberRange(start,stop)
  151. return NumberRange.new(start,stop)
  152. end
  153.  
  154. function EliteMode()
  155. if mode == 1 then
  156. prevColor = BodyColor.Value
  157. prevMaterial = Body:GetChildren()[1].Material
  158. for i,v in ipairs(Body:GetChildren()) do
  159. v.BrickColor = BrickColor.new('Deep orange')
  160. v.Reflectance = 0.5
  161. v.Material = Enum.Material.Neon
  162. end
  163. end
  164. end
  165.  
  166. function UnEliteMode()
  167. for i,v in ipairs(Body:GetChildren()) do
  168. v.BrickColor = prevColor
  169. v.Reflectance = 0
  170. v.Material = prevMaterial
  171. end
  172. end
  173.  
  174. function CreateMLGParticles()
  175. -- MLG Particles
  176. local P1 = Instance.new('ParticleEmitter')
  177. P1.Color = ColorSequence.new(GetColor3(255,255,255),GetColor3(255,255,255))
  178. P1.LightEmission = 1
  179. P1.Size = GetNumberSequence(1,1)
  180. P1.Texture = 'http://www.roblox.com/asset/?id=201320071'
  181. P1.Transparency = GetNumberSequence(0.8,.8)
  182. P1.ZOffset = 0
  183. P1.Acceleration = Vector3.new(0,0,0)
  184. P1.Drag = 0
  185. P1.LockedToPart = false
  186. P1.VelocityInheritance = 0
  187. P1.EmissionDirection = Enum.NormalId.Top
  188. P1.Enabled = true
  189. P1.Lifetime = GetNumberRange(1,1)
  190. P1.Rate = math.random(12,50)
  191. P1.Rotation = GetNumberRange(0,0)
  192. P1.RotSpeed = GetNumberRange(0,0)
  193. P1.Speed = GetNumberRange(1,1)
  194. P1.VelocitySpread = 500
  195.  
  196. local P2 = Instance.new('ParticleEmitter')
  197. P2.Color = ColorSequence.new(GetColor3(127,225,36),GetColor3(60,143,29))
  198. P2.LightEmission = 1
  199. P2.Size = GetNumberSequence(1,1)
  200. P2.Texture = 'http://www.roblox.com/asset/?id=208253379'
  201. P2.Transparency = GetNumberSequence(.8,.8)
  202. P2.ZOffset = 0
  203. P2.Acceleration = Vector3.new(0,0,0)
  204. P2.Drag = 0
  205. P2.LockedToPart = false
  206. P2.VelocityInheritance = 0
  207. P2.EmissionDirection = Enum.NormalId.Top
  208. P2.Enabled = true
  209. P2.Lifetime = GetNumberRange(50,50)
  210. P2.Rate = math.random(12,50)
  211. P2.Rotation = GetNumberRange(0,0)
  212. P2.RotSpeed = GetNumberRange(0,0)
  213. P2.Speed = GetNumberRange(1,1)
  214. P2.VelocitySpread = 500
  215.  
  216. local P3 = Instance.new('ParticleEmitter')
  217. P3.Color = ColorSequence.new(GetColor3(255,255,255),GetColor3(255,255,255))
  218. P3.LightEmission = 1
  219. P3.Size = GetNumberSequence(1,1)
  220. P3.Texture = 'http://www.roblox.com/asset/?id=179012130'
  221. P3.Transparency = GetNumberSequence(0.8,.8)
  222. P3.ZOffset = 0
  223. P3.Acceleration = Vector3.new(0,0,0)
  224. P3.Drag = 0
  225. P3.LockedToPart = false
  226. P3.VelocityInheritance = 0
  227. P3.EmissionDirection = Enum.NormalId.Top
  228. P3.Enabled = true
  229. P3.Lifetime = GetNumberRange(50,50)
  230. P3.Rate = math.random(12,50)
  231. P3.Rotation = GetNumberRange(0,0)
  232. P3.RotSpeed = GetNumberRange(0,0)
  233. P3.Speed = GetNumberRange(1,1)
  234. P3.VelocitySpread = 500
  235.  
  236. local P4 = Instance.new('ParticleEmitter')
  237. P4.Color = ColorSequence.new(GetColor3(127, 225, 36),GetColor3(60, 143, 29))
  238. P4.LightEmission = 1
  239. P4.Size = GetNumberSequence(1,1)
  240. P4.Texture = 'http://www.roblox.com/asset/?id=216633597'
  241. P4.Transparency = GetNumberSequence(0.8,.8)
  242. P4.ZOffset = 0
  243. P4.Acceleration = Vector3.new(0,0,0)
  244. P4.Drag = 0
  245. P4.LockedToPart = false
  246. P4.VelocityInheritance = 0
  247. P4.EmissionDirection = Enum.NormalId.Top
  248. P4.Enabled = true
  249. P4.Lifetime = GetNumberRange(50,50)
  250. P4.Rate = math.random(12,50)
  251. P4.Rotation = GetNumberRange(0,0)
  252. P4.RotSpeed = GetNumberRange(0,0)
  253. P4.Speed = GetNumberRange(1,1)
  254. P4.VelocitySpread = 500
  255.  
  256. local P5 = Instance.new('ParticleEmitter')
  257. P5.Color = ColorSequence.new(GetColor3(255, 255, 255),GetColor3(255, 255, 255))
  258. P5.LightEmission = 1
  259. P5.Size = GetNumberSequence(1,1)
  260. P5.Texture = 'http://www.roblox.com/asset/?id=218792778'
  261. P5.Transparency = GetNumberSequence(0.8,.8)
  262. P5.ZOffset = 0
  263. P5.Acceleration = Vector3.new(0,0,0)
  264. P5.Drag = 0
  265. P5.LockedToPart = false
  266. P5.VelocityInheritance = 0
  267. P5.EmissionDirection = Enum.NormalId.Top
  268. P5.Enabled = true
  269. P5.Lifetime = GetNumberRange(50,50)
  270. P5.Rate = math.random(12,50)
  271. P5.Rotation = GetNumberRange(0,0)
  272. P5.RotSpeed = GetNumberRange(0,0)
  273. P5.Speed = GetNumberRange(1,1)
  274. P5.VelocitySpread = 500
  275.  
  276. local P6 = Instance.new('ParticleEmitter')
  277. P6.Color = ColorSequence.new(GetColor3(255, 255, 255),GetColor3(255, 255, 255))
  278. P6.LightEmission = 1
  279. P6.Size = GetNumberSequence(1,1)
  280. P6.Texture = 'http://www.roblox.com/asset/?id=157979926'
  281. P6.Transparency = GetNumberSequence(0.8,.8)
  282. P6.ZOffset = 0
  283. P6.Acceleration = Vector3.new(0,0,0)
  284. P6.Drag = 0
  285. P6.LockedToPart = false
  286. P6.VelocityInheritance = 0
  287. P6.EmissionDirection = Enum.NormalId.Top
  288. P6.Enabled = true
  289. P6.Lifetime = GetNumberRange(1,1)
  290. P6.Rate = math.random(12,50)
  291. P6.Rotation = GetNumberRange(0,0)
  292. P6.RotSpeed = GetNumberRange(0,0)
  293. P6.Speed = GetNumberRange(1,1)
  294. P6.VelocitySpread = 500
  295.  
  296.  
  297. local MLGEffects = {P1,P2,P3,P4,P5,P6}
  298. return MLGEffects
  299. end
  300. MLGEffects = CreateMLGParticles()
  301. function MLGMode(plr,val)
  302. if val then
  303. for i,v in ipairs(plr.Character:GetChildren()) do
  304. if v:IsA('Hat') or v:IsA('Tool') then
  305. table.insert(CharacterStorage,v:Clone())
  306. v:Destroy()
  307. end
  308. end
  309. for i,v in ipairs(CreatedItems) do
  310. v:Destroy()
  311. end
  312. CreatedItems = {}
  313. local MLGShades = Instance.new('Hat')
  314. MLGShades.AttachmentForward = Vector3.new(0,0,-1)
  315. MLGShades.AttachmentPos = Vector3.new(0,.38,.1)
  316. MLGShades.AttachmentRight = Vector3.new(1,0,0)
  317. MLGShades.AttachmentUp = Vector3.new(0,1,0)
  318. local ShadesHandle = Instance.new('Part',MLGShades)
  319. ShadesHandle.Name = 'Handle'
  320. ShadesHandle.FormFactor = Enum.FormFactor.Custom
  321. ShadesHandle.CanCollide = true
  322. ShadesHandle.Size = Vector3.new(1,1,1)
  323. ShadesHandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  324. ShadesHandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  325. ShadesHandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  326. ShadesHandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  327. ShadesHandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  328. ShadesHandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  329. local MLGMesh = Instance.new('SpecialMesh',ShadesHandle)
  330. MLGMesh.MeshId = 'http://www.roblox.com/asset/?id=121910245'
  331. MLGMesh.MeshType = Enum.MeshType.FileMesh
  332. MLGMesh.Offset = Vector3.new(0,0,0)
  333. MLGMesh.Scale = Vector3.new(.7,.5,.7)
  334. MLGMesh.TextureId = 'http://www.roblox.com/asset/?id=121947422'
  335. MLGMesh.VertexColor = Vector3.new(1,1,1)
  336.  
  337. local ObeyHat = Instance.new('Hat')
  338. ObeyHat.AttachmentForward = Vector3.new(0,0,-1)
  339. ObeyHat.AttachmentPos = Vector3.new(0,-.15,0)
  340. ObeyHat.AttachmentRight = Vector3.new(1,0,0)
  341. ObeyHat.AttachmentUp = Vector3.new(0,1,0)
  342. local HatHandle = Instance.new('Part',ObeyHat)
  343. HatHandle.Name = 'Handle'
  344. HatHandle.FormFactor = Enum.FormFactor.Custom
  345. HatHandle.CanCollide = true
  346. HatHandle.Size = Vector3.new(1,1,1)
  347. HatHandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  348. HatHandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  349. HatHandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  350. HatHandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  351. HatHandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  352. HatHandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  353. local HatMesh = Instance.new('SpecialMesh',HatHandle)
  354. HatMesh.MeshId = 'http://www.roblox.com/asset/?id=13030731'
  355. HatMesh.MeshType = Enum.MeshType.FileMesh
  356. HatMesh.Offset = Vector3.new(0,0,0)
  357. HatMesh.Scale = Vector3.new(.95,.95,.95)
  358. HatMesh.TextureId = 'http://www.roblox.com/asset/?id=70262300'
  359. HatMesh.VertexColor = Vector3.new(1,1,1)
  360.  
  361. ObeyHat.Parent,MLGShades.Parent = plr.Character,plr.Character
  362. table.insert(CreatedItems,MLGShades)
  363. table.insert(CreatedItems,ObeyHat)
  364. for i,v in ipairs(MLGEffects) do
  365. local Clone = v:Clone()
  366. Clone.Parent = Kart.PrimaryPart
  367. table.insert(CreatedItems,Clone)
  368. end
  369. elseif not val then
  370. for i,v in ipairs(CreatedItems) do
  371. v:Destroy()
  372. end
  373. CreatedItems = {}
  374. for i,v in ipairs(CharacterStorage) do
  375. v.Parent = plr.Character
  376. CharacterStorage = {}
  377. end
  378. end
  379. end
  380.  
  381. function MakeInstancesInvisible(par,val)
  382. for i,v in ipairs(par:GetChildren()) do
  383. if v:IsA('BasePart') or v:IsA('Decal') then
  384. if v.Name ~= 'HumanoidRootPart' then
  385. v.Transparency = val
  386. MakeInstancesInvisible(v,val)
  387. end
  388. elseif v:IsA('SurfaceGui') then
  389. if val == 1 then
  390. v.Enabled = false
  391. else
  392. v.Enabled = true
  393. end
  394. elseif not v:IsA('BasePart') and not v:IsA('Decal') and not v:IsA('SurfaceGui') then
  395. MakeInstancesInvisible(v,val)
  396. end
  397. end
  398. end
  399.  
  400. function InvisibleFunction(plr)
  401. for i,v in ipairs(CreatedItems) do
  402. v:Destroy()
  403. end
  404. CreatedItems = {}
  405. if not IsInvisible then
  406. MakeInstancesInvisible(Kart,1)
  407. for i,v in ipairs(plr.Character:GetChildren()) do
  408. if v:IsA('Hat') or v:IsA('Tool') then
  409. table.insert(CharacterStorage,v:Clone())
  410. v:Destroy()
  411. end
  412. end
  413. MakeInstancesInvisible(plr.Character,1)
  414. IsInvisible = true
  415. else
  416. MakeInstancesInvisible(Kart,0)
  417. for i,v in ipairs(CharacterStorage) do
  418. v.Parent = plr.Character
  419. CharacterStorage = {}
  420. end
  421. MakeInstancesInvisible(plr.Character,0)
  422. IsInvisible = false
  423. end
  424. end
  425.  
  426. function NextColor()
  427. local CurrentVal = GetCurrentVal(Configurations.BodyColor.Value)
  428. local NewVal = 0
  429. if CurrentVal < 127 then
  430. NewVal = CurrentVal+1
  431. else
  432. NewVal = 0
  433. end
  434. Configurations.BodyColor.Value = BrickColor.palette(NewVal)
  435. end
  436.  
  437. function PrevColor()
  438. local CurrentVal = GetCurrentVal(Configurations.BodyColor.Value)
  439. local NewVal = 0
  440. if CurrentVal > 0 then
  441. NewVal = CurrentVal-1
  442. else
  443. NewVal = 127
  444. end
  445. Configurations.BodyColor.Value = BrickColor.palette(NewVal)
  446. end
  447.  
  448. function FlipKart()
  449. local x, y, z, RX,RY,RZ = Kart.PrimaryPart.CFrame.x,Kart.PrimaryPart.CFrame.y,Kart.PrimaryPart.CFrame.z,0,0,0
  450. Kart:SetPrimaryPartCFrame(CFrame.new(x,y,z)*CFrame.Angles(RX,RY,RZ))
  451. end
  452.  
  453. function LoadLatestVersion()
  454. local LatestVersion = game:GetService("InsertService"):LoadAsset(KartAssetId)
  455. for _,v in pairs(LatestVersion:GetChildren()) do
  456. if v:IsA('Model') then
  457. LatestVersion = v
  458. end
  459. end
  460. if LatestVersion and LatestVersion:FindFirstChild("Version") and LatestVersion.Version:IsA("IntValue") and LatestVersion.Version.Value > version then
  461. LatestVersion:MakeJoints()
  462. LatestVersion.Parent = Kart.Parent
  463. LatestVersion:SetPrimaryPartCFrame(Kart.PrimaryPart.CFrame)
  464. LatestVersion:MakeJoints()
  465. LatestVersion.Configurations.BodyColor.Value = Kart.Configurations.BodyColor.Value
  466. LatestVersion.Configurations.ChassisColor.Value = Kart.Configurations.ChassisColor.Value
  467. LatestVersion.Configurations.Number.Value = Kart.Configurations.Number.Value
  468. LatestVersion.Configurations.SeatColor.Value = Kart.Configurations.SeatColor.Value
  469. Kart:Destroy()
  470. end
  471. end
  472. LoadLatestVersion()
  473.  
  474.  
  475. vals = {
  476. BodyColor,
  477. SeatColor,
  478. ChassisColor,
  479. Number
  480. }
  481.  
  482. AlreadyBugged = {} -- we'll use this table to keep track of those we already asked if they'd like to purchase the go kart, so we don't bug 'em. :)
  483.  
  484. function ColorBody(color)
  485. for i,v in pairs(Body:GetChildren()) do
  486. v.BrickColor = color
  487. end
  488. end
  489.  
  490. function ColorSeat(color)
  491. for i,v in pairs(Seat:GetChildren()) do
  492. v.BrickColor = color
  493. end
  494. end
  495.  
  496. function ColorChassis(color)
  497. for i,v in pairs(Chassis:GetChildren()) do
  498. v.BrickColor = color
  499. end
  500. end
  501.  
  502. function ChangeNumber(val)
  503. NumberDisplay.Text = val
  504. end
  505.  
  506. actions = {
  507. [BodyColor] = function(val)
  508. ColorBody(val)
  509. end,
  510. [SeatColor] = function(val)
  511. ColorSeat(val)
  512. end,
  513. [ChassisColor] = function(val)
  514. ColorChassis(val)
  515. end,
  516. [Number] = function(val)
  517. ChangeNumber(val)
  518. end,
  519. }
  520.  
  521. for _,v in ipairs(vals) do
  522. actions[v](v.Value)
  523. end
  524.  
  525. for _,v in ipairs(vals) do
  526. v.Changed:connect(function(change)
  527. actions[v](change)
  528. end)
  529. end
  530.  
  531. function CheckIfAlreadyBugged(plr)
  532. for i,v in ipairs(AlreadyBugged) do
  533. if v == plr then
  534. return true
  535. end
  536. end
  537. end
  538.  
  539. AskedToPurchaseGas = {}
  540.  
  541. function YesOrNo(plr)
  542. for i,v in ipairs(AskedToPurchaseGas) do
  543. if v == plr then
  544. return true
  545. end
  546. end
  547. end
  548.  
  549. function StartSoundPitch(hu)
  550. while wait() and hu and hu.Sit == true do
  551. if VehicleSeat.Velocity.magnitude < VehicleSeat.MaxSpeed - 20 then
  552. Engine.Pitch = math.rad(VehicleSeat.Velocity.magnitude and (80+VehicleSeat.Velocity.magnitude))/1.6
  553. end
  554. end
  555. end
  556.  
  557. VehicleSeat.ChildAdded:connect(function(child)
  558. if not workspace.AllowThirdPartySales then AlertCreator() end
  559. if child:IsA('Weld') then
  560. if VehicleSeat:findFirstChild('ControllerScript') == nil then
  561. CS:Clone().Parent = VehicleSeat
  562. end
  563. local char = child.Part1.Parent
  564. PlrFromChar = game.Players:GetPlayerFromCharacter(char)
  565. local hu = char.Humanoid
  566. delay(0,function()StartSoundPitch(hu)end)
  567. Engine:Play()
  568. KartVal = Instance.new('ObjectValue',PlrFromChar)
  569. KartVal.Name = 'CodeWrighterKartDetection'
  570. KartVal.Value = Kart
  571. cs = VehicleSeat.ControllerScript
  572. cs.Parent = PlrFromChar.PlayerGui
  573. cs.Disabled = false
  574. if PlrFromChar.userId > -2 then
  575. if PlrFromChar:findFirstChild('Elite') then
  576. EliteMode()
  577. end
  578. if not game:GetService('MarketplaceService'):PlayerOwnsAsset(PlrFromChar,Ids['G']) then
  579. if PlrFromChar.MembershipType == Enum.MembershipType.None then
  580. game:GetService('MarketplaceService'):PromptPurchase(PlrFromChar,Ids['G'],false,Enum.CurrencyType.Tix)
  581. --table.insert(AskedToPurchaseGas,PlrFromChar)
  582. else
  583. game:GetService('MarketplaceService'):PromptPurchase(PlrFromChar,Ids['G'],false,Enum.CurrencyType.Tix)
  584. --table.insert(AskedToPurchaseGas,PlrFromChar)
  585. end
  586. end
  587. end
  588. end
  589. end)
  590.  
  591. VehicleSeat.ChildRemoved:connect(function(child)
  592. if child:IsA('Weld') then
  593. cs = PlrFromChar.PlayerGui.ControllerScript
  594. local GUI = PlrFromChar.PlayerGui.ControlsHUD
  595. GUI.Parent = cs
  596. local KartVal = PlrFromChar:findFirstChild('CodeWrighterKartDetection')
  597. if KartVal then
  598. KartVal:Destroy()
  599. end
  600. if IsInvisible then
  601. InvisibleFunction(PlrFromChar)
  602. end
  603. if IsMLGMode then
  604. MLGMode(PlrFromChar,false)
  605. IsMLGMode = false
  606. end
  607. UnEliteMode()
  608. cs.Disabled = true
  609. cs.Parent = VehicleSeat
  610. Engine:Stop()
  611. end
  612. end)
  613. repeat wait() until Kart:findFirstChild('ClickDetector')
  614. Kart.ClickDetector.MouseClick:connect(function(plr)
  615. if plr.userId > -2 and not game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,KartAssetId) then
  616. --if not CheckIfAlreadyBugged(plr) then
  617. game:GetService('MarketplaceService'):PromptPurchase(plr,KartAssetId)
  618. --table.insert(AlreadyBugged,plr)
  619. --end
  620. end
  621. end)
  622.  
  623. MainEvent.OnServerEvent:connect(function(plr,action,ID)
  624. if action == 'PlayHorn' then
  625. Horn:Play()
  626. elseif action == 'StopHorn' then
  627. Horn:Stop()
  628. elseif action == 'Invisibility' then
  629. if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['I']) then
  630. -- invisible
  631. InvisibleFunction(plr)
  632. else
  633. game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['I'])
  634. end
  635. elseif action == 'Flip' then
  636. -- flip kart
  637. FlipKart()
  638. elseif action == 'PrevColor' then
  639. -- previous color
  640. if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['C']) then
  641. PrevColor()
  642. else
  643. game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['C'])
  644. end
  645. elseif action == 'NextColor' then
  646. -- next color
  647. if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['C']) then
  648. NextColor()
  649. else
  650. game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['C'])
  651. end
  652. elseif action == 'MLGMode' then
  653. -- MLG mode
  654. if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['M']) then
  655. if IsMLGMode then
  656. MLGMode(plr,false)
  657. IsMLGMode = false
  658. else
  659. MLGMode(plr,true)
  660. IsMLGMode = true
  661. end
  662. else
  663. game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['M'])
  664. end
  665. elseif action == 'Radio' then
  666. if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['R']) then
  667. local RadioSong = Steeringwheel.RadioSong
  668. RadioSong.SoundId = 'rbxassetid://'..ID
  669. RadioSong:Play()
  670. else
  671. game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['R'])
  672. end
  673. elseif action == 'PauseRadio' then
  674. local RadioSong = Steeringwheel.RadioSong
  675. RadioSong:Pause()
  676. elseif action == 'UnpauseRadio' then
  677. local RadioSong = Steeringwheel.RadioSong
  678. RadioSong:Resume()
  679. elseif action == 'UnrepeatRadio' then
  680. local RadioSong = Steeringwheel.RadioSong
  681. RadioSong.Looped = false
  682. elseif action == 'RepeatRadio' then
  683. local RadioSong = Steeringwheel.RadioSong
  684. RadioSong.Looped = true
  685. end
  686. end)
  687.  
  688. if not game.ServerScriptService:findFirstChild('CWPurchasePrompter') then
  689. script.CWPurchasePrompter.Parent = game.ServerScriptService
  690. else
  691. script.CWPurchasePrompter:Destroy()
  692. end
  693. end,o2)
  694. end))
  695. o3 = Create("Script",{
  696. ["Name"] = "CWPurchasePrompter",
  697. ["Parent"] = o2,
  698. })
  699. table.insert(cors,coroutine.create(function()
  700. wait()
  701. runDummyScript(function()
  702. -- This is just intended to enhance gameplay of the go kart model by CodeWrighter :)
  703. AutoPrompt = true -- true by default, change to "false" if you don't want to automatically ask people if they'd like to buy kart passes they don't own
  704. local Ids = {
  705. 193064098, -- kart
  706. 306060116, -- gas
  707. 336722242, -- colorizer,
  708. 336724563, -- MLG mode
  709. 336725370, -- invisibility
  710. 336726773, -- radio
  711. }
  712. function CheckIfValidId(id)
  713. for i,v in ipairs(Ids) do
  714. if v == id then
  715. return true
  716. end
  717. end
  718. end
  719. CountLog = {}
  720. AlreadyAsked = {}
  721.  
  722.  
  723. game.Players.PlayerAdded:connect(function(plr)
  724. CountLog[plr.Name] = 0
  725. local MS = game:GetService('MarketplaceService')
  726.  
  727. for i,v in ipairs(Ids) do
  728. if not MS:PlayerOwnsAsset(plr,v) then
  729. if AutoPrompt then
  730. MS:PromptPurchase(plr,v)
  731. end
  732. else
  733. CountLog[plr.Name] = CountLog[plr.Name]+1
  734. end
  735. end
  736. if CountLog[plr.Name] == #Ids then
  737. -- wow, you own all the current passes! Great!
  738. local EliteMedal = Instance.new('BoolValue',plr)
  739. EliteMedal.Name = 'Elite'
  740. EliteMedal.Value = true
  741. CountLog[plr.Name] = 0
  742. end
  743. game:GetService('MarketplaceService').PromptPurchaseFinished:connect(function(plr,assetId,BoughtItem)
  744. AlreadyAsked[assetId] = true
  745. for i,v in ipairs(Ids) do
  746. if not AlreadyAsked[v] and not MS:PlayerOwnsAsset(plr,v) then
  747. wait(.5)
  748. MS:PromptPurchase(plr,v)
  749. end
  750. end
  751. if BoughtItem and CheckIfValidId(assetId) then
  752. CountLog[plr.Name] = CountLog[plr.Name]+1
  753. if CountLog[plr.Name] == #Ids then
  754. -- They finished buying all the passes, reward time :3
  755. local EliteMedal = Instance.new('BoolValue',plr)
  756. EliteMedal.Name = 'Elite'
  757. EliteMedal.Value = true
  758. CountLog[plr.Name] = 0
  759. end
  760. end
  761. end)
  762. end)
  763. end,o3)
  764. end))
  765. o4 = Create("ScreenGui",{
  766. ["Name"] = "AllowThirdPartySalesNotice",
  767. ["Parent"] = o2,
  768. })
  769. o5 = Create("Frame",{
  770. ["Parent"] = o4,
  771. ["Transparency"] = 0.5,
  772. ["Position"] = UDim2.new(0.34999999403954,0,0.34999999403954,0),
  773. ["Size"] = UDim2.new(0.30000001192093,0,0.30000001192093,0),
  774. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  775. ["BackgroundTransparency"] = 0.5,
  776. ["BorderSizePixel"] = 0,
  777. })
  778. o6 = Create("TextButton",{
  779. ["Parent"] = o5,
  780. ["Position"] = UDim2.new(0.10000000149012,0,0.80000001192093,0),
  781. ["Size"] = UDim2.new(0.80000001192093,0,0.18000000715256,0),
  782. ["Text"] = "Got it!",
  783. ["BackgroundColor3"] = Color3.new(0, 0.666667, 0),
  784. ["BorderSizePixel"] = 0,
  785. ["Font"] = Enum.Font.ArialBold,
  786. ["FontSize"] = Enum.FontSize.Size24,
  787. ["TextColor3"] = Color3.new(1, 1, 1),
  788. })
  789. o7 = Create("TextLabel",{
  790. ["Parent"] = o5,
  791. ["Transparency"] = 1,
  792. ["Position"] = UDim2.new(0.025000000372529,0,0.050000000745058,0),
  793. ["Size"] = UDim2.new(0.94999998807907,0,0.69999998807907,0),
  794. ["Text"] = "You're receiving this notice because your game has "AllowThirdPartySales" set to false.
  795. Turn this to true by going in studio and clicking workspace then checking "AllowThirdPartySales" in the properties panel
  796. If you don't do this, you won't be able to make money off this kart! Wouldn't want that would ya? :o",
  797. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  798. ["BackgroundTransparency"] = 1,
  799. ["Font"] = Enum.Font.SourceSans,
  800. ["FontSize"] = Enum.FontSize.Size14,
  801. ["TextColor3"] = Color3.new(1, 1, 1),
  802. ["TextScaled"] = true,
  803. ["TextWrapped"] = true,
  804. })
  805. o9 = Create("ClickDetector",{
  806. ["Parent"] = o1,
  807. ["MaxActivationDistance"] = 15,
  808. })
  809. o10 = Create("IntValue",{
  810. ["Name"] = "Version",
  811. ["Parent"] = o1,
  812. ["Value"] = 7,
  813. })
  814. o11 = Create("Model",{
  815. ["Name"] = "Body",
  816. ["Parent"] = o1,
  817. })
  818. o12 = Create("Part",{
  819. ["Name"] = "CornerBumper",
  820. ["Parent"] = o11,
  821. ["Material"] = Enum.Material.SmoothPlastic,
  822. ["BrickColor"] = BrickColor.new("Crimson"),
  823. ["Position"] = Vector3.new(0.804748893, 1.10434437, 18.09832),
  824. ["Rotation"] = Vector3.new(0.0397089459, 89.9440536, -89.9829102),
  825. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  826. ["Velocity"] = Vector3.new(0.777372181, -2.00903416, 0.344132245),
  827. ["CFrame"] = CFrame.new(0.804748893, 1.10434437, 18.09832, 2.95549569e-007, 0.000990636647, 0.999999523, -0.999999523, 0.000991386012, -6.86562487e-007, -0.000991667737, -0.999999046, 0.000990636414),
  828. ["FormFactor"] = Enum.FormFactor.Custom,
  829. ["Size"] = Vector3.new(1, 0.400000006, 0.400000036),
  830. ["BackSurface"] = Enum.SurfaceType.Weld,
  831. ["BottomSurface"] = Enum.SurfaceType.Weld,
  832. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  833. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  834. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  835. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  836. ["Color"] = Color3.new(0.592157, 0, 0),
  837. })
  838. o13 = Create("SpecialMesh",{
  839. ["Parent"] = o12,
  840. ["MeshType"] = Enum.MeshType.Wedge,
  841. })
  842. o14 = Create("Part",{
  843. ["Name"] = "CornerBumper",
  844. ["Parent"] = o11,
  845. ["Material"] = Enum.Material.SmoothPlastic,
  846. ["BrickColor"] = BrickColor.new("Crimson"),
  847. ["Position"] = Vector3.new(7.19661713, 1.09620821, 26.3046455),
  848. ["Rotation"] = Vector3.new(-179.960281, -89.9440536, 89.9829102),
  849. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  850. ["Velocity"] = Vector3.new(0.754211962, 0.825312793, 0.364981771),
  851. ["CFrame"] = CFrame.new(7.19661713, 1.09620821, 26.3046455, 2.95546556e-007, -0.000990636647, -0.999999523, -0.999999523, -0.00099147961, 6.86652186e-007, -0.000991574139, 0.999999046, -0.000990636414),
  852. ["FormFactor"] = Enum.FormFactor.Custom,
  853. ["Size"] = Vector3.new(1, 0.400000006, 0.400000036),
  854. ["BackSurface"] = Enum.SurfaceType.Weld,
  855. ["BottomSurface"] = Enum.SurfaceType.Weld,
  856. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  857. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  858. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  859. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  860. ["Color"] = Color3.new(0.592157, 0, 0),
  861. })
  862. o15 = Create("SpecialMesh",{
  863. ["Parent"] = o14,
  864. ["MeshType"] = Enum.MeshType.Wedge,
  865. })
  866. o16 = Create("Part",{
  867. ["Name"] = "CornerBumper",
  868. ["Parent"] = o11,
  869. ["Material"] = Enum.Material.SmoothPlastic,
  870. ["BrickColor"] = BrickColor.new("Crimson"),
  871. ["Position"] = Vector3.new(0.796623051, 1.09621549, 26.2983112),
  872. ["Rotation"] = Vector3.new(0.0397089049, 89.9440536, 90.0170898),
  873. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  874. ["Velocity"] = Vector3.new(0.754229605, -0.722781837, 0.345384419),
  875. ["CFrame"] = CFrame.new(0.796623051, 1.09621549, 26.2983112, -2.95549569e-007, -0.000990636647, 0.999999523, 0.999999523, -0.000991385314, -6.86561805e-007, 0.000991668436, 0.999999046, 0.000990636414),
  876. ["FormFactor"] = Enum.FormFactor.Custom,
  877. ["Size"] = Vector3.new(1, 0.400000036, 0.400000036),
  878. ["BackSurface"] = Enum.SurfaceType.Weld,
  879. ["BottomSurface"] = Enum.SurfaceType.Weld,
  880. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  881. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  882. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  883. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  884. ["Color"] = Color3.new(0.592157, 0, 0),
  885. })
  886. o17 = Create("SpecialMesh",{
  887. ["Parent"] = o16,
  888. ["MeshType"] = Enum.MeshType.Wedge,
  889. })
  890. o18 = Create("Part",{
  891. ["Name"] = "CornerBumper",
  892. ["Parent"] = o11,
  893. ["Material"] = Enum.Material.SmoothPlastic,
  894. ["BrickColor"] = BrickColor.new("Crimson"),
  895. ["Position"] = Vector3.new(7.20474195, 1.10433924, 18.1046562),
  896. ["Rotation"] = Vector3.new(-179.960281, -89.9440536, -90.0170898),
  897. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  898. ["Velocity"] = Vector3.new(0.777354062, -0.460939467, 0.363729268),
  899. ["CFrame"] = CFrame.new(7.20474195, 1.10433924, 18.1046562, -2.95546585e-007, 0.000990636647, -0.999999523, 0.999999523, 0.00099147798, 6.86650594e-007, 0.000991575769, -0.999999046, -0.000990636414),
  900. ["FormFactor"] = Enum.FormFactor.Custom,
  901. ["Size"] = Vector3.new(1, 0.400000006, 0.400000036),
  902. ["BackSurface"] = Enum.SurfaceType.Weld,
  903. ["BottomSurface"] = Enum.SurfaceType.Weld,
  904. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  905. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  906. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  907. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  908. ["Color"] = Color3.new(0.592157, 0, 0),
  909. })
  910. o19 = Create("SpecialMesh",{
  911. ["Parent"] = o18,
  912. ["MeshType"] = Enum.MeshType.Wedge,
  913. })
  914. o20 = Create("Part",{
  915. ["Name"] = "FrontBumperMain",
  916. ["Parent"] = o11,
  917. ["Material"] = Enum.Material.SmoothPlastic,
  918. ["BrickColor"] = BrickColor.new("Crimson"),
  919. ["Position"] = Vector3.new(3.99661994, 1.09621358, 26.3014755),
  920. ["Rotation"] = Vector3.new(-89.9431763, -1.69338564e-005, 179.943253),
  921. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  922. ["Velocity"] = Vector3.new(0.754220366, 0.0512650013, 0.355182827),
  923. ["CFrame"] = CFrame.new(3.99661994, 1.09621358, 26.3014755, -0.999999523, -0.000990636647, -2.9555153e-007, 6.86506326e-007, -0.000991327106, 0.999999523, -0.000990636414, 0.999999046, 0.000991726643),
  924. ["FormFactor"] = Enum.FormFactor.Plate,
  925. ["Size"] = Vector3.new(6, 0.400000006, 1),
  926. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  927. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  928. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  929. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  930. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  931. ["Color"] = Color3.new(0.592157, 0, 0),
  932. })
  933. o21 = Create("Part",{
  934. ["Name"] = "FrontBumperPlate",
  935. ["Parent"] = o11,
  936. ["Material"] = Enum.Material.SmoothPlastic,
  937. ["BrickColor"] = BrickColor.new("Crimson"),
  938. ["Position"] = Vector3.new(3.99622321, 1.09581697, 26.701479),
  939. ["Rotation"] = Vector3.new(-89.9431763, -1.69338691e-005, 179.943253),
  940. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  941. ["Velocity"] = Vector3.new(0.753091514, 0.114009537, 0.355243921),
  942. ["CFrame"] = CFrame.new(3.99622321, 1.09581697, 26.701479, -0.999999523, -0.000990636647, -2.95551757e-007, 6.86498936e-007, -0.000991319423, 0.999999523, -0.000990636414, 0.999999046, 0.000991734327),
  943. ["FormFactor"] = Enum.FormFactor.Plate,
  944. ["Size"] = Vector3.new(2, 0.400000006, 1),
  945. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  946. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  947. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  948. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  949. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  950. ["Color"] = Color3.new(0.592157, 0, 0),
  951. })
  952. o22 = Create("Part",{
  953. ["Name"] = "FrontBumperWedge",
  954. ["Parent"] = o11,
  955. ["Material"] = Enum.Material.SmoothPlastic,
  956. ["BrickColor"] = BrickColor.new("Crimson"),
  957. ["Position"] = Vector3.new(1.99622416, 1.09581745, 26.6994972),
  958. ["Rotation"] = Vector3.new(0.0397056118, 89.9440536, 90.0170898),
  959. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  960. ["Velocity"] = Vector3.new(0.753097415, -0.369770616, 0.349120021),
  961. ["CFrame"] = CFrame.new(1.99622416, 1.09581745, 26.6994972, -2.95551558e-007, -0.000990636647, 0.999999523, 0.999999523, -0.000991325593, -6.86504848e-007, 0.000991728157, 0.999999046, 0.000990636414),
  962. ["FormFactor"] = Enum.FormFactor.Plate,
  963. ["Size"] = Vector3.new(1, 0.400000006, 2),
  964. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  965. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  966. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  967. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  968. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  969. ["Color"] = Color3.new(0.592157, 0, 0),
  970. })
  971. o23 = Create("SpecialMesh",{
  972. ["Parent"] = o22,
  973. ["MeshType"] = Enum.MeshType.Wedge,
  974. })
  975. o24 = Create("Part",{
  976. ["Name"] = "FrontBumperWedge",
  977. ["Parent"] = o11,
  978. ["Material"] = Enum.Material.SmoothPlastic,
  979. ["BrickColor"] = BrickColor.new("Crimson"),
  980. ["Position"] = Vector3.new(5.99622345, 1.09581566, 26.7034588),
  981. ["Rotation"] = Vector3.new(-179.960297, -89.9440536, 89.9829102),
  982. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  983. ["Velocity"] = Vector3.new(0.753085732, 0.597789705, 0.361367941),
  984. ["CFrame"] = CFrame.new(5.99622345, 1.09581566, 26.7034588, 2.95551558e-007, -0.000990636647, -0.999999523, -0.999999523, -0.000991325593, 6.86504848e-007, -0.000991728157, 0.999999046, -0.000990636414),
  985. ["FormFactor"] = Enum.FormFactor.Plate,
  986. ["Size"] = Vector3.new(1, 0.400000006, 2),
  987. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  988. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  989. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  990. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  991. ["Color"] = Color3.new(0.592157, 0, 0),
  992. })
  993. o25 = Create("SpecialMesh",{
  994. ["Parent"] = o24,
  995. ["MeshType"] = Enum.MeshType.Wedge,
  996. })
  997. o26 = Create("Part",{
  998. ["Name"] = "FrontSteeringBeam",
  999. ["Parent"] = o11,
  1000. ["Material"] = Enum.Material.SmoothPlastic,
  1001. ["BrickColor"] = BrickColor.new("Crimson"),
  1002. ["Position"] = Vector3.new(3.99721527, 1.49680638, 25.7018738),
  1003. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
  1004. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1005. ["Velocity"] = Vector3.new(0.659219146, -0.0427883267, 0.292251587),
  1006. ["CFrame"] = CFrame.new(3.99721527, 1.49680638, 25.7018738, -0.999999523, -2.955517e-007, 0.000990636647, 6.86501664e-007, 0.999999523, 0.000991322217, -0.000990636414, 0.000991731533, -0.999999046),
  1007. ["FormFactor"] = Enum.FormFactor.Custom,
  1008. ["Size"] = Vector3.new(2, 0.200000003, 0.800000012),
  1009. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1010. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1011. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1012. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1013. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1014. ["TopSurface"] = Enum.SurfaceType.Weld,
  1015. ["Color"] = Color3.new(0.592157, 0, 0),
  1016. })
  1017. o27 = Create("Part",{
  1018. ["Name"] = "LeftBumper",
  1019. ["Parent"] = o11,
  1020. ["Material"] = Enum.Material.SmoothPlastic,
  1021. ["BrickColor"] = BrickColor.new("Crimson"),
  1022. ["Position"] = Vector3.new(7.20068026, 1.10027373, 22.2046509),
  1023. ["Rotation"] = Vector3.new(0.0568076447, -0.0567593053, -89.9999847),
  1024. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1025. ["Velocity"] = Vector3.new(0.765783012, 0.182186842, 0.364355534),
  1026. ["CFrame"] = CFrame.new(7.20068026, 1.10027373, 22.2046509, 2.95546556e-007, 0.999999523, -0.000990636647, -0.999999523, -6.86652413e-007, -0.000991479843, -0.000991573907, 0.000990636414, 0.999999046),
  1027. ["FormFactor"] = Enum.FormFactor.Plate,
  1028. ["Size"] = Vector3.new(1, 0.400000006, 7.80000019),
  1029. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1030. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1031. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1032. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1033. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1034. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1035. ["Color"] = Color3.new(0.592157, 0, 0),
  1036. })
  1037. o28 = Create("Part",{
  1038. ["Name"] = "NumberPlateHolder",
  1039. ["Parent"] = o11,
  1040. ["Material"] = Enum.Material.SmoothPlastic,
  1041. ["BrickColor"] = BrickColor.new("Crimson"),
  1042. ["Position"] = Vector3.new(3.9969182, 2.09650946, 26.00247),
  1043. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
  1044. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1045. ["Velocity"] = Vector3.new(0.513329864, 0.00436341017, 0.198037505),
  1046. ["CFrame"] = CFrame.new(3.9969182, 2.09650946, 26.00247, -0.999999523, -2.95551558e-007, 0.000990636647, 6.86504848e-007, 0.999999523, 0.000991325593, -0.000990636414, 0.000991728157, -0.999999046),
  1047. ["FormFactor"] = Enum.FormFactor.Plate,
  1048. ["Size"] = Vector3.new(2, 1, 1.4000001),
  1049. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1050. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1051. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1052. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1053. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1054. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1055. ["Color"] = Color3.new(0.592157, 0, 0),
  1056. })
  1057. o29 = Create("SpecialMesh",{
  1058. ["Parent"] = o28,
  1059. ["MeshType"] = Enum.MeshType.Wedge,
  1060. })
  1061. o30 = Create("Decal",{
  1062. ["Parent"] = o28,
  1063. ["Texture"] = "http://www.roblox.com/asset/?id=252928188",
  1064. })
  1065. o31 = Create("Part",{
  1066. ["Name"] = "RearBumper",
  1067. ["Parent"] = o11,
  1068. ["Material"] = Enum.Material.SmoothPlastic,
  1069. ["BrickColor"] = BrickColor.new("Crimson"),
  1070. ["Position"] = Vector3.new(4.00474548, 1.10434151, 18.1014862),
  1071. ["Rotation"] = Vector3.new(0.0397055894, 89.9440536, -89.9829102),
  1072. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1073. ["Velocity"] = Vector3.new(0.777363181, -1.23498702, 0.353930801),
  1074. ["CFrame"] = CFrame.new(4.00474548, 1.10434151, 18.1014862, 2.95551558e-007, 0.000990636647, 0.999999523, -0.999999523, 0.000991325243, -6.86504507e-007, -0.000991728506, -0.999999046, 0.000990636414),
  1075. ["FormFactor"] = Enum.FormFactor.Plate,
  1076. ["Size"] = Vector3.new(1, 0.400000006, 6),
  1077. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1078. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1079. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1080. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1081. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1082. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1083. ["Color"] = Color3.new(0.592157, 0, 0),
  1084. })
  1085. o32 = Create("Part",{
  1086. ["Name"] = "RightSideBumper",
  1087. ["Parent"] = o11,
  1088. ["Material"] = Enum.Material.SmoothPlastic,
  1089. ["BrickColor"] = BrickColor.new("Crimson"),
  1090. ["Position"] = Vector3.new(0.800686121, 1.10027969, 22.1983147),
  1091. ["Rotation"] = Vector3.new(0.0568022802, -0.0567593053, 90.0000153),
  1092. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1093. ["Velocity"] = Vector3.new(0.765800953, -1.36590815, 0.344758362),
  1094. ["CFrame"] = CFrame.new(0.800686121, 1.10027969, 22.1983147, -2.95549569e-007, -0.999999523, -0.000990636647, 0.999999523, 6.86562714e-007, -0.000991386245, 0.000991667504, -0.000990636414, 0.999999046),
  1095. ["FormFactor"] = Enum.FormFactor.Plate,
  1096. ["Size"] = Vector3.new(1, 0.400000006, 7.79999971),
  1097. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1098. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1099. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1100. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1101. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1102. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1103. ["Color"] = Color3.new(0.592157, 0, 0),
  1104. })
  1105. o33 = Create("Part",{
  1106. ["Name"] = "SteeringColumn",
  1107. ["Parent"] = o11,
  1108. ["Material"] = Enum.Material.SmoothPlastic,
  1109. ["BrickColor"] = BrickColor.new("Crimson"),
  1110. ["Position"] = Vector3.new(3.99860454, 2.19819522, 24.3025723),
  1111. ["Rotation"] = Vector3.new(0.056792222, -0.0567593053, -179.999985),
  1112. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1113. ["Velocity"] = Vector3.new(0.493953794, -0.262282431, 0.182067841),
  1114. ["CFrame"] = CFrame.new(3.99860454, 2.19819522, 24.3025723, -0.999999523, 2.95555196e-007, -0.000990636647, 6.86394571e-007, -0.999999523, -0.000991210691, -0.000990636414, -0.000991843059, 0.999999046),
  1115. ["FormFactor"] = Enum.FormFactor.Plate,
  1116. ["Size"] = Vector3.new(2, 0.800000012, 2),
  1117. ["BackSurface"] = Enum.SurfaceType.Weld,
  1118. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1119. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1120. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1121. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1122. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1123. ["Color"] = Color3.new(0.592157, 0, 0),
  1124. })
  1125. o34 = Create("SpecialMesh",{
  1126. ["Parent"] = o33,
  1127. ["MeshType"] = Enum.MeshType.Wedge,
  1128. })
  1129. o35 = Create("Part",{
  1130. ["Name"] = "SteeringColumn",
  1131. ["Parent"] = o11,
  1132. ["Material"] = Enum.Material.SmoothPlastic,
  1133. ["BrickColor"] = BrickColor.new("Crimson"),
  1134. ["Position"] = Vector3.new(3.99860454, 2.99819589, 24.3033695),
  1135. ["Rotation"] = Vector3.new(-179.943237, 0.0567593053, 179.999985),
  1136. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1137. ["Velocity"] = Vector3.new(0.300563574, -0.262157202, 0.0563879274),
  1138. ["CFrame"] = CFrame.new(3.99860454, 2.99819589, 24.3033695, -0.999999523, -2.95570402e-007, 0.000990636647, 6.85917314e-007, 0.999999523, 0.000990713597, -0.000990636414, 0.000992340152, -0.999999046),
  1139. ["FormFactor"] = Enum.FormFactor.Plate,
  1140. ["Size"] = Vector3.new(2, 0.800000012, 2),
  1141. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1142. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1143. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1144. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1145. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1146. ["Color"] = Color3.new(0.592157, 0, 0),
  1147. })
  1148. o36 = Create("SpecialMesh",{
  1149. ["Parent"] = o35,
  1150. ["MeshType"] = Enum.MeshType.Wedge,
  1151. })
  1152. o37 = Create("Model",{
  1153. ["Name"] = "Chassis",
  1154. ["Parent"] = o1,
  1155. })
  1156. o38 = Create("Part",{
  1157. ["Name"] = "LeftBumperPart",
  1158. ["Parent"] = o37,
  1159. ["BrickColor"] = BrickColor.new("Really black"),
  1160. ["Position"] = Vector3.new(6.00038528, 0.99997884, 22.5033627),
  1161. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
  1162. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1163. ["Velocity"] = Vector3.new(0.789113104, -0.0610382557, 0.376436621),
  1164. ["CFrame"] = CFrame.new(6.00038528, 0.99997884, 22.5033627, -0.999999523, -2.95551985e-007, 0.000990636647, 6.86489614e-007, 0.999999523, 0.000991309877, -0.000990636414, 0.000991743873, -0.999999046),
  1165. ["FormFactor"] = Enum.FormFactor.Plate,
  1166. ["Size"] = Vector3.new(2, 0.800000012, 2),
  1167. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1168. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1169. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1170. ["RightSurface"] = Enum.SurfaceType.Weld,
  1171. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1172. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1173. })
  1174. o39 = Create("Part",{
  1175. ["Name"] = "MainChassisBeam",
  1176. ["Parent"] = o37,
  1177. ["BrickColor"] = BrickColor.new("Really black"),
  1178. ["Position"] = Vector3.new(4.00068331, 1.00027764, 22.2013817),
  1179. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
  1180. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1181. ["Velocity"] = Vector3.new(0.78996551, -0.591876447, 0.370266765),
  1182. ["CFrame"] = CFrame.new(4.00068331, 1.00027764, 22.2013817, -0.999999523, -2.95551501e-007, 0.000990636647, 6.86507803e-007, 0.999999523, 0.000991328619, -0.000990636414, 0.00099172513, -0.999999046),
  1183. ["FormFactor"] = Enum.FormFactor.Plate,
  1184. ["Size"] = Vector3.new(2, 0.800000012, 7.80000019),
  1185. ["BackSurface"] = Enum.SurfaceType.Weld,
  1186. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1187. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1188. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1189. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1190. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1191. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1192. })
  1193. o40 = Create("Part",{
  1194. ["Name"] = "RightBumperPart",
  1195. ["Parent"] = o37,
  1196. ["BrickColor"] = BrickColor.new("Really black"),
  1197. ["Position"] = Vector3.new(2.00038528, 0.999981642, 22.4994011),
  1198. ["Rotation"] = Vector3.new(0.0567985401, -0.0567593053, 1.69338746e-005),
  1199. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1200. ["Velocity"] = Vector3.new(0.789124548, -1.02859879, 0.364188522),
  1201. ["CFrame"] = CFrame.new(2.00038528, 0.999981642, 22.4994011, 0.999999523, -2.95551729e-007, -0.000990636647, -6.86500414e-007, 0.999999523, -0.000991320936, 0.000990636414, 0.000991732813, 0.999999046),
  1202. ["FormFactor"] = Enum.FormFactor.Plate,
  1203. ["Size"] = Vector3.new(2, 0.800000012, 2),
  1204. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1205. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1206. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1207. ["RightSurface"] = Enum.SurfaceType.Weld,
  1208. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1209. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1210. })
  1211. o41 = Create("Model",{
  1212. ["Name"] = "Configurations",
  1213. ["Parent"] = o1,
  1214. })
  1215. o42 = Create("BrickColorValue",{
  1216. ["Name"] = "BodyColor",
  1217. ["Parent"] = o41,
  1218. ["Value"] = BrickColor.new("Crimson"),
  1219. })
  1220. o43 = Create("BrickColorValue",{
  1221. ["Name"] = "ChassisColor",
  1222. ["Parent"] = o41,
  1223. ["Value"] = BrickColor.new("Really black"),
  1224. })
  1225. o44 = Create("StringValue",{
  1226. ["Name"] = "Number",
  1227. ["Parent"] = o41,
  1228. ["Value"] = "3n",
  1229. })
  1230. o45 = Create("BrickColorValue",{
  1231. ["Name"] = "SeatColor",
  1232. ["Parent"] = o41,
  1233. ["Value"] = BrickColor.new("Really black"),
  1234. })
  1235. o46 = Create("Model",{
  1236. ["Name"] = "RemoteEvents",
  1237. ["Parent"] = o1,
  1238. })
  1239. o47 = Create("RemoteEvent",{
  1240. ["Name"] = "MainEvent",
  1241. ["Parent"] = o46,
  1242. })
  1243. o48 = Create("Model",{
  1244. ["Name"] = "Seat",
  1245. ["Parent"] = o1,
  1246. })
  1247. o49 = Create("VehicleSeat",{
  1248. ["Parent"] = o48,
  1249. ["BrickColor"] = BrickColor.new("Really black"),
  1250. ["Position"] = Vector3.new(4.00137711, 1.40097106, 21.5017776),
  1251. ["Rotation"] = Vector3.new(-179.943192, 0.0567593053, 179.999985),
  1252. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1253. ["Velocity"] = Vector3.new(0.69524622, -0.701616406, 0.307320058),
  1254. ["CFrame"] = CFrame.new(4.00137711, 1.40097106, 21.5017776, -0.999999523, -2.95545192e-007, 0.000990636647, 6.86698002e-007, 0.999999523, 0.000991526758, -0.000990636414, 0.000991526991, -0.999999046),
  1255. ["Size"] = Vector3.new(2, 0.00200000009, 2),
  1256. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1257. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1258. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1259. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1260. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1261. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1262. ["MaxSpeed"] = 100,
  1263. ["Torque"] = 1.5,
  1264. ["TurnSpeed"] = 1.2999999523163,
  1265. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1266. })
  1267. o51 = Create("ScreenGui",{
  1268. ["Name"] = "ControlsHUD",
  1269. ["Parent"] = mas,
  1270. })
  1271. o52 = Create("Frame",{
  1272. ["Name"] = "Hotkeys",
  1273. ["Parent"] = o51,
  1274. ["Transparency"] = 0.5,
  1275. ["Position"] = UDim2.new(0,0,0.69999998807907,0),
  1276. ["Size"] = UDim2.new(0.15000000596046,0,0.25,0),
  1277. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  1278. ["BackgroundTransparency"] = 0.5,
  1279. ["BorderSizePixel"] = 0,
  1280. })
  1281. o53 = Create("TextLabel",{
  1282. ["Parent"] = o52,
  1283. ["Size"] = UDim2.new(1,0,0,0),
  1284. ["Text"] = "Controls",
  1285. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1286. ["BorderSizePixel"] = 0,
  1287. ["Font"] = Enum.Font.SourceSans,
  1288. ["FontSize"] = Enum.FontSize.Size14,
  1289. ["TextColor3"] = Color3.new(1, 1, 1),
  1290. })
  1291. o54 = Create("TextLabel",{
  1292. ["Name"] = "H",
  1293. ["Parent"] = o52,
  1294. ["Transparency"] = 1,
  1295. ["Position"] = UDim2.new(0.10000000149012,0,0.11999999731779,0),
  1296. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1297. ["Text"] = "H - Honk",
  1298. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1299. ["BackgroundTransparency"] = 1,
  1300. ["BorderSizePixel"] = 0,
  1301. ["Font"] = Enum.Font.Arial,
  1302. ["FontSize"] = Enum.FontSize.Size14,
  1303. ["TextColor3"] = Color3.new(1, 1, 1),
  1304. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1305. })
  1306. o55 = Create("TextLabel",{
  1307. ["Name"] = "N",
  1308. ["Parent"] = o52,
  1309. ["Transparency"] = 1,
  1310. ["Position"] = UDim2.new(0.10000000149012,0,0.23999999463558,0),
  1311. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1312. ["Text"] = "N - Invisibility",
  1313. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1314. ["BackgroundTransparency"] = 1,
  1315. ["BorderSizePixel"] = 0,
  1316. ["Font"] = Enum.Font.Arial,
  1317. ["FontSize"] = Enum.FontSize.Size14,
  1318. ["TextColor3"] = Color3.new(1, 1, 1),
  1319. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1320. })
  1321. o56 = Create("TextLabel",{
  1322. ["Name"] = "M",
  1323. ["Parent"] = o52,
  1324. ["Transparency"] = 1,
  1325. ["Position"] = UDim2.new(0.10000000149012,0,0.36000001430511,0),
  1326. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1327. ["Text"] = "M - MLG Mode",
  1328. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1329. ["BackgroundTransparency"] = 1,
  1330. ["BorderSizePixel"] = 0,
  1331. ["Font"] = Enum.Font.Arial,
  1332. ["FontSize"] = Enum.FontSize.Size14,
  1333. ["TextColor3"] = Color3.new(1, 1, 1),
  1334. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1335. })
  1336. o57 = Create("TextLabel",{
  1337. ["Name"] = "V",
  1338. ["Parent"] = o52,
  1339. ["Transparency"] = 1,
  1340. ["Position"] = UDim2.new(0.10000000149012,0,0.47999998927116,0),
  1341. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1342. ["Text"] = "V - Next Color",
  1343. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1344. ["BackgroundTransparency"] = 1,
  1345. ["BorderSizePixel"] = 0,
  1346. ["Font"] = Enum.Font.Arial,
  1347. ["FontSize"] = Enum.FontSize.Size14,
  1348. ["TextColor3"] = Color3.new(1, 1, 1),
  1349. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1350. })
  1351. o58 = Create("TextLabel",{
  1352. ["Name"] = "C",
  1353. ["Parent"] = o52,
  1354. ["Transparency"] = 1,
  1355. ["Position"] = UDim2.new(0.10000000149012,0,0.60000002384186,0),
  1356. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1357. ["Text"] = "C - Previous Color",
  1358. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1359. ["BackgroundTransparency"] = 1,
  1360. ["BorderSizePixel"] = 0,
  1361. ["Font"] = Enum.Font.Arial,
  1362. ["FontSize"] = Enum.FontSize.Size14,
  1363. ["TextColor3"] = Color3.new(1, 1, 1),
  1364. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1365. })
  1366. o59 = Create("TextLabel",{
  1367. ["Name"] = "F",
  1368. ["Parent"] = o52,
  1369. ["Transparency"] = 1,
  1370. ["Position"] = UDim2.new(0.10000000149012,0,0.72000002861023,0),
  1371. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1372. ["Text"] = "F - Flip ",
  1373. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1374. ["BackgroundTransparency"] = 1,
  1375. ["BorderSizePixel"] = 0,
  1376. ["Font"] = Enum.Font.Arial,
  1377. ["FontSize"] = Enum.FontSize.Size14,
  1378. ["TextColor3"] = Color3.new(1, 1, 1),
  1379. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1380. })
  1381. o60 = Create("TextLabel",{
  1382. ["Name"] = "V",
  1383. ["Parent"] = o52,
  1384. ["Transparency"] = 1,
  1385. ["Position"] = UDim2.new(0.10000000149012,0,0.83999997377396,0),
  1386. ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
  1387. ["Text"] = "R - Radio",
  1388. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1389. ["BackgroundTransparency"] = 1,
  1390. ["BorderSizePixel"] = 0,
  1391. ["Font"] = Enum.Font.Arial,
  1392. ["FontSize"] = Enum.FontSize.Size14,
  1393. ["TextColor3"] = Color3.new(1, 1, 1),
  1394. ["TextXAlignment"] = Enum.TextXAlignment.Left,
  1395. })
  1396. o61 = Create("Frame",{
  1397. ["Name"] = "Radio",
  1398. ["Parent"] = o51,
  1399. ["Transparency"] = 0.5,
  1400. ["Position"] = UDim2.new(0.15000000596046,0,0.69999998807907,0),
  1401. ["Size"] = UDim2.new(0.20000000298023,0,0.050000000745058,0),
  1402. ["Visible"] = false,
  1403. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  1404. ["BackgroundTransparency"] = 0.5,
  1405. })
  1406. o62 = Create("TextButton",{
  1407. ["Parent"] = o61,
  1408. ["Position"] = UDim2.new(0.80000001192093,0,0,0),
  1409. ["Size"] = UDim2.new(0.20000000298023,0,1,0),
  1410. ["Text"] = "X",
  1411. ["BackgroundColor3"] = Color3.new(0, 0.666667, 0),
  1412. ["BorderSizePixel"] = 0,
  1413. ["ZIndex"] = 2,
  1414. ["Font"] = Enum.Font.ArialBold,
  1415. ["FontSize"] = Enum.FontSize.Size24,
  1416. ["TextColor3"] = Color3.new(1, 1, 1),
  1417. })
  1418. o63 = Create("TextBox",{
  1419. ["Parent"] = o61,
  1420. ["Size"] = UDim2.new(0.80000001192093,0,1,0),
  1421. ["Text"] = "Enter ID..",
  1422. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1423. ["BorderSizePixel"] = 0,
  1424. ["ZIndex"] = 2,
  1425. ["Font"] = Enum.Font.Arial,
  1426. ["FontSize"] = Enum.FontSize.Size18,
  1427. ["TextScaled"] = true,
  1428. ["TextWrapped"] = true,
  1429. })
  1430. o64 = Create("TextLabel",{
  1431. ["Parent"] = o61,
  1432. ["Transparency"] = 1,
  1433. ["Position"] = UDim2.new(0,0,-1,0),
  1434. ["Size"] = UDim2.new(1,0,1,0),
  1435. ["Text"] = "CodeWrighter Kart Radio",
  1436. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1437. ["BackgroundTransparency"] = 1,
  1438. ["Font"] = Enum.Font.ArialBold,
  1439. ["FontSize"] = Enum.FontSize.Size14,
  1440. ["TextColor3"] = Color3.new(1, 1, 1),
  1441. ["TextStrokeTransparency"] = 0.5,
  1442. })
  1443. o65 = Create("Frame",{
  1444. ["Name"] = "Controls",
  1445. ["Parent"] = o61,
  1446. ["Transparency"] = 0.5,
  1447. ["Position"] = UDim2.new(0,0,1,0),
  1448. ["Size"] = UDim2.new(0.5,0,1,0),
  1449. ["BackgroundColor3"] = Color3.new(0, 0, 0),
  1450. ["BackgroundTransparency"] = 0.5,
  1451. ["BorderSizePixel"] = 0,
  1452. })
  1453. o66 = Create("TextButton",{
  1454. ["Name"] = "Play",
  1455. ["Parent"] = o65,
  1456. ["Transparency"] = 1,
  1457. ["Position"] = UDim2.new(0.050000000745058,0,0,0),
  1458. ["Size"] = UDim2.new(0.20000000298023,0,1,0),
  1459. ["Text"] = "II",
  1460. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1461. ["BackgroundTransparency"] = 1,
  1462. ["Font"] = Enum.Font.ArialBold,
  1463. ["FontSize"] = Enum.FontSize.Size32,
  1464. ["TextColor3"] = Color3.new(1, 1, 1),
  1465. ["TextScaled"] = true,
  1466. ["TextWrapped"] = true,
  1467. })
  1468. o67 = Create("TextButton",{
  1469. ["Name"] = "Repeat",
  1470. ["Parent"] = o65,
  1471. ["Transparency"] = 1,
  1472. ["Position"] = UDim2.new(0.30000001192093,0,0,0),
  1473. ["Size"] = UDim2.new(0.60000002384186,0,1,0),
  1474. ["Text"] = "repeat",
  1475. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1476. ["BackgroundTransparency"] = 1,
  1477. ["Font"] = Enum.Font.ArialBold,
  1478. ["FontSize"] = Enum.FontSize.Size32,
  1479. ["TextColor3"] = Color3.new(1, 1, 1),
  1480. ["TextScaled"] = true,
  1481. ["TextStrokeColor3"] = Color3.new(1, 1, 0),
  1482. ["TextWrapped"] = true,
  1483. })
  1484. o68 = Create("Part",{
  1485. ["Name"] = "SeatHolder",
  1486. ["Parent"] = o48,
  1487. ["BrickColor"] = BrickColor.new("Really black"),
  1488. ["Position"] = Vector3.new(4.0028615, 1.60245848, 20.0019798),
  1489. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
  1490. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1491. ["Velocity"] = Vector3.new(0.651131988, -0.936875403, 0.275670975),
  1492. ["CFrame"] = CFrame.new(4.0028615, 1.60245848, 20.0019798, -0.999999523, -2.95551501e-007, 0.000990636647, 6.8650769e-007, 0.999999523, 0.000991328503, -0.000990636414, 0.000991725246, -0.999999046),
  1493. ["FormFactor"] = Enum.FormFactor.Plate,
  1494. ["Size"] = Vector3.new(2, 0.400000006, 1),
  1495. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1496. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1497. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1498. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1499. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1500. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1501. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1502. })
  1503. o69 = Create("Part",{
  1504. ["Name"] = "SeatWedge",
  1505. ["Parent"] = o48,
  1506. ["BrickColor"] = BrickColor.new("Really black"),
  1507. ["Position"] = Vector3.new(4.00286531, 2.60245633, 20.0029678),
  1508. ["Rotation"] = Vector3.new(-179.943237, 0.0567593053, 179.999985),
  1509. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1510. ["Velocity"] = Vector3.new(0.40939495, -0.936719298, 0.118571579),
  1511. ["CFrame"] = CFrame.new(4.00286531, 2.60245633, 20.0029678, -0.999999523, -2.95567617e-007, 0.000990636647, 6.85982229e-007, 0.999999523, 0.000990781351, -0.000990636414, 0.000992272398, -0.999999046),
  1512. ["FormFactor"] = Enum.FormFactor.Plate,
  1513. ["Size"] = Vector3.new(2, 1.60000002, 1),
  1514. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1515. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1516. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1517. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1518. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1519. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1520. })
  1521. o70 = Create("SpecialMesh",{
  1522. ["Parent"] = o69,
  1523. ["MeshType"] = Enum.MeshType.Wedge,
  1524. })
  1525. o71 = Create("SurfaceGui",{
  1526. ["Parent"] = o69,
  1527. ["Face"] = Enum.NormalId.Back,
  1528. ["CanvasSize"] = Vector2.new(110, 80),
  1529. })
  1530. o72 = Create("TextLabel",{
  1531. ["Parent"] = o71,
  1532. ["Transparency"] = 1,
  1533. ["Size"] = UDim2.new(1,0,1,0),
  1534. ["Text"] = "3n",
  1535. ["BackgroundColor3"] = Color3.new(1, 1, 1),
  1536. ["BackgroundTransparency"] = 1,
  1537. ["BorderSizePixel"] = 0,
  1538. ["Font"] = Enum.Font.SourceSansBold,
  1539. ["FontSize"] = Enum.FontSize.Size96,
  1540. ["TextColor3"] = Color3.new(1, 1, 1),
  1541. ["TextStrokeColor3"] = Color3.new(0, 0.666667, 1),
  1542. ["TextStrokeTransparency"] = 0.20000000298023,
  1543. })
  1544. o73 = Create("Model",{
  1545. ["Name"] = "Tires",
  1546. ["Parent"] = o1,
  1547. })
  1548. o74 = Create("Part",{
  1549. ["Name"] = "LeftFrontTireCover",
  1550. ["Parent"] = o73,
  1551. ["Material"] = Enum.Material.SmoothPlastic,
  1552. ["BrickColor"] = BrickColor.new("Really black"),
  1553. ["Position"] = Vector3.new(5.9980092, 1.19759905, 24.9035587),
  1554. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 89.9999847),
  1555. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1556. ["Velocity"] = Vector3.new(0.733992279, 0.315457523, 0.345383257),
  1557. ["CFrame"] = CFrame.new(5.9980092, 1.19759905, 24.9035587, 2.95553292e-007, -0.999999523, 0.000990636647, -0.999999523, 6.86446981e-007, 0.000991265872, -0.000991787878, -0.000990636414, -0.999999046),
  1558. ["CanCollide"] = false,
  1559. ["FormFactor"] = Enum.FormFactor.Plate,
  1560. ["Size"] = Vector3.new(2, 2, 2),
  1561. ["BackSurface"] = Enum.SurfaceType.Weld,
  1562. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1563. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1564. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1565. ["RightSurface"] = Enum.SurfaceType.Weld,
  1566. ["TopSurface"] = Enum.SurfaceType.Weld,
  1567. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1568. })
  1569. o75 = Create("CylinderMesh",{
  1570. ["Parent"] = o74,
  1571. })
  1572. o76 = Create("Part",{
  1573. ["Name"] = "LeftRearTireCover",
  1574. ["Parent"] = o73,
  1575. ["Material"] = Enum.Material.SmoothPlastic,
  1576. ["BrickColor"] = BrickColor.new("Really black"),
  1577. ["Position"] = Vector3.new(6.00276184, 1.20235848, 20.1035614),
  1578. ["Rotation"] = Vector3.new(-179.943192, 0.0567593053, 89.9999847),
  1579. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1580. ["Velocity"] = Vector3.new(0.747538924, -0.437472045, 0.34465012),
  1581. ["CFrame"] = CFrame.new(6.00276184, 1.20235848, 20.1035614, 2.955463e-007, -0.999999523, 0.000990636647, -0.999999523, 6.86661508e-007, 0.000991489156, -0.000991564593, -0.000990636414, -0.999999046),
  1582. ["CanCollide"] = false,
  1583. ["FormFactor"] = Enum.FormFactor.Plate,
  1584. ["Size"] = Vector3.new(2, 2, 2),
  1585. ["BackSurface"] = Enum.SurfaceType.Weld,
  1586. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1587. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1588. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1589. ["RightSurface"] = Enum.SurfaceType.Weld,
  1590. ["TopSurface"] = Enum.SurfaceType.Weld,
  1591. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1592. })
  1593. o77 = Create("CylinderMesh",{
  1594. ["Parent"] = o76,
  1595. })
  1596. o78 = Create("Part",{
  1597. ["Name"] = "RightFrontTireCover",
  1598. ["Parent"] = o73,
  1599. ["Material"] = Enum.Material.SmoothPlastic,
  1600. ["BrickColor"] = BrickColor.new("Really black"),
  1601. ["Position"] = Vector3.new(1.99800897, 1.19760227, 24.8996029),
  1602. ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 89.9999847),
  1603. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1604. ["Velocity"] = Vector3.new(0.734003603, -0.652102113, 0.333135098),
  1605. ["CFrame"] = CFrame.new(1.99800897, 1.19760227, 24.8996029, 2.95552667e-007, -0.999999523, 0.000990636647, -0.999999523, 6.86474721e-007, 0.000991294044, -0.000991759705, -0.000990636414, -0.999999046),
  1606. ["CanCollide"] = false,
  1607. ["FormFactor"] = Enum.FormFactor.Plate,
  1608. ["Size"] = Vector3.new(2, 2, 2),
  1609. ["BackSurface"] = Enum.SurfaceType.Weld,
  1610. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1611. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1612. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1613. ["RightSurface"] = Enum.SurfaceType.Weld,
  1614. ["TopSurface"] = Enum.SurfaceType.Weld,
  1615. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1616. })
  1617. o79 = Create("CylinderMesh",{
  1618. ["Parent"] = o78,
  1619. })
  1620. o80 = Create("Part",{
  1621. ["Name"] = "RightRearTireCover",
  1622. ["Parent"] = o73,
  1623. ["Material"] = Enum.Material.SmoothPlastic,
  1624. ["BrickColor"] = BrickColor.new("Really black"),
  1625. ["Position"] = Vector3.new(2.00276613, 1.20236063, 20.0996037),
  1626. ["Rotation"] = Vector3.new(-179.943192, 0.0567593053, 89.9999847),
  1627. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1628. ["Velocity"] = Vector3.new(0.747550547, -1.40503085, 0.33240214),
  1629. ["CFrame"] = CFrame.new(2.00276613, 1.20236063, 20.0996037, 2.95549398e-007, -0.999999523, 0.000990636647, -0.999999523, 6.86566466e-007, 0.000991390087, -0.000991663663, -0.000990636414, -0.999999046),
  1630. ["CanCollide"] = false,
  1631. ["FormFactor"] = Enum.FormFactor.Plate,
  1632. ["Size"] = Vector3.new(2, 2, 2),
  1633. ["BackSurface"] = Enum.SurfaceType.Weld,
  1634. ["BottomSurface"] = Enum.SurfaceType.Weld,
  1635. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1636. ["LeftSurface"] = Enum.SurfaceType.Weld,
  1637. ["RightSurface"] = Enum.SurfaceType.Weld,
  1638. ["TopSurface"] = Enum.SurfaceType.Weld,
  1639. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1640. })
  1641. o81 = Create("CylinderMesh",{
  1642. ["Parent"] = o80,
  1643. })
  1644. o82 = Create("Part",{
  1645. ["Name"] = "Tire",
  1646. ["Parent"] = o73,
  1647. ["BrickColor"] = BrickColor.new("Really black"),
  1648. ["Transparency"] = 1,
  1649. ["Position"] = Vector3.new(2.00037003, 1.00215399, 20.1002178),
  1650. ["Rotation"] = Vector3.new(-90, 0.0109999999, -0),
  1651. ["CFrame"] = CFrame.new(2.00037003, 1.00215399, 20.1002178, 1, 0, 0.000191986212, -0.000191986212, -4.37113883e-008, 1, 8.39198416e-012, -1, -4.37113883e-008),
  1652. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1653. ["Shape"] = Enum.PartType.Ball,
  1654. ["Size"] = Vector3.new(2, 2, 2),
  1655. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1656. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1657. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1658. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1659. ["RightSurface"] = Enum.SurfaceType.Hinge,
  1660. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1661. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1662. })
  1663. o83 = Create("Part",{
  1664. ["Name"] = "Tire",
  1665. ["Parent"] = o73,
  1666. ["BrickColor"] = BrickColor.new("Really black"),
  1667. ["Transparency"] = 1,
  1668. ["Position"] = Vector3.new(6.00037003, 1.00067198, 24.9000835),
  1669. ["Rotation"] = Vector3.new(-90.4181061, 0.00249038776, 179.999985),
  1670. ["CFrame"] = CFrame.new(6.00037003, 1.00067198, 24.9000835, -1, -2.725792e-007, 4.34654648e-005, 4.34485191e-005, 0.00729720294, 0.999973476, -6.35826552e-007, 0.999973297, -0.00729721785),
  1671. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1672. ["Shape"] = Enum.PartType.Ball,
  1673. ["Size"] = Vector3.new(2, 2, 2),
  1674. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1675. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1676. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1677. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1678. ["RightSurface"] = Enum.SurfaceType.Hinge,
  1679. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1680. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1681. })
  1682. o84 = Create("Part",{
  1683. ["Name"] = "Tire",
  1684. ["Parent"] = o73,
  1685. ["BrickColor"] = BrickColor.new("Really black"),
  1686. ["Transparency"] = 1,
  1687. ["Position"] = Vector3.new(6.00037003, 1.00050795, 20.1002178),
  1688. ["Rotation"] = Vector3.new(-90, 0.00400000019, 179.998993),
  1689. ["CFrame"] = CFrame.new(6.00037003, 1.00050795, 20.1002178, -1, -1.75555524e-005, 6.98131698e-005, 6.98131698e-005, 4.49369963e-008, 1, -1.7555556e-005, 1, -4.37113883e-008),
  1690. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1691. ["Shape"] = Enum.PartType.Ball,
  1692. ["Size"] = Vector3.new(2, 2, 2),
  1693. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1694. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1695. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1696. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1697. ["RightSurface"] = Enum.SurfaceType.Hinge,
  1698. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1699. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1700. })
  1701. o85 = Create("Part",{
  1702. ["Name"] = "Tire",
  1703. ["Parent"] = o73,
  1704. ["BrickColor"] = BrickColor.new("Really black"),
  1705. ["Transparency"] = 1,
  1706. ["Position"] = Vector3.new(2.00048804, 1.00000095, 24.8995972),
  1707. ["Rotation"] = Vector3.new(-180, 0.00800000038, -0.0350000001),
  1708. ["CFrame"] = CFrame.new(2.00048804, 1.00000095, 24.8995972, 0.999999821, 0.000610865187, 0.00013962634, 0.000610865187, -0.999999821, 8.74227766e-008, 0.000139626369, -2.12989448e-009, -1),
  1709. ["FormFactor"] = Enum.FormFactor.Symmetric,
  1710. ["Shape"] = Enum.PartType.Ball,
  1711. ["Size"] = Vector3.new(2, 2, 2),
  1712. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1713. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1714. ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1715. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1716. ["RightSurface"] = Enum.SurfaceType.Hinge,
  1717. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1718. ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
  1719. })
  1720. o86 = Create("Part",{
  1721. ["Name"] = "SteeringWheel",
  1722. ["Parent"] = o1,
  1723. ["Position"] = Vector3.new(3.99979424, 2.99938393, 23.1033688),
  1724. ["Rotation"] = Vector3.new(-179.943222, 0.0567593053, 179.999985),
  1725. ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
  1726. ["Velocity"] = Vector3.new(0.303950667, -0.450389415, 0.0562049299),
  1727. ["CFrame"] = CFrame.new(3.99979424, 2.99938393, 23.1033688, -0.999999523, -2.95558579e-007, 0.000990636647, 6.86288956e-007, 0.999999523, 0.000991100562, -0.000990636414, 0.000991953188, -0.999999046),
  1728. ["Elasticity"] = 0,
  1729. ["FormFactor"] = Enum.FormFactor.Custom,
  1730. ["Friction"] = 0,
  1731. ["Size"] = Vector3.new(1.98000014, 1.5, 0.400000036),
  1732. ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1733. ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1734. ["FrontSurface"] = Enum.SurfaceType.Weld,
  1735. ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1736. ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1737. ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
  1738. })
  1739. o87 = Create("SpecialMesh",{
  1740. ["Parent"] = o86,
  1741. ["MeshId"] = "http://www.roblox.com/asset/?id=129344524",
  1742. ["TextureId"] = "http://www.roblox.com/asset/?id=129344702",
  1743. ["MeshType"] = Enum.MeshType.FileMesh,
  1744. })
  1745. o88 = Create("Sound",{
  1746. ["Name"] = "Engine",
  1747. ["Parent"] = o86,
  1748. ["Pitch"] = 0.88598823547363,
  1749. ["SoundId"] = "rbxassetid://183309063",
  1750. ["Looped"] = true,
  1751. })
  1752. o89 = Create("Sound",{
  1753. ["Name"] = "Horn",
  1754. ["Parent"] = o86,
  1755. ["SoundId"] = "rbxassetid://200530606",
  1756. })
  1757. o90 = Create("Sound",{
  1758. ["Name"] = "RadioSong",
  1759. ["Parent"] = o86,
  1760. })
  1761. o91 = Create("Script",{
  1762. ["Name"] = "README",
  1763. ["Parent"] = o1,
  1764. ["Disabled"] = true,
  1765. })
  1766. table.insert(cors,coroutine.create(function()
  1767. wait()
  1768. runDummyScript(function()
  1769. --[[
  1770. If you're reading this, GREAT! Just need to go over a few things, so please continue reading
  1771.  
  1772. Make sure "AllowThirdPartySales" is enabled!
  1773.  
  1774. To do this, go to Explorer then click Workspace; in the properties panel find
  1775. "AllowThirdPartySales" and make sure it's checked.
  1776.  
  1777. If you can't find Explorer and / or Properties do the following;
  1778. Click "View" at the top of Studio, then click Explorer / Properties to toggle them on / off
  1779.  
  1780. Why is it so important that "AllowThirdPartySales" is enabled you might ask?
  1781.  
  1782. Well, these go karts have passes built into them which make YOU, the creator, money each time one is bought!
  1783. Pretty cool, right?
  1784.  
  1785. However, if AllowThirdPartySales isn't enabled, you can't make money. :'( cri cri
  1786.  
  1787. So remember, enable AllowThirdPartySales! :D
  1788.  
  1789. Thanks,
  1790. CodeWrighter
  1791. 12/30/2015 4:22AM
  1792. --]]
  1793. end,o91)
  1794. end))
  1795. mas.Parent = workspace
  1796. mas:MakeJoints()
  1797. local mas1 = mas:GetChildren()
  1798. for i=1,#mas1 do
  1799. mas1[i].Parent = script
  1800. ypcall(function() mas1[i]:MakeJoints() end)
  1801. end
  1802. mas:Destroy()
  1803. for i=1,#cors do
  1804. coroutine.resume(cors[i])
  1805. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement