im tryna make this script that when i press a menu button it replaces an existing sword with a new sword for the player and im running into an issue where my primary part of the sword gets spawned correctly but the rest of it spawns way farther out, i suspect an issue with the cframe logic but ive been trying to fix it for a while and i cant seem to get it.
#cframe issue
1 messages · Page 1 of 1 (latest)
if the only issue is the detachment of the primarypart from the rest of the model, then try model:PivotTo when positioning the sword instead of setting the cframe of the primarypart
^this is likely because you're moving the cframe before welds are created btw
wait so if i remove the welding of the sword from the script and do it manually it would basically be fixed??
or create the welds before calling doweld()
up to preference