Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Troubles with button guis and y axis?

Asked by 9 years ago

I'm having issues with the y axis of my buttons. He's the code:

001wait(1)
002 
003local tool = script.Parent
004local frame = tool.Frame
005local label = frame.Label
006local list = frame.List
007local createTool = frame.CreateTool
008local createItem = frame.CreateItem
009local processItem = frame.Process
010local clear = frame.Clear
011 
012local ingTable = {}
013 
014function getDist(a, b)
015    return (a - b).magnitude
View all 125 lines...

I cannot seem to change the y axis of buttons by changing

1button.Position = UDim2.new(0.35, 0, index * 0.05 + 0)

Help? Thanks!

Answer this question