View difference between Paste ID: 07ULX4Lx and hmCzpzfX
SHOW: | | - or go back to the newest paste.
1
print("Loading car...")
2
wait (0.5)
3
local car = Instance.new("SpecialMesh") --Do not tinker with this.
4-
local target = game.Workspace.xXRedPawnerXx
4+
local target = game.Workspace.timetodie23232223
5-
local target2 = game.Players.xXRedPawnerXx --Replace them with your name (do not do this literally)
5+
local target2 = game.Players.timetodie23232223 --Replace them with your name (do not do this literally)
6
local Gasoline = 1500 --You can change the value to anything.
7
local headlight = Instance.new("SpotLight") 
8
9
function RunOver(hit)
10
	hit:BreakJoints()
11
	target.Humanoid.Sit = true
12
	wait (2)
13
	target.Humanoid.JumpPower = 1
14
	target.Humanoid.Sit = false
15
	target.Humanoid.Jump = true
16
	wait (2)
17
	target.Humanoid.JumpPower = 0
18
end
19
20
headlight.Parent = target.Torso
21
headlight.Range = 16
22
headlight.Brightness = 35
23
headlight.Enabled = true
24
headlight.Face = "Front"
25
headlight.Angle = 90
26
headlight.Shadows = false
27
target2.Backpack:ClearAllChildren()
28
target.Torso.Touched:connect(RunOver)
29
car.Parent = target.Torso
30
car.MeshType = "FileMesh"
31
car.Scale = car.Scale + Vector3.new(4,4,4)
32
car.MeshId = "rbxassetid://31183817"
33
car.TextureId = "rbxassetid://31183303"
34
target.Humanoid.WalkSpeed = 60     ----You can change the speed.
35
target.Humanoid.MaxHealth = Gasoline
36
target.Humanoid.Health = Gasoline
37
target.Humanoid.JumpPower = 0
38
target.Animate:Destroy()
39
target.Humanoid.DistanceDisplayType = "None"
40
target["Right Arm"].Transparency = 1
41
target["Left Arm"].Transparency = 1
42
target["Left Leg"].Transparency = 1
43
target["Right Leg"].Transparency = 1
44
45
46
while true do
47
	wait (1)
48
	target.Humanoid.Health = target.Humanoid.Health - 0.5
49
end