Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local driver = script.Parent.Parent.Character
- local car = game:GetService("InsertService"):LoadAsset(6309389531)
- for _,v in pairs(car:GetDescendants()) do
- if v:IsA("BasePart") then
- v.CanCollide = false
- v.Anchored = false
- v.Massless = true
- local w = Instance.new("Weld")
- w.Part0 = driver.HumanoidRootPart
- w.Part1 = v
- w.C0 = CFrame.new(1.5,-0.1,0)
- w.Parent = v
- v.Parent = driver
- v.Name = "Car"
- local light = Instance.new("SpotLight")
- light.Face = "Front"
- light.Color = BrickColor.new("Bright yellow").Color
- light.Range = 200
- light.Brightness = 7
- light.Parent = v
- light.Angle = 45
- local a = Instance.new("Sound")
- a.SoundId = "http://www.roblox.com/asset?id=532147820"
- a.Volume = 0.55
- a.Parent = v
- a.Looped = true
- a:Play()
- local a2 = Instance.new("Sound")
- a2.SoundId = "http://www.roblox.com/asset?id=12860186336"
- a2.Volume = 0.65
- a2.Parent = v
- a2.Looped = true
- a2:Play()
- task.spawn(function()
- while v.Parent ~= nil do
- local Pitch = 0.5+(v.AssemblyLinearVelocity.Magnitude/225)
- a.Pitch = math.clamp(Pitch,0.4,2)
- driver.Humanoid.WalkSpeed = 225
- if driver:findFirstChild("Status") then
- if driver.Status.Sprinting.Value then
- driver.Humanoid.WalkSpeed = 350
- end
- end
- task.wait()
- end
- end)
- elseif v:IsA("SpecialMesh") then
- v.Scale += Vector3.new(3,3,3)
- end
- end
- --------------------------------------------------
- local passenger1 = workspace["Parade_King"]
- local w1 = Instance.new("Weld")
- w1.Part0 = driver.HumanoidRootPart
- w1.Part1 = passenger1.HumanoidRootPart
- w1.C0 = CFrame.new(3.5,0,0)
- w1.Parent = driver.Car
- passenger1.Humanoid.PlatformStand = true
Advertisement
Add Comment
Please, Sign In to add comment