Cannot find a balance between Anchored and CanCollide

Hi all! I hope the title isn’t misleading, but I could not find a fitting title. I have created a weld between a part and my torso, however I need the CanCollide to equal false but because of the weld, the part in which I am welding also needs to be unanchored but obviously this makes the part nil. I was wondering if I could get some advice on how to navigate this. I’ll leave my script below

Server Script

	elseif Event == "CreateZone" then
		local Zone = workspace.Zone
		local Character = Player.Character or Player.CharacterAdded:Wait()
		local NewZone = Zone:Clone()
		NewZone.Parent = Character
		local Weld = Instance.new("WeldConstraint")
		Weld.Parent = Character
		Weld.Part0 = NewZone
		Weld.Part1 = Character.HumanoidRootPart
		NewZone.Position = Character.HumanoidRootPart.Position
	end

Any help is appreciated.

2 Likes

Is the Zone a model or a part?

1 Like

I have fixed it now, thank you though

1 Like

mark your post as solved and explain the solution you used

3 Likes