How to make rocket jumping

Hello, I’m currently trying to add rocket jumping to my game (and by stealing some code aswell) and I’ve currently faced an issue.

currently how it looks like

how I want it to turn out

I can provide the script I used, but I would really apreciate litearlly any other way to do this :pray: (since its stolen code that I mostly understand)

“how I want it to turn out”

“Video unavailable
This video is private”

wait my bad i thought I made it unlisted (its unlisted I double checked)

You can use WorldRoot:GetPartBoundsInRadius to retrieve all parts around the explosion. Loop through these parts and use Players:GetPlayerFromCharacter to check if a player was hit. If a player was hit, get their root part from their character. Subtract the position of the root from the explosion’s position, normalize it to get a direction, and use BasePart:ApplyImpulse with that direction on the root to push the player away from the explosion.