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: Simple concatenation help

Previous Thread :: Next Thread 
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Jun 2013 02:45 AM
I made a textbox in a gui that updates an IntValue in a player

The gui is in the starterpack
and I put a localscript in the textbox

plyr = game.Players.LocalPlayer

script.Parent.Text = plyr.IntValue.Value

plyr.IntValue.Changed:connect(function()
script.Parent.Text = plyr.IntValue.Value
end)


It works with displaying the first value, but when I change it it doesnt qq.
Report Abuse
CokeCody is not online. CokeCody
Joined: 31 Mar 2010
Total Posts: 394
30 Jun 2013 02:47 AM
Try
script.Parent.Text = tostring(plyr.IntValue.Value)
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
30 Jun 2013 02:48 AM
I thought a concatenation was that double dot thing you use to separate strings O.O

"somewhat like" .. " this but not really"
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Jun 2013 02:49 AM
I forgot the plyr.Name.. ""
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Jun 2013 03:00 AM
tostring didnt work 3;
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