Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- if io.UserInputType == Enum.UserInputType.MouseButton2 then
- return m:TrigEvent(b and "Button2Down" or "Button2Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then
- return typeof(s[k])=="function"
- and function(_,...)return s[k](s,...)end or s[k]
- end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return rawget(self,s) or _rg:GetService(s)
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- RunService = FakeService({
- _btrs = {},
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- self._btrs[name] = self.Heartbeat:Connect(fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- FakeService(g,game)
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- Part2 = Instance.new("Part")
- SpecialMesh3 = Instance.new("SpecialMesh")
- Part4 = Instance.new("Part")
- SpecialMesh5 = Instance.new("SpecialMesh")
- Part6 = Instance.new("Part")
- SpecialMesh7 = Instance.new("SpecialMesh")
- Part8 = Instance.new("Part")
- SpecialMesh9 = Instance.new("SpecialMesh")
- Part10 = Instance.new("Part")
- Part11 = Instance.new("Part")
- Part12 = Instance.new("Part")
- SpecialMesh13 = Instance.new("SpecialMesh")
- Part14 = Instance.new("Part")
- SpecialMesh15 = Instance.new("SpecialMesh")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- SpecialMesh19 = Instance.new("SpecialMesh")
- Decal20 = Instance.new("Decal")
- Part21 = Instance.new("Part")
- Part22 = Instance.new("Part")
- Part23 = Instance.new("Part")
- SpecialMesh24 = Instance.new("SpecialMesh")
- Part25 = Instance.new("Part")
- SpecialMesh26 = Instance.new("SpecialMesh")
- Model27 = Instance.new("Model")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- Part30 = Instance.new("Part")
- Model31 = Instance.new("Model")
- Part32 = Instance.new("Part")
- Part33 = Instance.new("Part")
- SpecialMesh34 = Instance.new("SpecialMesh")
- SurfaceGui35 = Instance.new("SurfaceGui")
- TextLabel36 = Instance.new("TextLabel")
- VehicleSeat37 = Instance.new("VehicleSeat")
- Model38 = Instance.new("Model")
- Part39 = Instance.new("Part")
- CylinderMesh40 = Instance.new("CylinderMesh")
- Part41 = Instance.new("Part")
- CylinderMesh42 = Instance.new("CylinderMesh")
- Part43 = Instance.new("Part")
- CylinderMesh44 = Instance.new("CylinderMesh")
- Part45 = Instance.new("Part")
- CylinderMesh46 = Instance.new("CylinderMesh")
- Part47 = Instance.new("Part")
- Part48 = Instance.new("Part")
- Part49 = Instance.new("Part")
- Part50 = Instance.new("Part")
- Part51 = Instance.new("Part")
- SpecialMesh52 = Instance.new("SpecialMesh")
- Part53 = Instance.new("Part")
- SurfaceGui54 = Instance.new("SurfaceGui")
- TextLabel55 = Instance.new("TextLabel")
- ClickDetector56 = Instance.new("ClickDetector")
- Script57 = Instance.new("Script")
- Script58 = Instance.new("Script")
- Model0.Name = "GoKart_CodeWrighter"
- Model0.Parent = mas
- Model0.PrimaryPart = Part29
- Model1.Name = "Body"
- Model1.Parent = Model0
- Part2.Name = "CornerBumper"
- Part2.Parent = Model1
- Part2.Material = Enum.Material.SmoothPlastic
- Part2.BrickColor = BrickColor.new("Crimson")
- Part2.Rotation = Vector3.new(-89.9300003, 90, 0)
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.Size = Vector3.new(1, 0.400000006, 0.400000036)
- Part2.CFrame = CFrame.new(82.124176, 0.909297526, 117.184395, -5.97192266e-05, 0.00106699159, 1.00000274, -1.00000763, 0.0011511629, -6.09485905e-05, -0.00115122471, -1.0000087, 0.00106692268)
- Part2.BackSurface = Enum.SurfaceType.Weld
- Part2.BottomSurface = Enum.SurfaceType.Weld
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Color = Color3.new(0.592157, 0, 0)
- Part2.Position = Vector3.new(82.124176, 0.909297526, 117.184395)
- Part2.Orientation = Vector3.new(0, 89.9399948, -89.9300003)
- Part2.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh3.Parent = Part2
- SpecialMesh3.MeshType = Enum.MeshType.Wedge
- Part4.Name = "CornerBumper"
- Part4.Parent = Model1
- Part4.Material = Enum.Material.SmoothPlastic
- Part4.BrickColor = BrickColor.new("Crimson")
- Part4.Rotation = Vector3.new(90.0699997, -90, 0)
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.Size = Vector3.new(1, 0.400000006, 0.400000036)
- Part4.CFrame = CFrame.new(88.5178986, 0.899229169, 125.394989, -0.000102626022, -0.00101028476, -1.00001431, -1.0000273, -0.00127536489, 0.000103915394, -0.00127549784, 1.00001347, -0.00101016893)
- Part4.BackSurface = Enum.SurfaceType.Weld
- Part4.BottomSurface = Enum.SurfaceType.Weld
- Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.Color = Color3.new(0.592157, 0, 0)
- Part4.Position = Vector3.new(88.5178986, 0.899229169, 125.394989)
- Part4.Orientation = Vector3.new(-0.00999999978, -90.0599976, -90.0699997)
- Part4.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh5.Parent = Part4
- SpecialMesh5.MeshType = Enum.MeshType.Wedge
- Part6.Name = "CornerBumper"
- Part6.Parent = Model1
- Part6.Material = Enum.Material.SmoothPlastic
- Part6.BrickColor = BrickColor.new("Crimson")
- Part6.Rotation = Vector3.new(-3.27999997, 89.9399948, 93.3499985)
- Part6.FormFactor = Enum.FormFactor.Custom
- Part6.Size = Vector3.new(1, 0.400000036, 0.400000036)
- Part6.CFrame = CFrame.new(82.1150742, 0.899715245, 125.388634, -6.2510655e-05, -0.00106696831, 0.999999404, 0.999999225, -0.00133426778, 6.10870266e-05, 0.00133420189, 0.999998569, 0.00106705073)
- Part6.BackSurface = Enum.SurfaceType.Weld
- Part6.BottomSurface = Enum.SurfaceType.Weld
- Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.Color = Color3.new(0.592157, 0, 0)
- Part6.Position = Vector3.new(82.1150742, 0.899715245, 125.388634)
- Part6.Orientation = Vector3.new(0, 89.9399948, 90.0799942)
- Part6.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh7.Parent = Part6
- SpecialMesh7.MeshType = Enum.MeshType.Wedge
- Part8.Name = "CornerBumper"
- Part8.Parent = Model1
- Part8.Material = Enum.Material.SmoothPlastic
- Part8.BrickColor = BrickColor.new("Crimson")
- Part8.Rotation = Vector3.new(-89.9199982, -90, 0)
- Part8.FormFactor = Enum.FormFactor.Custom
- Part8.Size = Vector3.new(1, 0.400000006, 0.400000036)
- Part8.CFrame = CFrame.new(88.5255814, 0.909518838, 117.190155, 0.000163630597, 0.00101028697, -1.00001061, 1.00002086, 0.00133645837, 0.000164982121, 0.00133664603, -1.00000989, -0.00101007952)
- Part8.BackSurface = Enum.SurfaceType.Weld
- Part8.BottomSurface = Enum.SurfaceType.Weld
- Part8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part8.Color = Color3.new(0.592157, 0, 0)
- Part8.Position = Vector3.new(88.5255814, 0.909518838, 117.190155)
- Part8.Orientation = Vector3.new(-0.00999999978, -90.0599976, 89.9199982)
- Part8.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh9.Parent = Part8
- SpecialMesh9.MeshType = Enum.MeshType.Wedge
- Part10.Name = "FrontBumperMain"
- Part10.Parent = Model1
- Part10.Material = Enum.Material.SmoothPlastic
- Part10.BrickColor = BrickColor.new("Crimson")
- Part10.Rotation = Vector3.new(-89.9199982, 0, 179.940002)
- Part10.FormFactor = Enum.FormFactor.Plate
- Part10.Size = Vector3.new(6, 0.400000006, 1)
- Part10.CFrame = CFrame.new(85.3146667, 0.899935901, 125.392525, -1.00001061, -0.00106907787, 2.91451906e-05, 3.05542671e-05, -0.00131719268, 1.00002277, -0.00106904737, 1.00001621, 0.00131723785)
- Part10.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part10.Color = Color3.new(0.592157, 0, 0)
- Part10.Position = Vector3.new(85.3146667, 0.899935901, 125.392525)
- Part10.Orientation = Vector3.new(-90, 179.940002, 0)
- Part10.Color = Color3.new(0.592157, 0, 0)
- Part11.Name = "FrontBumperPlate"
- Part11.Parent = Model1
- Part11.Material = Enum.Material.SmoothPlastic
- Part11.BrickColor = BrickColor.new("Crimson")
- Part11.Rotation = Vector3.new(-89.9300003, 0, 179.940002)
- Part11.FormFactor = Enum.FormFactor.Plate
- Part11.Size = Vector3.new(2, 0.400000006, 1)
- Part11.CFrame = CFrame.new(85.3143768, 0.89931047, 125.792343, -1.00001323, -0.001069088, 2.92981276e-05, 3.06160764e-05, -0.00123107142, 1.0000298, -0.00106905971, 1.00002527, 0.0012311138)
- Part11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part11.Color = Color3.new(0.592157, 0, 0)
- Part11.Position = Vector3.new(85.3143768, 0.89931047, 125.792343)
- Part11.Orientation = Vector3.new(-90, 179.940002, 0)
- Part11.Color = Color3.new(0.592157, 0, 0)
- Part12.Name = "FrontBumperWedge"
- Part12.Parent = Model1
- Part12.Material = Enum.Material.SmoothPlastic
- Part12.BrickColor = BrickColor.new("Crimson")
- Part12.Rotation = Vector3.new(90.0799942, 90, 0)
- Part12.FormFactor = Enum.FormFactor.Plate
- Part12.Size = Vector3.new(1, 0.400000006, 2)
- Part12.CFrame = CFrame.new(83.3135681, 0.899050653, 125.790237, -0.000123674734, -0.00100811338, 1.00001347, 1.00002944, -0.00146917859, 0.000122194309, 0.00146906392, 1.00002515, 0.00100830186)
- Part12.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part12.Color = Color3.new(0.592157, 0, 0)
- Part12.Position = Vector3.new(83.3135681, 0.899050653, 125.790237)
- Part12.Orientation = Vector3.new(-0.00999999978, 89.9399948, 90.0799942)
- Part12.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh13.Parent = Part12
- SpecialMesh13.MeshType = Enum.MeshType.Wedge
- Part14.Name = "FrontBumperWedge"
- Part14.Parent = Model1
- Part14.Material = Enum.Material.SmoothPlastic
- Part14.BrickColor = BrickColor.new("Crimson")
- Part14.Rotation = Vector3.new(90.0799942, -90, 0)
- Part14.FormFactor = Enum.FormFactor.Plate
- Part14.Size = Vector3.new(1, 0.400000006, 2)
- Part14.CFrame = CFrame.new(87.3150711, 0.899338663, 125.794426, 1.49905281e-06, -0.00109963364, -1.00001335, -1.0000298, -0.00134703459, -1.64909579e-08, -0.00134704355, 1.00002527, -0.00109964365)
- Part14.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part14.Color = Color3.new(0.592157, 0, 0)
- Part14.Position = Vector3.new(87.3150711, 0.899338663, 125.794426)
- Part14.Orientation = Vector3.new(0, -90.0599976, -90.0799942)
- Part14.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh15.Parent = Part14
- SpecialMesh15.MeshType = Enum.MeshType.Wedge
- Part16.Name = "FrontSteeringBeam"
- Part16.Parent = Model1
- Part16.Material = Enum.Material.SmoothPlastic
- Part16.BrickColor = BrickColor.new("Crimson")
- Part16.Rotation = Vector3.new(-179.929993, 0.0599999987, -180)
- Part16.FormFactor = Enum.FormFactor.Custom
- Part16.Size = Vector3.new(2, 0.200000003, 0.800000012)
- Part16.CFrame = CFrame.new(85.3151855, 1.30071223, 124.792122, -1.0000118, 1.6682643e-05, 0.00103852234, 1.7946857e-05, 1.00002265, 0.00121753488, -0.00103851419, 0.00121757702, -1.00001085)
- Part16.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.BottomSurface = Enum.SurfaceType.Weld
- Part16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.TopSurface = Enum.SurfaceType.Weld
- Part16.Color = Color3.new(0.592157, 0, 0)
- Part16.Position = Vector3.new(85.3151855, 1.30071223, 124.792122)
- Part16.Orientation = Vector3.new(-0.0700000003, 179.940002, 0)
- Part16.Color = Color3.new(0.592157, 0, 0)
- Part17.Name = "LeftBumper"
- Part17.Parent = Model1
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.BrickColor = BrickColor.new("Crimson")
- Part17.Rotation = Vector3.new(0.0700000003, -0.0599999987, -90.0099945)
- Part17.FormFactor = Enum.FormFactor.Plate
- Part17.Size = Vector3.new(1, 0.400000006, 7.80000019)
- Part17.CFrame = CFrame.new(88.5211182, 0.904500484, 121.292618, -0.000133163572, 1.00001061, -0.00104072492, -1.00002086, -0.000134523696, -0.00130593532, -0.00130609656, 0.00104056217, 1.00000989)
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.Color = Color3.new(0.592157, 0, 0)
- Part17.Position = Vector3.new(88.5211182, 0.904500484, 121.292618)
- Part17.Orientation = Vector3.new(0.0700000003, -0.0599999987, -90.0099945)
- Part17.Color = Color3.new(0.592157, 0, 0)
- Part18.Name = "NumberPlateHolder"
- Part18.Parent = Model1
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.BrickColor = BrickColor.new("Crimson")
- Part18.Rotation = Vector3.new(-179.929993, 0.0599999987, -180)
- Part18.FormFactor = Enum.FormFactor.Plate
- Part18.Size = Vector3.new(2, 1, 1.4000001)
- Part18.CFrame = CFrame.new(85.3150406, 1.90061331, 125.093132, -1.00001323, 2.92097702e-05, 0.00102589431, 3.05286812e-05, 1.00002968, 0.00128384447, -0.00102586392, 0.00128388533, -1.00002527)
- Part18.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.BottomSurface = Enum.SurfaceType.Weld
- Part18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part18.Color = Color3.new(0.592157, 0, 0)
- Part18.Position = Vector3.new(85.3150406, 1.90061331, 125.093132)
- Part18.Orientation = Vector3.new(-0.0700000003, 179.940002, 0)
- Part18.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh19.Parent = Part18
- SpecialMesh19.MeshType = Enum.MeshType.Wedge
- Decal20.Parent = Part18
- Decal20.Texture = "http://www.roblox.com/asset/?id=252928188"
- Part21.Name = "RearBumper"
- Part21.Parent = Model1
- Part21.Material = Enum.Material.SmoothPlastic
- Part21.BrickColor = BrickColor.new("Crimson")
- Part21.Rotation = Vector3.new(-89.9399948, 90, 0)
- Part21.FormFactor = Enum.FormFactor.Plate
- Part21.Size = Vector3.new(1, 0.400000006, 6)
- Part21.CFrame = CFrame.new(85.3247604, 0.909338653, 117.187698, -9.02257307e-05, 0.00106910185, 1.00000799, -1.00001597, 0.00113333075, -9.1437847e-05, -0.00113344612, -1.00000739, 0.00106900814)
- Part21.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part21.Color = Color3.new(0.592157, 0, 0)
- Part21.Position = Vector3.new(85.3247604, 0.909338653, 117.187698)
- Part21.Orientation = Vector3.new(0.00999999978, 89.9399948, -89.9399948)
- Part21.Color = Color3.new(0.592157, 0, 0)
- Part22.Name = "RightSideBumper"
- Part22.Parent = Model1
- Part22.Material = Enum.Material.SmoothPlastic
- Part22.BrickColor = BrickColor.new("Crimson")
- Part22.Rotation = Vector3.new(0.0700000003, -0.0599999987, 90)
- Part22.FormFactor = Enum.FormFactor.Plate
- Part22.Size = Vector3.new(1, 0.400000006, 7.79999971)
- Part22.CFrame = CFrame.new(82.1205063, 0.904507637, 121.286461, -3.17915255e-05, -0.999999464, -0.0010363725, 0.999999404, -3.05668182e-05, -0.00118172681, 0.00118169456, -0.00103640941, 0.999998808)
- Part22.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part22.Color = Color3.new(0.592157, 0, 0)
- Part22.Position = Vector3.new(82.1205063, 0.904507637, 121.286461)
- Part22.Orientation = Vector3.new(0.0700000003, -0.0599999987, 90)
- Part22.Color = Color3.new(0.592157, 0, 0)
- Part23.Name = "SteeringColumn"
- Part23.Parent = Model1
- Part23.Material = Enum.Material.SmoothPlastic
- Part23.BrickColor = BrickColor.new("Crimson")
- Part23.Rotation = Vector3.new(0.0599999987, -0.0599999987, 180)
- Part23.FormFactor = Enum.FormFactor.Plate
- Part23.Size = Vector3.new(2, 0.800000012, 2)
- Part23.CFrame = CFrame.new(85.3177109, 2.0028038, 123.392296, -1.00001049, -5.98299375e-05, -0.00106902071, 6.10093739e-05, -1.0000211, -0.00110302819, -0.001068966, -0.00110311667, 1.00001013)
- Part23.BackSurface = Enum.SurfaceType.Weld
- Part23.BottomSurface = Enum.SurfaceType.Weld
- Part23.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part23.Color = Color3.new(0.592157, 0, 0)
- Part23.Position = Vector3.new(85.3177109, 2.0028038, 123.392296)
- Part23.Orientation = Vector3.new(0.0599999987, -0.0599999987, 180)
- Part23.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh24.Parent = Part23
- SpecialMesh24.MeshType = Enum.MeshType.Wedge
- Part25.Name = "SteeringColumn"
- Part25.Parent = Model1
- Part25.Material = Enum.Material.SmoothPlastic
- Part25.BrickColor = BrickColor.new("Crimson")
- Part25.Rotation = Vector3.new(-179.929993, 0.0599999987, 180)
- Part25.FormFactor = Enum.FormFactor.Plate
- Part25.Size = Vector3.new(2, 0.800000012, 2)
- Part25.CFrame = CFrame.new(85.3176193, 2.80308628, 123.393417, -1.00001252, -1.28423642e-06, 0.00113012909, 9.95955247e-08, 1.00002503, 0.00122492714, -0.00113014423, 0.00122495333, -1.00001192)
- Part25.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part25.Color = Color3.new(0.592157, 0, 0)
- Part25.Position = Vector3.new(85.3176193, 2.80308628, 123.393417)
- Part25.Orientation = Vector3.new(-0.0700000003, 179.940002, 0)
- Part25.Color = Color3.new(0.592157, 0, 0)
- SpecialMesh26.Parent = Part25
- SpecialMesh26.MeshType = Enum.MeshType.Wedge
- Model27.Name = "Chassis"
- Model27.Parent = Model0
- Part28.Name = "LeftBumperPart"
- Part28.Parent = Model27
- Part28.BrickColor = BrickColor.new("Really black")
- Part28.Rotation = Vector3.new(-179.929993, 0.0700000003, -180)
- Part28.FormFactor = Enum.FormFactor.Plate
- Part28.Size = Vector3.new(2, 0.800000012, 2)
- Part28.CFrame = CFrame.new(87.3185806, 0.803919017, 121.592239, -1.00000918, 5.97816106e-05, 0.00117871957, 6.12047515e-05, 1.00001848, 0.00120716239, -0.00117865717, 0.00120725413, -1.00000858)
- Part28.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.LeftSurface = Enum.SurfaceType.Weld
- Part28.RightSurface = Enum.SurfaceType.Weld
- Part28.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part28.Position = Vector3.new(87.3185806, 0.803919017, 121.592239)
- Part28.Orientation = Vector3.new(-0.0700000003, 179.929993, 0)
- Part28.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part29.Name = "MainChassisBeam"
- Part29.Parent = Model27
- Part29.BrickColor = BrickColor.new("Really black")
- Part29.Rotation = Vector3.new(-179.929993, 0.0599999987, -180)
- Part29.FormFactor = Enum.FormFactor.Plate
- Part29.Size = Vector3.new(2, 0.800000012, 7.80000019)
- Part29.CFrame = CFrame.new(85.3190765, 0.804530084, 121.289696, -1.00000799, 5.98561128e-05, 0.00103852281, 6.10651332e-05, 1.00001597, 0.00116395764, -0.00103846157, 0.00116403843, -1.00000739)
- Part29.BackSurface = Enum.SurfaceType.Weld
- Part29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.FrontSurface = Enum.SurfaceType.Weld
- Part29.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part29.Position = Vector3.new(85.3190765, 0.804530084, 121.289696)
- Part29.Orientation = Vector3.new(-0.0700000003, 179.940002, 0)
- Part29.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part30.Name = "RightBumperPart"
- Part30.Parent = Model27
- Part30.BrickColor = BrickColor.new("Really black")
- Part30.Rotation = Vector3.new(0.0700000003, -0.0599999987, 0)
- Part30.FormFactor = Enum.FormFactor.Plate
- Part30.Size = Vector3.new(2, 0.800000012, 2)
- Part30.CFrame = CFrame.new(83.3179703, 0.804276109, 121.587944, 0.999999464, 1.67605522e-05, -0.00100586633, -1.79313283e-05, 0.999999404, -0.00116394786, 0.00100584608, 0.00116396532, 0.999998868)
- Part30.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part30.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part30.LeftSurface = Enum.SurfaceType.Weld
- Part30.RightSurface = Enum.SurfaceType.Weld
- Part30.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part30.Position = Vector3.new(83.3179703, 0.804276109, 121.587944)
- Part30.Orientation = Vector3.new(0.0700000003, -0.0599999987, 0)
- Part30.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Model31.Name = "Seat"
- Model31.Parent = Model0
- Part32.Name = "SeatHolder"
- Part32.Parent = Model31
- Part32.BrickColor = BrickColor.new("Really black")
- Part32.Rotation = Vector3.new(-179.929993, 0.0599999987, -179.98999)
- Part32.FormFactor = Enum.FormFactor.Plate
- Part32.Size = Vector3.new(2, 0.400000006, 1)
- Part32.CFrame = CFrame.new(85.3213348, 1.40732384, 119.089043, -1.00000942, 0.000102962244, 0.00103852851, 0.000104205588, 1.00001872, 0.00119660224, -0.00103841512, 0.00119673042, -1.00000882)
- Part32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.BottomSurface = Enum.SurfaceType.Weld
- Part32.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part32.Position = Vector3.new(85.3213348, 1.40732384, 119.089043)
- Part32.Orientation = Vector3.new(-0.0700000003, 179.940002, 0.00999999978)
- Part32.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Name = "SeatWedge"
- Part33.Parent = Model31
- Part33.BrickColor = BrickColor.new("Really black")
- Part33.Rotation = Vector3.new(-179.929993, 0.0599999987, 179.98999)
- Part33.FormFactor = Enum.FormFactor.Plate
- Part33.Size = Vector3.new(2, 1.60000002, 1)
- Part33.CFrame = CFrame.new(85.3212891, 2.40768147, 119.090149, -1.00000393, -0.000123406731, 0.00113003294, -0.000122091951, 1.00000834, 0.00116409117, -0.00113018078, 0.00116396206, -1.00000334)
- Part33.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.BottomSurface = Enum.SurfaceType.Weld
- Part33.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part33.Position = Vector3.new(85.3212891, 2.40768147, 119.090149)
- Part33.Orientation = Vector3.new(-0.0700000003, 179.940002, -0.00999999978)
- Part33.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh34.Parent = Part33
- SpecialMesh34.MeshType = Enum.MeshType.Wedge
- SurfaceGui35.Parent = Part33
- SurfaceGui35.Face = Enum.NormalId.Back
- SurfaceGui35.CanvasSize = Vector2.new(110, 80)
- TextLabel36.Parent = SurfaceGui35
- TextLabel36.Transparency = 1
- TextLabel36.Size = UDim2.new(1, 0, 1, 0)
- TextLabel36.Text = "3n"
- TextLabel36.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel36.BackgroundTransparency = 1
- TextLabel36.BorderSizePixel = 0
- TextLabel36.Font = Enum.Font.SourceSansBold
- TextLabel36.FontSize = Enum.FontSize.Size96
- TextLabel36.TextColor3 = Color3.new(1, 1, 1)
- TextLabel36.TextStrokeColor3 = Color3.new(0, 0.666667, 1)
- TextLabel36.TextStrokeTransparency = 0.20000000298023
- VehicleSeat37.Parent = Model31
- VehicleSeat37.BrickColor = BrickColor.new("Really black")
- VehicleSeat37.Rotation = Vector3.new(-179.929993, 0.0599999987, 180)
- VehicleSeat37.Size = Vector3.new(2, 0.200000003, 2)
- VehicleSeat37.CFrame = CFrame.new(85.3201065, 1.20544505, 120.589859, -0.999999404, -1.2376828e-06, 0.00106901245, 6.64722233e-09, 0.999999404, 0.0011639985, -0.00106901315, 0.00116399792, -0.999998808)
- VehicleSeat37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- VehicleSeat37.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- VehicleSeat37.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- VehicleSeat37.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- VehicleSeat37.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- VehicleSeat37.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- VehicleSeat37.MaxSpeed = 75
- VehicleSeat37.Torque = 1.0499999523163
- VehicleSeat37.TurnSpeed = 1.1000000238419
- VehicleSeat37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- VehicleSeat37.Position = Vector3.new(85.3201065, 1.20544505, 120.589859)
- VehicleSeat37.Orientation = Vector3.new(-0.0700000003, 179.940002, 0)
- VehicleSeat37.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Model38.Name = "Tires"
- Model38.Parent = Model0
- Part39.Name = "RightFrontTireCover"
- Part39.Parent = Model38
- Part39.Material = Enum.Material.SmoothPlastic
- Part39.BrickColor = BrickColor.new("Really black")
- Part39.Rotation = Vector3.new(-179.919998, 0.0599999987, 90)
- Part39.CanCollide = false
- Part39.FormFactor = Enum.FormFactor.Plate
- Part39.Size = Vector3.new(2, 2, 2)
- Part39.CFrame = CFrame.new(83.3143692, 1.00136495, 123.989807, -2.9207642e-05, -1.00000954, 0.000977480435, -1.00001848, 3.04944278e-05, 0.00131647731, -0.00131652574, -0.000977451564, -1.00000858)
- Part39.BottomSurface = Enum.SurfaceType.Weld
- Part39.TopSurface = Enum.SurfaceType.Weld
- Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part39.Position = Vector3.new(83.3143692, 1.00136495, 123.989807)
- Part39.Orientation = Vector3.new(-0.0799999982, 179.940002, -90)
- Part39.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh40.Parent = Part39
- Part41.Name = "RightRearTireCover"
- Part41.Parent = Model38
- Part41.Material = Enum.Material.SmoothPlastic
- Part41.BrickColor = BrickColor.new("Really black")
- Part41.Rotation = Vector3.new(-179.929993, 0.0599999987, 90)
- Part41.CanCollide = false
- Part41.FormFactor = Enum.FormFactor.Plate
- Part41.Size = Vector3.new(2, 2, 2)
- Part41.CFrame = CFrame.new(83.3210678, 1.0070138, 119.186401, 3.18090351e-05, -0.999999404, 0.00106903573, -0.999999344, -3.04995065e-05, 0.0012249602, -0.00122492691, -0.00106907391, -0.999998748)
- Part41.BottomSurface = Enum.SurfaceType.Weld
- Part41.TopSurface = Enum.SurfaceType.Weld
- Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part41.Position = Vector3.new(83.3210678, 1.0070138, 119.186401)
- Part41.Orientation = Vector3.new(-0.0700000003, 179.940002, -90)
- Part41.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh42.Parent = Part41
- Part43.Name = "LeftRearTireCover"
- Part43.Parent = Model38
- Part43.Material = Enum.Material.SmoothPlastic
- Part43.BrickColor = BrickColor.new("Really black")
- Part43.Rotation = Vector3.new(-179.940002, 0.0599999987, 89.9899979)
- Part43.CanCollide = false
- Part43.FormFactor = Enum.FormFactor.Plate
- Part43.Size = Vector3.new(2, 2, 2)
- Part43.CFrame = CFrame.new(87.3215942, 1.00693345, 119.190506, 9.2765622e-05, -1.00000393, 0.00109959533, -1.00000834, -9.1519898e-05, 0.00113340071, -0.00113330921, -0.00109970476, -1.00000346)
- Part43.BottomSurface = Enum.SurfaceType.Weld
- Part43.TopSurface = Enum.SurfaceType.Weld
- Part43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part43.Position = Vector3.new(87.3215942, 1.00693345, 119.190506)
- Part43.Orientation = Vector3.new(-0.0599999987, 179.940002, -90.0099945)
- Part43.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh44.Parent = Part43
- Part45.Name = "LeftFrontTireCover"
- Part45.Parent = Model38
- Part45.Material = Enum.Material.SmoothPlastic
- Part45.BrickColor = BrickColor.new("Really black")
- Part45.Rotation = Vector3.new(-179.940002, 0.0599999987, 90.0099945)
- Part45.CanCollide = false
- Part45.FormFactor = Enum.FormFactor.Plate
- Part45.Size = Vector3.new(2, 2, 2)
- Part45.CFrame = CFrame.new(87.3178024, 1.00131094, 123.993507, -9.02998727e-05, -1.00001061, 0.00100804341, -1.0000211, 9.14430057e-05, 0.00113342784, -0.00113354309, -0.00100795238, -1.00001013)
- Part45.BottomSurface = Enum.SurfaceType.Weld
- Part45.TopSurface = Enum.SurfaceType.Weld
- Part45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part45.Position = Vector3.new(87.3178024, 1.00131094, 123.993507)
- Part45.Orientation = Vector3.new(-0.0599999987, 179.940002, -89.9899979)
- Part45.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh46.Parent = Part45
- Part47.Name = "Tire"
- Part47.Parent = Model38
- Part47.BrickColor = BrickColor.new("Really black")
- Part47.Transparency = 1
- Part47.Rotation = Vector3.new(-180, 0.00999999978, -0.0299999993)
- Part47.FormFactor = Enum.FormFactor.Symmetric
- Part47.Shape = Enum.PartType.Ball
- Part47.Size = Vector3.new(2, 2, 2)
- Part47.CFrame = CFrame.new(83.3192596, 1.00440502, 123.987961, 0.999999881, 0.000604009489, 0.000226974546, 0.000603999943, -0.999999881, 4.21370933e-05, 0.000226999968, -4.19999924e-05, -1)
- Part47.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part47.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part47.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part47.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part47.RightSurface = Enum.SurfaceType.Hinge
- Part47.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part47.Position = Vector3.new(83.3192596, 1.00440502, 123.987961)
- Part47.Orientation = Vector3.new(0, 179.98999, 179.970001)
- Part47.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part48.Name = "Tire"
- Part48.Parent = Model38
- Part48.BrickColor = BrickColor.new("Really black")
- Part48.Transparency = 1
- Part48.Rotation = Vector3.new(-90, 0.00999999978, 0.00999999978)
- Part48.FormFactor = Enum.FormFactor.Symmetric
- Part48.Shape = Enum.PartType.Ball
- Part48.Size = Vector3.new(2, 2, 2)
- Part48.CFrame = CFrame.new(83.3191071, 1.00670898, 119.18837, 1, -0.000152026798, 0.000122001613, -0.000121997044, 3.00531956e-05, 1, -0.000152030465, -1, 3.00346474e-05)
- Part48.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part48.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part48.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part48.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part48.RightSurface = Enum.SurfaceType.Hinge
- Part48.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part48.Position = Vector3.new(83.3191071, 1.00670898, 119.18837)
- Part48.Orientation = Vector3.new(-90, 0.00999999978, 0)
- Part48.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part49.Name = "Tire"
- Part49.Parent = Model38
- Part49.BrickColor = BrickColor.new("Really black")
- Part49.Transparency = 1
- Part49.Rotation = Vector3.new(-89.9899979, 0, 179.98999)
- Part49.FormFactor = Enum.FormFactor.Symmetric
- Part49.Shape = Enum.PartType.Ball
- Part49.Size = Vector3.new(2, 2, 2)
- Part49.CFrame = CFrame.new(87.3192291, 1.00505996, 119.18837, -1, -0.000152999492, 6.09836425e-05, 6.10069073e-05, -0.000152046909, 1, -0.000152990222, 1, 0.000152056236)
- Part49.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.RightSurface = Enum.SurfaceType.Hinge
- Part49.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part49.Position = Vector3.new(87.3192291, 1.00505996, 119.18837)
- Part49.Orientation = Vector3.new(-90, 179.98999, 0)
- Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part50.Name = "Tire"
- Part50.Parent = Model38
- Part50.BrickColor = BrickColor.new("Really black")
- Part50.Transparency = 1
- Part50.Rotation = Vector3.new(-90.409996, 0.00999999978, 179.98999)
- Part50.FormFactor = Enum.FormFactor.Symmetric
- Part50.Shape = Enum.PartType.Ball
- Part50.Size = Vector3.new(2, 2, 2)
- Part50.CFrame = CFrame.new(87.3192139, 1.00508296, 123.988419, -1, -0.000165344274, 9.21860628e-05, 9.10000017e-05, 0.00715900213, 0.99997437, -0.000165999998, 0.99997437, -0.00715898629)
- Part50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.RightSurface = Enum.SurfaceType.Hinge
- Part50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part50.Position = Vector3.new(87.3192139, 1.00508296, 123.988419)
- Part50.Orientation = Vector3.new(-89.5899963, 179.259995, 0.729999959)
- Part50.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part51.Name = "SteeringWheel"
- Part51.Parent = Model0
- Part51.Rotation = Vector3.new(-179.940002, 0.0599999987, -179.98999)
- Part51.Elasticity = 0
- Part51.FormFactor = Enum.FormFactor.Custom
- Part51.Friction = 0
- Part51.Size = Vector3.new(1.98000014, 1.5, 0.400000036)
- Part51.CFrame = CFrame.new(85.3191757, 2.80437803, 122.193008, -1.00001252, 9.03981709e-05, 0.00109958346, 9.16451463e-05, 1.00002515, 0.00113343727, -0.00109949464, 0.00113356544, -1.00001204)
- Part51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.FrontSurface = Enum.SurfaceType.Weld
- Part51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part51.Position = Vector3.new(85.3191757, 2.80437803, 122.193008)
- Part51.Orientation = Vector3.new(-0.0599999987, 179.940002, 0.00999999978)
- SpecialMesh52.Parent = Part51
- SpecialMesh52.MeshId = "http://www.roblox.com/asset/?id=129344524"
- SpecialMesh52.TextureId = "http://www.roblox.com/asset/?id=129344702"
- SpecialMesh52.MeshType = Enum.MeshType.FileMesh
- Part53.Name = "FlipButton"
- Part53.Parent = Model0
- Part53.BrickColor = BrickColor.new("Really black")
- Part53.Transparency = 1
- Part53.Rotation = Vector3.new(-179.929993, 0.0599999987, -180)
- Part53.CanCollide = false
- Part53.FormFactor = Enum.FormFactor.Plate
- Part53.Size = Vector3.new(1.99999988, 0.200000003, 4.80000019)
- Part53.CFrame = CFrame.new(85.3185501, 0.300029755, 121.592056, -1.00000942, 6.12806252e-05, 0.00103723956, 6.24884706e-05, 1.0000186, 0.00116423459, -0.00103717821, 0.00116431969, -1.0000087)
- Part53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.TopSurface = Enum.SurfaceType.Weld
- Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part53.Position = Vector3.new(85.3185501, 0.300029755, 121.592056)
- Part53.Orientation = Vector3.new(-0.0700000003, 179.940002, 0)
- Part53.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SurfaceGui54.Parent = Part53
- SurfaceGui54.Face = Enum.NormalId.Bottom
- SurfaceGui54.CanvasSize = Vector2.new(600, 200)
- TextLabel55.Parent = SurfaceGui54
- TextLabel55.Transparency = 1
- TextLabel55.Size = UDim2.new(1, 0, 1, 0)
- TextLabel55.Text = "Click to flip"
- TextLabel55.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel55.BackgroundTransparency = 1
- TextLabel55.Font = Enum.Font.Cartoon
- TextLabel55.FontSize = Enum.FontSize.Size96
- TextLabel55.TextColor3 = Color3.new(1, 1, 1)
- TextLabel55.TextScaled = true
- TextLabel55.TextWrapped = true
- ClickDetector56.Parent = Part53
- Script57.Name = "Changelog"
- Script57.Parent = Model0
- Script57.Disabled = true
- table.insert(cors,sandbox(Script57,function()
- --[[
- CodeWrighter's Go Kart Changelog
- Format: Month/Date/Year
- 4/10/2017
- Improved kart handling / steering
- 3/6/2017
- Added flip button (under the kart)
- Kart no longer automatically updates (this might've caused issues in the past)
- Had to take out the feature where you could take the kart model by clicking the kart. If you want to take an actual copy of the kart, copy-paste the link below;
- https://www.roblox.com/library/193064098/Go-Kart-CodeWrighter
- 3/4/2017
- ~~ First update in over 7 months and first of 2017! ~~
- Due to some issues, I had to take the fancy kart features out. Dx (radio, invisibility, MLG mode, kart colorizer, etc.)
- Perhaps they'll someday make a return?
- Anyways, would like to thank everyone for the (currently 665,215) sales on this kart! :)
- Condensed the scripts
- Removed game passes
- Removed GUI's and few misc. scripts
- 8/2/2016
- Fixed issue causing kart to spaz out when PGSPhysicsSolverEnabled was true
- Fixed game pass issue
- 4/12/2016
- ~~ We broke 100,000 takes on this kart model! Awesome! :) ~~
- Added changelog sheet instead of listing updates on main script
- Changed passes from tix to R$ - RIP Tix Dx
- Enhanced elite kart mode for those who own all the passes
- Rewrote some of the code
- 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 hesitate to send me a PM. :)
- ~ CodeWrighter
- --]]
- end))
- Script58.Name = "KartScript"
- Script58.Parent = Model0
- table.insert(cors,sandbox(Script58,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
- -- define variables
- local Kart = script.Parent
- local TimeoutTime = 5 -- with WaitForChild(), if the child isn't found in 5 seconds, we'll assume it's not there and continue on
- local FlipButton = Kart:WaitForChild('FlipButton',TimeoutTime)
- local Body = Kart:WaitForChild('Body',TimeoutTime)
- local Chassis = Kart:WaitForChild('Chassis',TimeoutTime)
- local Seat = Kart:WaitForChild('Seat',TimeoutTime)
- local Tires = Kart:WaitForChild('Tires',TimeoutTime)
- local NumberDisplay = Seat:WaitForChild('SeatWedge',TimeoutTime):WaitForChild('SurfaceGui',TimeoutTime):WaitForChild('TextLabel',TimeoutTime)
- local VehicleSeat = Seat:WaitForChild('VehicleSeat',TimeoutTime)
- 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 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 Color(parts,color)
- for i,v in ipairs(parts) do
- if v:IsA('BasePart') then
- v.BrickColor = color
- end
- end
- end
- function ChangeNumber(val)
- NumberDisplay.Text = val
- end
- local Parts = {}
- function GrabParts(par)
- for i,v in ipairs(par:GetChildren()) do
- if v:IsA('BasePart') then
- Parts[#Parts+1] = v
- end
- GrabParts(v)
- end
- end
- GrabParts(Kart)
- for i,v in ipairs(Parts) do
- v.Changed:connect(function(change)
- if tostring(change) == 'BrickColor' then
- if not debounce then
- debounce = true
- if v.Parent.Name == 'Chassis' then
- Color(Kart.Chassis:GetChildren(),v.BrickColor)
- elseif v.Parent.Name == 'Tires' then
- Color(Kart.Tires:GetChildren(),v.BrickColor)
- elseif v.Parent.Name == 'Body' then
- Color(Kart.Body:GetChildren(),v.BrickColor)
- elseif v.Parent.Name == 'Seat' then
- Color(Kart.Seat:GetChildren(),v.BrickColor)
- end
- debounce = false
- end
- end
- end)
- end
- FlipButton.ClickDetector.MouseClick:connect(function()
- if not FlipDebounce then
- FlipDebounce = true
- FlipKart()
- FlipDebounce = false
- end
- end)
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement