I've been trying to change the body velocity and I thought I may have find the solution but this, unfortunately, doesn't work.
function onTouched(part) Touch.Parent.BodyVelocity.velocity(0,10,0) wait(2) end script.Parent.Touched:connect(onTouched)
Please help me.
You need to set the value with Vector3.
function onTouched(part) Touch.Parent.BodyVelocity.velocity = Vector3.new(0,10,0) wait(2) end script.Parent.Touched:connect(onTouched)