is there any other UI Children. Such as "TextBox" but numbers instead?
Asked by
7 years ago Edited 7 years ago
im trying to make a for loop where one of the values is the text from a texbutton gui
problem is, it says forloops can only take number values
is there any way to fix this?
i type numbers into the text button, but it still does not work
code:
02 | local player = script.Parent.Parent.Parent.Parent |
03 | local Mouse = player:GetMouse() |
04 | script.Parent.Parent.Parent.Start.StartButton.MouseButton 1 Click:connect( function (click) |
06 | for i = script.Parent.Parent.Parent.Objects.Object.Position,script.Parent.Text,. 1 do |
07 | script.Parent.Parent.Parent.Objects.Object.Position = script.Parent.Parent.Parent.Objects.Object.Position + UDim 2. new( 0 , 0 , 0 ,i) |