View difference between Paste ID: fpdwei4E and 9DCnbmJh
SHOW: | | - or go back to the newest paste.
1-
script.Parent = owner.Character
1+
2
Seat.Parent = script
3
Seat.Size = Vector3.new(4,1,10)
4
Seat.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,8,-8.057)
5
Seat.TopSurface = Enum.SurfaceType.Smooth
6
Seat.BottomSurface = Enum.SurfaceType.Smooth
7
Bumper = Instance.new("Part")
8
Bumper.Parent = script
9
Bumper.Size = Vector3.new(7.75,2.25,1)
10
Weldlol3 = Instance.new("Weld")
11
Weldlol3.Parent = Seat
12
Weldlol3.Part0 = Seat
13
Weldlol3.Part1 = Bumper
14
Weldlol3.C1 = Weldlol3.C1 * CFrame.new(0,-1.25,9.75)
15
Bumper3 = Instance.new("Part")
16-
side = Instance.new("Part")
16+
17-
side.Parent = script
17+
18-
side.Size = Vector3.new(1.75,0.25,17.15)
18+
19-
Weldside = Instance.new("Weld")
19+
20-
Weldside.Parent = Seat
20+
21-
Weldside.Part0 = Seat
21+
22-
Weldside.Part1 = side
22+
23-
Weldside.C1 = Weldside.C1 * CFrame.new(3.0625,-2.25,0.625)
23+
24-
side2 = Instance.new("Part")
24+
25-
side2.Parent = script
25+
26-
side2.Size = Vector3.new(1.75,0.25,17.15)
26+
27-
Weldside2 = Instance.new("Weld")
27+
28-
Weldside2.Parent = Seat
28+
29-
Weldside2.Part0 = Seat
29+
30-
Weldside2.Part1 = side2
30+
31-
Weldside2.C1 = Weldside2.C1 * CFrame.new(-3.0625,-2.25,0.625)
31+
32
Bumper4.Parent = script
33
Bumper4.Size = Vector3.new(4,2.25,4.65)
34
Weldlol33 = Instance.new("Weld")
35
Weldlol33.Parent = Bumper2
36
Weldlol33.Part0 = Bumper2
37
Weldlol33.Part1 = Bumper4
38
Weldlol33.C1 = Weldlol33.C1 * CFrame.new(0,0,2.5)
39
Seat.Anchored = true
40
wheel3 = Instance.new("Part")
41
wheel3.Parent = Seat
42
wheel3.Size = Vector3.new(5,1,5)
43
wheel3.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(-3.739,6.5,5.75)
44
wheel3.TopSurface = Enum.SurfaceType.Smooth
45
wheel3.BottomSurface = Enum.SurfaceType.Smooth
46
wheel4 = Instance.new("Part")
47
wheel4.Parent = Seat
48
wheel4.Size = Vector3.new(5,1,5)
49
wheel4.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(3.739,6.5,5.75)
50
wheel4.TopSurface = Enum.SurfaceType.Smooth
51
wheel4.BottomSurface = Enum.SurfaceType.Smooth 
52
  local attachment03 = Instance.new("Attachment")
53
                attachment03.Parent = wheel3
54
                local attachment13 = Instance.new("Attachment")
55
                attachment13.Parent = Seat
56-
wheel = Instance.new("Part")
56+
57-
wheel.Parent = Seat
57+
58-
wheel.Size = Vector3.new(1,3,3)
58+
alignposition3.ActuatorType = "Servo"
59-
steer = Instance.new("Part")
59+
alignposition3.TargetAngle = -35
60-
steer.Parent = Seat
60+
alignposition3.Name = "Hinge3"
61-
steer.Size = Vector3.new(1,1,1)
61+
alignposition3.ServoMaxTorque = 10000000
62-
steer2 = Instance.new("Part")
62+
alignposition3.AngularSpeed = 10000000
63-
steer2.Parent = Seat
63+
64-
steer2.Size = Vector3.new(1,1,1)
64+
65-
steer.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(-3.739,1,-7.25)
65+
attachment13.WorldCFrame = attachment13.Parent.CFrame * CFrame.new(0,5,-15.75)
66-
steer2.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(3.739,1,-7.25)
66+
attachment03.WorldCFrame = attachment03.Parent.CFrame * CFrame.new(0,0,2.5)
67-
steer.Transparency = 1
67+
68-
steer.CanCollide = false
68+
69-
steer2.Transparency = 1
69+
70-
steer2.CanCollide = false
70+
71-
wheelsus = Instance.new("Part")
71+
72-
wheelsus.Parent = Seat
72+
73-
wheelsus.Size = Vector3.new(1,1,1)
73+
alignposition23.ActuatorType = "Servo"
74-
wheelsus2 = Instance.new("Part")
74+
alignposition23.TargetAngle = 35
75-
wheelsus2.Parent = Seat
75+
alignposition23.Name = "Hinge3"
76-
wheelsus2.Size = Vector3.new(1,1,1)
76+
alignposition23.ServoMaxTorque = 10000000
77-
wheelsus.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(-3.739,1,-7.25)
77+
alignposition23.AngularSpeed = 10000000
78-
wheelsus2.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(3.739,1,-7.25)
78+
79-
wheelsus.Transparency = 1
79+
80-
wheelsus.CanCollide = false
80+
attachment123.WorldCFrame = attachment123.Parent.CFrame * CFrame.new(0,0, -15.75)
81-
wheelsus2.Transparency = 1
81+
attachment023.WorldCFrame = attachment023.Parent.CFrame * CFrame.new(0,0,2.5)
82-
wheelsus2.CanCollide = false
82+
83
local motor2 = alignposition23
84-
wheel.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(-3.739,6.5,-7.25)
84+
85-
wheel.TopSurface = Enum.SurfaceType.Smooth
85+
86-
wheel.BottomSurface = Enum.SurfaceType.Smooth
86+
87-
wheel2 = Instance.new("Part")
87+
local angleSteer = 35
88-
wheel2.Parent = Seat
88+
89-
wheel2.Size = Vector3.new(1,3,3)
89+
	if property == "Steer" then
90-
wheel2.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(3.739,6.5,-7.25)
90+
	    alignposition3.TargetAngle = angleSteer * Seat.Steer
91-
wheel2.TopSurface = Enum.SurfaceType.Smooth
91+
		alignposition23.TargetAngle = angleSteer * -Seat.Steer
92-
wheel2.BottomSurface = Enum.SurfaceType.Smooth
92+
93
end
94
Seat.Changed:Connect(carMove)
95-
wheel3.Size = Vector3.new(1,3,3)
95+
96
local friction = 1
97
local elasticity = 0
98
local frictionWeight = 100000000000
99
local elasticityWeight = 0
100
local physProperties = PhysicalProperties.new(density, friction, elasticity, frictionWeight, elasticityWeight)
101-
wheel4.Size = Vector3.new(1,3,3)
101+
102
wheel3.CustomPhysicalProperties = physProperties
103
wheel4.CustomPhysicalProperties = physProperties
104-
wheel4.BottomSurface = Enum.SurfaceType.Smooth
104+
105-
wheel.Shape = Enum.PartType.Cylinder 
105+
106-
wheel2.Shape = Enum.PartType.Cylinder 
106+
107-
wheel3.Shape = Enum.PartType.Cylinder 
107+
108-
wheel4.Shape = Enum.PartType.Cylinder 
108+
-- function Touch(balls)
109-
  local attachment0 = Instance.new("Attachment")
109+
-- balls.Touched = true
110-
                attachment0.Parent = steer
110+
-- end
111-
                local attachment1 = Instance.new("Attachment")
111+