Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
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") Folder2 = Instance.new("Folder") NumberValue3 = Instance.new("NumberValue") NumberValue4 = Instance.new("NumberValue") MeshPart5 = Instance.new("MeshPart") MeshPart6 = Instance.new("MeshPart") MeshPart7 = Instance.new("MeshPart") MeshPart8 = Instance.new("MeshPart") MeshPart9 = Instance.new("MeshPart") VehicleSeat10 = Instance.new("VehicleSeat") Sound11 = Instance.new("Sound") Sound12 = Instance.new("Sound") Script13 = Instance.new("Script") LocalScript14 = Instance.new("LocalScript") ObjectValue15 = Instance.new("ObjectValue") BodyAngularVelocity16 = Instance.new("BodyAngularVelocity") BodyGyro17 = Instance.new("BodyGyro") BodyVelocity18 = Instance.new("BodyVelocity") Script19 = Instance.new("Script") LocalScript20 = Instance.new("LocalScript") ModuleScript21 = Instance.new("ModuleScript") ScreenGui22 = Instance.new("ScreenGui") ObjectValue23 = Instance.new("ObjectValue") Frame24 = Instance.new("Frame") TextLabel25 = Instance.new("TextLabel") TextLabel26 = Instance.new("TextLabel") LocalScript27 = Instance.new("LocalScript") Frame28 = Instance.new("Frame") TextLabel29 = Instance.new("TextLabel") TextButton30 = Instance.new("TextButton") LocalScript31 = Instance.new("LocalScript") TextButton32 = Instance.new("TextButton") LocalScript33 = Instance.new("LocalScript") TextButton34 = Instance.new("TextButton") LocalScript35 = Instance.new("LocalScript") TextLabel36 = Instance.new("TextLabel") TextButton37 = Instance.new("TextButton") LocalScript38 = Instance.new("LocalScript") TextButton39 = Instance.new("TextButton") LocalScript40 = Instance.new("LocalScript") Script41 = Instance.new("Script") Script42 = Instance.new("Script") Part43 = Instance.new("Part") Part44 = Instance.new("Part") ManualWeld45 = Instance.new("ManualWeld") ManualWeld46 = Instance.new("ManualWeld") ManualWeld47 = Instance.new("ManualWeld") ManualWeld48 = Instance.new("ManualWeld") ManualWeld49 = Instance.new("ManualWeld") ManualWeld50 = Instance.new("ManualWeld") Configuration51 = Instance.new("Configuration") NumberValue52 = Instance.new("NumberValue") NumberValue53 = Instance.new("NumberValue") NumberValue54 = Instance.new("NumberValue") NumberValue55 = Instance.new("NumberValue") Part56 = Instance.new("Part") Trail57 = Instance.new("Trail") Model0.Name = "Tron" Model0.Parent = mas Model1.Parent = Model0 Folder2.Name = "Variables" Folder2.Parent = Model1 NumberValue3.Name = "Speed" NumberValue3.Parent = Folder2 NumberValue4.Name = "turnSpeed" NumberValue4.Parent = Folder2 MeshPart5.Parent = Model1 MeshPart5.CFrame = CFrame.new(-7.15604019, 5.47103691, -1.07553101, 3.12638804e-13, 0.104528531, -0.99452126, 0, 0.994521677, 0.104528576, 0.999999583, -3.28626015e-14, 3.12638804e-13) MeshPart5.Orientation = Vector3.new(-6, -90, 0) MeshPart5.Position = Vector3.new(-7.15604019, 5.47103691, -1.07553101) MeshPart5.Rotation = Vector3.new(-90, -84, -90) MeshPart5.Color = Color3.new(0.388235, 0.372549, 0.384314) MeshPart5.Size = Vector3.new(2.90573525, 1.0300386, 3.35822749) MeshPart5.Anchored = true MeshPart5.BrickColor = BrickColor.new("Dark stone grey") MeshPart5.Material = Enum.Material.SmoothPlastic MeshPart5.brickColor = BrickColor.new("Dark stone grey") MeshPart6.Parent = Model1 MeshPart6.CFrame = CFrame.new(-3.62510204, 7.81641388, -1.07467604, 2.34479103e-13, 0.765564382, -0.643345416, 6.7302355e-20, 0.643351197, 0.765571296, 0.999991, -1.77635684e-13, 1.52766688e-13) MeshPart6.Orientation = Vector3.new(-49.9599991, -90, 0) MeshPart6.Position = Vector3.new(-3.62510204, 7.81641388, -1.07467604) MeshPart6.Rotation = Vector3.new(-90, -40.0400009, -90) MeshPart6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) MeshPart6.Size = Vector3.new(1.13391185, 1.53102779, 2.73461723) MeshPart6.Anchored = true MeshPart6.BrickColor = BrickColor.new("Really black") MeshPart6.Material = Enum.Material.SmoothPlastic MeshPart6.brickColor = BrickColor.new("Really black") MeshPart7.Parent = Model1 MeshPart7.CFrame = CFrame.new(-9.85606003, 6.60482788, -1.07505, -3.12638804e-13, 0, -0.999999583, 0, -1, -0, -0.999999583, 0, 3.12638804e-13) MeshPart7.Orientation = Vector3.new(0, -90, 180) MeshPart7.Position = Vector3.new(-9.85606003, 6.60482788, -1.07505) MeshPart7.Rotation = Vector3.new(0, -89.9499969, -180) MeshPart7.Color = Color3.new(0.337255, 0.141176, 0.141176) MeshPart7.Size = Vector3.new(1.57169211, 0.735109806, 1.05706239) MeshPart7.Anchored = true MeshPart7.BrickColor = BrickColor.new("Cocoa") MeshPart7.Material = Enum.Material.Neon MeshPart7.brickColor = BrickColor.new("Cocoa") MeshPart8.Parent = Model1 MeshPart8.CFrame = CFrame.new(-5.36166382, 6.05028105, -1.08328199, -3.12638804e-13, 3.2187252e-20, -0.999999583, -1.02323895e-07, -0.999999523, 0, -0.999999106, 1.02323853e-07, 3.12638804e-13) MeshPart8.Orientation = Vector3.new(0, -90, -180) MeshPart8.Position = Vector3.new(-5.36166382, 6.05028105, -1.08328199) MeshPart8.Rotation = Vector3.new(0, -89.9499969, -180) MeshPart8.Color = Color3.new(1, 0.666667, 0) MeshPart8.Size = Vector3.new(1.81559074, 3.1242187, 10.873642) MeshPart8.Anchored = true MeshPart8.BrickColor = BrickColor.new("Deep orange") MeshPart8.Material = Enum.Material.Neon MeshPart8.brickColor = BrickColor.new("Deep orange") MeshPart9.Parent = Model1 MeshPart9.CFrame = CFrame.new(-5.35219193, 6.20050621, -1.075279, 9.1390838e-08, 0, 0.999999166, 0, 1, 0, -0.999999166, 0, 9.1390838e-08) MeshPart9.Orientation = Vector3.new(0, 90, 0) MeshPart9.Position = Vector3.new(-5.35219193, 6.20050621, -1.075279) MeshPart9.Rotation = Vector3.new(0, 89.9300003, 0) MeshPart9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) MeshPart9.Size = Vector3.new(1.85247803, 3.45957899, 10.8464804) MeshPart9.Anchored = true MeshPart9.BrickColor = BrickColor.new("Really black") MeshPart9.Material = Enum.Material.SmoothPlastic MeshPart9.brickColor = BrickColor.new("Really black") VehicleSeat10.Parent = Model1 VehicleSeat10.CFrame = CFrame.new(-6.32564211, 6.79579496, -1.00793505, -0.00378999859, 0.706787765, -0.707415581, 0.00378999859, 0.707425773, 0.706777513, 0.999985635, -2.41791054e-06, -0.00535986666) VehicleSeat10.Orientation = Vector3.new(-44.9700012, -90.4300003, 0.310000002) VehicleSeat10.Position = Vector3.new(-6.32564211, 6.79579496, -1.00793505) VehicleSeat10.Rotation = Vector3.new(-90.4300003, -45.0299988, -90.3099976) VehicleSeat10.Transparency = 1 VehicleSeat10.MaxSpeed = 10 VehicleSeat10.Size = Vector3.new(1.34000015, 0.200000003, 1) VehicleSeat10.Anchored = true VehicleSeat10.BottomSurface = Enum.SurfaceType.Smooth VehicleSeat10.TopSurface = Enum.SurfaceType.Smooth VehicleSeat10.HeadsUpDisplay = false Sound11.Name = "Boost" Sound11.Parent = VehicleSeat10 Sound11.SoundId = "rbxassetid://278445103" Sound11.Volume = 1 Sound12.Name = "Idle" Sound12.Parent = VehicleSeat10 Sound12.Looped = true Sound12.SoundId = "rbxassetid://229396691" Sound12.Volume = 1 Script13.Name = "LeanAnimator" Script13.Parent = VehicleSeat10 table.insert(cors,sandbox(Script13,function() script.Parent.ChildAdded:connect(function(child) if child:IsA("Weld") and game.Players:GetPlayerFromCharacter(child.Part1.Parent)~=nil then local P=game.Players:GetPlayerFromCharacter(child.Part1.Parent) local S=script.L:Clone() S.Parent=P.PlayerGui S.Seat.Value=script.Parent S.Disabled=false end end) end)) LocalScript14.Name = "L" LocalScript14.Parent = Script13 table.insert(cors,sandbox(LocalScript14,function() script:WaitForChild("Seat") local C=game.Players.LocalPlayer.Character local S=script.Seat.Value local A=C.Animate local WS={} local HW={} local LeanIn={ CFrame.new(0, 1.14900017, 0.258000016, 1, -3.31787385e-016, 1.88165849e-015, 2.97155396e-022, 0.98480773, 0.173648193, -1.9106861e-015, -0.173648193, 0.98480773), --Torso CFrame.new(0, 1.49988317, -0.000556647778, 1, -4.76759258e-023, -3.2423824e-023, 4.46686114e-023, 0.99619472, -0.087155737, 3.64556732e-023, 0.087155737, 0.99619472), --Head CFrame.new(-1.43356705, 0.265303612, -0.707622886, 0.987688363, -0.156433478, 3.03756634e-023, 0.050929904, 0.321556747, -0.945509553, 0.147911251, 0.933868766, 0.325564921), --Larm CFrame.new(1.43356705, 0.265304089, -0.707622886, 0.987688363, 0.156433567, 4.2382986e-008, -0.0509298891, 0.321556747, -0.945509553, -0.14791134, 0.933868766, 0.325564921), --Rarm CFrame.new(-0.96213913, -1.80122519, -1.02161586, 0.992545903, -0.120017275, -0.0211622044, 0.121405296, 0.988874793, 0.0858653039, 0.0106216175, -0.0877945423, 0.996074677), --Lleg CFrame.new(0.96213913, -1.80122495, -1.02161658, 0.992545903, 0.12001726, 0.0211623125, -0.121405274, 0.988874793, 0.0858654827, -0.0106217042, -0.0877947211, 0.996074677) --Rleg } local LeanRight={ CFrame.new(0.298854828, 1.12325048, 0.26254034, 0.99619472, 0.087155737, 2.78333623e-009, -0.0858316422, 0.981060266, 0.173647776, 0.0151344389, -0.172987416, 0.984805346), --Torso CFrame.new(-0.0914306641, 1.53194857, 0.0491700768, 0.862327278, -0.194353044, -0.467576951, 0.125371307, 0.976608455, -0.174722731, 0.49059394, 0.0920472369, 0.866515875), --Head CFrame.new(-1.48981094, 0.115443468, -0.842987239, 0.993704081, 0.0759108514, 0.0824074224, 0.0527767465, 0.331662595, -0.941921234, -0.0988332182, 0.940336347, 0.325567663), --Larm CFrame.new(1.29483414, 0.303791523, -0.511669457, 0.960572422, 0.273474187, 0.0501292087, -0.00622838736, 0.201421723, -0.979485035, -0.277960151, 0.940551579, 0.195182949), --Rarm CFrame.new(-1.11898804, -1.88069582, -1.00439596, 0.974427938, -0.223244309, -0.0255650152, 0.224480718, 0.972204685, 0.0665403977, 0.00999965332, -0.0705775172, 0.997453749), --Lleg CFrame.new(1.15502548, -1.77824378, -0.932802498, 0.927668929, 0.372922808, -0.0189763606, -0.372866631, 0.927862644, 0.00654045027, 0.0200464074, 0.00100833306, 0.999797344) --Rleg } local LeanLeft={ CFrame.new(-0.298854828, 1.12325048, 0.26254034, 0.99619472, -0.087155737, -2.783338e-009, 0.0858316422, 0.981060266, 0.173647776, -0.0151344389, -0.172987431, 0.984805346), --Torso CFrame.new(0.0914344788, 1.53194904, 0.0491700768, 0.862327337, 0.194353044, 0.467576921, -0.125371307, 0.976608455, -0.174722746, -0.49059394, 0.0920472294, 0.866515934), --Head CFrame.new(-1.29483414, 0.303792, -0.511669338, 0.960572362, -0.273474187, -0.0501292087, 0.00622837245, 0.201421723, -0.979485035, 0.277960181, 0.940551579, 0.195182949), --Larm CFrame.new(1.48981094, 0.115444183, -0.842987359, 0.993704081, -0.0759108514, -0.0824074224, -0.0527767465, 0.331662595, -0.941921234, 0.0988332108, 0.940336347, 0.325567663), --Rarm CFrame.new(-1.15502548, -1.77824354, -0.932802379, 0.927668929, -0.372922808, 0.0189763606, 0.37286666, 0.927862644, 0.00654044235, -0.0200464055, 0.00100832386, 0.999797344), --Lleg CFrame.new(1.11898804, -1.88069534, -1.00439596, 0.974427938, 0.223244309, 0.0255650133, -0.224480718, 0.972204685, 0.0665403903, -0.00999965239, -0.0705775023, 0.997453749) --Rleg } local Idle={ CFrame.new(0.566169739, 0.894453526, 0.302883625, 0.984807789, 0.173648164, -5.16676948e-007, -0.171010077, 0.96984601, 0.17364642, 0.030153539, -0.17101185, 0.984807968), --Torso CFrame.new(-0.138946533, 1.558671, -0.0179908276, 0.984807789, -0.172987387, 0.0151342805, 0.173648164, 0.981060147, -0.0858334228, -5.16676948e-007, 0.0871539414, 0.99619478), --Head CFrame.new(-1.59151077, 0.189359188, -0.726816714, 0.952456295, 0.258902967, 0.160618037, 0.0754599869, 0.310294151, -0.947641015, -0.295186609, 0.914704621, 0.276007742), --Larm CFrame.new(1.11422348, 0.44413662, -0.756388962, 0.885705829, 0.44919309, 0.117280558, 0.0694727823, 0.12153586, -0.990154266, -0.459024459, 0.885129809, 0.0764425397), --Rarm CFrame.new(-1.23868942, -1.78679085, -0.829940856, 0.956385612, -0.291406542, 0.0202232152, 0.291914225, 0.950942159, -0.10244558, 0.0106208036, 0.103877537, 0.99453336), --Lleg CFrame.new(1.40875244, -2.2126379, -0.607943952, 0.955117106, -0.284095228, 0.0839115456, 0.292021811, 0.950557053, -0.105662294, -0.0497459471, 0.125420481, 0.990855634) --Rleg } S.ChildRemoved:connect(function(child) if child.Name=="SeatWeld" then for i,v in pairs(WS) do if v~=0 then if v[4]~=nil then v[4]:Destroy() v[1].Part1=v[5] else if v[2]~=nil then v[1].C0=v[2] v[1].C1=v[3] else v[1]:Destroy() end end end end for i,v in pairs(HW) do v[1]:Destroy() v[2]:Destroy() v[3].Transparency=0 end A.Parent=C A.Disabled=false script:Destroy() end end) function MW(x,y) local WW=Instance.new("Weld",x) WW.Part0=x WW.Part1=y return WW end if C:FindFirstChild("HumanoidRootPart")~=nil and C:FindFirstChild("Torso")~=nil then A.Disabled=true A.Parent=script S.SeatWeld.C0=CFrame.new() S.SeatWeld.C1=CFrame.new() C.HumanoidRootPart.RootJoint.Part1=nil table.insert(WS,{C.HumanoidRootPart.RootJoint,C.HumanoidRootPart.RootJoint.C0,C.HumanoidRootPart.RootJoint.C1,MW(C.HumanoidRootPart,C.Torso),C.Torso}) if C.Torso:FindFirstChild("Neck")~=nil then local H=C.Head:Clone() H.Parent=S.Parent local WH=MW(C.Torso,H) WH.C0=C.Torso.Neck.C0 WH.C1=C.Torso.Neck.C0 C.Head.Transparency=1 table.insert(HW,{H,WH,C.Head}) table.insert(WS,{WH,nil,nil,nil,nil}) for i,v in pairs(C.Head:GetChildren()) do if v:IsA("Weld") then local pp=v.Part1:Clone() pp.Parent=S.Parent v.Part1.Transparency=1 local ww=MW(H,pp) ww.C0=v.C0 ww.C1=v.C1 table.insert(HW,{pp,ww,v.Part1}) end end else table.insert(WS,0) end if C.Torso:FindFirstChild("Left Shoulder")~=nil then C.Torso:FindFirstChild("Left Shoulder").Part1=nil table.insert(WS,{C.Torso:FindFirstChild("Left Shoulder"),C.Torso:FindFirstChild("Left Shoulder").C0,C.Torso:FindFirstChild("Left Shoulder").C1,MW(C.Torso,C:FindFirstChild("Left Arm")),C:FindFirstChild("Left Arm")}) else table.insert(WS,0) end if C.Torso:FindFirstChild("Right Shoulder")~=nil then C.Torso:FindFirstChild("Right Shoulder").Part1=nil table.insert(WS,{C.Torso:FindFirstChild("Right Shoulder"),C.Torso:FindFirstChild("Right Shoulder").C0,C.Torso:FindFirstChild("Right Shoulder").C1,MW(C.Torso,C:FindFirstChild("Right Arm")),C:FindFirstChild("Right Arm")}) else table.insert(WS,0) end if C.Torso:FindFirstChild("Left Hip")~=nil then C.Torso:FindFirstChild("Left Hip").Part1=nil table.insert(WS,{C.Torso:FindFirstChild("Left Hip"),C.Torso:FindFirstChild("Left Hip").C0,C.Torso:FindFirstChild("Left Hip").C1,MW(C.Torso,C:FindFirstChild("Left Leg")),C:FindFirstChild("Left Leg")}) else table.insert(WS,0) end if C.Torso:FindFirstChild("Right Hip")~=nil then C.Torso:FindFirstChild("Right Hip").Part1=nil table.insert(WS,{C.Torso:FindFirstChild("Right Hip"),C.Torso:FindFirstChild("Right Hip").C0,C.Torso:FindFirstChild("Right Hip").C1,MW(C.Torso,C:FindFirstChild("Right Leg")),C:FindFirstChild("Right Leg")}) else table.insert(WS,0) end end for i,v in pairs(WS) do if v[4]~=nil then v[4].C0=LeanIn[i] v[4].C1=CFrame.new() else v[1].C0=LeanIn[i] v[1].C1=CFrame.new() end end function getC(w,c) local ax,ay,az,ar00,ar01,ar02,ar10,ar11,ar12,ar20,ar21,ar22=CFrame.new().components(w.C0) local bx,by,bz,br00,br01,br02,br10,ar11,br12,br20,br21,br22=CFrame.new().components(c) local ca={ax,ay,az,ar00,ar01,ar02,ar10,ar11,ar12,ar20,ar21,ar22} local cb={bx,by,bz,br00,br01,br02,br10,ar11,br12,br20,br21,br22} local cd={} for i,v in pairs(ca) do table.insert(cd,(cb[i]-v)/10) end return cd end function tween(w,cd) local cx,cy,cz,cr00,cr01,cr02,cr10,cr11,cr12,cr20,cr21,cr22=CFrame.new().components(w.C0) local cc={cx,cy,cz,cr00,cr01,cr02,cr10,cr11,cr12,cr20,cr21,cr22} local ce={} for i,v in pairs(cc) do table.insert(ce,v+cd[i]) end w.C0=CFrame.new(ce[1],ce[2],ce[3],ce[4],ce[5],ce[6],ce[7],ce[8],ce[9],ce[10],ce[11],ce[12]) end function setPose(p) for i,v in pairs(WS) do if v[4]~=nil then tween(v[4],p[i]) else tween(v[1],p[i]) end end end function getPose(p) local ps={} for i,v in pairs(WS) do if v[4]~=nil then table.insert(ps,getC(v[4],p[i])) else table.insert(ps,getC(v[1],p[i])) end end return(ps) end local steer=S.Steer local idling=false local frame=0 pose=getPose(LeanIn) while wait() do if S.Velocity.Magnitude<3 and not idling then idling=true frame=0 pose=getPose(Idle) else if S.Velocity.Magnitude>3 and (S.Steer~=steer or idling==true) then steer=S.Steer frame=0 if steer==0 then pose=getPose(LeanIn) elseif steer==1 then pose=getPose(LeanRight) else pose=getPose(LeanLeft) end idling=false end end if frame<10 then frame=frame+1 setPose(pose) end end end)) LocalScript14.Disabled = true ObjectValue15.Name = "Seat" ObjectValue15.Parent = LocalScript14 BodyAngularVelocity16.Name = "angv" BodyAngularVelocity16.Parent = VehicleSeat10 BodyAngularVelocity16.AngularVelocity = Vector3.new(0, 0, 0) BodyAngularVelocity16.MaxTorque = Vector3.new(1e+09, 1e+09, 1e+09) BodyAngularVelocity16.angularvelocity = Vector3.new(0, 0, 0) BodyAngularVelocity16.maxTorque = Vector3.new(1e+09, 1e+09, 1e+09) BodyGyro17.Name = "gy" BodyGyro17.Parent = VehicleSeat10 BodyGyro17.MaxTorque = Vector3.new(0, 0, 1e+10) BodyGyro17.maxTorque = Vector3.new(0, 0, 1e+10) BodyGyro17.D = 250 BodyVelocity18.Name = "vel" BodyVelocity18.Parent = VehicleSeat10 BodyVelocity18.MaxForce = Vector3.new(99999, 0, 99999) BodyVelocity18.maxForce = Vector3.new(99999, 0, 99999) BodyVelocity18.Velocity = Vector3.new(0, 0, 0) BodyVelocity18.velocity = Vector3.new(0, 0, 0) Script19.Name = "Engine" Script19.Parent = VehicleSeat10 table.insert(cors,sandbox(Script19,function() local vUpdate=require(script:WaitForChild("VehicleUpdater")) local player=nil script.Parent.ChildAdded:connect(function(v) if v:IsA("Weld") and v.Name=="SeatWeld" then --Hey, players use this to sit! player=game.Players:GetPlayerFromCharacter(v.Part1.Parent) if player then --WE GOT ONE!!! script.VControls:Clone().Parent=player.PlayerGui end end end) script.Parent.ChildRemoved:connect(function(v) if v:IsA("Weld") and v.Name=="SeatWeld" and player then local scr=player.PlayerGui:FindFirstChild("VControls") if scr then scr:Destroy() end end end) end)) LocalScript20.Name = "VControls" LocalScript20.Parent = Script19 table.insert(cors,sandbox(LocalScript20,function() local pl=game.Players.LocalPlayer local cam=workspace.CurrentCamera local seat=cam.CameraSubject local vehicle=seat.Parent local vUpdate=require(seat.Engine:FindFirstChild("VehicleUpdater")) print('VEHICLE CONTROL INITIALIZED.') print('DRIVER NAME: '.. pl.Name) print('VEHICLE NAME: '.. vehicle.Name) while wait() do vUpdate(pl,vehicle) end end)) ModuleScript21.Name = "VehicleUpdater" ModuleScript21.Parent = Script19 table.insert(cors,sandbox(ModuleScript21,function() local handling = ( 2 ) *.05; local maxTurn = ( 4 ); local acceleration = ( 2 ) *.05; local topSpeed = ( 5 ) +250; local visualTorque = ( 5 ) *.1 local boospeed=0 local debounce=false local zoomin=false local function explode(p) local e=Instance.new("Fire") e.Parent=workspace end local function boost(boospe,vel,seat,cam) local boostSound=seat.Boost boostSound:Play() debounce=true zoomin=true for i=1,15 do cam.FieldOfView=(60-cam.FieldOfView)*.1+cam.FieldOfView game:GetService("RunService").RenderStepped:wait() end --boostCharge:Stop() --boostSound:Play() explode(seat.CFrame.p) zoomin=false boospeed=boospe vel.velocity=vel.velocity+seat.CFrame.lookVector*boospe cam.FieldOfView=100 wait(.1) debounce=false end return function(player,vehicle) local cam=workspace.CurrentCamera local seat=vehicle:FindFirstChild("VehicleSeat") local angv=seat:FindFirstChild("angv") local vel=seat:FindFirstChild("vel") local gyro=seat:FindFirstChild("gy") local variables=vehicle:FindFirstChild("Variables") local speed=variables.Speed --Control if seat.Steer~=0 then variables.turnSpeed.Value=maxTurn*seat.Steer else variables.turnSpeed.Value=0 end if seat.Throttle==1 then speed.Value=topSpeed+boospeed elseif seat.Throttle==-1 then speed.Value=-topSpeed/2-boospeed else speed.Value=0 end --Update local idle=seat.Idle if not idle.IsPlaying then idle:Play() end idle.Pitch=.3+(vel.velocity.Magnitude/topSpeed) local lv=seat.CFrame.lookVector local roll=(-angv.angularvelocity.y/maxTurn)*((vel.velocity.Magnitude/topSpeed)*.7+.3) vel.velocity=vel.velocity:Lerp(lv*variables.Speed.Value,acceleration) angv.angularvelocity=angv.angularvelocity:Lerp(Vector3.new(0,-variables.turnSpeed.Value,0),handling) gyro.cframe=CFrame.fromAxisAngle(lv,roll) if boospeed<=0 then boospeed=0 else boospeed=boospeed-1 end if zoomin==false then cam.FieldOfView=(70-cam.FieldOfView)*.05+cam.FieldOfView end cam.CameraType="Track" --Check for boosters or hazards vehicle:FindFirstChild("GyroBall").Touched:connect(function(p) if p.Name=="Boost" and debounce==false then boost(50,vel,seat,cam) end end) end end)) ScreenGui22.Name = "CAMERACONTROL" ScreenGui22.Parent = VehicleSeat10 ObjectValue23.Name = "CarSeat" ObjectValue23.Parent = ScreenGui22 Frame24.Name = "SPDCTR" Frame24.Parent = ScreenGui22 Frame24.Position = UDim2.new(1, -275, 1, -60) Frame24.Size = UDim2.new(0, 106, 0, 50) Frame24.Active = true Frame24.BackgroundColor = BrickColor.new("Institutional white") Frame24.BackgroundColor3 = Color3.new(1, 1, 1) Frame24.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) Frame24.Draggable = true Frame24.Style = Enum.FrameStyle.RobloxRound TextLabel25.Name = "sps" TextLabel25.Parent = Frame24 TextLabel25.Position = UDim2.new(1, -27, 0.5, 0) TextLabel25.BackgroundColor = BrickColor.new("Institutional white") TextLabel25.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel25.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel25.BorderSizePixel = 0 TextLabel25.Font = Enum.Font.SourceSansBold TextLabel25.FontSize = Enum.FontSize.Size24 TextLabel25.Text = "sps" TextLabel25.TextColor = BrickColor.new("Pearl") TextLabel25.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961) TextLabel25.TextSize = 24 TextLabel25.TextStrokeTransparency = 0 TextLabel25.TextXAlignment = Enum.TextXAlignment.Left TextLabel26.Name = "NUMBER" TextLabel26.Parent = Frame24 TextLabel26.Position = UDim2.new(0, 60, 1, -20) TextLabel26.BackgroundColor = BrickColor.new("Institutional white") TextLabel26.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel26.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel26.BorderSizePixel = 0 TextLabel26.Font = Enum.Font.SourceSans TextLabel26.FontSize = Enum.FontSize.Size48 TextLabel26.Text = "999" TextLabel26.TextColor = BrickColor.new("Pearl") TextLabel26.TextColor3 = Color3.new(0.901961, 0.901961, 0.901961) TextLabel26.TextSize = 48 TextLabel26.TextStrokeTransparency = 0 TextLabel26.TextXAlignment = Enum.TextXAlignment.Right LocalScript27.Parent = TextLabel26 table.insert(cors,sandbox(LocalScript27,function() local seat = script.Parent.Parent.Parent.CarSeat.Value while wait(0.1) do if seat == nil then wait(1) -- we won't break if the value returns nil else script.Parent.Text = math.floor(seat.Velocity.Magnitude) end end end)) Frame28.Name = "CONTAINER" Frame28.Parent = ScreenGui22 Frame28.Position = UDim2.new(1, -250, 1, -180) Frame28.Visible = false Frame28.Size = UDim2.new(0, 200, 0, 120) Frame28.Active = true Frame28.BackgroundColor = BrickColor.new("Institutional white") Frame28.BackgroundColor3 = Color3.new(1, 1, 1) Frame28.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) Frame28.Style = Enum.FrameStyle.RobloxRound TextLabel29.Name = "Label" TextLabel29.Parent = Frame28 TextLabel29.Position = UDim2.new(0, 2, 0.5, -2) TextLabel29.Rotation = -90 TextLabel29.BackgroundColor = BrickColor.new("Institutional white") TextLabel29.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel29.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel29.BorderSizePixel = 0 TextLabel29.Font = Enum.Font.SourceSansBold TextLabel29.FontSize = Enum.FontSize.Size24 TextLabel29.Text = "Camera" TextLabel29.TextColor = BrickColor.new("Institutional white") TextLabel29.TextColor3 = Color3.new(1, 1, 1) TextLabel29.TextSize = 24 TextLabel29.TextStrokeTransparency = 0 TextButton30.Name = "ATTACH" TextButton30.Parent = Frame28 TextButton30.Position = UDim2.new(0, 25, 0, 0) TextButton30.Size = UDim2.new(0, 70, 0, 30) TextButton30.BackgroundColor = BrickColor.new("Institutional white") TextButton30.BackgroundColor3 = Color3.new(1, 1, 1) TextButton30.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextButton30.Style = Enum.ButtonStyle.RobloxButton TextButton30.Font = Enum.Font.SourceSans TextButton30.FontSize = Enum.FontSize.Size18 TextButton30.Text = "Attach" TextButton30.TextColor = BrickColor.new("Institutional white") TextButton30.TextColor3 = Color3.new(1, 1, 1) TextButton30.TextSize = 18 LocalScript31.Name = "CamScript" LocalScript31.Parent = TextButton30 table.insert(cors,sandbox(LocalScript31,function() local cam = Workspace.CurrentCamera function ChangeCameraFP() -- scroll in for this one cam.CameraSubject=game.Players.LocalPlayer.Character.Head cam.CameraType = "Attach" end function onButtonClicked() ChangeCameraFP() end script.Parent.MouseButton1Down:connect(onButtonClicked) end)) TextButton32.Name = "FOLLOW" TextButton32.Parent = Frame28 TextButton32.Position = UDim2.new(1, -80, 0, 0) TextButton32.Size = UDim2.new(0, 70, 0, 30) TextButton32.BackgroundColor = BrickColor.new("Institutional white") TextButton32.BackgroundColor3 = Color3.new(1, 1, 1) TextButton32.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextButton32.Style = Enum.ButtonStyle.RobloxButton TextButton32.Font = Enum.Font.SourceSans TextButton32.FontSize = Enum.FontSize.Size18 TextButton32.Text = "Follow" TextButton32.TextColor = BrickColor.new("Institutional white") TextButton32.TextColor3 = Color3.new(1, 1, 1) TextButton32.TextSize = 18 LocalScript33.Name = "CamScript" LocalScript33.Parent = TextButton32 table.insert(cors,sandbox(LocalScript33,function() local cam = Workspace.CurrentCamera function ChangeCameraTPF() cam.CameraSubject=game.Players.LocalPlayer.Character.Head cam.CameraType = "Follow" end function onButtonClicked() ChangeCameraTPF() end script.Parent.MouseButton1Down:connect(onButtonClicked) end)) TextButton34.Name = "FOVUP" TextButton34.Parent = Frame28 TextButton34.Position = UDim2.new(1, -45, 1, -34) TextButton34.Size = UDim2.new(0, 30, 0, 30) TextButton34.BackgroundColor = BrickColor.new("Institutional white") TextButton34.BackgroundColor3 = Color3.new(1, 1, 1) TextButton34.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextButton34.Style = Enum.ButtonStyle.RobloxButton TextButton34.Font = Enum.Font.SourceSans TextButton34.FontSize = Enum.FontSize.Size18 TextButton34.Text = "+" TextButton34.TextColor = BrickColor.new("Institutional white") TextButton34.TextColor3 = Color3.new(1, 1, 1) TextButton34.TextSize = 18 LocalScript35.Name = "CamScript" LocalScript35.Parent = TextButton34 table.insert(cors,sandbox(LocalScript35,function() local cam = Workspace.CurrentCamera function ChangeFOVUp() cam.CameraSubject=game.Players.LocalPlayer.Character.Head cam.FieldOfView = cam.FieldOfView + 10 script.Parent.Parent.FOVNO.Text = tostring("FOV: "..math.floor(cam.FieldOfView)) end function onButtonClicked() ChangeFOVUp() end script.Parent.MouseButton1Down:connect(onButtonClicked) end)) TextLabel36.Name = "FOVNO" TextLabel36.Parent = Frame28 TextLabel36.Position = UDim2.new(0.5, 5, 1, -20) TextLabel36.BackgroundColor = BrickColor.new("Institutional white") TextLabel36.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel36.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextLabel36.BorderSizePixel = 0 TextLabel36.Font = Enum.Font.SourceSans TextLabel36.FontSize = Enum.FontSize.Size18 TextLabel36.Text = "FOV: 70" TextLabel36.TextColor = BrickColor.new("Institutional white") TextLabel36.TextColor3 = Color3.new(1, 1, 1) TextLabel36.TextSize = 18 TextLabel36.TextStrokeTransparency = 0 TextButton37.Name = "FOVDN" TextButton37.Parent = Frame28 TextButton37.Position = UDim2.new(0.5, -67, 1, -34) TextButton37.Size = UDim2.new(0, 30, 0, 30) TextButton37.BackgroundColor = BrickColor.new("Institutional white") TextButton37.BackgroundColor3 = Color3.new(1, 1, 1) TextButton37.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextButton37.Style = Enum.ButtonStyle.RobloxButton TextButton37.Font = Enum.Font.SourceSans TextButton37.FontSize = Enum.FontSize.Size18 TextButton37.Text = "-" TextButton37.TextColor = BrickColor.new("Institutional white") TextButton37.TextColor3 = Color3.new(1, 1, 1) TextButton37.TextSize = 18 LocalScript38.Name = "CamScript" LocalScript38.Parent = TextButton37 table.insert(cors,sandbox(LocalScript38,function() local cam = Workspace.CurrentCamera function ChangeFOVUp() cam.CameraSubject=game.Players.LocalPlayer.Character.Head cam.FieldOfView = cam.FieldOfView - 10 script.Parent.Parent.FOVNO.Text = tostring("FOV: "..math.floor(cam.FieldOfView)) end function onButtonClicked() ChangeFOVUp() end script.Parent.MouseButton1Down:connect(onButtonClicked) end)) TextButton39.Name = "TRACK" TextButton39.Parent = Frame28 TextButton39.Position = UDim2.new(0, 25, 0, 35) TextButton39.Size = UDim2.new(0, 70, 0, 30) TextButton39.BackgroundColor = BrickColor.new("Institutional white") TextButton39.BackgroundColor3 = Color3.new(1, 1, 1) TextButton39.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843) TextButton39.Style = Enum.ButtonStyle.RobloxButton TextButton39.Font = Enum.Font.SourceSans TextButton39.FontSize = Enum.FontSize.Size18 TextButton39.Text = "Track" TextButton39.TextColor = BrickColor.new("Institutional white") TextButton39.TextColor3 = Color3.new(1, 1, 1) TextButton39.TextSize = 18 LocalScript40.Name = "CamScript" LocalScript40.Parent = TextButton39 table.insert(cors,sandbox(LocalScript40,function() local cam = Workspace.CurrentCamera function ChangeCameraTPF() cam.CameraSubject=game.Players.LocalPlayer.Character.Head cam.CameraType = "Track" end function onButtonClicked() ChangeCameraTPF() end script.Parent.MouseButton1Down:connect(onButtonClicked) end)) Script41.Name = "Gui Giver" Script41.Parent = VehicleSeat10 table.insert(cors,sandbox(Script41,function() GUI = script.Parent.CAMERACONTROL script.Parent.ChildAdded:connect(function(child) if child:IsA("Weld") then --child.C0 = CFrame.new(-1.4,-1.3,0.2)*CFrame.fromEulerAnglesXYZ(-(math.pi/2),0,0) --// Reposition player if child.Part1.Name == "HumanoidRootPart" then player = game.Players:GetPlayerFromCharacter(child.Part1.Parent) if player and (not player.PlayerGui:FindFirstChild("CAMERACONTROL")) then --// The part after the "and" prevents multiple GUI's to be copied over. GUI.CarSeat.Value = script.Parent --// Puts a reference of the seat in this ObjectValue, now you can use this ObjectValue's value to find the car directly. GUI:Clone().Parent = player.PlayerGui --// Compact version end end end end) script.Parent.ChildRemoved:connect(function(child) if child:IsA("Weld") then if child.Part1.Name == "HumanoidRootPart" then player = game.Players:GetPlayerFromCharacter(child.Part1.Parent) if player and player.PlayerGui:FindFirstChild("CAMERACONTROL") then player.PlayerGui:FindFirstChild("CAMERACONTROL"):Destroy() end end end end) end)) Script42.Name = "qPerfectionWeld" Script42.Parent = Model1 table.insert(cors,sandbox(Script42,function() -- Created by Quenty (@Quenty, follow me on twitter). -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them. --[[ INSTRUCTIONS - Place in the model - Make sure model is anchored - That's it. It will weld the model and all children. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes. ]] --[[ DOCUMENTATION - Will work in tools. If ran more than once it will not create more than one weld. This is especially useful for tools that are dropped and then picked up again. - Will work in PBS servers - Will work as long as it starts out with the part anchored - Stores the relative CFrame as a CFrame value - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin - Utilizes a recursive algorith to find all parts in the model - Will reweld on script reparent if the script is initially parented to a tool. - Welds as fast as possible ]] -- qPerfectionWeld.lua -- Created 10/6/2014 -- Author: Quenty -- Version 1.0.3 -- Updated 10/14/2014 - Updated to 1.0.1 --- Bug fix with existing ROBLOX welds ? Repro by asimo3089 -- Updated 10/14/2014 - Updated to 1.0.2 --- Fixed bug fix. -- Updated 10/14/2014 - Updated to 1.0.3 --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/ local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges). local function CallOnChildren(Instance, FunctionToCall) -- Calls a function on each of the children of a certain object, using recursion. FunctionToCall(Instance) for _, Child in next, Instance:GetChildren() do CallOnChildren(Child, FunctionToCall) end end local function GetNearestParent(Instance, ClassName) -- Returns the nearest parent of a certain class, or returns nil local Ancestor = Instance repeat Ancestor = Ancestor.Parent if Ancestor == nil then return nil end until Ancestor:IsA(ClassName) return Ancestor end local function GetBricks(StartInstance) local List = {} -- if StartInstance:IsA("BasePart") then -- List[#List+1] = StartInstance -- end CallOnChildren(StartInstance, function(Item) if Item:IsA("BasePart") then List[#List+1] = Item; end end) return List end local function Modify(Instance, Values) -- Modifies an Instance by using a table. assert(type(Values) == "table", "Values is not a table"); for Index, Value in next, Values do if type(Index) == "number" then Value.Parent = Instance else Instance[Index] = Value end end return Instance end local function Make(ClassType, Properties) -- Using a syntax hack to create a nice way to Make new items. return Modify(Instance.new(ClassType), Properties) end local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"} local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"} local function HasWheelJoint(Part) for _, SurfaceName in pairs(Surfaces) do for _, HingSurfaceName in pairs(HingSurfaces) do if Part[SurfaceName].Name == HingSurfaceName then return true end end end return false end local function ShouldBreakJoints(Part) --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are -- definitely some edge cases. if NEVER_BREAK_JOINTS then return false end if HasWheelJoint(Part) then return false end local Connected = Part:GetConnectedParts() if #Connected == 1 then return false end for _, Item in pairs(Connected) do if HasWheelJoint(Item) then return false elseif not Item:IsDescendantOf(script.Parent) then return false end end return true end local function WeldTogether(Part0, Part1, JointType, WeldParent) --- Weld's 2 parts together -- @param Part0 The first part -- @param Part1 The second part (Dependent part most of the time). -- @param [JointType] The type of joint. Defaults to weld. -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better). -- @return The weld created. JointType = JointType or "Weld" local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue") local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType) Modify(NewWeld, { Name = "qCFrameWeldThingy"; Part0 = Part0; Part1 = Part1; C0 = CFrame.new();--Part0.CFrame:inverse(); C1 = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse(); Parent = Part1; }) if not RelativeValue then RelativeValue = Make("CFrameValue", { Parent = Part1; Name = "qRelativeCFrameWeldValue"; Archivable = true; Value = NewWeld.C1; }) end return NewWeld end local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor) -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results. -- @param MainPart The part to weld the model to (can be in the model). -- @param [JointType] The type of joint. Defaults to weld. -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion. for _, Part in pairs(Parts) do if ShouldBreakJoints(Part) then Part:BreakJoints() end end for _, Part in pairs(Parts) do if Part ~= MainPart then WeldTogether(MainPart, Part, JointType, MainPart) end end if not DoNotUnanchor then for _, Part in pairs(Parts) do Part.Anchored = false end MainPart.Anchored = false end end local function PerfectionWeld() local Tool = GetNearestParent(script, "Tool") local Parts = GetBricks(script.Parent) local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1] if PrimaryPart then WeldParts(Parts, PrimaryPart, "Weld", false) else warn("qWeld - Unable to weld part") end return Tool end local Tool = PerfectionWeld() if Tool and script.ClassName == "Script" then --- Don't bother with local scripts script.Parent.AncestryChanged:connect(function() PerfectionWeld() end) end -- Created by Quenty (@Quenty, follow me on twitter). end)) Part43.Name = "GyroBall" Part43.Parent = Model1 Part43.CFrame = CFrame.new(-7.02035904, 5.3504982, -1.05673206, -0.000316999998, -0.000441999873, -0.999999881, 0, 0.999999881, -0.000441999931, 1, -1.40113983e-07, -0.000316999969) Part43.Orientation = Vector3.new(0.0299999993, -90.0199966, 0) Part43.Position = Vector3.new(-7.02035904, 5.3504982, -1.05673206) Part43.Rotation = Vector3.new(125.650002, -89.9700012, 125.650002) Part43.Transparency = 1 Part43.Size = Vector3.new(1.65000021, 1.65000021, 1.65000021) Part43.Anchored = true Part43.BottomSurface = Enum.SurfaceType.Smooth Part43.CanCollide = false Part43.CustomPhysicalProperties = 0.699999988, 0, 0, 1, 1 Part43.Elasticity = 0 Part43.Friction = 0 Part43.FrontSurface = Enum.SurfaceType.Hinge Part43.TopSurface = Enum.SurfaceType.SmoothNoOutlines Part43.FormFactor = Enum.FormFactor.Symmetric Part43.formFactor = Enum.FormFactor.Symmetric Part43.Shape = Enum.PartType.Ball Part44.Name = "Kart" Part44.Parent = Model1 Part44.CFrame = CFrame.new(-6.81555176, 6.86030388, -0.908913016, -3.12638804e-13, -0.999999583, -0.000404999824, 0, -0.000404999999, 1, -0.999999583, 3.12638804e-13, 1.28369537e-16) Part44.Orientation = Vector3.new(-90, 90, 0) Part44.Position = Vector3.new(-6.81555176, 6.86030388, -0.908913016) Part44.Rotation = Vector3.new(-90, -0.0199999996, 90) Part44.Color = Color3.new(0.960784, 0.803922, 0.188235) Part44.Transparency = 1 Part44.Size = Vector3.new(0.84799999, 3.39519978, 1.2579999) Part44.Anchored = true Part44.BackSurface = Enum.SurfaceType.SmoothNoOutlines Part44.BottomSurface = Enum.SurfaceType.SmoothNoOutlines Part44.BrickColor = BrickColor.new("Bright yellow") Part44.CanCollide = false Part44.FrontSurface = Enum.SurfaceType.SmoothNoOutlines Part44.LeftSurface = Enum.SurfaceType.SmoothNoOutlines Part44.Material = Enum.Material.SmoothPlastic Part44.RightSurface = Enum.SurfaceType.SmoothNoOutlines Part44.TopSurface = Enum.SurfaceType.SmoothNoOutlines Part44.brickColor = BrickColor.new("Bright yellow") Part44.FormFactor = Enum.FormFactor.Custom Part44.formFactor = Enum.FormFactor.Custom ManualWeld45.Name = "Part-to-Wedge Strong Joint" ManualWeld45.Parent = Part44 ManualWeld45.C0 = CFrame.new(-0.170000002, -0.87499994, 2.15499997, 1, 0, 0, 0, 1, 0, 0, 0, 1) ManualWeld45.C1 = CFrame.new(-1.93112564, 0.269699097, 0.154999733, 1, -1.12023845e-05, 4.15740897e-06, -1.12023536e-05, -1, -7.43729879e-06, 4.15749219e-06, 7.43725241e-06, -1) ManualWeld45.Part0 = Part44 ManualWeld46.Name = "Part-to-Part Strong Joint" ManualWeld46.Parent = Part44 ManualWeld46.C0 = CFrame.new(-0.170000002, -0.87499994, 2.15499997, 1, 0, 0, 0, 1, 0, 0, 0, 1) ManualWeld46.C1 = CFrame.new(-1.912714, -1.1247673, -0.15496254, 1, 3.44684258e-06, -3.32575922e-07, -3.44683485e-06, 1, 2.33251849e-05, 3.32656327e-07, -2.33251831e-05, 1) ManualWeld46.Part0 = Part44 ManualWeld47.Name = "Part-to-Wedge Strong Joint" ManualWeld47.Parent = Part44 ManualWeld47.C0 = CFrame.new(0.170000002, -0.87499994, -2.15499997, -1, 0, 0, 0, 1, 0, 0, 0, -1) ManualWeld47.C1 = CFrame.new(-0.141148567, -1.11505127, 0.760468483, -1, -1.44435216e-06, -9.97842449e-08, -1.44435285e-06, 1, 6.56038083e-06, 9.97747733e-08, 6.56038083e-06, -1) ManualWeld47.Part0 = Part44 ManualWeld48.Name = "Part-to-Part Strong Joint" ManualWeld48.Parent = Part44 ManualWeld48.C0 = CFrame.new(0.170000002, -0.87499994, -2.15499997, -1, 0, 0, 0, 1, 0, 0, 0, -1) ManualWeld48.C1 = CFrame.new(-1.62726784, -0.260026932, 0.772093773, -1, 1.37986717e-06, 1.33062073e-07, 1.37986592e-06, 1, -9.32501371e-06, -1.33074948e-07, -9.32501371e-06, -1) ManualWeld48.Part0 = Part44 ManualWeld49.Name = "Part-to-Part Strong Joint" ManualWeld49.Parent = Part44 ManualWeld49.C0 = CFrame.new(-0.134000003, -1.19259989, -0.134000003, 0, 0, -1, 0, 1, 0, 1, 0, 0) ManualWeld49.C1 = CFrame.new(2.57160187, -1.14545727, -0.160079002, 4.00813451e-06, -4.30215277e-06, -1, -0.000143556827, 1, -4.30272803e-06, 1, 0.000143556841, 4.00751651e-06) ManualWeld49.Part0 = Part44 ManualWeld50.Name = "Part-to-Part Strong Joint" ManualWeld50.Parent = Part44 ManualWeld50.C0 = CFrame.new(-0.134000003, -1.19259989, -0.134000003, 0, 0, -1, 0, 1, 0, 1, 0, 0) ManualWeld50.C1 = CFrame.new(2.57813263, -2.24738407, -0.134685516, 2.3701547e-07, -2.55085524e-07, -1, 2.18151545e-05, 1, -2.55080323e-07, 1, -2.18151545e-05, 2.37021027e-07) ManualWeld50.Part0 = Part44 Configuration51.Parent = Part44 NumberValue52.Name = "BoostSpeed" NumberValue52.Parent = Configuration51 NumberValue52.Value = 70 NumberValue53.Name = "Acceleration" NumberValue53.Parent = Configuration51 NumberValue53.Value = 5 NumberValue54.Name = "TurnSpeed" NumberValue54.Parent = Configuration51 NumberValue54.Value = 0.5 NumberValue55.Name = "TopSpeed" NumberValue55.Parent = Configuration51 NumberValue55.Value = 50 Part56.Parent = Model1 Part56.CFrame = CFrame.new(-10.0310135, 5.79162979, -1.089149, 0.999999583, 0, 3.12638804e-13, 0, 1, 0, -3.12638804e-13, 0, 0.999999583) Part56.Position = Vector3.new(-10.0310135, 5.79162979, -1.089149) Part56.Transparency = 10 Part56.Size = Vector3.new(0.0500000007, 2.55000401, 0.269999981) Part56.BottomSurface = Enum.SurfaceType.Smooth Part56.Reflectance = 10 Part56.TopSurface = Enum.SurfaceType.Smooth Trail57.Parent = Part56 Trail57.Attachment0 = nil Trail57.Attachment1 = nil Trail57.Color = ColorSequence.new(Color3.new(1, 0.979049, 0.04065),Color3.new(1, 0.979049, 0.04065)) Trail57.LightEmission = 0.25 Trail57.TextureLength = 5 Trail57.Transparency = NumberSequence.new(0,0) Trail57.Lifetime = 10 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
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
✅✅ +15,000$ in 1 Week - METHOD
JavaScript | 11 sec ago | 0.67 KB
✅ FREE 2,000$ FROM SWAPZONE ✅
JavaScript | 43 sec ago | 0.67 KB
Infinite Money Glitch
JavaScript | 1 min ago | 0.67 KB
✅✅ Crazy Moneymaking Strategy
JavaScript | 1 min ago | 0.67 KB
✅✅✅ FREE BTC GUIDE ⭐ Working ✅✅✅
JavaScript | 2 min ago | 0.67 KB
✅✅✅ INSTANT MONEY EXPLOIT ✅✅✅
JavaScript | 2 min ago | 0.67 KB
✅✅✅ Crypto Swap Glitch ⭐ Easy money ✅✅✅
JavaScript | 3 min ago | 0.67 KB
✅✅✅ +10,000$ in 1 month
JavaScript | 3 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!