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: Plus Number

Previous Thread :: Next Thread 
towerdefence661 is not online. towerdefence661
Joined: 15 Nov 2013
Total Posts: 280
24 Nov 2015 08:07 PM
First off i have this script
function onClicked(playerWhoClicked)
game.Workspace.v1.Screen.SurfaceGui.TextBox.Text = "1"
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
pretty basic right?
but i want it so when ever i click it AGAIN it ADDS a 1 i mean like if you click it it reads "1" if you click it again it reads "11" and it you click it AGAIN it reads "111" and so on.
Report Abuse
Lucas1270z is not online. Lucas1270z
Joined: 27 Feb 2013
Total Posts: 439
24 Nov 2015 08:14 PM
function onClicked(playerWhoClicked)
game.Workspace.v1.Screen.SurfaceGui.TextBox.Text = game.Workspace.v1.Screen.SurfaceGui.TextBox.Text ..1
end

script.Parent.ClickDetector.MouseClick:connect(onClicked)
Report Abuse
towerdefence661 is not online. towerdefence661
Joined: 15 Nov 2013
Total Posts: 280
24 Nov 2015 08:21 PM
How do i make it skip lines after it reaches the end of the screen (the TextBox size is 923, 845)
Report Abuse
Lucas1270z is not online. Lucas1270z
Joined: 27 Feb 2013
Total Posts: 439
24 Nov 2015 08:24 PM
game.Workspace.v1.Screen.SurfaceGui.TextBox.TextWrapped = true
Report Abuse
towerdefence661 is not online. towerdefence661
Joined: 15 Nov 2013
Total Posts: 280
24 Nov 2015 08:25 PM
where do i add that?
Report Abuse
Lucas1270z is not online. Lucas1270z
Joined: 27 Feb 2013
Total Posts: 439
24 Nov 2015 08:41 PM
anywhere
Report Abuse
towerdefence661 is not online. towerdefence661
Joined: 15 Nov 2013
Total Posts: 280
24 Nov 2015 08:46 PM
i have text scaled on and its not working its still just piling up and getting smaller and not skipping lines.
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