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
 

Re: Question.

Previous Thread :: Next Thread 
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
20 Oct 2014 02:48 PM
How would you change a GUI's position using UDim2 for every second, like if I wanted it to go up +10 every second, how would I go about this?

Who am I?
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
20 Oct 2014 03:36 PM
While wait(1) do
thingy.Position = thingy.Position + UDim2.new(0,0,0,10)
end
Report Abuse
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
20 Oct 2014 03:59 PM
doesn't work
?

Who am I?
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
20 Oct 2014 04:00 PM
Well of course it doesn't
Report Abuse
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
20 Oct 2014 04:02 PM
local Frame = script.Parent.Parent
local credits, data, info, start = Frame:WaitForChild("Credits"), Frame:WaitForChild("Data"), Frame:WaitForChild("Info"), Frame:WaitForChild("Start"),


while wait(1) do
credits.Position = credits.Position + UDim2.new(0,0,0,10)
end

Who am I?
Report Abuse
domogomo is not online. domogomo
Joined: 03 Jun 2012
Total Posts: 335
20 Oct 2014 04:02 PM
You need to edit eLunate script for it to work, btw that script will never end :)
Report Abuse
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
20 Oct 2014 04:05 PM
fixed the end
and ik how to edit a script,

it just says while won't work in studio

Who am I?
Report Abuse
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
23 Oct 2014 03:18 PM
1
Report Abuse
Egzekiel is online. Egzekiel
Joined: 10 Jan 2011
Total Posts: 1079
23 Oct 2014 03:20 PM
while true do
wait(1)
credits.Position = credits.Position + UDim2.new(0,0,0,10)
end

Instead of:

while wait(1) do
credits.Position = credits.Position + UDim2.new(0,0,0,10)
end
Report Abuse
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
23 Oct 2014 03:31 PM
I thought so, but..
prntscr.com/4z1tcr

Who am I?
Report Abuse
Havum is not online. Havum
Joined: 19 Sep 2014
Total Posts: 91
25 Oct 2014 03:08 PM
2

Who am I?
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