Problem with Rotation on rust like building system

Does anyone know why this is happening? The placement works perfectly on the part i was doing testing on the system is using attachments for the snapping but I’m trying to change the basic part over with my new blender part i made that looks like wood. Even if I just copy the attachment over and position it with the same rotation and orientation it does this??? Can anyone help me.

I figured it out! For anyone else having this issue it was because I was using the “Wall” model as the floor just rotated the part, so the pivot point and actual rotation was modified which the script was trying to use so I just rotated the “Wall” in blender and then exported it as the new floor model and that fixed it!