Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Created with ttyyuu12345's compiler
- --Errors: LocalScript,Camera
- Create = function(itemClass,tabl)
- local item = Instance.new(itemClass)
- for i,v in pairs(tabl) do
- local a,b = ypcall(function() return item[i] end)
- if a then
- item[i] = tabl[i]
- end
- end
- return item
- end
- function runDummyScript(f,scri)
- local oldenv = getfenv(f)
- local newenv = setmetatable({}, {
- __index = function(_, k)
- if k:lower() == 'script' then
- return scri
- else
- return oldenv[k]
- end
- end
- })
- setfenv(f, newenv)
- ypcall(function() f() end)
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- mas.Name = "CompiledModel"
- o1 = Create("Model",{
- ["Name"] = "GoKart_ByWrightRacer3n",
- ["Parent"] = mas,
- ["PrimaryPart"] = o39,
- })
- o2 = Create("Script",{
- ["Name"] = "KartScript",
- ["Parent"] = o1,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -- Kart Customization Script written by CodeWrighter 10/7/2015 10:30PM
- -- If you use this, credit is appreciated. :)
- -- If you alter this code, I'm not responsible for anything
- --[[
- Latest Update:
- 12/30/2015
- Made karts turn visible when you jump out (so you don't lose 'em LOL)
- Added ability to pause / play and repeat songs on kart radio
- 12/28/2015
- Added radio to the kart
- Added MLG mode to the kart
- Added flip kart feature
- Added invisibility feature
- Added ability to easily change color of kart
- Added controls HUD
- 11/25/2015
- Fixed sounds
- 11/7/2015
- Confidential bug fix
- Updated auto-updating kart to change values of new kart to that of old values before updating kart in-game
- 10/15/2015
- Added ability to honk horn and made it FE compatible
- 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?)
- If you have any ideas, don't hesistate to send me a PM. :)
- ~ CodeWrighter
- --]]
- function AlertCreator()
- for i,v in ipairs(game.Players:GetPlayers()) do
- if v.userId == game.CreatorId then
- if script:findFirstChild('AllowThirdPartySalesNotice') then
- if not v.PlayerGui:findFirstChild('AllowThirdPartySalesNotice') then
- script.AllowThirdPartySalesNotice:Clone().Parent = v.PlayerGui
- end
- end
- end
- end
- end
- wait(.1)
- if not workspace.AllowThirdPartySales then AlertCreator() end
- KartAssetId = 193064098 -- Don't mess with this or your warranty is void LOL SO FUNNEH!!
- Ids = {
- ['G'] = 306060116,
- ['C'] = 336722242,
- ['M'] = 336724563,
- ['I'] = 336725370,
- ['R'] = 336726773,
- }
- count = 0
- repeat wait() count = count+1 until count >= 5
- -- define variables
- Kart = script.Parent
- Steeringwheel = Kart.SteeringWheel
- Configurations = Kart.Configurations
- BodyColor = Configurations.BodyColor
- SeatColor = Configurations.SeatColor
- ChassisColor = Configurations.ChassisColor
- Number = Configurations.Number
- Body = Kart.Body
- Chassis = Kart.Chassis
- Seat = Kart.Seat
- Tires = Kart.Tires
- NumberDisplay = Seat.SeatWedge.SurfaceGui.TextLabel
- VehicleSeat = Seat.VehicleSeat
- Sounds = Kart.SteeringWheel
- Engine = Sounds.Engine
- Horn = Sounds.Horn
- MainEvent = Kart.RemoteEvents:WaitForChild('MainEvent')
- CS = VehicleSeat.ControllerScript -- we'll use this in-case anything were to happen where we'd lose the ControllerScript
- repeat wait() until Kart:FindFirstChild("Version")
- local version = Kart.Version.Value
- local IsInvisible = false
- local IsMLGMode = false
- local mode = 1
- KartStorage = {}
- CharacterStorage = {}
- CreatedItems = {}
- function GetCurrentVal(color)
- for i = 0, 127 do
- if BrickColor.palette(i) == color then
- return i
- end
- end
- end
- function GetColor3(r,g,b)
- return Color3.new(r/255,g/255,b/255)
- end
- function GetNumberSequence(start,stop)
- return NumberSequence.new(start,stop)
- end
- function GetNumberRange(start,stop)
- return NumberRange.new(start,stop)
- end
- function EliteMode()
- if mode == 1 then
- prevColor = BodyColor.Value
- prevMaterial = Body:GetChildren()[1].Material
- for i,v in ipairs(Body:GetChildren()) do
- v.BrickColor = BrickColor.new('Deep orange')
- v.Reflectance = 0.5
- v.Material = Enum.Material.Neon
- end
- end
- end
- function UnEliteMode()
- for i,v in ipairs(Body:GetChildren()) do
- v.BrickColor = prevColor
- v.Reflectance = 0
- v.Material = prevMaterial
- end
- end
- function CreateMLGParticles()
- -- MLG Particles
- local P1 = Instance.new('ParticleEmitter')
- P1.Color = ColorSequence.new(GetColor3(255,255,255),GetColor3(255,255,255))
- P1.LightEmission = 1
- P1.Size = GetNumberSequence(1,1)
- P1.Texture = 'http://www.roblox.com/asset/?id=201320071'
- P1.Transparency = GetNumberSequence(0.8,.8)
- P1.ZOffset = 0
- P1.Acceleration = Vector3.new(0,0,0)
- P1.Drag = 0
- P1.LockedToPart = false
- P1.VelocityInheritance = 0
- P1.EmissionDirection = Enum.NormalId.Top
- P1.Enabled = true
- P1.Lifetime = GetNumberRange(1,1)
- P1.Rate = math.random(12,50)
- P1.Rotation = GetNumberRange(0,0)
- P1.RotSpeed = GetNumberRange(0,0)
- P1.Speed = GetNumberRange(1,1)
- P1.VelocitySpread = 500
- local P2 = Instance.new('ParticleEmitter')
- P2.Color = ColorSequence.new(GetColor3(127,225,36),GetColor3(60,143,29))
- P2.LightEmission = 1
- P2.Size = GetNumberSequence(1,1)
- P2.Texture = 'http://www.roblox.com/asset/?id=208253379'
- P2.Transparency = GetNumberSequence(.8,.8)
- P2.ZOffset = 0
- P2.Acceleration = Vector3.new(0,0,0)
- P2.Drag = 0
- P2.LockedToPart = false
- P2.VelocityInheritance = 0
- P2.EmissionDirection = Enum.NormalId.Top
- P2.Enabled = true
- P2.Lifetime = GetNumberRange(50,50)
- P2.Rate = math.random(12,50)
- P2.Rotation = GetNumberRange(0,0)
- P2.RotSpeed = GetNumberRange(0,0)
- P2.Speed = GetNumberRange(1,1)
- P2.VelocitySpread = 500
- local P3 = Instance.new('ParticleEmitter')
- P3.Color = ColorSequence.new(GetColor3(255,255,255),GetColor3(255,255,255))
- P3.LightEmission = 1
- P3.Size = GetNumberSequence(1,1)
- P3.Texture = 'http://www.roblox.com/asset/?id=179012130'
- P3.Transparency = GetNumberSequence(0.8,.8)
- P3.ZOffset = 0
- P3.Acceleration = Vector3.new(0,0,0)
- P3.Drag = 0
- P3.LockedToPart = false
- P3.VelocityInheritance = 0
- P3.EmissionDirection = Enum.NormalId.Top
- P3.Enabled = true
- P3.Lifetime = GetNumberRange(50,50)
- P3.Rate = math.random(12,50)
- P3.Rotation = GetNumberRange(0,0)
- P3.RotSpeed = GetNumberRange(0,0)
- P3.Speed = GetNumberRange(1,1)
- P3.VelocitySpread = 500
- local P4 = Instance.new('ParticleEmitter')
- P4.Color = ColorSequence.new(GetColor3(127, 225, 36),GetColor3(60, 143, 29))
- P4.LightEmission = 1
- P4.Size = GetNumberSequence(1,1)
- P4.Texture = 'http://www.roblox.com/asset/?id=216633597'
- P4.Transparency = GetNumberSequence(0.8,.8)
- P4.ZOffset = 0
- P4.Acceleration = Vector3.new(0,0,0)
- P4.Drag = 0
- P4.LockedToPart = false
- P4.VelocityInheritance = 0
- P4.EmissionDirection = Enum.NormalId.Top
- P4.Enabled = true
- P4.Lifetime = GetNumberRange(50,50)
- P4.Rate = math.random(12,50)
- P4.Rotation = GetNumberRange(0,0)
- P4.RotSpeed = GetNumberRange(0,0)
- P4.Speed = GetNumberRange(1,1)
- P4.VelocitySpread = 500
- local P5 = Instance.new('ParticleEmitter')
- P5.Color = ColorSequence.new(GetColor3(255, 255, 255),GetColor3(255, 255, 255))
- P5.LightEmission = 1
- P5.Size = GetNumberSequence(1,1)
- P5.Texture = 'http://www.roblox.com/asset/?id=218792778'
- P5.Transparency = GetNumberSequence(0.8,.8)
- P5.ZOffset = 0
- P5.Acceleration = Vector3.new(0,0,0)
- P5.Drag = 0
- P5.LockedToPart = false
- P5.VelocityInheritance = 0
- P5.EmissionDirection = Enum.NormalId.Top
- P5.Enabled = true
- P5.Lifetime = GetNumberRange(50,50)
- P5.Rate = math.random(12,50)
- P5.Rotation = GetNumberRange(0,0)
- P5.RotSpeed = GetNumberRange(0,0)
- P5.Speed = GetNumberRange(1,1)
- P5.VelocitySpread = 500
- local P6 = Instance.new('ParticleEmitter')
- P6.Color = ColorSequence.new(GetColor3(255, 255, 255),GetColor3(255, 255, 255))
- P6.LightEmission = 1
- P6.Size = GetNumberSequence(1,1)
- P6.Texture = 'http://www.roblox.com/asset/?id=157979926'
- P6.Transparency = GetNumberSequence(0.8,.8)
- P6.ZOffset = 0
- P6.Acceleration = Vector3.new(0,0,0)
- P6.Drag = 0
- P6.LockedToPart = false
- P6.VelocityInheritance = 0
- P6.EmissionDirection = Enum.NormalId.Top
- P6.Enabled = true
- P6.Lifetime = GetNumberRange(1,1)
- P6.Rate = math.random(12,50)
- P6.Rotation = GetNumberRange(0,0)
- P6.RotSpeed = GetNumberRange(0,0)
- P6.Speed = GetNumberRange(1,1)
- P6.VelocitySpread = 500
- local MLGEffects = {P1,P2,P3,P4,P5,P6}
- return MLGEffects
- end
- MLGEffects = CreateMLGParticles()
- function MLGMode(plr,val)
- if val then
- for i,v in ipairs(plr.Character:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Tool') then
- table.insert(CharacterStorage,v:Clone())
- v:Destroy()
- end
- end
- for i,v in ipairs(CreatedItems) do
- v:Destroy()
- end
- CreatedItems = {}
- local MLGShades = Instance.new('Hat')
- MLGShades.AttachmentForward = Vector3.new(0,0,-1)
- MLGShades.AttachmentPos = Vector3.new(0,.38,.1)
- MLGShades.AttachmentRight = Vector3.new(1,0,0)
- MLGShades.AttachmentUp = Vector3.new(0,1,0)
- local ShadesHandle = Instance.new('Part',MLGShades)
- ShadesHandle.Name = 'Handle'
- ShadesHandle.FormFactor = Enum.FormFactor.Custom
- ShadesHandle.CanCollide = true
- ShadesHandle.Size = Vector3.new(1,1,1)
- ShadesHandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- ShadesHandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- ShadesHandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- ShadesHandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- ShadesHandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- ShadesHandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- local MLGMesh = Instance.new('SpecialMesh',ShadesHandle)
- MLGMesh.MeshId = 'http://www.roblox.com/asset/?id=121910245'
- MLGMesh.MeshType = Enum.MeshType.FileMesh
- MLGMesh.Offset = Vector3.new(0,0,0)
- MLGMesh.Scale = Vector3.new(.7,.5,.7)
- MLGMesh.TextureId = 'http://www.roblox.com/asset/?id=121947422'
- MLGMesh.VertexColor = Vector3.new(1,1,1)
- local ObeyHat = Instance.new('Hat')
- ObeyHat.AttachmentForward = Vector3.new(0,0,-1)
- ObeyHat.AttachmentPos = Vector3.new(0,-.15,0)
- ObeyHat.AttachmentRight = Vector3.new(1,0,0)
- ObeyHat.AttachmentUp = Vector3.new(0,1,0)
- local HatHandle = Instance.new('Part',ObeyHat)
- HatHandle.Name = 'Handle'
- HatHandle.FormFactor = Enum.FormFactor.Custom
- HatHandle.CanCollide = true
- HatHandle.Size = Vector3.new(1,1,1)
- HatHandle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- HatHandle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- HatHandle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- HatHandle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- HatHandle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- HatHandle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- local HatMesh = Instance.new('SpecialMesh',HatHandle)
- HatMesh.MeshId = 'http://www.roblox.com/asset/?id=13030731'
- HatMesh.MeshType = Enum.MeshType.FileMesh
- HatMesh.Offset = Vector3.new(0,0,0)
- HatMesh.Scale = Vector3.new(.95,.95,.95)
- HatMesh.TextureId = 'http://www.roblox.com/asset/?id=70262300'
- HatMesh.VertexColor = Vector3.new(1,1,1)
- ObeyHat.Parent,MLGShades.Parent = plr.Character,plr.Character
- table.insert(CreatedItems,MLGShades)
- table.insert(CreatedItems,ObeyHat)
- for i,v in ipairs(MLGEffects) do
- local Clone = v:Clone()
- Clone.Parent = Kart.PrimaryPart
- table.insert(CreatedItems,Clone)
- end
- elseif not val then
- for i,v in ipairs(CreatedItems) do
- v:Destroy()
- end
- CreatedItems = {}
- for i,v in ipairs(CharacterStorage) do
- v.Parent = plr.Character
- CharacterStorage = {}
- end
- end
- end
- function MakeInstancesInvisible(par,val)
- for i,v in ipairs(par:GetChildren()) do
- if v:IsA('BasePart') or v:IsA('Decal') then
- if v.Name ~= 'HumanoidRootPart' then
- v.Transparency = val
- MakeInstancesInvisible(v,val)
- end
- elseif v:IsA('SurfaceGui') then
- if val == 1 then
- v.Enabled = false
- else
- v.Enabled = true
- end
- elseif not v:IsA('BasePart') and not v:IsA('Decal') and not v:IsA('SurfaceGui') then
- MakeInstancesInvisible(v,val)
- end
- end
- end
- function InvisibleFunction(plr)
- for i,v in ipairs(CreatedItems) do
- v:Destroy()
- end
- CreatedItems = {}
- if not IsInvisible then
- MakeInstancesInvisible(Kart,1)
- for i,v in ipairs(plr.Character:GetChildren()) do
- if v:IsA('Hat') or v:IsA('Tool') then
- table.insert(CharacterStorage,v:Clone())
- v:Destroy()
- end
- end
- MakeInstancesInvisible(plr.Character,1)
- IsInvisible = true
- else
- MakeInstancesInvisible(Kart,0)
- for i,v in ipairs(CharacterStorage) do
- v.Parent = plr.Character
- CharacterStorage = {}
- end
- MakeInstancesInvisible(plr.Character,0)
- IsInvisible = false
- end
- end
- function NextColor()
- local CurrentVal = GetCurrentVal(Configurations.BodyColor.Value)
- local NewVal = 0
- if CurrentVal < 127 then
- NewVal = CurrentVal+1
- else
- NewVal = 0
- end
- Configurations.BodyColor.Value = BrickColor.palette(NewVal)
- end
- function PrevColor()
- local CurrentVal = GetCurrentVal(Configurations.BodyColor.Value)
- local NewVal = 0
- if CurrentVal > 0 then
- NewVal = CurrentVal-1
- else
- NewVal = 127
- end
- Configurations.BodyColor.Value = BrickColor.palette(NewVal)
- end
- function FlipKart()
- local x, y, z, RX,RY,RZ = Kart.PrimaryPart.CFrame.x,Kart.PrimaryPart.CFrame.y,Kart.PrimaryPart.CFrame.z,0,0,0
- Kart:SetPrimaryPartCFrame(CFrame.new(x,y,z)*CFrame.Angles(RX,RY,RZ))
- end
- function LoadLatestVersion()
- local LatestVersion = game:GetService("InsertService"):LoadAsset(KartAssetId)
- for _,v in pairs(LatestVersion:GetChildren()) do
- if v:IsA('Model') then
- LatestVersion = v
- end
- end
- if LatestVersion and LatestVersion:FindFirstChild("Version") and LatestVersion.Version:IsA("IntValue") and LatestVersion.Version.Value > version then
- LatestVersion:MakeJoints()
- LatestVersion.Parent = Kart.Parent
- LatestVersion:SetPrimaryPartCFrame(Kart.PrimaryPart.CFrame)
- LatestVersion:MakeJoints()
- LatestVersion.Configurations.BodyColor.Value = Kart.Configurations.BodyColor.Value
- LatestVersion.Configurations.ChassisColor.Value = Kart.Configurations.ChassisColor.Value
- LatestVersion.Configurations.Number.Value = Kart.Configurations.Number.Value
- LatestVersion.Configurations.SeatColor.Value = Kart.Configurations.SeatColor.Value
- Kart:Destroy()
- end
- end
- LoadLatestVersion()
- vals = {
- BodyColor,
- SeatColor,
- ChassisColor,
- Number
- }
- 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. :)
- function ColorBody(color)
- for i,v in pairs(Body:GetChildren()) do
- v.BrickColor = color
- end
- end
- function ColorSeat(color)
- for i,v in pairs(Seat:GetChildren()) do
- v.BrickColor = color
- end
- end
- function ColorChassis(color)
- for i,v in pairs(Chassis:GetChildren()) do
- v.BrickColor = color
- end
- end
- function ChangeNumber(val)
- NumberDisplay.Text = val
- end
- actions = {
- [BodyColor] = function(val)
- ColorBody(val)
- end,
- [SeatColor] = function(val)
- ColorSeat(val)
- end,
- [ChassisColor] = function(val)
- ColorChassis(val)
- end,
- [Number] = function(val)
- ChangeNumber(val)
- end,
- }
- for _,v in ipairs(vals) do
- actions[v](v.Value)
- end
- for _,v in ipairs(vals) do
- v.Changed:connect(function(change)
- actions[v](change)
- end)
- end
- function CheckIfAlreadyBugged(plr)
- for i,v in ipairs(AlreadyBugged) do
- if v == plr then
- return true
- end
- end
- end
- AskedToPurchaseGas = {}
- function YesOrNo(plr)
- for i,v in ipairs(AskedToPurchaseGas) do
- if v == plr then
- return true
- end
- end
- end
- function StartSoundPitch(hu)
- while wait() and hu and hu.Sit == true do
- if VehicleSeat.Velocity.magnitude < VehicleSeat.MaxSpeed - 20 then
- Engine.Pitch = math.rad(VehicleSeat.Velocity.magnitude and (80+VehicleSeat.Velocity.magnitude))/1.6
- end
- end
- end
- VehicleSeat.ChildAdded:connect(function(child)
- if not workspace.AllowThirdPartySales then AlertCreator() end
- if child:IsA('Weld') then
- if VehicleSeat:findFirstChild('ControllerScript') == nil then
- CS:Clone().Parent = VehicleSeat
- end
- local char = child.Part1.Parent
- PlrFromChar = game.Players:GetPlayerFromCharacter(char)
- local hu = char.Humanoid
- delay(0,function()StartSoundPitch(hu)end)
- Engine:Play()
- KartVal = Instance.new('ObjectValue',PlrFromChar)
- KartVal.Name = 'CodeWrighterKartDetection'
- KartVal.Value = Kart
- cs = VehicleSeat.ControllerScript
- cs.Parent = PlrFromChar.PlayerGui
- cs.Disabled = false
- if PlrFromChar.userId > -2 then
- if PlrFromChar:findFirstChild('Elite') then
- EliteMode()
- end
- if not game:GetService('MarketplaceService'):PlayerOwnsAsset(PlrFromChar,Ids['G']) then
- if PlrFromChar.MembershipType == Enum.MembershipType.None then
- game:GetService('MarketplaceService'):PromptPurchase(PlrFromChar,Ids['G'],false,Enum.CurrencyType.Tix)
- --table.insert(AskedToPurchaseGas,PlrFromChar)
- else
- game:GetService('MarketplaceService'):PromptPurchase(PlrFromChar,Ids['G'],false,Enum.CurrencyType.Tix)
- --table.insert(AskedToPurchaseGas,PlrFromChar)
- end
- end
- end
- end
- end)
- VehicleSeat.ChildRemoved:connect(function(child)
- if child:IsA('Weld') then
- cs = PlrFromChar.PlayerGui.ControllerScript
- local GUI = PlrFromChar.PlayerGui.ControlsHUD
- GUI.Parent = cs
- local KartVal = PlrFromChar:findFirstChild('CodeWrighterKartDetection')
- if KartVal then
- KartVal:Destroy()
- end
- if IsInvisible then
- InvisibleFunction(PlrFromChar)
- end
- if IsMLGMode then
- MLGMode(PlrFromChar,false)
- IsMLGMode = false
- end
- UnEliteMode()
- cs.Disabled = true
- cs.Parent = VehicleSeat
- Engine:Stop()
- end
- end)
- repeat wait() until Kart:findFirstChild('ClickDetector')
- Kart.ClickDetector.MouseClick:connect(function(plr)
- if plr.userId > -2 and not game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,KartAssetId) then
- --if not CheckIfAlreadyBugged(plr) then
- game:GetService('MarketplaceService'):PromptPurchase(plr,KartAssetId)
- --table.insert(AlreadyBugged,plr)
- --end
- end
- end)
- MainEvent.OnServerEvent:connect(function(plr,action,ID)
- if action == 'PlayHorn' then
- Horn:Play()
- elseif action == 'StopHorn' then
- Horn:Stop()
- elseif action == 'Invisibility' then
- if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['I']) then
- -- invisible
- InvisibleFunction(plr)
- else
- game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['I'])
- end
- elseif action == 'Flip' then
- -- flip kart
- FlipKart()
- elseif action == 'PrevColor' then
- -- previous color
- if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['C']) then
- PrevColor()
- else
- game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['C'])
- end
- elseif action == 'NextColor' then
- -- next color
- if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['C']) then
- NextColor()
- else
- game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['C'])
- end
- elseif action == 'MLGMode' then
- -- MLG mode
- if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['M']) then
- if IsMLGMode then
- MLGMode(plr,false)
- IsMLGMode = false
- else
- MLGMode(plr,true)
- IsMLGMode = true
- end
- else
- game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['M'])
- end
- elseif action == 'Radio' then
- if game:GetService('MarketplaceService'):PlayerOwnsAsset(plr,Ids['R']) then
- local RadioSong = Steeringwheel.RadioSong
- RadioSong.SoundId = 'rbxassetid://'..ID
- RadioSong:Play()
- else
- game:GetService('MarketplaceService'):PromptPurchase(plr,Ids['R'])
- end
- elseif action == 'PauseRadio' then
- local RadioSong = Steeringwheel.RadioSong
- RadioSong:Pause()
- elseif action == 'UnpauseRadio' then
- local RadioSong = Steeringwheel.RadioSong
- RadioSong:Resume()
- elseif action == 'UnrepeatRadio' then
- local RadioSong = Steeringwheel.RadioSong
- RadioSong.Looped = false
- elseif action == 'RepeatRadio' then
- local RadioSong = Steeringwheel.RadioSong
- RadioSong.Looped = true
- end
- end)
- if not game.ServerScriptService:findFirstChild('CWPurchasePrompter') then
- script.CWPurchasePrompter.Parent = game.ServerScriptService
- else
- script.CWPurchasePrompter:Destroy()
- end
- end,o2)
- end))
- o3 = Create("Script",{
- ["Name"] = "CWPurchasePrompter",
- ["Parent"] = o2,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- -- This is just intended to enhance gameplay of the go kart model by CodeWrighter :)
- 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
- local Ids = {
- 193064098, -- kart
- 306060116, -- gas
- 336722242, -- colorizer,
- 336724563, -- MLG mode
- 336725370, -- invisibility
- 336726773, -- radio
- }
- function CheckIfValidId(id)
- for i,v in ipairs(Ids) do
- if v == id then
- return true
- end
- end
- end
- CountLog = {}
- AlreadyAsked = {}
- game.Players.PlayerAdded:connect(function(plr)
- CountLog[plr.Name] = 0
- local MS = game:GetService('MarketplaceService')
- for i,v in ipairs(Ids) do
- if not MS:PlayerOwnsAsset(plr,v) then
- if AutoPrompt then
- MS:PromptPurchase(plr,v)
- end
- else
- CountLog[plr.Name] = CountLog[plr.Name]+1
- end
- end
- if CountLog[plr.Name] == #Ids then
- -- wow, you own all the current passes! Great!
- local EliteMedal = Instance.new('BoolValue',plr)
- EliteMedal.Name = 'Elite'
- EliteMedal.Value = true
- CountLog[plr.Name] = 0
- end
- game:GetService('MarketplaceService').PromptPurchaseFinished:connect(function(plr,assetId,BoughtItem)
- AlreadyAsked[assetId] = true
- for i,v in ipairs(Ids) do
- if not AlreadyAsked[v] and not MS:PlayerOwnsAsset(plr,v) then
- wait(.5)
- MS:PromptPurchase(plr,v)
- end
- end
- if BoughtItem and CheckIfValidId(assetId) then
- CountLog[plr.Name] = CountLog[plr.Name]+1
- if CountLog[plr.Name] == #Ids then
- -- They finished buying all the passes, reward time :3
- local EliteMedal = Instance.new('BoolValue',plr)
- EliteMedal.Name = 'Elite'
- EliteMedal.Value = true
- CountLog[plr.Name] = 0
- end
- end
- end)
- end)
- end,o3)
- end))
- o4 = Create("ScreenGui",{
- ["Name"] = "AllowThirdPartySalesNotice",
- ["Parent"] = o2,
- })
- o5 = Create("Frame",{
- ["Parent"] = o4,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0.34999999403954,0,0.34999999403954,0),
- ["Size"] = UDim2.new(0.30000001192093,0,0.30000001192093,0),
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- ["BorderSizePixel"] = 0,
- })
- o6 = Create("TextButton",{
- ["Parent"] = o5,
- ["Position"] = UDim2.new(0.10000000149012,0,0.80000001192093,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.18000000715256,0),
- ["Text"] = "Got it!",
- ["BackgroundColor3"] = Color3.new(0, 0.666667, 0),
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.ArialBold,
- ["FontSize"] = Enum.FontSize.Size24,
- ["TextColor3"] = Color3.new(1, 1, 1),
- })
- o7 = Create("TextLabel",{
- ["Parent"] = o5,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.025000000372529,0,0.050000000745058,0),
- ["Size"] = UDim2.new(0.94999998807907,0,0.69999998807907,0),
- ["Text"] = "You're receiving this notice because your game has "AllowThirdPartySales" set to false.
- Turn this to true by going in studio and clicking workspace then checking "AllowThirdPartySales" in the properties panel
- If you don't do this, you won't be able to make money off this kart! Wouldn't want that would ya? :o",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["Font"] = Enum.Font.SourceSans,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextScaled"] = true,
- ["TextWrapped"] = true,
- })
- o9 = Create("ClickDetector",{
- ["Parent"] = o1,
- ["MaxActivationDistance"] = 15,
- })
- o10 = Create("IntValue",{
- ["Name"] = "Version",
- ["Parent"] = o1,
- ["Value"] = 7,
- })
- o11 = Create("Model",{
- ["Name"] = "Body",
- ["Parent"] = o1,
- })
- o12 = Create("Part",{
- ["Name"] = "CornerBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(0.804748893, 1.10434437, 18.09832),
- ["Rotation"] = Vector3.new(0.0397089459, 89.9440536, -89.9829102),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.777372181, -2.00903416, 0.344132245),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Size"] = Vector3.new(1, 0.400000006, 0.400000036),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o13 = Create("SpecialMesh",{
- ["Parent"] = o12,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o14 = Create("Part",{
- ["Name"] = "CornerBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(7.19661713, 1.09620821, 26.3046455),
- ["Rotation"] = Vector3.new(-179.960281, -89.9440536, 89.9829102),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.754211962, 0.825312793, 0.364981771),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Size"] = Vector3.new(1, 0.400000006, 0.400000036),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o15 = Create("SpecialMesh",{
- ["Parent"] = o14,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o16 = Create("Part",{
- ["Name"] = "CornerBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(0.796623051, 1.09621549, 26.2983112),
- ["Rotation"] = Vector3.new(0.0397089049, 89.9440536, 90.0170898),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.754229605, -0.722781837, 0.345384419),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Size"] = Vector3.new(1, 0.400000036, 0.400000036),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o17 = Create("SpecialMesh",{
- ["Parent"] = o16,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o18 = Create("Part",{
- ["Name"] = "CornerBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(7.20474195, 1.10433924, 18.1046562),
- ["Rotation"] = Vector3.new(-179.960281, -89.9440536, -90.0170898),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.777354062, -0.460939467, 0.363729268),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Size"] = Vector3.new(1, 0.400000006, 0.400000036),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o19 = Create("SpecialMesh",{
- ["Parent"] = o18,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o20 = Create("Part",{
- ["Name"] = "FrontBumperMain",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(3.99661994, 1.09621358, 26.3014755),
- ["Rotation"] = Vector3.new(-89.9431763, -1.69338564e-005, 179.943253),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.754220366, 0.0512650013, 0.355182827),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(6, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o21 = Create("Part",{
- ["Name"] = "FrontBumperPlate",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(3.99622321, 1.09581697, 26.701479),
- ["Rotation"] = Vector3.new(-89.9431763, -1.69338691e-005, 179.943253),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.753091514, 0.114009537, 0.355243921),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o22 = Create("Part",{
- ["Name"] = "FrontBumperWedge",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(1.99622416, 1.09581745, 26.6994972),
- ["Rotation"] = Vector3.new(0.0397056118, 89.9440536, 90.0170898),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.753097415, -0.369770616, 0.349120021),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o23 = Create("SpecialMesh",{
- ["Parent"] = o22,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o24 = Create("Part",{
- ["Name"] = "FrontBumperWedge",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(5.99622345, 1.09581566, 26.7034588),
- ["Rotation"] = Vector3.new(-179.960297, -89.9440536, 89.9829102),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.753085732, 0.597789705, 0.361367941),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o25 = Create("SpecialMesh",{
- ["Parent"] = o24,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o26 = Create("Part",{
- ["Name"] = "FrontSteeringBeam",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(3.99721527, 1.49680638, 25.7018738),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.659219146, -0.0427883267, 0.292251587),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Size"] = Vector3.new(2, 0.200000003, 0.800000012),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o27 = Create("Part",{
- ["Name"] = "LeftBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(7.20068026, 1.10027373, 22.2046509),
- ["Rotation"] = Vector3.new(0.0568076447, -0.0567593053, -89.9999847),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.765783012, 0.182186842, 0.364355534),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 7.80000019),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o28 = Create("Part",{
- ["Name"] = "NumberPlateHolder",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(3.9969182, 2.09650946, 26.00247),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.513329864, 0.00436341017, 0.198037505),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 1, 1.4000001),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o29 = Create("SpecialMesh",{
- ["Parent"] = o28,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o30 = Create("Decal",{
- ["Parent"] = o28,
- ["Texture"] = "http://www.roblox.com/asset/?id=252928188",
- })
- o31 = Create("Part",{
- ["Name"] = "RearBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(4.00474548, 1.10434151, 18.1014862),
- ["Rotation"] = Vector3.new(0.0397055894, 89.9440536, -89.9829102),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.777363181, -1.23498702, 0.353930801),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 6),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o32 = Create("Part",{
- ["Name"] = "RightSideBumper",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(0.800686121, 1.10027969, 22.1983147),
- ["Rotation"] = Vector3.new(0.0568022802, -0.0567593053, 90.0000153),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.765800953, -1.36590815, 0.344758362),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(1, 0.400000006, 7.79999971),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o33 = Create("Part",{
- ["Name"] = "SteeringColumn",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(3.99860454, 2.19819522, 24.3025723),
- ["Rotation"] = Vector3.new(0.056792222, -0.0567593053, -179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.493953794, -0.262282431, 0.182067841),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.800000012, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o34 = Create("SpecialMesh",{
- ["Parent"] = o33,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o35 = Create("Part",{
- ["Name"] = "SteeringColumn",
- ["Parent"] = o11,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Crimson"),
- ["Position"] = Vector3.new(3.99860454, 2.99819589, 24.3033695),
- ["Rotation"] = Vector3.new(-179.943237, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.300563574, -0.262157202, 0.0563879274),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.800000012, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.592157, 0, 0),
- })
- o36 = Create("SpecialMesh",{
- ["Parent"] = o35,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o37 = Create("Model",{
- ["Name"] = "Chassis",
- ["Parent"] = o1,
- })
- o38 = Create("Part",{
- ["Name"] = "LeftBumperPart",
- ["Parent"] = o37,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(6.00038528, 0.99997884, 22.5033627),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.789113104, -0.0610382557, 0.376436621),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.800000012, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o39 = Create("Part",{
- ["Name"] = "MainChassisBeam",
- ["Parent"] = o37,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(4.00068331, 1.00027764, 22.2013817),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.78996551, -0.591876447, 0.370266765),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.800000012, 7.80000019),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o40 = Create("Part",{
- ["Name"] = "RightBumperPart",
- ["Parent"] = o37,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(2.00038528, 0.999981642, 22.4994011),
- ["Rotation"] = Vector3.new(0.0567985401, -0.0567593053, 1.69338746e-005),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.789124548, -1.02859879, 0.364188522),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.800000012, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o41 = Create("Model",{
- ["Name"] = "Configurations",
- ["Parent"] = o1,
- })
- o42 = Create("BrickColorValue",{
- ["Name"] = "BodyColor",
- ["Parent"] = o41,
- ["Value"] = BrickColor.new("Crimson"),
- })
- o43 = Create("BrickColorValue",{
- ["Name"] = "ChassisColor",
- ["Parent"] = o41,
- ["Value"] = BrickColor.new("Really black"),
- })
- o44 = Create("StringValue",{
- ["Name"] = "Number",
- ["Parent"] = o41,
- ["Value"] = "3n",
- })
- o45 = Create("BrickColorValue",{
- ["Name"] = "SeatColor",
- ["Parent"] = o41,
- ["Value"] = BrickColor.new("Really black"),
- })
- o46 = Create("Model",{
- ["Name"] = "RemoteEvents",
- ["Parent"] = o1,
- })
- o47 = Create("RemoteEvent",{
- ["Name"] = "MainEvent",
- ["Parent"] = o46,
- })
- o48 = Create("Model",{
- ["Name"] = "Seat",
- ["Parent"] = o1,
- })
- o49 = Create("VehicleSeat",{
- ["Parent"] = o48,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(4.00137711, 1.40097106, 21.5017776),
- ["Rotation"] = Vector3.new(-179.943192, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.69524622, -0.701616406, 0.307320058),
- ["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),
- ["Size"] = Vector3.new(2, 0.00200000009, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["MaxSpeed"] = 100,
- ["Torque"] = 1.5,
- ["TurnSpeed"] = 1.2999999523163,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o51 = Create("ScreenGui",{
- ["Name"] = "ControlsHUD",
- ["Parent"] = mas,
- })
- o52 = Create("Frame",{
- ["Name"] = "Hotkeys",
- ["Parent"] = o51,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0,0,0.69999998807907,0),
- ["Size"] = UDim2.new(0.15000000596046,0,0.25,0),
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- ["BorderSizePixel"] = 0,
- })
- o53 = Create("TextLabel",{
- ["Parent"] = o52,
- ["Size"] = UDim2.new(1,0,0,0),
- ["Text"] = "Controls",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.SourceSans,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- })
- o54 = Create("TextLabel",{
- ["Name"] = "H",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.11999999731779,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "H - Honk",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o55 = Create("TextLabel",{
- ["Name"] = "N",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.23999999463558,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "N - Invisibility",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o56 = Create("TextLabel",{
- ["Name"] = "M",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.36000001430511,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "M - MLG Mode",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o57 = Create("TextLabel",{
- ["Name"] = "V",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.47999998927116,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "V - Next Color",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o58 = Create("TextLabel",{
- ["Name"] = "C",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.60000002384186,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "C - Previous Color",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o59 = Create("TextLabel",{
- ["Name"] = "F",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.72000002861023,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "F - Flip ",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o60 = Create("TextLabel",{
- ["Name"] = "V",
- ["Parent"] = o52,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.10000000149012,0,0.83999997377396,0),
- ["Size"] = UDim2.new(0.80000001192093,0,0.10000000149012,0),
- ["Text"] = "R - Radio",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextXAlignment"] = Enum.TextXAlignment.Left,
- })
- o61 = Create("Frame",{
- ["Name"] = "Radio",
- ["Parent"] = o51,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0.15000000596046,0,0.69999998807907,0),
- ["Size"] = UDim2.new(0.20000000298023,0,0.050000000745058,0),
- ["Visible"] = false,
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- })
- o62 = Create("TextButton",{
- ["Parent"] = o61,
- ["Position"] = UDim2.new(0.80000001192093,0,0,0),
- ["Size"] = UDim2.new(0.20000000298023,0,1,0),
- ["Text"] = "X",
- ["BackgroundColor3"] = Color3.new(0, 0.666667, 0),
- ["BorderSizePixel"] = 0,
- ["ZIndex"] = 2,
- ["Font"] = Enum.Font.ArialBold,
- ["FontSize"] = Enum.FontSize.Size24,
- ["TextColor3"] = Color3.new(1, 1, 1),
- })
- o63 = Create("TextBox",{
- ["Parent"] = o61,
- ["Size"] = UDim2.new(0.80000001192093,0,1,0),
- ["Text"] = "Enter ID..",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BorderSizePixel"] = 0,
- ["ZIndex"] = 2,
- ["Font"] = Enum.Font.Arial,
- ["FontSize"] = Enum.FontSize.Size18,
- ["TextScaled"] = true,
- ["TextWrapped"] = true,
- })
- o64 = Create("TextLabel",{
- ["Parent"] = o61,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0,0,-1,0),
- ["Size"] = UDim2.new(1,0,1,0),
- ["Text"] = "CodeWrighter Kart Radio",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["Font"] = Enum.Font.ArialBold,
- ["FontSize"] = Enum.FontSize.Size14,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextStrokeTransparency"] = 0.5,
- })
- o65 = Create("Frame",{
- ["Name"] = "Controls",
- ["Parent"] = o61,
- ["Transparency"] = 0.5,
- ["Position"] = UDim2.new(0,0,1,0),
- ["Size"] = UDim2.new(0.5,0,1,0),
- ["BackgroundColor3"] = Color3.new(0, 0, 0),
- ["BackgroundTransparency"] = 0.5,
- ["BorderSizePixel"] = 0,
- })
- o66 = Create("TextButton",{
- ["Name"] = "Play",
- ["Parent"] = o65,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.050000000745058,0,0,0),
- ["Size"] = UDim2.new(0.20000000298023,0,1,0),
- ["Text"] = "II",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["Font"] = Enum.Font.ArialBold,
- ["FontSize"] = Enum.FontSize.Size32,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextScaled"] = true,
- ["TextWrapped"] = true,
- })
- o67 = Create("TextButton",{
- ["Name"] = "Repeat",
- ["Parent"] = o65,
- ["Transparency"] = 1,
- ["Position"] = UDim2.new(0.30000001192093,0,0,0),
- ["Size"] = UDim2.new(0.60000002384186,0,1,0),
- ["Text"] = "repeat",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["Font"] = Enum.Font.ArialBold,
- ["FontSize"] = Enum.FontSize.Size32,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextScaled"] = true,
- ["TextStrokeColor3"] = Color3.new(1, 1, 0),
- ["TextWrapped"] = true,
- })
- o68 = Create("Part",{
- ["Name"] = "SeatHolder",
- ["Parent"] = o48,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(4.0028615, 1.60245848, 20.0019798),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.651131988, -0.936875403, 0.275670975),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 0.400000006, 1),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o69 = Create("Part",{
- ["Name"] = "SeatWedge",
- ["Parent"] = o48,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(4.00286531, 2.60245633, 20.0029678),
- ["Rotation"] = Vector3.new(-179.943237, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.40939495, -0.936719298, 0.118571579),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 1.60000002, 1),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o70 = Create("SpecialMesh",{
- ["Parent"] = o69,
- ["MeshType"] = Enum.MeshType.Wedge,
- })
- o71 = Create("SurfaceGui",{
- ["Parent"] = o69,
- ["Face"] = Enum.NormalId.Back,
- ["CanvasSize"] = Vector2.new(110, 80),
- })
- o72 = Create("TextLabel",{
- ["Parent"] = o71,
- ["Transparency"] = 1,
- ["Size"] = UDim2.new(1,0,1,0),
- ["Text"] = "3n",
- ["BackgroundColor3"] = Color3.new(1, 1, 1),
- ["BackgroundTransparency"] = 1,
- ["BorderSizePixel"] = 0,
- ["Font"] = Enum.Font.SourceSansBold,
- ["FontSize"] = Enum.FontSize.Size96,
- ["TextColor3"] = Color3.new(1, 1, 1),
- ["TextStrokeColor3"] = Color3.new(0, 0.666667, 1),
- ["TextStrokeTransparency"] = 0.20000000298023,
- })
- o73 = Create("Model",{
- ["Name"] = "Tires",
- ["Parent"] = o1,
- })
- o74 = Create("Part",{
- ["Name"] = "LeftFrontTireCover",
- ["Parent"] = o73,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(5.9980092, 1.19759905, 24.9035587),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 89.9999847),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.733992279, 0.315457523, 0.345383257),
- ["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),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o75 = Create("CylinderMesh",{
- ["Parent"] = o74,
- })
- o76 = Create("Part",{
- ["Name"] = "LeftRearTireCover",
- ["Parent"] = o73,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(6.00276184, 1.20235848, 20.1035614),
- ["Rotation"] = Vector3.new(-179.943192, 0.0567593053, 89.9999847),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.747538924, -0.437472045, 0.34465012),
- ["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),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o77 = Create("CylinderMesh",{
- ["Parent"] = o76,
- })
- o78 = Create("Part",{
- ["Name"] = "RightFrontTireCover",
- ["Parent"] = o73,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(1.99800897, 1.19760227, 24.8996029),
- ["Rotation"] = Vector3.new(-179.943207, 0.0567593053, 89.9999847),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.734003603, -0.652102113, 0.333135098),
- ["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),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o79 = Create("CylinderMesh",{
- ["Parent"] = o78,
- })
- o80 = Create("Part",{
- ["Name"] = "RightRearTireCover",
- ["Parent"] = o73,
- ["Material"] = Enum.Material.SmoothPlastic,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Position"] = Vector3.new(2.00276613, 1.20236063, 20.0996037),
- ["Rotation"] = Vector3.new(-179.943192, 0.0567593053, 89.9999847),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.747550547, -1.40503085, 0.33240214),
- ["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),
- ["CanCollide"] = false,
- ["FormFactor"] = Enum.FormFactor.Plate,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.Weld,
- ["BottomSurface"] = Enum.SurfaceType.Weld,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.Weld,
- ["RightSurface"] = Enum.SurfaceType.Weld,
- ["TopSurface"] = Enum.SurfaceType.Weld,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o81 = Create("CylinderMesh",{
- ["Parent"] = o80,
- })
- o82 = Create("Part",{
- ["Name"] = "Tire",
- ["Parent"] = o73,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(2.00037003, 1.00215399, 20.1002178),
- ["Rotation"] = Vector3.new(-90, 0.0109999999, -0),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Shape"] = Enum.PartType.Ball,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.Hinge,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o83 = Create("Part",{
- ["Name"] = "Tire",
- ["Parent"] = o73,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(6.00037003, 1.00067198, 24.9000835),
- ["Rotation"] = Vector3.new(-90.4181061, 0.00249038776, 179.999985),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Shape"] = Enum.PartType.Ball,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.Hinge,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o84 = Create("Part",{
- ["Name"] = "Tire",
- ["Parent"] = o73,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(6.00037003, 1.00050795, 20.1002178),
- ["Rotation"] = Vector3.new(-90, 0.00400000019, 179.998993),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Shape"] = Enum.PartType.Ball,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.Hinge,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o85 = Create("Part",{
- ["Name"] = "Tire",
- ["Parent"] = o73,
- ["BrickColor"] = BrickColor.new("Really black"),
- ["Transparency"] = 1,
- ["Position"] = Vector3.new(2.00048804, 1.00000095, 24.8995972),
- ["Rotation"] = Vector3.new(-180, 0.00800000038, -0.0350000001),
- ["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),
- ["FormFactor"] = Enum.FormFactor.Symmetric,
- ["Shape"] = Enum.PartType.Ball,
- ["Size"] = Vector3.new(2, 2, 2),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.Hinge,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["Color"] = Color3.new(0.0666667, 0.0666667, 0.0666667),
- })
- o86 = Create("Part",{
- ["Name"] = "SteeringWheel",
- ["Parent"] = o1,
- ["Position"] = Vector3.new(3.99979424, 2.99938393, 23.1033688),
- ["Rotation"] = Vector3.new(-179.943222, 0.0567593053, 179.999985),
- ["RotVelocity"] = Vector3.new(-0.157099754, -0.00306191202, 0.241734535),
- ["Velocity"] = Vector3.new(0.303950667, -0.450389415, 0.0562049299),
- ["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),
- ["Elasticity"] = 0,
- ["FormFactor"] = Enum.FormFactor.Custom,
- ["Friction"] = 0,
- ["Size"] = Vector3.new(1.98000014, 1.5, 0.400000036),
- ["BackSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["BottomSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["FrontSurface"] = Enum.SurfaceType.Weld,
- ["LeftSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["RightSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- ["TopSurface"] = Enum.SurfaceType.SmoothNoOutlines,
- })
- o87 = Create("SpecialMesh",{
- ["Parent"] = o86,
- ["MeshId"] = "http://www.roblox.com/asset/?id=129344524",
- ["TextureId"] = "http://www.roblox.com/asset/?id=129344702",
- ["MeshType"] = Enum.MeshType.FileMesh,
- })
- o88 = Create("Sound",{
- ["Name"] = "Engine",
- ["Parent"] = o86,
- ["Pitch"] = 0.88598823547363,
- ["SoundId"] = "rbxassetid://183309063",
- ["Looped"] = true,
- })
- o89 = Create("Sound",{
- ["Name"] = "Horn",
- ["Parent"] = o86,
- ["SoundId"] = "rbxassetid://200530606",
- })
- o90 = Create("Sound",{
- ["Name"] = "RadioSong",
- ["Parent"] = o86,
- })
- o91 = Create("Script",{
- ["Name"] = "README",
- ["Parent"] = o1,
- ["Disabled"] = true,
- })
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --[[
- If you're reading this, GREAT! Just need to go over a few things, so please continue reading
- Make sure "AllowThirdPartySales" is enabled!
- To do this, go to Explorer then click Workspace; in the properties panel find
- "AllowThirdPartySales" and make sure it's checked.
- If you can't find Explorer and / or Properties do the following;
- Click "View" at the top of Studio, then click Explorer / Properties to toggle them on / off
- Why is it so important that "AllowThirdPartySales" is enabled you might ask?
- Well, these go karts have passes built into them which make YOU, the creator, money each time one is bought!
- Pretty cool, right?
- However, if AllowThirdPartySales isn't enabled, you can't make money. :'( cri cri
- So remember, enable AllowThirdPartySales! :D
- Thanks,
- CodeWrighter
- 12/30/2015 4:22AM
- --]]
- end,o91)
- end))
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = script
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement