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 11 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 11 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 — 11y
Ad
Log in to vote
0
Answered by 11 years ago
01local model=Workspace:FindFirstChild("Boat") --or whatever it is
02local middle_part=model:FindFirstChild("Center") --or whatever it is
03 
04if not model or not middle_part then
05error("Model or middle part is missing");
06end
07 
08function WeldModel(the_model)
09for i,v in next,the_model:GetChildren() do
10v.Anchored=false
11w=Instance.new("Weld",middle_part)
12w.Part0=v
13w.Part1=middle_part
14WeldModel(v)
15end
16end
17 
18WeldModel(model);

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

Log in to vote
0
Answered by
Maxomega3 106
11 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
11 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 11 years ago

You didn't weld.

Answer this question