Model not moving via model:SetPrimaryPartCFrame()

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!

when the player looks around the model should move to a position ~10 studs away and rounded to the size value of the model

  1. What is the issue? Include screenshots / videos if possible!

when the variable ModelID is set to 1 in this script
the model loads in at the cordinates in the model and not the position where the player is facing
the same script also works when the ModelID var is set to 2

module script that is refrenced in script above
the models

  1. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I have tried adding more parts to the model that is not moving but nothing changed(which is why there is a part called filler in the Plate model)

If anyone has any ideas on why this script is broken for one model but works fine for the other

edit: pastebin links for easier acess
the main script here
module script here

Did you try setting the PrimaryPart up?

primary part is set in the plate model to the visible part and in the more house-looking one the base

Replace model:SetPrimaryPartCFrame() to model:MoveTo().

wont work because model:MoveTo() doesn’t allow models to clip through each other (i tried that before but it wouldn’t let me put models even slightly in another model

I just found out why it didn’t work
Apparently while making the model it created a weld between the main part and the baseplate which prevented it from moving