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

Will this script Weld a tool?

Asked by
IcyEvil 260 Moderation Voter
10 years ago
function weld()
    w = Instance.new("Weld")
    t = script.Parent
    t.Part = w
    wait(2.0)
    t.Part = w
    wait(2.0)
    t.Part = w
    wait(2.0)
    t.Part.w = true
end
weld()

I'm new to scripting and I don't really know how to script a weld script but I don't want to use a free model, Can anyone tell me what's wrong If anything?

1 answer

Log in to vote
0
Answered by 10 years ago

The first t.Part is supposed to be t.Parent change the first t.Part to t.Parent = t then there's the second one, the second t.Part is supposed to be t.Part0, t.Part0 should equal to the first thing you want to weld, if you wanted a certain part to be welded you have to direct to it, if it's in the tool do "t.Part0 = t.NAMEHERE" then the third t.Part should be t.Part1 again you need to do the same thing. The last one you don't need. You need to also remove the waits, the function and the "weld()" if you want them welded straight away. I hoped this helped.

0
Sorry but you have WAAAAAY to many negatives I can't Entirely Trust you Sorry ;c, Thank you though. IcyEvil 260 — 10y
Ad

Answer this question