So your saying for me to create a new part into the middle of my crown and then put a weld constraint in it?
You can do that or if you have a center part you can just handle it from there also make can collide to be false and I think you need to unanchor all of it.
I have done what you said for me to do so now how would I create a script for it?
local partClone = game.ServerStorage.Part:Clone()
partClone.Parent = workspace.slenderWolf_YT.Head
local weld = Instance.new(“WeldConstraint”, workspace.slenderWolf_YT.Head)
weld.Part1 = partClone.MainPart --mainpart is the name of the central part to weld it to the head
weld.Part0 = workspace.slenderWolf_YT.Head
If you want to you can give me what you want to be welded but for the cloning here is what you need to do:
local partClone = game.ServerStorage.Part:Clone()
partClone.Parent = workspace.slenderWolf_YT.Head
local weld = Instance.new(“WeldConstraint”, workspace.slenderWolf_YT.Head)
weld.Part0 = workspace.slenderWolf_YT.Head
weld.Part1= partClone.MainPart
For welding the model together though just follow the instructions I told you to do.
You forgot WeldConstraint and clone.
What should I name the model because the script doesn’t seem to be working.
Anything you want it to be, just make sure to change the name in the script too.
Also rename everything to what you need it to be and change the name of anything else for that model such as the main part.
Okay, so here is the script I am using,
local partClone = game.ServerStorage.Part:Clone()
partClone.Parent = workspace.slenderW0lf_YT.Head
local weld = Instance.new("WeldConstraint", workspace.slenderW0lf_YT.Head)
weld.Part0 = workspace.slenderW0lf_YT.Head
weld.Part1= partClone.MainPart
I have the model named part
But it does not seem to be working.
It is because there are too many things named part, make the main part name Mainpart
Would the main part be the part with the wield constraint?
Yes it would then the script should work.
I have tried making the Mainpart the part with the weld constrant and then with the actual model name but it doesn’t work. The solution is probably obvious but here is my code and a screenshot once again.
local partClone = game.ServerStorage.Mainpart:Clone()
partClone.Parent = workspace.slenderW0lf_YT.Head
local weld = Instance.new("WeldConstraint", workspace.slenderW0lf_YT.Head)
weld.Part0 = workspace.slenderW0lf_YT.Head
weld.Part1= partClone.MainPart
You need to have the main part okay? and you need to have multiple welds for all the other parts you want to weld AND they need to be under the main part.
Could I get a example of what you mean?
I can’t give you an example at the moment but I’ll give you a video.https://www.youtube.com/watch?v=JJewor6gms0. Also if the details/instructions I have provided you just mark it as solution so people would know that this post
Also only use weld constraints for welding objects together, don’t use it in code use welds or else it will just weld to the exact position.
local partClone = game.ServerStorage.Mainpart:Clone()
partClone.Parent = workspace.slenderW0lf_YT.Head
local weld = Instance.new("Weld", workspace.slenderW0lf_YT.Head)
weld.Part0 = workspace.slenderW0lf_YT.Head
weld.Part1= partClone.MainPart
weld.C0 = CFrame.new(0,1.4,0) --setting offset to be above the head
You know you can use weld constraints in script right?