Why is my tool clipping?

Well, I have a script that is meant to keep the one part’s position the same as the other. However, It slightly clips into the other. I cant figure out a fix, nor find one.

this is what it’s doing

and im sure you can tell what it’s meant to look like (the decal not clipped)

here’s the script

while task.wait() do
	script.Parent.Orientation =  Vector3.new(0, script.Parent.Orientation.Y, 0)
	script.Parent.Position = script.Parent.Parent.Handle.Position
end

(i know it’s not good, im still learning)

The wording is a little confusing. Are you trying to get the part without the decal to be at the part with the decal’s position?

The opposite, as the one without the decal is the handle.

Are both parts the same size? That could be your issue.

They’re the same size, and same position

So what’s the problem? You even said they are currently the same position, which is what you said you wanted to achieve in the first place.

Edit: I think I know what you mean now. Just make one part ever so slightly larger than the other. That should stop the weird clipping you’re experiencing.

That indeed works, I don’t know what I didn’t try it sooner, thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.