Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Loading car...")
- wait (0.5)
- local car = Instance.new("SpecialMesh") --Do not tinker with this.
- local target = game.Workspace.xXRedPawnerXx
- local target2 = game.Players.xXRedPawnerXx --Replace them with your name (do not do this literally)
- local Gasoline = 1500 --You can change the value to anything.
- local headlight = Instance.new("SpotLight")
- function RunOver(hit)
- hit:BreakJoints()
- target.Humanoid.Sit = true
- wait (2)
- target.Humanoid.JumpPower = 1
- target.Humanoid.Sit = false
- target.Humanoid.Jump = true
- wait (2)
- target.Humanoid.JumpPower = 0
- end
- headlight.Parent = target.Torso
- headlight.Range = 16
- headlight.Brightness = 35
- headlight.Enabled = true
- headlight.Face = "Front"
- headlight.Angle = 90
- headlight.Shadows = false
- target2.Backpack:ClearAllChildren()
- target.Torso.Touched:connect(RunOver)
- car.Parent = target.Torso
- car.MeshType = "FileMesh"
- car.Scale = car.Scale + Vector3.new(4,4,4)
- car.MeshId = "rbxassetid://31183817"
- car.TextureId = "rbxassetid://31183303"
- target.Humanoid.WalkSpeed = 60 ----You can change the speed.
- target.Humanoid.MaxHealth = Gasoline
- target.Humanoid.Health = Gasoline
- target.Humanoid.JumpPower = 0
- target.Animate:Destroy()
- target.Humanoid.DistanceDisplayType = "None"
- target["Right Arm"].Transparency = 1
- target["Left Arm"].Transparency = 1
- target["Left Leg"].Transparency = 1
- target["Right Leg"].Transparency = 1
- while true do
- wait (1)
- target.Humanoid.Health = target.Humanoid.Health - 0.5
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement