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: Combining value with string

Previous Thread :: Next Thread 
xXfurheadXx is not online. xXfurheadXx
Joined: 22 Oct 2012
Total Posts: 409
18 Mar 2017 03:26 PM
id = script.Parent.Parent.Parent.UserId
function planeSpawn()
print('hi')
plane = game.Lighting.PlaneModel:clone()
plane.Parent = game.Workspace
plane.Name = ("PlaneModel", id)
end
script.Parent.startButton.MouseButton1Click:connect(planeSpawn)

I've tried different methods to get the plane.Name to work but none of them are working, suggestions?
Report Abuse
xXfurheadXx is not online. xXfurheadXx
Joined: 22 Oct 2012
Total Posts: 409
18 Mar 2017 03:30 PM
Nevermind I'm just going to make the name the id instead of adding it to the string value
Report Abuse
hasang1 is not online. hasang1
Joined: 09 Nov 2012
Total Posts: 903
18 Mar 2017 03:32 PM
"string".."string2"
would be equal to
"stringstring2"
Use .. to join two strings.


HAX.
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