null
nil
-
0
0
0
1
0
0
0
1
0
0
0
1
Steering Car Group
[null]
-
0
0
0
1
0
0
0
1
0
0
0
1
Backwards chassis
[null]
-
true
-0.5
0.5
9
0
0
0
6
0
26
32.5
1.50000012
14.500001
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
-0.5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
32.5
1.50000012
17.5
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Base
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
3
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
37.5
1.50000012
17.5
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
7
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
21
38
2.4000001
16
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Drive
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
false
SteerCreate
--MADE BY SPACEK531
--Edited just a bit by MaximMike
par = script.Parent.Parent.Parent
b = script.Parent.Parent.Base
l = script.Parent.Parent.Left
r = script.Parent.Parent.Right
for _,i in pairs (script.Parent.Parent:GetChildren()) do
if i:IsA("Motor") then
i:Destroy()
end
end
left = Instance.new("Motor", script.Parent.Parent)
right = Instance.new("Motor", script.Parent.Parent)
left.Name = "LeftMotor"
right.Name = "RightMotor"
left.Part0 = l
right.Part0 = r
left.Part1 = b
right.Part1 = b
right.C0 = CFrame.new(-1.5-r.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.C1 = CFrame.new(-b.Size.x/2-2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
left.C0 = CFrame.new(-1.5-l.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,-math.pi/2)
left.C1 = CFrame.new(b.Size.x/2+2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.MaxVelocity = 0.1
left.MaxVelocity = 0.1
function rem(child)
if child:IsA("Weld") then
script.Parent.SteerScript.Disabled = true
script.Parent.Parent.Parent = par
end
end
function add(child)
if child:IsA("Weld") then
if child.Part1.Name == "Torso" then
script.Parent.Parent.Parent = child.Part1.Parent
script.Parent.SteerScript.Disabled = false
end
end
end
script.Parent.ChildAdded:connect(add)
script.Parent.ChildRemoved:connect(rem)
-
true
SteerScript
--MADE BY SPACEK531
--Modified by MaximMike
--The fact is that Client-side scripts tend to run faster than Server-side scripts.
--Localscript is client-side, so your model will work better.
--Also, everything is computed on YOUR computer, not on the server.
wait(0.1)
left = {}
right = {}
for _, i in pairs (script.Parent.Parent:GetChildren()) do
if i.Name == "LeftWheel" then
table.insert(left,i)
elseif i.Name == "RightWheel" then
table.insert(right,i)
end
end
for _,l in pairs (left) do
l.BottomParamA = 0
l.BottomParamB = 0
end
for _,r in pairs (right) do
r.BottomParamA = 0
r.BottomParamB = 0
end
script.Parent.Changed:connect(function()
script.Parent.Parent.LeftMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
script.Parent.Parent.RightMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
for _,l in pairs (left) do
l.BottomParamA = 1*script.Parent.Throttle
l.BottomParamB = 2*script.Parent.Throttle
end
for _,r in pairs (right) do
r.BottomParamA = 1*script.Parent.Throttle
r.BottomParamB = -2*script.Parent.Throttle
end
end)
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
32.5
1.50000012
16.5
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Left
0
-0.5
0.5
3
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
194
38
2.4000001
19
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Seat
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
32.5
1.50000012
18.5
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Right
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
9
0
0
0
6
0
26
32.5
1.50000012
20.5000019
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
0
0
7
12
26
42.5000038
1.50000012
14.500001
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
LeftWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
0
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
42.5000038
1.50000012
17.5
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
3
-
true
-0.5
0.5
9
0
0
0
7
12
26
42.5000038
1.50000012
20.5000019
-1
0
0
-0
0
1
-0
1
0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
RightWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
0
0
0
1
0
0
0
1
0
0
0
1
Narrow chassis
[null]
-
true
-0.5
0.5
9
0
-0.5
0.5
0
0
26
42.5000038
1.50000012
25.5000019
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
-0.5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
28.5000019
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
6
0
false
256
Right
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
42.5000038
1.50000012
28.0000019
-8.94061998e-008
2.53112376e-009
0.999999166
-1.45519152e-011
0.999999344
2.53294274e-009
-0.999999344
1.45519152e-011
8.94061856e-008
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
0
0
false
256
Base
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
3
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
27.5000019
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
6
0
false
256
Left
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
21
39
2.4000001
28.0000019
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Drive
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
false
SteerCreate
--MADE BY SPACEK531
--Edited just a bit by MaximMike
par = script.Parent.Parent.Parent
b = script.Parent.Parent.Base
l = script.Parent.Parent.Left
r = script.Parent.Parent.Right
for _,i in pairs (script.Parent.Parent:GetChildren()) do
if i:IsA("Motor") then
i:Destroy()
end
end
left = Instance.new("Motor", script.Parent.Parent)
right = Instance.new("Motor", script.Parent.Parent)
left.Name = "LeftMotor"
right.Name = "RightMotor"
left.Part0 = l
right.Part0 = r
left.Part1 = b
right.Part1 = b
right.C0 = CFrame.new(-1.5-r.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.C1 = CFrame.new(-b.Size.x/2-2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
left.C0 = CFrame.new(-1.5-l.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,-math.pi/2)
left.C1 = CFrame.new(b.Size.x/2+2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.MaxVelocity = 0.1
left.MaxVelocity = 0.1
function rem(child)
if child:IsA("Weld") then
script.Parent.SteerScript.Disabled = true
script.Parent.Parent.Parent = par
end
end
function add(child)
if child:IsA("Weld") then
if child.Part1.Name == "Torso" then
script.Parent.Parent.Parent = child.Part1.Parent
script.Parent.SteerScript.Disabled = false
end
end
end
script.Parent.ChildAdded:connect(add)
script.Parent.ChildRemoved:connect(rem)
-
true
SteerScript
--MADE BY SPACEK531
--Modified by MaximMike
--The fact is that Client-side scripts tend to run faster than Server-side scripts.
--Localscript is client-side, so your model will work better.
--Also, everything is computed on YOUR computer, not on the server.
wait(0.1)
left = {}
right = {}
for _, i in pairs (script.Parent.Parent:GetChildren()) do
if i.Name == "LeftWheel" then
table.insert(left,i)
elseif i.Name == "RightWheel" then
table.insert(right,i)
end
end
for _,l in pairs (left) do
l.BottomParamA = 0
l.BottomParamB = 0
end
for _,r in pairs (right) do
r.BottomParamA = 0
r.BottomParamB = 0
end
script.Parent.Changed:connect(function()
script.Parent.Parent.LeftMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
script.Parent.Parent.RightMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
for _,l in pairs (left) do
l.BottomParamA = 1*script.Parent.Throttle
l.BottomParamB = 2*script.Parent.Throttle
end
for _,r in pairs (right) do
r.BottomParamA = 1*script.Parent.Throttle
r.BottomParamB = -2*script.Parent.Throttle
end
end)
-
true
-0.5
0.5
9
0
-0.5
0.5
0
0
26
42.5000038
1.50000012
30.5000019
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
37.5
1.50000012
28.0000019
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
2
0.800000012
7
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
194
36
2.4000001
28.0000019
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Seat
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
true
-0.5
0.5
9
0
0
0
7
12
26
32.5
1.50000012
25.5000019
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
LeftWheel
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
32.5
1.50000012
28.0000019
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
2
0.800000012
3
-
true
-0.5
0.5
9
0
0
0
7
12
26
32.5
1.50000012
30.5000019
-1
0
0
-0
0
1
-0
1
0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
RightWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
0
0
0
1
0
0
0
1
0
0
0
1
Truck Chassis
[null]
-
true
-0.5
0.5
9
0
0
0
7
12
26
25.5000019
1.50000012
35.5
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
LeftWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
0
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
0
0
7
12
26
29.5000019
1.50000012
35.5
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
LeftWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
0
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
21
38
2.4000001
37
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Drive
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
false
SteerCreate
--MADE BY SPACEK531
--Edited just a bit by MaximMike
par = script.Parent.Parent.Parent
b = script.Parent.Parent.Base
l = script.Parent.Parent.Left
r = script.Parent.Parent.Right
for _,i in pairs (script.Parent.Parent:GetChildren()) do
if i:IsA("Motor") then
i:Destroy()
end
end
left = Instance.new("Motor", script.Parent.Parent)
right = Instance.new("Motor", script.Parent.Parent)
left.Name = "LeftMotor"
right.Name = "RightMotor"
left.Part0 = l
right.Part0 = r
left.Part1 = b
right.Part1 = b
right.C0 = CFrame.new(-1.5-r.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.C1 = CFrame.new(-b.Size.x/2-2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
left.C0 = CFrame.new(-1.5-l.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,-math.pi/2)
left.C1 = CFrame.new(b.Size.x/2+2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.MaxVelocity = 0.1
left.MaxVelocity = 0.1
function rem(child)
if child:IsA("Weld") then
script.Parent.SteerScript.Disabled = true
script.Parent.Parent.Parent = par
end
end
function add(child)
if child:IsA("Weld") then
if child.Part1.Name == "Torso" then
script.Parent.Parent.Parent = child.Part1.Parent
script.Parent.SteerScript.Disabled = false
end
end
end
script.Parent.ChildAdded:connect(add)
script.Parent.ChildRemoved:connect(rem)
-
true
SteerScript
--MADE BY SPACEK531
--Modified by MaximMike
--The fact is that Client-side scripts tend to run faster than Server-side scripts.
--Localscript is client-side, so your model will work better.
--Also, everything is computed on YOUR computer, not on the server.
wait(0.1)
left = {}
right = {}
for _, i in pairs (script.Parent.Parent:GetChildren()) do
if i.Name == "LeftWheel" then
table.insert(left,i)
elseif i.Name == "RightWheel" then
table.insert(right,i)
end
end
for _,l in pairs (left) do
l.BottomParamA = 0
l.BottomParamB = 0
end
for _,r in pairs (right) do
r.BottomParamA = 0
r.BottomParamB = 0
end
script.Parent.Changed:connect(function()
script.Parent.Parent.LeftMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
script.Parent.Parent.RightMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
for _,l in pairs (left) do
l.BottomParamA = 1*script.Parent.Throttle
l.BottomParamB = 2*script.Parent.Throttle
end
for _,r in pairs (right) do
r.BottomParamA = 1*script.Parent.Throttle
r.BottomParamB = -2*script.Parent.Throttle
end
end)
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
27.5000019
1.50000012
38.5
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
7
-
true
-0.5
0.5
9
0
0
0
6
0
26
42.5000038
1.50000012
35.5
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
-0.5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
37.5
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Left
0
-0.5
0.5
3
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
36
1.50000012
38.5
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
10
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
42.5000038
1.50000012
38.5
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Base
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
3
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
39.5
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Right
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
194
38
2.4000001
40
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Seat
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
true
-0.5
0.5
9
0
0
0
7
12
26
25.5000019
1.50000012
41.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
RightWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
0
0
7
12
26
29.5000019
1.50000012
41.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
RightWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
0
0
6
0
26
42.5000038
1.50000012
41.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
0
0
0
1
0
0
0
1
0
0
0
1
regular chassis
[null]
-
true
-0.5
0.5
9
0
0
0
6
0
26
42.5000038
1.50000012
46.5000038
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
-0.5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
48.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Left
0
-0.5
0.5
3
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
21
38
2.4000001
48.0000038
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Drive
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
false
SteerCreate
--MADE BY SPACEK531
--Edited just a bit by MaximMike
par = script.Parent.Parent.Parent
b = script.Parent.Parent.Base
l = script.Parent.Parent.Left
r = script.Parent.Parent.Right
for _,i in pairs (script.Parent.Parent:GetChildren()) do
if i:IsA("Motor") then
i:Destroy()
end
end
left = Instance.new("Motor", script.Parent.Parent)
right = Instance.new("Motor", script.Parent.Parent)
left.Name = "LeftMotor"
right.Name = "RightMotor"
left.Part0 = l
right.Part0 = r
left.Part1 = b
right.Part1 = b
right.C0 = CFrame.new(-1.5-r.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.C1 = CFrame.new(-b.Size.x/2-2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
left.C0 = CFrame.new(-1.5-l.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,-math.pi/2)
left.C1 = CFrame.new(b.Size.x/2+2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.MaxVelocity = 0.1
left.MaxVelocity = 0.1
function rem(child)
if child:IsA("Weld") then
script.Parent.SteerScript.Disabled = true
script.Parent.Parent.Parent = par
end
end
function add(child)
if child:IsA("Weld") then
if child.Part1.Name == "Torso" then
script.Parent.Parent.Parent = child.Part1.Parent
script.Parent.SteerScript.Disabled = false
end
end
end
script.Parent.ChildAdded:connect(add)
script.Parent.ChildRemoved:connect(rem)
-
true
SteerScript
--MADE BY SPACEK531
--Modified by MaximMike
--The fact is that Client-side scripts tend to run faster than Server-side scripts.
--Localscript is client-side, so your model will work better.
--Also, everything is computed on YOUR computer, not on the server.
wait(0.1)
left = {}
right = {}
for _, i in pairs (script.Parent.Parent:GetChildren()) do
if i.Name == "LeftWheel" then
table.insert(left,i)
elseif i.Name == "RightWheel" then
table.insert(right,i)
end
end
for _,l in pairs (left) do
l.BottomParamA = 0
l.BottomParamB = 0
end
for _,r in pairs (right) do
r.BottomParamA = 0
r.BottomParamB = 0
end
script.Parent.Changed:connect(function()
script.Parent.Parent.LeftMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
script.Parent.Parent.RightMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
for _,l in pairs (left) do
l.BottomParamA = 1*script.Parent.Throttle
l.BottomParamB = 2*script.Parent.Throttle
end
for _,r in pairs (right) do
r.BottomParamA = 1*script.Parent.Throttle
r.BottomParamB = -2*script.Parent.Throttle
end
end)
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
194
38
2.4000001
51.0000038
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Seat
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
50.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Right
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
9
0
0
0
6
0
26
42.5000038
1.50000012
52.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
37.5
1.50000012
49.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
7
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
42.5000038
1.50000012
49.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Base
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
3
-
true
-0.5
0.5
9
0
0
0
7
12
26
32.5
1.50000012
52.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
RightWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
0
0
7
12
26
32.5
1.50000012
46.5000038
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
LeftWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
0
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
32.5
1.50000012
49.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
3
-
0
0
0
1
0
0
0
1
0
0
0
1
Spacek531's car
[null]
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
1002
36
5.10000038
63.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0.600000024
0
0
0
2
1
1
1.60000002
2
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
33.5
2.70000005
64.5
0
-0
1
0
-1
0
1
-0
0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
28
34
5.30000019
63.5000038
-0
0
1
-0
1
0
-1
0
0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
2
2
-
true
-0.5
0.5
9
0
0
0
7
12
26
32.5
1.50000012
63.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
RightWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
30.5000019
1.70000005
64.5
0
0
-1
0
1
-0
1
0
-0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
1.20000005
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
1004
30.5000019
3.70000029
64.5
-1
0
-0
-0
1
-0
-0
0
-1
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
1.20000005
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
1004
30.5000019
2.70000005
64.5
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
31.5000019
2.70000005
64.5
-0
-0
-1
-0
-1
-0
-1
-0
-0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
33
3.70000029
64.5
-1
0
-0
-0
1
-0
-0
0
-1
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
4
1.20000005
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
37.5
1.50000012
60.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
2
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
7
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
37.5
6.10000038
60.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
7
0.400000006
5
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
40.5000038
3.10000014
60.5000038
1
0
0
0
1
0
0
0
1
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
1
2.4000001
5
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
1002
40.5000038
5.30000019
60.5000038
0
0
-1
0
1
-0
1
0
-0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0.600000024
0
0
0
2
5
2
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
32
3.70000029
60.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
7
1.20000005
4
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
32.5
2.5
60.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0
-0.5
0.5
2
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
1.20000005
3
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
30.5000019
2.10000014
60.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
7
2
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
26
29.8000011
1.60000002
60.5000038
0
1
0
1
0
0
0
0
-1
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.400000006
9
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
34.5
3.10000014
60.5000038
1
0
0
0
1
0
0
0
1
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
1
2.4000001
5
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
1002
34
5.30000019
60.5000038
-0
0
1
-0
1
0
-1
0
0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0.600000024
0
0
0
2
5
2
2
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
194
38
2.4000001
62.0000038
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Seat
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
32.5
1.50000012
60.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
0.800000012
3
-
true
-0.5
0.5
2
0
-0.5
0.5
0
0
26
42.5000038
2.9000001
60.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0
-0.5
0.5
2
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
3
2
3
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
43.0000038
4.10000038
60.5000038
0
0
-1
0
1
-0
1
0
-0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
7
0.400000006
4
-
true
-0.5
0.5
9
0
0
0
6
0
26
42.5000038
1.50000012
63.5000038
-1
0
0
-0
0
1
-0
1
0
true
0
1.29999995
5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162895361
0.0114782779
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
42.5000038
1.50000012
60.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
4
0
-0.5
0.5
0
0
false
256
Base
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
3
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
61.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Right
0
-0.5
0.5
9
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
37.5
3.10000014
63.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
1
2.4000001
7
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
28
37.5
5.10000038
63.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
1.60000002
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
26
37.5
1.50000012
63.0000038
-0
0
1
-0
1
0
-1
0
0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
2
0.800000012
7
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
1002
39
5.10000038
63.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0.600000024
0
0
0
2
1
1
1.60000002
2
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
28
40.5000038
5.30000019
63.5000038
0
0
-1
0
1
-0
1
0
-0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
2
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
26
44.5000038
2.9000001
60.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
7
2
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
199
45.2000008
3.50000024
60.5000038
0
1
-0
1
0
-0
0
0
-1
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
2
0
false
1056
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
3
1
0.800000012
0.400000006
3
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
37.5
2.10000014
64.5
0
0
-1
0
1
-0
1
0
-0
false
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
2
7
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
38
3.70000029
64.5
-1
0
-0
-0
1
-0
-0
0
-1
false
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
6
1.20000005
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
41.5000038
2.70000005
64.5
-0
-0
-1
-0
-1
-0
-1
-0
-0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
43.0000038
3.50000024
64.5
-1
0
-0
-0
1
-0
-0
0
-1
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
4
0.800000012
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
43.5000038
2.70000005
64.5
0
-0
1
0
-1
0
1
-0
0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
1004
30.5000019
3.70000029
56.5000038
1
0
0
0
1
0
0
0
1
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
1.20000005
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
33
3.70000029
56.5000038
1
0
0
0
1
0
0
0
1
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
4
1.20000005
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
28
34
5.30000019
57.5000038
-0
0
1
-0
1
0
-1
0
0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
2
2
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
1004
30.5000019
2.70000005
56.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
31.5000019
2.70000005
56.5000038
-0
-0
-1
-0
-1
-0
-1
-0
-0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
28
37.5
5.10000038
57.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
1.60000002
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
1002
36
5.10000038
57.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0.600000024
0
0
0
2
1
1
1.60000002
2
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
26
37.5
1.50000012
58.0000038
-0
0
1
-0
1
0
-1
0
0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
2
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
2
0.800000012
7
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
33.5
2.70000005
56.5000038
0
-0
1
0
-1
0
1
-0
0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
37.5
3.10000014
57.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
1
2.4000001
7
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
30.5000019
1.70000005
56.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
1.20000005
1
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
21
38
2.4000001
59.0000038
0
0
-1
0
1
-0
1
0
-0
true
false
0.5
0.300000012
-0.5
0.5
0
0
false
-0.5
0.5
2
0
false
256
0
Drive
0
-0.5
0.5
0
0
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
0
0
2
1
2
-
false
SteerCreate
--MADE BY SPACEK531
--Edited just a bit by MaximMike
par = script.Parent.Parent.Parent
b = script.Parent.Parent.Base
l = script.Parent.Parent.Left
r = script.Parent.Parent.Right
for _,i in pairs (script.Parent.Parent:GetChildren()) do
if i:IsA("Motor") then
i:Destroy()
end
end
left = Instance.new("Motor", script.Parent.Parent)
right = Instance.new("Motor", script.Parent.Parent)
left.Name = "LeftMotor"
right.Name = "RightMotor"
left.Part0 = l
right.Part0 = r
left.Part1 = b
right.Part1 = b
right.C0 = CFrame.new(-1.5-r.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.C1 = CFrame.new(-b.Size.x/2-2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
left.C0 = CFrame.new(-1.5-l.Size.x/2,0,0)*CFrame.Angles(math.pi/2,0,-math.pi/2)
left.C1 = CFrame.new(b.Size.x/2+2,0,0)*CFrame.Angles(math.pi/2,0,math.pi/2)
right.MaxVelocity = 0.1
left.MaxVelocity = 0.1
function rem(child)
if child:IsA("Weld") then
script.Parent.SteerScript.Disabled = true
script.Parent.Parent.Parent = par
end
end
function add(child)
if child:IsA("Weld") then
if child.Part1.Name == "Torso" then
script.Parent.Parent.Parent = child.Part1.Parent
script.Parent.SteerScript.Disabled = false
end
end
end
script.Parent.ChildAdded:connect(add)
script.Parent.ChildRemoved:connect(rem)
-
true
SteerScript
--MADE BY SPACEK531
--Modified by MaximMike
--The fact is that Client-side scripts tend to run faster than Server-side scripts.
--Localscript is client-side, so your model will work better.
--Also, everything is computed on YOUR computer, not on the server.
wait(0.1)
left = {}
right = {}
for _, i in pairs (script.Parent.Parent:GetChildren()) do
if i.Name == "LeftWheel" then
table.insert(left,i)
elseif i.Name == "RightWheel" then
table.insert(right,i)
end
end
for _,l in pairs (left) do
l.BottomParamA = 0
l.BottomParamB = 0
end
for _,r in pairs (right) do
r.BottomParamA = 0
r.BottomParamB = 0
end
script.Parent.Changed:connect(function()
script.Parent.Parent.LeftMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
script.Parent.Parent.RightMotor.DesiredAngle = math.rad(40*script.Parent.Steer)
for _,l in pairs (left) do
l.BottomParamA = 1*script.Parent.Throttle
l.BottomParamB = 2*script.Parent.Throttle
end
for _,r in pairs (right) do
r.BottomParamA = 1*script.Parent.Throttle
r.BottomParamB = -2*script.Parent.Throttle
end
end)
-
true
-0.5
0.5
9
0
0
0
7
12
26
32.5
1.50000012
57.5000038
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.5
5
0.5
9
0
-0.5
0.5
9
0
false
256
LeftWheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
0
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
9
0
-0.5
0.5
9
0
26
42.5000038
1.50000012
59.5000038
0
0
-1
0
1
-0
1
0
-0
true
0
0.699999988
-0.5
0.5
9
0
-0.5
0.5
3
0
false
256
Left
0
-0.5
0.5
3
0
0
0
0
-0.5
0.5
9
0
0
0
0
0
2
1
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
44.5000038
2.10000014
64.5
0
0
-1
0
1
-0
1
0
-0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
2
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
26
45.4000015
2.10000014
60.5000038
0
-1
-1.49011612e-008
-1
0
0
0
1.49011612e-008
-1
true
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
2
0.800000012
5
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
26
45.4000015
2.10000014
64
0
1
-0
1
0
-0
0
0
-1
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
2
0.800000012
2
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
1
45.2000008
3.50000024
63.0000038
-0
1
-0
-0
0
-1
-1
0
-0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
1536
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
3
2
0.400000006
0.800000012
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
38
3.70000029
56.5000038
1
0
0
0
1
0
0
0
1
false
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
6
1.20000005
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
37.5
2.10000014
56.5000038
-0
0
1
-0
1
0
-1
0
0
false
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
2
7
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
1002
39
5.10000038
57.5000038
0
0
-1
0
1
-0
1
0
-0
false
0
0.699999988
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0.600000024
0
0
0
2
1
1
1.60000002
2
-
true
-0.5
0.5
0
0
-0.5
0.5
2
0
28
40.5000038
5.30000019
57.5000038
0
0
-1
0
1
-0
1
0
-0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
2
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
41.5000038
2.70000005
56.5000038
-0
-0
-1
-0
-1
-0
-1
-0
-0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
43.0000038
3.50000024
56.5000038
1
0
0
0
1
0
0
0
1
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
4
0.800000012
1
-
true
-0.5
0.5
2
0
-0.5
0.5
2
0
28
43.5000038
2.70000005
56.5000038
0
-0
1
0
-1
0
1
-0
0
true
0.5
0
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
1
0.800000012
1
-
true
-0.5
0.5
9
0
0
0
6
0
26
42.5000038
1.50000012
57.5000038
0
-0
-1
1
-0
-0
0
-1
-0
true
0
1.29999995
-0.5
0.5
9
0
-0.5
0.5
9
0
false
256
Wheel
0
-0.5
0.5
9
0
-2.30971127e-005
1.60651084e-007
-0.00109354651
-0.5
0.5
9
0
0
0.00162799133
0.0113396952
0.000654890086
0
0
3
3
3
-
0.200000003
0
0.5
1
2
Mesh
0
0.75
0
1
0.5
1
1
1
1
-
1
Decal
20
0
http://www.roblox.com/asset/?id=30196679
0
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
28
44.5000038
2.10000014
56.5000038
-0
0
1
-0
1
0
-1
0
0
true
0
0
-0.5
0.5
0
0
-0.5
0.5
2
0
false
256
Part
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
2
0
0
0
0
0
2
1
1
2
1
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
1
45.2000008
3.50000024
58.0000038
-0
1
-0
-0
0
-1
-1
0
-0
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
1536
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
3
2
0.400000006
0.800000012
-
true
-0.5
0.5
0
0
-0.5
0.5
0
0
26
45.4000015
2.10000014
57.0000038
-0
1
0
-1
0
0
-0
0
1
true
0.5
0.300000012
-0.5
0.5
0
0
-0.5
0.5
0
0
false
256
Wedge
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
0
0
0
0
0
0
2
2
0.800000012
2
-
false
README
--[[
README
The chassis and all componenents included in this model are property of Spacek531 generously loaned to you.
Please remember to credit me for the chassis!
that is all,
Spacek531
If you mind this small edit: Updated just a bit by MaximMike
]]