How would I make it so a tweened part has to stay in a certain area/part?

using the RaycastResult (more specifically the .Normal) from Workspace:Raycast(), you would reflect the direction.
this might be a good resource idk, here’s a snippet displaying the formula you might use

TweenService has the neat behavior of canceling the previous tween in place if its on the same object with the same property, so you don’t have to; just make a new tween. Use Tween:Cancel() if you do need to stop it yourself.

1 Like