Knockback for Cars

Hi,

I need a block that will knockback a car{Default Roblox Jeep}. I found system for Roblox Character but I can’t remake it to car.

Roblox Library ID: 7661787501

Thanks

You don’t have to make a script for the collision reaction, Roblox’s physics will do it for you, Just make sure to make the car use their physics.

Example: Use BodyForce.
Good luck !

But I want to make like a tool or a block.

Player will hit the block with car, and car will knockback

That’s exactly what they are talking about. Roblox’s collision system should do that for you if you use the settings inside of it.

I could try to find a way maybe, But it will very specific, It might not be EXACTLY what you imagine, But I’m pretty aure you can do that on your on, Try looking at Roblox’s Dev Hub.

You could create a part, and when the .Touched event of this part fires you find the cars Base and then give that a bodyforce, for example

local Part = game.workspace["PartName"]

Part.Touched:Connect(function(part)
    local BasePart = part:FindFirstAnchestor("BasePart")
    if BasePart then
        local Force = Instance.new("BodyForce")
        Force.Force = Vector3.new(0,10,0)
        Force.Parent = BasePart
        Game.Debris:AddItem(BasePart,0.1)
    end
end)