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: Trying to make new position stop, but it won't

Previous Thread :: Next Thread 
Initius is not online. Initius
Joined: 18 Apr 2012
Total Posts: 394
24 Jun 2015 04:19 PM
I've taken a script off the wiki and remade it so it would fit to my needs, but the frame won't stop exactly where I want it to stop.

Here's the script:

wait(1)
local textLabel = script.Parent
local xPosition = 0
local speed = .002
while true do
xPosition = xPosition + speed
textLabel.Position = UDim2.new(xPosition, 0, .005, 0)
wait()
if xPosition == .4 then
speed = 0
end
end

Please help! It'd be much appreciated!
Report Abuse
Initius is not online. Initius
Joined: 18 Apr 2012
Total Posts: 394
24 Jun 2015 04:27 PM
b1
Report Abuse
GeoVolcano is not online. GeoVolcano
Joined: 05 Jul 2012
Total Posts: 1433
24 Jun 2015 04:31 PM
Then change it to where you want it to stawp.
Report Abuse
Initius is not online. Initius
Joined: 18 Apr 2012
Total Posts: 394
24 Jun 2015 04:56 PM
b2
Report Abuse
Initius is not online. Initius
Joined: 18 Apr 2012
Total Posts: 394
24 Jun 2015 05:04 PM
Nevermind, found out the problem.
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