Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- local runDummyScript = function(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 = Instance.new("Model")
- o2 = Instance.new("Part")
- o3 = Instance.new("Weld")
- o4 = Instance.new("Weld")
- o6 = Instance.new("Weld")
- o7 = Instance.new("Sound")
- o8 = Instance.new("Part")
- o9 = Instance.new("Weld")
- o10 = Instance.new("Part")
- o11 = Instance.new("Weld")
- o12 = Instance.new("Weld")
- o14 = Instance.new("Weld")
- o15 = Instance.new("ManualWeld")
- o16 = Instance.new("Part")
- o17 = Instance.new("Weld")
- o18 = Instance.new("Weld")
- o19 = Instance.new("Part")
- o20 = Instance.new("ManualWeld")
- o21 = Instance.new("BodyPosition")
- o22 = Instance.new("BodyGyro")
- o23 = Instance.new("ManualWeld")
- o24 = Instance.new("Part")
- o25 = Instance.new("Weld")
- o26 = Instance.new("ManualWeld")
- o28 = Instance.new("Weld")
- o30 = Instance.new("Weld")
- o31 = Instance.new("Part")
- o32 = Instance.new("Weld")
- o33 = Instance.new("Weld")
- o35 = Instance.new("Weld")
- o36 = Instance.new("ManualWeld")
- o37 = Instance.new("Part")
- o38 = Instance.new("Part")
- o39 = Instance.new("Weld")
- o40 = Instance.new("ManualWeld")
- o42 = Instance.new("Weld")
- o44 = Instance.new("Texture")
- o45 = Instance.new("Texture")
- o46 = Instance.new("Texture")
- o47 = Instance.new("Texture")
- o48 = Instance.new("ParticleEmitter")
- o49 = Instance.new("ManualWeld")
- o50 = Instance.new("Part")
- o51 = Instance.new("SurfaceGui")
- o52 = Instance.new("Frame")
- o53 = Instance.new("SurfaceLight")
- o54 = Instance.new("Weld")
- o55 = Instance.new("Part")
- o56 = Instance.new("SurfaceGui")
- o57 = Instance.new("Frame")
- o58 = Instance.new("SurfaceLight")
- o59 = Instance.new("Weld")
- o60 = Instance.new("Configuration")
- o61 = Instance.new("NumberValue")
- o62 = Instance.new("NumberValue")
- o63 = Instance.new("NumberValue")
- o64 = Instance.new("NumberValue")
- o65 = Instance.new("NumberValue")
- o66 = Instance.new("Script")
- o67 = Instance.new("LocalScript")
- o68 = Instance.new("ObjectValue")
- o71 = Instance.new("Texture")
- o72 = Instance.new("Texture")
- o73 = Instance.new("Texture")
- o74 = Instance.new("Texture")
- o75 = Instance.new("ParticleEmitter")
- o77 = Instance.new("Texture")
- o78 = Instance.new("Texture")
- o79 = Instance.new("Texture")
- o80 = Instance.new("Texture")
- o81 = Instance.new("ParticleEmitter")
- o82 = Instance.new("ManualWeld")
- o84 = Instance.new("Texture")
- o85 = Instance.new("Texture")
- o86 = Instance.new("Texture")
- o87 = Instance.new("Texture")
- o88 = Instance.new("ParticleEmitter")
- o89 = Instance.new("VehicleSeat")
- o90 = Instance.new("Part")
- o91 = Instance.new("SpecialMesh")
- o92 = Instance.new("Weld")
- o93 = Instance.new("Weld")
- o94 = Instance.new("Weld")
- o95 = Instance.new("Script")
- o96 = Instance.new("Sound")
- o1.Name = "Jeep"
- o1.Parent = mas
- o2.Name = "Thruster"
- o2.Parent = o1
- o2.BrickColor = BrickColor.new("Institutional white")
- o2.Transparency = 1
- o2.Position = Vector3.new(-91.4021301, 4.64119577, -7.87524652)
- o2.Rotation = Vector3.new(0.00999999978, -90, 0)
- o2.CanCollide = false
- o2.FormFactor = Enum.FormFactor.Custom
- o2.Size = Vector3.new(1, 1, 2)
- o2.CFrame = CFrame.new(-91.4021301, 4.64119577, -7.87524652, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o2.BottomSurface = Enum.SurfaceType.Smooth
- o2.TopSurface = Enum.SurfaceType.Smooth
- o2.Color = Color3.new(1, 1, 1)
- o2.Position = Vector3.new(-91.4021301, 4.64119577, -7.87524652)
- o3.Parent = o2
- o3.C0 = CFrame.new(-2.5, 0, -4, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o3.Part0 = o19
- o3.Part1 = o2
- o4.Name = "WheelWeld"
- o4.Parent = o2
- o4.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o4.Part0 = o2
- o4.Part1 = mas
- o6.Parent = mas
- o6.C0 = CFrame.new(0, 1.25, -3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o6.Part0 = o19
- o6.Part1 = mas
- o7.Name = "Running"
- o7.Parent = mas
- o7.Pitch = 0
- o7.SoundId = "rbxassetid://358280695"
- o7.Volume = 10
- o7.Looped = true
- o8.Parent = o1
- o8.BrickColor = BrickColor.new("Institutional white")
- o8.Position = Vector3.new(-90.1521149, 4.39090109, -5.37525797)
- o8.Rotation = Vector3.new(0.00999999978, -90, 0)
- o8.FormFactor = Enum.FormFactor.Custom
- o8.Size = Vector3.new(5, 0.5, 0.5)
- o8.CFrame = CFrame.new(-90.1521149, 4.39090109, -5.37525797, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o8.BottomSurface = Enum.SurfaceType.Smooth
- o8.TopSurface = Enum.SurfaceType.Smooth
- o8.Color = Color3.new(1, 1, 1)
- o8.Position = Vector3.new(-90.1521149, 4.39090109, -5.37525797)
- o9.Parent = o8
- o9.C0 = CFrame.new(0, -0.25, -5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o9.Part0 = o19
- o9.Part1 = o8
- o10.Name = "Thruster"
- o10.Parent = o1
- o10.BrickColor = BrickColor.new("Institutional white")
- o10.Transparency = 1
- o10.Position = Vector3.new(-91.4021301, 4.64055204, -2.87520456)
- o10.Rotation = Vector3.new(0.00999999978, -90, 0)
- o10.CanCollide = false
- o10.FormFactor = Enum.FormFactor.Custom
- o10.Size = Vector3.new(1, 1, 2)
- o10.CFrame = CFrame.new(-91.4021301, 4.64055204, -2.87520456, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o10.BottomSurface = Enum.SurfaceType.Smooth
- o10.TopSurface = Enum.SurfaceType.Smooth
- o10.Color = Color3.new(1, 1, 1)
- o10.Position = Vector3.new(-91.4021301, 4.64055204, -2.87520456)
- o11.Parent = o10
- o11.C0 = CFrame.new(2.5, 0, -4, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o11.Part0 = o19
- o11.Part1 = o10
- o12.Name = "WheelWeld"
- o12.Parent = o10
- o12.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o12.Part0 = o10
- o12.Part1 = mas
- o14.Parent = mas
- o14.C0 = CFrame.new(2.25, 1.25000048, 3.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o14.Part0 = o19
- o14.Part1 = mas
- o15.Name = "Union-to-Part Strong Joint"
- o15.Parent = mas
- o15.C0 = CFrame.new(-0.250000417, -1.25000048, -1.75000012, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- o15.C1 = CFrame.new(2.00003052, -1.24999809, -3.25, 1.99786854e-11, 4.10487968e-13, -1, -3.67035682e-08, 1, -4.09731737e-13, 1, -3.67035682e-08, -1.99786854e-11)
- o15.Part0 = mas
- o15.Part1 = o37
- o16.Name = "Thruster"
- o16.Parent = o1
- o16.BrickColor = BrickColor.new("Institutional white")
- o16.Transparency = 1
- o16.Position = Vector3.new(-98.9021912, 4.64038944, -2.87520266)
- o16.Rotation = Vector3.new(0.00999999978, -90, 0)
- o16.CanCollide = false
- o16.FormFactor = Enum.FormFactor.Custom
- o16.Size = Vector3.new(1, 1, 2)
- o16.CFrame = CFrame.new(-98.9021912, 4.64038944, -2.87520266, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o16.BottomSurface = Enum.SurfaceType.Smooth
- o16.TopSurface = Enum.SurfaceType.Smooth
- o16.Color = Color3.new(1, 1, 1)
- o16.Position = Vector3.new(-98.9021912, 4.64038944, -2.87520266)
- o17.Parent = o16
- o17.C0 = CFrame.new(2.5, 0, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o17.Part0 = o19
- o17.Part1 = o16
- o18.Name = "WheelWeld"
- o18.Parent = o16
- o18.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o18.Part0 = o16
- o18.Part1 = mas
- o19.Name = "Chassis"
- o19.Parent = o1
- o19.BrickColor = BrickColor.new("Institutional white")
- o19.Position = Vector3.new(-95.4021606, 4.64078712, -5.37522459)
- o19.Rotation = Vector3.new(0.00999999978, -90, 0)
- o19.FormFactor = Enum.FormFactor.Custom
- o19.Size = Vector3.new(4, 1, 10)
- o19.CFrame = CFrame.new(-95.4021606, 4.64078712, -5.37522459, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o19.BottomSurface = Enum.SurfaceType.Smooth
- o19.TopSurface = Enum.SurfaceType.Smooth
- o19.Color = Color3.new(1, 1, 1)
- o19.Position = Vector3.new(-95.4021606, 4.64078712, -5.37522459)
- o20.Name = "Chassis-to-DriveSeat Strong Joint"
- o20.Parent = o19
- o20.C0 = CFrame.new(-2, 0.5, 5, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o20.C1 = CFrame.new(-2, -0.0999660492, 4.6000061, -1, -1.142093e-08, -1.2423443e-06, -1.2423443e-06, 1.00420866e-05, 1, -1.14084546e-08, 1, -1.00420866e-05)
- o20.Part0 = o19
- o20.Part1 = o89
- o21.Parent = o19
- o22.Parent = o19
- o22.maxTorque = Vector3.new(0, 0, 0)
- o22.MaxTorque = Vector3.new(0, 0, 0)
- o23.Name = "Chassis-to-Part Strong Joint"
- o23.Parent = o19
- o23.C0 = CFrame.new(-2, -0.5, 5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o23.C1 = CFrame.new(-1.99993896, -1.74999809, -0.25, 1, 4.10487968e-13, 1.99786854e-11, 4.09731737e-13, 1, -3.67035682e-08, 1.99786854e-11, -3.67035682e-08, 1)
- o23.Part0 = o19
- o23.Part1 = o37
- o24.Parent = o1
- o24.BrickColor = BrickColor.new("Institutional white")
- o24.Position = Vector3.new(-98.9022141, 5.89071131, -5.37506294)
- o24.Rotation = Vector3.new(0.00999999978, -90, 0)
- o24.FormFactor = Enum.FormFactor.Custom
- o24.Size = Vector3.new(4, 1.5, 3)
- o24.CFrame = CFrame.new(-98.9022141, 5.89071131, -5.37506294, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o24.BottomSurface = Enum.SurfaceType.Smooth
- o24.TopSurface = Enum.SurfaceType.Smooth
- o24.Color = Color3.new(1, 1, 1)
- o24.Position = Vector3.new(-98.9022141, 5.89071131, -5.37506294)
- o25.Parent = o24
- o25.C0 = CFrame.new(0, 1.25, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o25.Part0 = o19
- o25.Part1 = o24
- o26.Name = "Part-to-Part Strong Joint"
- o26.Parent = o24
- o26.C0 = CFrame.new(-2, -0.75, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o26.C1 = CFrame.new(-1.99996948, -0.749999046, -0.25, 1, 4.10347076e-13, 1.33191236e-11, 4.09968961e-13, 1, -2.44690455e-08, 1.33191236e-11, -2.44690455e-08, 1)
- o26.Part0 = o24
- o26.Part1 = o37
- o28.Parent = mas
- o28.C0 = CFrame.new(-2.25, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o28.Part0 = o19
- o28.Part1 = mas
- o30.Parent = mas
- o30.C0 = CFrame.new(2.25, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o30.Part0 = o19
- o30.Part1 = mas
- o31.Name = "Thruster"
- o31.Parent = o1
- o31.BrickColor = BrickColor.new("Institutional white")
- o31.Transparency = 1
- o31.Position = Vector3.new(-98.9021912, 4.6410327, -7.87524462)
- o31.Rotation = Vector3.new(0.00999999978, -90, 0)
- o31.CanCollide = false
- o31.FormFactor = Enum.FormFactor.Custom
- o31.Size = Vector3.new(1, 1, 2)
- o31.CFrame = CFrame.new(-98.9021912, 4.6410327, -7.87524462, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o31.BottomSurface = Enum.SurfaceType.Smooth
- o31.TopSurface = Enum.SurfaceType.Smooth
- o31.Color = Color3.new(1, 1, 1)
- o31.Position = Vector3.new(-98.9021912, 4.6410327, -7.87524462)
- o32.Parent = o31
- o32.C0 = CFrame.new(-2.5, 0, 3.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o32.Part0 = o19
- o32.Part1 = o31
- o33.Name = "WheelWeld"
- o33.Parent = o31
- o33.C0 = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o33.Part0 = o31
- o33.Part1 = mas
- o35.Parent = mas
- o35.C0 = CFrame.new(-2.25, 1.25000048, 3.75, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o35.Part0 = o19
- o35.Part1 = mas
- o36.Name = "Union-to-Part Strong Joint"
- o36.Parent = mas
- o36.C0 = CFrame.new(0.250000417, -1.25000048, 1.75000012, 0, 0, 1, 0, 1, -0, -1, 0, 0)
- o36.C1 = CFrame.new(-1.99993896, -1.24999714, 0.25, -2.66382472e-11, 4.10628833e-13, 1, 4.89380909e-08, 1, 4.09494487e-13, -1, -4.89380909e-08, 2.66382472e-11)
- o36.Part0 = mas
- o36.Part1 = o37
- o37.Parent = o1
- o37.BrickColor = BrickColor.new("Institutional white")
- o37.Position = Vector3.new(-100.652229, 5.89067125, -5.3751235)
- o37.Rotation = Vector3.new(0.00999999978, -90, 0)
- o37.FormFactor = Enum.FormFactor.Custom
- o37.Size = Vector3.new(4, 2.5, 0.5)
- o37.CFrame = CFrame.new(-100.652229, 5.89067125, -5.3751235, -2.86867333e-07, -2.05800061e-05, -1.00000834, -0.0001286724, 1, -2.17420857e-05, 1.00000834, 0.000128673739, 2.57060293e-07)
- o37.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- o37.BottomSurface = Enum.SurfaceType.Smooth
- o37.TopSurface = Enum.SurfaceType.Smooth
- o37.Color = Color3.new(1, 1, 1)
- o37.Position = Vector3.new(-100.652229, 5.89067125, -5.3751235)
- o38.Parent = o1
- o38.BrickColor = BrickColor.new("Institutional white")
- o38.Position = Vector3.new(-100.652199, 4.39067316, -5.37525558)
- o38.Rotation = Vector3.new(0.00999999978, -90, 0)
- o38.FormFactor = Enum.FormFactor.Custom
- o38.Size = Vector3.new(5, 0.5, 0.5)
- o38.CFrame = CFrame.new(-100.652199, 4.39067316, -5.37525558, -2.86847353e-07, -2.06167097e-05, -1.00000834, -0.0001286724, 1, -2.17053821e-05, 1.00000834, 0.000128673739, 2.57045031e-07)
- o38.BottomSurface = Enum.SurfaceType.Smooth
- o38.TopSurface = Enum.SurfaceType.Smooth
- o38.Color = Color3.new(1, 1, 1)
- o38.Position = Vector3.new(-100.652199, 4.39067316, -5.37525558)
- o39.Parent = o38
- o39.C0 = CFrame.new(0, -0.25, 5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o39.Part0 = o19
- o39.Part1 = o38
- o40.Name = "Part-to-Part Strong Joint"
- o40.Parent = o38
- o40.C0 = CFrame.new(-2.5, 0.25, 0.25, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- o40.C1 = CFrame.new(-2.49996948, -1.24999809, 0.25, -1, 1.99786854e-11, 4.10487968e-13, -4.09731737e-13, -3.67035682e-08, 1, -1.99786854e-11, 1, -3.67035682e-08)
- o40.Part0 = o38
- o40.Part1 = o37
- o42.Parent = mas
- o42.C0 = CFrame.new(-1.90734863e-06, 3.62779188, -1.35728073, -1, 0, 0, 0, 0.970142543, 0.242535442, 0, 0.242535442, -0.970142543)
- o42.Part0 = o19
- o42.Part1 = mas
- o44.Parent = mas
- o44.Transparency = 0.5
- o44.Texture = "http://www.roblox.com/asset/?id=259149256"
- o44.Face = Enum.NormalId.Top
- o44.StudsPerTileU = 3
- o44.StudsPerTileV = 3
- o45.Parent = mas
- o45.Transparency = 0.5
- o45.Texture = "http://www.roblox.com/asset/?id=259149256"
- o45.StudsPerTileU = 3
- o45.StudsPerTileV = 3
- o46.Parent = mas
- o46.Transparency = 0.5
- o46.Texture = "http://www.roblox.com/asset/?id=259149256"
- o46.Face = Enum.NormalId.Back
- o46.StudsPerTileU = 3
- o46.StudsPerTileV = 3
- o47.Parent = mas
- o47.Transparency = 0.5
- o47.Texture = "http://www.roblox.com/asset/?id=259149256"
- o47.Face = Enum.NormalId.Bottom
- o47.StudsPerTileU = 3
- o47.StudsPerTileV = 3
- o48.Parent = mas
- o48.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- o48.Rotation = NumberRange.new(0,360)
- o48.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- o48.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- o48.Enabled = false
- o48.LightEmission = 0.20000000298023
- o48.Texture = "rbxassetid://287259619"
- o48.Acceleration = Vector3.new(0, -5, 0)
- o48.Lifetime = NumberRange.new(0.80000001192093,1.2000000476837)
- o48.Rate = 50
- o48.RotSpeed = NumberRange.new(-200,200)
- o48.Speed = NumberRange.new(0,0)
- o48.VelocitySpread = 40
- o49.Name = "BackLeftWheel-to-Part Strong Joint"
- o49.Parent = mas
- o49.C0 = CFrame.new(-0.75, -1.5, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o49.C1 = CFrame.new(-3.24990845, -3.74999619, -0.25, 1, 4.10628833e-13, 2.66382472e-11, 4.09494487e-13, 1, -4.89380909e-08, 2.66382472e-11, -4.89380909e-08, 1)
- o49.Part0 = mas
- o49.Part1 = o37
- o50.Name = "Light"
- o50.Parent = o1
- o50.BrickColor = BrickColor.new("Institutional white")
- o50.Position = Vector3.new(-90.0521469, 6.14071035, -3.8750205)
- o50.Rotation = Vector3.new(-44.9900017, -90, 0)
- o50.FormFactor = Enum.FormFactor.Custom
- o50.Size = Vector3.new(1, 1, 0.5)
- o50.CFrame = CFrame.new(-90.0521469, 6.14071035, -3.8750205, -1.48057388e-05, -1.44349951e-05, -1.00000834, 0.707015812, 0.707197726, -2.17649958e-05, 0.707203627, -0.707021713, 2.81729399e-07)
- o50.BottomSurface = Enum.SurfaceType.Smooth
- o50.TopSurface = Enum.SurfaceType.Smooth
- o50.Color = Color3.new(1, 1, 1)
- o50.Position = Vector3.new(-90.0521469, 6.14071035, -3.8750205)
- o51.Parent = o50
- o51.CanvasSize = Vector2.new(100, 100)
- o52.Parent = o51
- o52.Position = UDim2.new(0.10000000149012,0,0.10000000149012,0)
- o52.Size = UDim2.new(0.80000001192093,0,0.80000001192093,0)
- o52.Position = UDim2.new(0.10000000149012,0,0.10000000149012,0)
- o52.BackgroundColor3 = Color3.new(1, 1, 1)
- o52.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o52.BorderSizePixel = 0
- o53.Parent = o50
- o53.Brightness = 0.5
- o53.Range = 32
- o53.Angle = 60
- o54.Parent = o50
- o54.C0 = CFrame.new(1.5, 1.5, -5.35000038, 0.707106769, -0.707106769, 2.46918255e-08, 0.707106769, 0.707106769, -5.96113381e-08, 2.46918255e-08, 5.96113381e-08, 1)
- o54.Part0 = o19
- o54.Part1 = o50
- o55.Name = "Light"
- o55.Parent = o1
- o55.BrickColor = BrickColor.new("Institutional white")
- o55.Position = Vector3.new(-90.0521469, 6.14109612, -6.87504578)
- o55.Rotation = Vector3.new(-44.9900017, -90, 0)
- o55.FormFactor = Enum.FormFactor.Custom
- o55.Size = Vector3.new(1, 1, 0.5)
- o55.CFrame = CFrame.new(-90.0521469, 6.14109612, -6.87504578, -1.47527098e-05, -1.43069728e-05, -1.00000834, 0.707015812, 0.707197726, -2.16369681e-05, 0.707203627, -0.707021713, 2.28717141e-07)
- o55.BottomSurface = Enum.SurfaceType.Smooth
- o55.TopSurface = Enum.SurfaceType.Smooth
- o55.Color = Color3.new(1, 1, 1)
- o55.Position = Vector3.new(-90.0521469, 6.14109612, -6.87504578)
- o56.Parent = o55
- o56.CanvasSize = Vector2.new(100, 100)
- o57.Parent = o56
- o57.Position = UDim2.new(0.10000000149012,0,0.10000000149012,0)
- o57.Size = UDim2.new(0.80000001192093,0,0.80000001192093,0)
- o57.Position = UDim2.new(0.10000000149012,0,0.10000000149012,0)
- o57.BackgroundColor3 = Color3.new(1, 1, 1)
- o57.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- o57.BorderSizePixel = 0
- o58.Parent = o55
- o58.Brightness = 0.5
- o58.Range = 32
- o58.Angle = 60
- o59.Parent = o55
- o59.C0 = CFrame.new(-1.5, 1.5, -5.35000038, 0.707106769, -0.707106769, -2.83364479e-08, 0.707106769, 0.707106769, 6.84102304e-08, -2.83364479e-08, -6.84102304e-08, 1)
- o59.Part0 = o19
- o59.Part1 = o55
- o60.Name = "Configurations"
- o60.Parent = o1
- o61.Name = "Bounce"
- o61.Parent = o60
- o61.Value = 100
- o62.Name = "Height"
- o62.Parent = o60
- o62.Value = 3
- o63.Name = "Speed"
- o63.Parent = o60
- o63.Value = 80
- o64.Name = "Suspension"
- o64.Parent = o60
- o64.Value = 4
- o65.Name = "TurnSpeed"
- o65.Parent = o60
- o65.Value = 2
- o66.Name = "CarScript"
- o66.Parent = o1
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --Scripted by DermonDarble
- local car = script.Parent
- local stats = car.Configurations
- local Raycast = require(script.RaycastModule)
- local mass = 0
- for i, v in pairs(car:GetChildren()) do
- if v:IsA("BasePart") then
- mass = mass + (v:GetMass() * 196.2)
- end
- end
- local bodyPosition = car.Chassis.BodyPosition
- local bodyGyro = car.Chassis.BodyGyro
- --local bodyPosition = Instance.new("BodyPosition", car.Chassis)
- --bodyPosition.MaxForce = Vector3.new()
- --local bodyGyro = Instance.new("BodyGyro", car.Chassis)
- --bodyGyro.MaxTorque = Vector3.new()
- local function UpdateThruster(thruster)
- -- Raycasting
- local hit, position = Raycast.new(thruster.Position, thruster.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * stats.Height.Value) --game.Workspace:FindPartOnRay(ray, car)
- local thrusterHeight = (position - thruster.Position).magnitude
- -- Wheel
- local wheelWeld = thruster:FindFirstChild("WheelWeld")
- wheelWeld.C0 = CFrame.new(0, -math.min(thrusterHeight, stats.Height.Value * 0.8) + (wheelWeld.Part1.Size.Y / 2), 0)
- -- Wheel turning
- local offset = car.Chassis.CFrame:inverse() * thruster.CFrame
- local speed = car.Chassis.CFrame:vectorToObjectSpace(car.Chassis.Velocity)
- if offset.Z < 0 then
- local direction = 1
- if speed.Z > 0 then
- direction = -1
- end
- wheelWeld.C0 = wheelWeld.C0 * CFrame.Angles(0, (car.Chassis.RotVelocity.Y / 2) * direction, 0)
- end
- -- Particles
- if hit and thruster.Velocity.magnitude >= 5 then
- wheelWeld.Part1.ParticleEmitter.Enabled = true
- else
- wheelWeld.Part1.ParticleEmitter.Enabled = false
- end
- end
- car.DriveSeat.Changed:connect(function(property)
- if property == "Occupant" then
- if car.DriveSeat.Occupant then
- car.EngineBlock.Running.Pitch = 1
- car.EngineBlock.Running:Play()
- local player = game.Players:GetPlayerFromCharacter(car.DriveSeat.Occupant.Parent)
- if player then
- car.DriveSeat:SetNetworkOwner(player)
- local localCarScript = script.LocalCarScript:Clone()
- localCarScript.Parent = player.PlayerGui
- localCarScript.Car.Value = car
- localCarScript.Disabled = false
- end
- else
- car.EngineBlock.Running:Stop()
- end
- end
- end)
- --spawn(function()
- while true do
- game:GetService("RunService").Stepped:wait()
- for i, part in pairs(car:GetChildren()) do
- if part.Name == "Thruster" then
- UpdateThruster(part)
- end
- end
- if car.DriveSeat.Occupant then
- local ratio = car.DriveSeat.Velocity.magnitude / stats.Speed.Value
- car.EngineBlock.Running.Pitch = 1 + ratio / 4
- bodyPosition.MaxForce = Vector3.new()
- bodyGyro.MaxTorque = Vector3.new()
- else
- local hit, position, normal = Raycast.new(car.Chassis.Position, car.Chassis.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * stats.Height.Value)
- if hit and hit.CanCollide then
- bodyPosition.MaxForce = Vector3.new(mass / 5, math.huge, mass / 5)
- bodyPosition.Position = (CFrame.new(position, position + normal) * CFrame.new(0, 0, -stats.Height.Value + 0.5)).p
- bodyGyro.MaxTorque = Vector3.new(math.huge, 0, math.huge)
- bodyGyro.CFrame = CFrame.new(position, position + normal) * CFrame.Angles(-math.pi/2, 0, 0)
- else
- bodyPosition.MaxForce = Vector3.new()
- bodyGyro.MaxTorque = Vector3.new()
- end
- end
- end
- --end)
- end,o66)
- end))
- o67.Name = "LocalCarScript"
- o67.Parent = o66
- o67.Disabled = true
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- --local camera = game.Workspace.CurrentCamera
- local player = game.Players.LocalPlayer
- local character = player.Character
- local humanoidRootPart = character.HumanoidRootPart
- local car = script:WaitForChild("Car").Value
- local stats = car:WaitForChild("Configurations")
- local Raycast = require(car.CarScript.RaycastModule)
- --local cameraType = Enum.CameraType.Follow
- local movement = Vector2.new()
- local gamepadDeadzone = 0.14
- car.DriveSeat.Changed:connect(function(property)
- if property == "Steer" then
- movement = Vector2.new(car.DriveSeat.Steer, movement.Y)
- elseif property == "Throttle" then
- movement = Vector2.new(movement.X, car.DriveSeat.Throttle)
- end
- end)
- -- Input begin
- --game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
- -- if not gameProcessedEvent then
- -- if inputObject.KeyCode == Enum.KeyCode.W then
- -- movement = Vector2.new(movement.X, 1)
- -- elseif inputObject.KeyCode == Enum.KeyCode.A then
- -- movement = Vector2.new(-1, movement.Y)
- -- elseif inputObject.KeyCode == Enum.KeyCode.S then
- -- movement = Vector2.new(movement.X, -1)
- -- elseif inputObject.KeyCode == Enum.KeyCode.D then
- -- movement = Vector2.new(1, movement.Y)
- -- end
- -- end
- --end)
- --
- --game:GetService("UserInputService").InputChanged:connect(function(inputObject, gameProcessedEvent)
- -- --if not gameProcessedEvent then
- -- if inputObject.KeyCode == Enum.KeyCode.Thumbstick1 then
- -- --Gamepad support because yay
- -- if inputObject.Position.magnitude >= gamepadDeadzone then
- -- movement = Vector2.new(movement.X, inputObject.Position.Y)
- -- else
- -- movement = Vector2.new(movement.X, 0)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.Thumbstick2 then
- -- if inputObject.Position.magnitude >= gamepadDeadzone then
- -- movement = Vector2.new(inputObject.Position.X, movement.Y)
- -- else
- -- movement = Vector2.new(0, movement.Y)
- -- end
- -- end
- -- --end
- --end)
- --
- ---- Input end
- --game:GetService("UserInputService").InputEnded:connect(function(inputObject, gameProcessedEvent)
- -- if inputObject.KeyCode == Enum.KeyCode.W then
- -- if movement.Y == 1 then
- -- movement = Vector2.new(movement.X, 0)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.A then
- -- if movement.X == -1 then
- -- movement = Vector2.new(0, movement.Y)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.S then
- -- if movement.Y == -1 then
- -- movement = Vector2.new(movement.X, 0)
- -- end
- -- elseif inputObject.KeyCode == Enum.KeyCode.D then
- -- if movement.X == 1 then
- -- movement = Vector2.new(0, movement.Y)
- -- end
- -- end
- --end)
- local force = 0
- local damping = 0
- local mass = 0
- for i, v in pairs(car:GetChildren()) do
- if v:IsA("BasePart") then
- mass = mass + (v:GetMass() * 196.2)
- end
- end
- force = mass * stats.Suspension.Value
- damping = force / stats.Bounce.Value
- local bodyVelocity = Instance.new("BodyVelocity", car.Chassis)
- bodyVelocity.velocity = Vector3.new(0, 0, 0)
- bodyVelocity.maxForce = Vector3.new(0, 0, 0)
- local bodyAngularVelocity = Instance.new("BodyAngularVelocity", car.Chassis)
- bodyAngularVelocity.angularvelocity = Vector3.new(0, 0, 0)
- bodyAngularVelocity.maxTorque = Vector3.new(0, 0, 0)
- local rotation = 0
- local function UpdateThruster(thruster)
- --Make sure we have a bodythrust to move the wheel
- local bodyThrust = thruster:FindFirstChild("BodyThrust")
- if not bodyThrust then
- bodyThrust = Instance.new("BodyThrust", thruster)
- end
- --Do some raycasting to get the height of the wheel
- local hit, position = Raycast.new(thruster.Position, thruster.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * stats.Height.Value)
- local thrusterHeight = (position - thruster.Position).magnitude
- if hit and hit.CanCollide then
- --If we're on the ground, apply some forces to push the wheel up
- bodyThrust.force = Vector3.new(0, ((stats.Height.Value - thrusterHeight)^2) * (force / stats.Height.Value^2), 0)
- local thrusterDamping = thruster.CFrame:toObjectSpace(CFrame.new(thruster.Velocity + thruster.Position)).p * damping
- bodyThrust.force = bodyThrust.force - Vector3.new(0, thrusterDamping.Y, 0)
- else
- bodyThrust.force = Vector3.new(0, 0, 0)
- end
- --Wheels
- local wheelWeld = thruster:FindFirstChild("WheelWeld")
- if wheelWeld then
- wheelWeld.C0 = CFrame.new(0, -math.min(thrusterHeight, stats.Height.Value * 0.8) + (wheelWeld.Part1.Size.Y / 2), 0)
- -- Wheel turning
- local offset = car.Chassis.CFrame:inverse() * thruster.CFrame
- local speed = car.Chassis.CFrame:vectorToObjectSpace(car.Chassis.Velocity)
- if offset.Z < 0 then
- local direction = 1
- if speed.Z > 0 then
- direction = -1
- end
- wheelWeld.C0 = wheelWeld.C0 * CFrame.Angles(0, (car.Chassis.RotVelocity.Y / 2) * direction, 0)
- end
- wheelWeld.C0 = wheelWeld.C0 * CFrame.Angles(rotation, 0, 0)
- end
- end
- --A simple function to check if the car is grounded
- local function IsGrounded()
- local hit, position = Raycast.new((car.Chassis.CFrame * CFrame.new(0, 0, (car.Chassis.Size.Z / 2) - 1)).p, car.Chassis.CFrame:vectorToWorldSpace(Vector3.new(0, -1, 0)) * (stats.Height.Value + 0.2))
- if hit and hit.CanCollide then
- return(true)
- end
- return(false)
- end
- --local oldCameraType = camera.CameraType
- --camera.CameraType = cameraType
- --spawn(function()
- while game:GetService("RunService").Heartbeat:wait() and car:FindFirstChild("DriveSeat") and character.Humanoid.SeatPart == car.DriveSeat do
- --game:GetService("RunService").RenderStepped:wait()
- if IsGrounded() then
- if movement.Y ~= 0 then
- local velocity = humanoidRootPart.CFrame.lookVector * movement.Y * stats.Speed.Value
- humanoidRootPart.Velocity = humanoidRootPart.Velocity:Lerp(velocity, 0.1)
- bodyVelocity.maxForce = Vector3.new(0, 0, 0)
- else
- bodyVelocity.maxForce = Vector3.new(mass / 2, mass / 4, mass / 2)
- end
- local rotVelocity = humanoidRootPart.CFrame:vectorToWorldSpace(Vector3.new(movement.Y * stats.Speed.Value / 50, 0, -humanoidRootPart.RotVelocity.Y * 5 * movement.Y))
- local speed = -humanoidRootPart.CFrame:vectorToObjectSpace(humanoidRootPart.Velocity).unit.Z
- rotation = rotation + math.rad((-stats.Speed.Value / 5) * movement.Y)
- if math.abs(speed) > 0.1 then
- rotVelocity = rotVelocity + humanoidRootPart.CFrame:vectorToWorldSpace((Vector3.new(0, -movement.X * speed * stats.TurnSpeed.Value, 0)))
- bodyAngularVelocity.maxTorque = Vector3.new(0, 0, 0)
- else
- bodyAngularVelocity.maxTorque = Vector3.new(mass / 4, mass / 2, mass / 4)
- end
- humanoidRootPart.RotVelocity = humanoidRootPart.RotVelocity:Lerp(rotVelocity, 0.1)
- --bodyVelocity.maxForce = Vector3.new(mass / 3, mass / 6, mass / 3)
- --bodyAngularVelocity.maxTorque = Vector3.new(mass / 6, mass / 3, mass / 6)
- else
- bodyVelocity.maxForce = Vector3.new(0, 0, 0)
- bodyAngularVelocity.maxTorque = Vector3.new(0, 0, 0)
- end
- for i, part in pairs(car:GetChildren()) do
- if part.Name == "Thruster" then
- UpdateThruster(part)
- end
- end
- end
- for i, v in pairs(car:GetChildren()) do
- if v:FindFirstChild("BodyThrust") then
- v.BodyThrust:Destroy()
- end
- end
- bodyVelocity:Destroy()
- bodyAngularVelocity:Destroy()
- --camera.CameraType = oldCameraType
- script:Destroy()
- --end)
- end,o67)
- end))
- o68.Name = "Car"
- o68.Parent = o67
- o71.Parent = mas
- o71.Transparency = 0.5
- o71.Texture = "http://www.roblox.com/asset/?id=259149256"
- o71.Face = Enum.NormalId.Top
- o71.StudsPerTileU = 3
- o71.StudsPerTileV = 3
- o72.Parent = mas
- o72.Transparency = 0.5
- o72.Texture = "http://www.roblox.com/asset/?id=259149256"
- o72.StudsPerTileU = 3
- o72.StudsPerTileV = 3
- o73.Parent = mas
- o73.Transparency = 0.5
- o73.Texture = "http://www.roblox.com/asset/?id=259149256"
- o73.Face = Enum.NormalId.Back
- o73.StudsPerTileU = 3
- o73.StudsPerTileV = 3
- o74.Parent = mas
- o74.Transparency = 0.5
- o74.Texture = "http://www.roblox.com/asset/?id=259149256"
- o74.Face = Enum.NormalId.Bottom
- o74.StudsPerTileU = 3
- o74.StudsPerTileV = 3
- o75.Parent = mas
- o75.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- o75.Rotation = NumberRange.new(0,360)
- o75.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- o75.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- o75.Enabled = false
- o75.LightEmission = 0.20000000298023
- o75.Texture = "rbxassetid://287259619"
- o75.Acceleration = Vector3.new(0, -5, 0)
- o75.Lifetime = NumberRange.new(0.80000001192093,1.2000000476837)
- o75.Rate = 50
- o75.RotSpeed = NumberRange.new(-200,200)
- o75.Speed = NumberRange.new(0,0)
- o75.VelocitySpread = 40
- o77.Parent = mas
- o77.Transparency = 0.5
- o77.Texture = "http://www.roblox.com/asset/?id=259149256"
- o77.Face = Enum.NormalId.Top
- o77.StudsPerTileU = 3
- o77.StudsPerTileV = 3
- o78.Parent = mas
- o78.Transparency = 0.5
- o78.Texture = "http://www.roblox.com/asset/?id=259149256"
- o78.StudsPerTileU = 3
- o78.StudsPerTileV = 3
- o79.Parent = mas
- o79.Transparency = 0.5
- o79.Texture = "http://www.roblox.com/asset/?id=259149256"
- o79.Face = Enum.NormalId.Back
- o79.StudsPerTileU = 3
- o79.StudsPerTileV = 3
- o80.Parent = mas
- o80.Transparency = 0.5
- o80.Texture = "http://www.roblox.com/asset/?id=259149256"
- o80.Face = Enum.NormalId.Bottom
- o80.StudsPerTileU = 3
- o80.StudsPerTileV = 3
- o81.Parent = mas
- o81.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- o81.Rotation = NumberRange.new(0,360)
- o81.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- o81.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- o81.Enabled = false
- o81.LightEmission = 0.20000000298023
- o81.Texture = "rbxassetid://287259619"
- o81.Acceleration = Vector3.new(0, -5, 0)
- o81.Lifetime = NumberRange.new(0.80000001192093,1.2000000476837)
- o81.Rate = 50
- o81.RotSpeed = NumberRange.new(-200,200)
- o81.Speed = NumberRange.new(0,0)
- o81.VelocitySpread = 40
- o82.Name = "BackRightWheel-to-Part Strong Joint"
- o82.Parent = mas
- o82.C0 = CFrame.new(-0.75, -1.5, 1.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o82.C1 = CFrame.new(1.75003052, -3.75, -0.25, 1, 4.10206211e-13, 6.65956179e-12, 4.10206211e-13, 1, -1.22345227e-08, 6.65956179e-12, -1.22345227e-08, 1)
- o82.Part0 = mas
- o82.Part1 = o37
- o84.Parent = mas
- o84.Transparency = 0.5
- o84.Texture = "http://www.roblox.com/asset/?id=259149256"
- o84.Face = Enum.NormalId.Top
- o84.StudsPerTileU = 3
- o84.StudsPerTileV = 3
- o85.Parent = mas
- o85.Transparency = 0.5
- o85.Texture = "http://www.roblox.com/asset/?id=259149256"
- o85.StudsPerTileU = 3
- o85.StudsPerTileV = 3
- o86.Parent = mas
- o86.Transparency = 0.5
- o86.Texture = "http://www.roblox.com/asset/?id=259149256"
- o86.Face = Enum.NormalId.Back
- o86.StudsPerTileU = 3
- o86.StudsPerTileV = 3
- o87.Parent = mas
- o87.Transparency = 0.5
- o87.Texture = "http://www.roblox.com/asset/?id=259149256"
- o87.Face = Enum.NormalId.Bottom
- o87.StudsPerTileU = 3
- o87.StudsPerTileV = 3
- o88.Parent = mas
- o88.Transparency = NumberSequence.new(1,0.80000001192093,0.66874998807907,0.67500001192093,0.8125,1)
- o88.Rotation = NumberRange.new(0,360)
- o88.Size = NumberSequence.new(0,0.53763401508331,0.80645102262497,0.91397798061371)
- o88.Color = ColorSequence.new(Color3.new(0.121569, 0.121569, 0.121569),Color3.new(0.121569, 0.121569, 0.121569))
- o88.Enabled = false
- o88.LightEmission = 0.20000000298023
- o88.Texture = "rbxassetid://287259619"
- o88.Acceleration = Vector3.new(0, -5, 0)
- o88.Lifetime = NumberRange.new(0.80000001192093,1.2000000476837)
- o88.Rate = 50
- o88.RotSpeed = NumberRange.new(-200,200)
- o88.Speed = NumberRange.new(0,0)
- o88.VelocitySpread = 40
- o89.Name = "DriveSeat"
- o89.Parent = o1
- o89.BrickColor = BrickColor.new("Institutional white")
- o89.Position = Vector3.new(-95.8021698, 5.24078846, -5.37514734)
- o89.Rotation = Vector3.new(0.00999999978, -90, 0)
- o89.Size = Vector3.new(2, 0.200000003, 2)
- o89.CFrame = CFrame.new(-95.8021698, 5.24078846, -5.37514734, -2.75400708e-07, -3.06588809e-05, -1.00000834, -0.000129914741, 1, -3.17474696e-05, 1.00000834, 0.000129916094, 2.67161425e-07)
- o89.TopSurface = Enum.SurfaceType.Smooth
- o89.Color = Color3.new(1, 1, 1)
- o89.Position = Vector3.new(-95.8021698, 5.24078846, -5.37514734)
- o90.Name = "Snas"
- o90.Parent = o1
- o90.BrickColor = BrickColor.new("Institutional white")
- o90.Position = Vector3.new(-89.2642441, 5.96799755, -5.44099283)
- o90.Rotation = Vector3.new(0, -87.2300034, 0)
- o90.CanCollide = false
- o90.Size = Vector3.new(3.16999841, 2.61999774, 2.21000051)
- o90.CFrame = CFrame.new(-89.2642441, 5.96799755, -5.44099283, 0.0487278476, 1.96560723e-06, -0.998828769, 9.64708988e-08, 1, -2.07737685e-07, 0.998828709, -8.5687482e-08, 0.0487289354)
- o90.BottomSurface = Enum.SurfaceType.Smooth
- o90.TopSurface = Enum.SurfaceType.Smooth
- o90.Color = Color3.new(1, 1, 1)
- o90.Position = Vector3.new(-89.2642441, 5.96799755, -5.44099283)
- o91.Parent = o90
- o91.MeshId = "rbxassetid://430073345"
- o91.TextureId = "rbxassetid://430073362"
- o91.MeshType = Enum.MeshType.FileMesh
- o92.Parent = o90
- o92.C0 = CFrame.new(0, -0.25, 5.25, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- o93.Parent = o90
- o93.C0 = CFrame.new(0.789992809, -1.53996801, 1.53996801, -0, 0, 0.99999994, 0, 1, 0, -0.99999994, 0, -0)
- o93.C1 = CFrame.new(-1.82180977, -3.86690402, 3.59323883, 0.0487277359, 0.000127559426, 0.998820424, 2.25820932e-05, 1, -0.000128758358, -0.998820484, 2.77420258e-05, 0.0487282723)
- o93.Part0 = mas
- o93.Part1 = o90
- o94.Parent = o90
- o94.C0 = CFrame.new(-2.5, 0.25, 0.25, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- o94.C1 = CFrame.new(-2.48677921, -1.32677698, 1.01785278, -0.998820424, -0.0487277284, 0.000127559411, 0.000128758358, -2.25820913e-05, 1, -0.048728276, 0.998820484, 2.77420295e-05)
- o94.Part0 = o8
- o94.Part1 = o90
- o95.Name = "End life"
- o95.Parent = o90
- table.insert(cors,coroutine.create(function()
- wait()
- runDummyScript(function()
- script.Parent.Touched:Connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") then
- hit.Parent:BreakJoints()
- end
- end)
- end,o95)
- end))
- o96.Parent = o90
- o96.SoundId = "rbxassetid://358280695"
- o96.Volume = 5
- o96.Looped = true
- mas.Parent = workspace
- mas:MakeJoints()
- local mas1 = mas:GetChildren()
- for i=1,#mas1 do
- mas1[i].Parent = workspace
- ypcall(function() mas1[i]:MakeJoints() end)
- end
- mas:Destroy()
- for i=1,#cors do
- coroutine.resume(cors[i])
- end
Add Comment
Please, Sign In to add comment