generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

How do you change the position of a Gui?

Previous Thread :: Next Thread 
alliancer is not online. alliancer
Joined: 18 Mar 2013
Total Posts: 1016
17 Sep 2013 11:16 PM
script.Parent.Parent.Desktop.Position(UDim2.new(2, 0, 0, 0))

Is what I've been trying, but it's not working, are there any ideas out there?
Report Abuse
Iterations is not online. Iterations
Joined: 22 Jul 2013
Total Posts: 751
17 Sep 2013 11:17 PM
Position = UDim2.new(XScale, XOffset, YScale, YOffset)
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
17 Sep 2013 11:52 PM
Take an existing GUI to get an idea of how the positioning works.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
18 Sep 2013 12:39 AM
Problem is that 2. UDim2.new(2, 0, 0, 0)... Odds are high that this sends the gui off the screen. Try something like (.5, 0, 0, 0)

Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image