What I want it to do is when it touches a brick named Baseplate It'll weld itself to it.
Part = workspace.Part
function weldontouch(hit)
if hit.Name == "Baseplate" then
Glue = Instance.new("Weld", Part)
Glue.Part0 = Part
Glue.Part1 = hit
end
end
script.Parent.Touched:connect(weldontouch)
