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

I dont understand why my script wont clone a GUI and place it -5 under it?

I tried my best with this one, didnt really know what I got myself into but I tried at least

while true do
wait(0.2)
	Instance.new()
	wait(0.2)
	script.Parent.Position.X = {0.057, 0}
	script.Parent.Position.X = {+5, 0}
	
	
	
	
end

All help is appreciated :)

1 answer

✓ Accepted answer

You need to use a UDim2, which is what you use for GUIs:

script.Parent.Position = UDim2.new(xScreenLength, xOffput, yScreenHeight, yOffput)

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