Im trying to create a part that creates a explosionbelow the character’s legs that would send their part’s far
The problem is that the explosion usually just sends the body parts down
Ive tried using CFrame’s (Which just made the explosion not work btw) and changing the coordinates of the Vector3 (lowering the Y coordinate doesn’t work)
The reason I made it like this is when your in a vehicle you don’t really go far in any direction, and I want the flying body parts to be more consistent. For those who might not know the script is in the part
function blow(hit)
local h = hit.Parent:FindFirstChild("Humanoid")
local Leg = hit.Parent:FindFirstChild("Left Leg") --identifying legs
hit.Parent.RagdollV3:Destroy() --removing ragdoll script
if (h ~= nil) then --checking if the part is a humanoid
h.Sit = false --getting off car seat
script.Parent.Sound:play()
local explosion = Instance.new("Explosion")
explosion.BlastPressure = 2000000
explosion.BlastRadius = 5
explosion.Position = Leg.Position + Vector3.new(0,-2,0) --trying to position below the players legs
explosion.Parent = game.Workspace
script.Parent.CanTouch = false --making sure the explosion only happens once
wait(3)
script.Parent.CanTouch = true
end
end
script.Parent.Touched:connect(blow)