How do I make it so when I crash a car the model isn’t all broken so so much
Based on the limited information you gave, this client code should do what you’re asking for.
Citizen.CreateThread(function() while true do Wait(3) if IsPedInAnyVehicle(PlayerPedId()) then -- Check if player is in any vehicle. local vehicle = GetVehiclePedIsIn(PlayerPedId()) -- Save the vehicle entity id. if GetPedInVehicleSeat(vehicle, -1) == PlayerPedId() then -- Make sure the player is in the driver seat. SetVehicleDeformationFixed(vehicle) -- Fix vehicle deformation. SetVehicleBodyHealth(vehicle, 1000.0) -- Reset vehicle body health to 1000 (max). RemoveDecalsFromVehicle(vehicle) -- Remove scratch decals from vehicle. else Wait(1000) -- If player isn't in driver seat, pause the thread for 1s to save client CPU. end else Wait(1000) -- If the player isn't in any vehicle, pause the thread for 1s to save client CPU. end end end)