Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My boat falls apart when I un-anchor it?

Asked by 10 years ago

I know this isn't scripting related, but my boat falls apart when I un-anchor it. I can't use a script to fix this, and I welded every side of every piece. What am I doing wrong?

5 answers

Log in to vote
0
Answered by 10 years ago

Have you tried the terrain water? Or universal blocks and welds?

0
Some parts fall through the terrain water, others float. I welded every side of every block with surface welds, and It dosn't work. coolryblob12 0 — 10y
Ad
Log in to vote
0
Answered by 10 years ago
local model=Workspace:FindFirstChild("Boat") --or whatever it is
local middle_part=model:FindFirstChild("Center") --or whatever it is

if not model or not middle_part then
error("Model or middle part is missing");
end

function WeldModel(the_model)
for i,v in next,the_model:GetChildren() do
v.Anchored=false
w=Instance.new("Weld",middle_part)
w.Part0=v
w.Part1=middle_part
WeldModel(v)
end
end

WeldModel(model);

This will weld your boat together so that you can unanchor it

Log in to vote
0
Answered by
Maxomega3 106
10 years ago

Samuel's method is a good solid method. Another way is: Workspace.Boat:MakeJoints ()

That might not always work, however.

Log in to vote
0
Answered by
IcyEvil 260 Moderation Voter
10 years ago

You need to figure out a welding script that will weld all the parts together and attempt to make it buoyant ( If you don't know what buoyant means it means float/ ( Drive and or swim ) in the water ) If it succeeds at making it buoyant than you will be able to than either make a GUI or a tool regarding to tell you tools.

Log in to vote
0
Answered by 10 years ago

You didn't weld.

Answer this question