Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Cars = workspace.Vehicles
- local Plr = game.Players.LocalPlayer
- task.spawn(function()
- while task.wait() do
- if Cars[Plr.Name] then
- Cars[Plr.Name]:SetAttribute("IsOn",true)
- Cars[Plr.Name]:SetAttribute("CurrentHealth",1)
- Cars[Plr.Name]:SetAttribute("CurrentFuel",1)
- local Wheels = Cars[Plr.Name].Wheels
- for _, v in ipairs(Wheels:GetDescendants()) do
- if v.Name == "Parts" then
- v.RimB.Transparency = 0
- v.RimW.Transparency = 0
- v.Tire.Transparency = 0
- local newPhysicalProperties = PhysicalProperties.new(0.65,1.4,1,1,1)
- v.Parent.CustomPhysicalProperties = newPhysicalProperties
- end
- end
- end
- end
- end)
- while task.wait() do
- Plr = game.Players.LocalPlayer
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement