Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Will this script Weld a tool?

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

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.

1 comment

0

Sorry but you have WAAAAAY to many negatives I can't Entirely Trust you Sorry ;c, Thank you though.

This discussion is preserved as it was. New answers, comments, and votes are closed.