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: SurfaceGUI help

Previous Thread :: Next Thread 
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
13 Jun 2014 04:58 PM
Hello.

How do I stop writing from sliding across the brick on a Screen GUI

It's really laggy and I want the text to stay still. Thanks.
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
13 Jun 2014 05:14 PM
bump
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 08:03 AM
bump
Report Abuse
DataStore is not online. DataStore
Joined: 07 Feb 2012
Total Posts: 8540
14 Jun 2014 08:19 AM
What do you mean? Text will only move around, on a GUI, if you've scripted it to do such.
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 11:01 AM
script.Parent.Value.Changed:connect(function()
if script.Parent.Value.Value == 0 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = ""
elseif script.Parent.Value.Value == 1 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "Please stand by as we are dealing with a fault"
elseif script.Parent.Value.Value == 2 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This Train is for Airport"
elseif script.Parent.Value.Value == 3 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This Train is for South Hylton"
elseif script.Parent.Value.Value == 4 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This train is for Park Lane"
elseif script.Parent.Value.Value == 5 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This train is for South Gosforth"
elseif script.Parent.Value.Value == 6 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This train terminates at the next station"
elseif script.Parent.Value.Value == 7 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This train is for Pelaw"
elseif script.Parent.Value.Value == 8 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "Please mind the gap when allighting at this station"
elseif script.Parent.Value.Value == 9 then
script.Parent.Sign.SurfaceGui.TextLabel.Text = "This train will not stop at the next station"
elseif script.Parent.Value.Value == -1 then
script.Parent.Value.Value = 30
end
end)

That's the current script, how do I stop the words from moving?
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
14 Jun 2014 11:08 AM
script.Parent.TextXAlignment = "Left"
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 11:12 AM
script.Parent.TextXAlignment= "Please stand by as we are dealing with a fault"

is that correct?
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
14 Jun 2014 11:22 AM
No. Just go to the button's properties and find 'TextXAlignment' and change it to left.
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 11:50 AM
Can't find it...
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
14 Jun 2014 11:55 AM
http://prntscr.com/3srkif
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 11:57 AM
Thanks guys!
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
14 Jun 2014 12:02 PM
You're welcome. :)
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 12:03 PM
Didn't work -.-
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
14 Jun 2014 12:09 PM
Perhaps we've misunderstood you.
Try explaining what you exactly want and make sure to include details.
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 12:10 PM
I've got some signs on my trains which are really laggy due to it being a large game so I want the text to stop moving and stay put in the center of the screen.
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
14 Jun 2014 12:15 PM
May you send me a screenshot?
If you don't know how then use a program called Lightshot.
Report Abuse
EatYaBunny is not online. EatYaBunny
Joined: 02 Apr 2012
Total Posts: 666
14 Jun 2014 12:17 PM
A Screenshot of the signs?
Report Abuse
TheLuaUser is not online. TheLuaUser
Joined: 22 May 2012
Total Posts: 1405
14 Jun 2014 12:42 PM
Yes.
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