I'm stuck on this and currently need help solving it.
I don't know if I'm doing it right.
Code I have so far :
List = script.Parent Command = script.Command:Clone() function AddCmd(Label,cmdname,parent) local cmdname = Label.Text local Pos = script.Pos local parent = Label.Parent local CurrenPos = script.CP CurrenPos.Value = tostring(Label.Position.Y) Pos.Value = Label.Position.Y wait() Label.Position = UDim2.new(0.02, 0,0.2 , 0) end AddCmd(Command,'1. kill [plr]',List)
I'm making a command list, and I want to make it where if I add a command later on, it moves down from the latest TextLabel showing a command, but down by 0.05
Any help
(making it a function is easier for me in my opinion)
Something like Pos.Y = Pos.Y + 0.05
will do it, I think. But i don't know that Command.Pos
or Command.Position
is better. Try both