You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I’m trying to make a morph script; got nearly everything working for it and most parts of a morph weld properly. -
What is the issue? Include screenshots / videos if possible!
Example for use is this helmet:
It welds (mostly) properly to the character, with everything but the headphones sitting on the character’s held welded.
Helmet is as follows, with the headphones off in the background:
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Haven’t been able to think of much of use, but I’ve looked around the hub and haven’t found other similar problems.
It seems like certain parts of the morph part just don’t move with the others when welded, as it stays where the morph piece is in the workspace.
It moves around with the rest of the helmet, but just doesn’t move to the helmet even after the weld.
All pieces are welded with the script below.
The pieces of the helmet are welded with WeldConstraints to the middle of the helmet.
The middle of the helmet is welded to the character’s bodypart with a regular Weld.
Been stuck on this for hours so any help is greatly appreciated.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
for i,v in pairs(model:GetChildren()) do
if v.Name ~= "Middle" then
local W = Instance.new("WeldConstraint")
W.Part0 = model.Middle
W.Part1 = v
W.Parent = v
end
end
local W = Instance.new("Weld")
W.Part0 = plyr.Character[nameSplit[1]]
W.Part1 = model.Middle
W.Parent = model.Middle
model.Parent = plyr.Character
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.