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 » Scripters
Home Search
 

Re: Simple Gui animation HELP!

Previous Thread :: Next Thread 
NEWRandumGuy is not online. NEWRandumGuy
Joined: 26 Feb 2012
Total Posts: 74
24 Sep 2015 03:57 PM
I am trying to make a gui move from the top of the screen to the middle and stop there, but my script has a error.

local Logo = script.Parent.Parent.NGFXLogo

repeat wait(0.01) Logo.Position = Logo.Position + UDim2.new(0, 0, 0.005, 0)
until Logo.Position = (0, 0, 0.2, 0)
end

There is a error at the "=" symbol in the "until Logo.Position = (0, 0, 0.2, 0)" line.

Why and how do I fix it and still make it do what I want it to do?
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
24 Sep 2015 04:00 PM
Forget all of that...and use

Logo:TweenPosition(0,0,.2,0)
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
24 Sep 2015 04:00 PM
Oh, and btw you have to use "==" aka equal to.

print(1=1) --Error
print(1==1) --true
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
24 Sep 2015 04:00 PM
http://wiki.roblox.com/index.php?title=API:Class/GuiObject/TweenPosition

-The [Guy]
Report Abuse
NEWRandumGuy is not online. NEWRandumGuy
Joined: 26 Feb 2012
Total Posts: 74
24 Sep 2015 04:11 PM
Way to fast! is there a way of making it move slowly?
Report Abuse
Thundermaker300 is not online. Thundermaker300
Joined: 22 Mar 2013
Total Posts: 2949
24 Sep 2015 04:12 PM
omg, why you doin that sht, use dis instead:
http://wiki.roblox.com/index.php?title=TweenPosition



https://www.youtube.com/watch?v=qLKhxjfG03A
Report Abuse
NEWRandumGuy is not online. NEWRandumGuy
Joined: 26 Feb 2012
Total Posts: 74
24 Sep 2015 04:14 PM
Too fast guys it need to look like a animation
Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
24 Sep 2015 04:20 PM
bool TweenPosition (
UDim2 endPosition,
EasingDirection easingDirection = Out,
EasingStyle easingStyle = Quad,
float time = 1,
bool override = false,
void function() callback = nil
)

Increase the time argument. [2]

-The [Guy]
Report Abuse
Thundermaker300 is not online. Thundermaker300
Joined: 22 Mar 2013
Total Posts: 2949
24 Sep 2015 04:20 PM
bool TweenPosition (
UDim2 endPosition,
EasingDirection easingDirection = Out,
EasingStyle easingStyle = Quad,
float time = 1,
bool override = false,
void function() callback = nil
)

Increase the time argument. [3]



https://www.youtube.com/watch?v=qLKhxjfG03A
Report Abuse
NEWRandumGuy is not online. NEWRandumGuy
Joined: 26 Feb 2012
Total Posts: 74
24 Sep 2015 04:27 PM
No clue how that helps me XD
Report Abuse
Thundermaker300 is not online. Thundermaker300
Joined: 22 Mar 2013
Total Posts: 2949
24 Sep 2015 04:28 PM
it's going fast cause you have it set to 1, or nothing at all (nothing defaults to one)
For more info go here:
http://wiki.roblox.com/index.php?title=Tweening



https://www.youtube.com/watch?v=qLKhxjfG03A
Report Abuse
NEWRandumGuy is not online. NEWRandumGuy
Joined: 26 Feb 2012
Total Posts: 74
24 Sep 2015 04:29 PM
If u cant tell im a noob

I tried to do this but still no dif

Logo:TweenPosition(UDim2.new(0.35, 0, 0.2, 0),'Out','Quad',0.01)
Report Abuse
Thundermaker300 is not online. Thundermaker300
Joined: 22 Mar 2013
Total Posts: 2949
24 Sep 2015 04:29 PM
yeah, where it says 0.01, that is the speed, it goes really fast because you told it to go really fast..
LOL‡



https://www.youtube.com/watch?v=qLKhxjfG03A
Report Abuse
NEWRandumGuy is not online. NEWRandumGuy
Joined: 26 Feb 2012
Total Posts: 74
24 Sep 2015 04:32 PM
Holy crp ur right ty.
Report Abuse
Thundermaker300 is not online. Thundermaker300
Joined: 22 Mar 2013
Total Posts: 2949
24 Sep 2015 04:34 PM
k np



https://www.youtube.com/watch?v=qLKhxjfG03A
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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