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

Having issues getting the size and position to what I want?

Asked by
Thetacah 712 Moderation Voter
9 years ago

Hey guys, this is my current issue. This script works perfectly, however I want it to have two on each line.

Basically, this is what this script makes it look like:(Only one image) https://twitter.com/thetacah/status/549357744655200256/photo/1

I want to have two images horizontal instead of 1. I've done it before, but I forgot how to do it. I know it's pretty basic, I just forget how to do.(I tried a bunch of math yet didn't get it right).

This is the script.


for i ,v in pairs(CharacterFrame:GetChildren()) do v.Size = UDim2.new(1, 0,1/NumberOfGuis, 0) v.Position = UDim2.new(0, 0, 1/NumberOfGuis*(i-1), 0) end

Answer this question