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

I made a code to make it move all the items so that they line up. Heres the code:?

The only problem I have so far is the taskbar, I made a code to make it move all the items so that they line up. Heres the code:

#code Taskbar.CleanUp = function() for i,v in pairs(script.Parent.OpenApps:GetChildren()) do v.Position = UDim2.new(0,#script.Parent.OpenApps:GetChildren()*50,0,0) end end

This is meant to move all the items by 50 Offset to the left. However it does not, it moves them all to the middle.

Can anyone help?

1 answer

for i = 0,100,1 do
	script.Parent:TranslateBy(Vector3.new(i,0,0))
end

1 comment

0

Just change the '0,100,1' to what ever you want it to be.

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