Did anyone make a function about it?

would be cool to have something like that

local function createPolygon(tableContainingCoordinatesOfSides)
	for i,v in pairs(tableContainintCoordinatesOfSides) do
		blahblah
	end
end

3 comments

0

This would be cool

0

I think Sukinahito had a Snack Break problem on this and posted the solution. Try checking the recent blog posts.

0

Although you did show a piece of code. Scripting Helpers are meant to help repair or help out poorly made scripts or help fix them.