https://gyazo.com/4e62156592322c258d7976e24458d66e (How does the thing push the ball?)
✓ ANSWER ACCEPTED
How does this work?
1 answer
✓ Accepted answer
Make a part, then inside of it put a script like this.
local debris = game:service("Debris")
function onTouched(hit)
local F = Instance.new("BodyVelocity")
F.Parent = hit
F.velocity = script.Parent.CFrame.lookVector * 50
F.maxForce = Vector3.new(4e+006,3e+005,4e+006)
debris:AddItem(F,0.3)
wait(1)
end
script.Parent.Touched:connect(onTouched)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
I'm not sure what you're asking?