I am trying to make an explosion that will launch anything within 10 studs back. but im not sure how i would do that.
debounce = true
script.Parent.Touched:connect(function(hit)
if hit.Parent:FindFirstChild'Humanoid' and debounce then
debounce = false
hit.Parent.Humanoid:TakeDamage(25)
bv = Instance.new("BodyVelocity", hit.Parent.UpperTorso)
bv.Velocity = hit.Parent.UpperTorso.CFrame *Vector3.new(0,100,45)
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
hit.Parent.Humanoid.Sit = true
game.Debris:AddItem(bv,.04)
wait(.1)
debounce= true
end
end)
