Weld constraint does not work

I have never had a problem with weld constraints, I use them all the time. But now suddenly when I’m using them in a viewport frame they dont seem to work? I’m moving a part but the welded parts connected to the main part does not move with it, I tried using Welds instead and that did not work either. And yes I did unanchor them. This is really annoying, does anyone know how to fix?

How exactly are you moving parts? If you are changing the Position, this won’t work, you need to change CFrame.

local v = Clash.PrimaryPart or Clash.HumanoidRootPart
v.CFrame = Holder.CFrame

This is the script I’m using.

I don’t really understand what do you mean by

using them in a viewport frame

Can you explain the usage better?

The parent is a viewportframe, so basically they are a part of a UI. Dont think it should matter tho

You should change the cframe of the model instead

model:SetPrimaryPartCFrame(Holder.CFrame)

Are they inside a WorldModel?

It is a better way to use model:PivotTo()

Better use model:PivotTo(CFRAME), since :SetPrimaryPartCFrame is deprecated.

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