function()SimpleWeld(x,y)
local W = Instance.new("Weld")
W.Part0 = x
W.Part1 = y
W.Parent = x
end
end)
any ideas?
function()SimpleWeld(x,y)
local W = Instance.new("Weld")
W.Part0 = x
W.Part1 = y
W.Parent = x
end
end)
any ideas?
You meant (function (x,y) ? (at line1) Or function SimpleWeld (x,y)
You define a function like this:
function getWeld(x,y)
--Code
end
You are defining your function like this:
function() getWeld(x,y)
--Code
end
Also, you had a loose end in line 6.
Hope this helped.
This discussion is preserved as it was. New answers, comments, and votes are closed.
3 comments
function SimpleWeld (x,y)
Oh ok accept if it help xd
i still get the same error