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: I need a bit of help

Previous Thread :: Next Thread 
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:14 PM
I made a model and a string value that's representing Models name that is not known in script (PlayernameModel) how do I use string to find model in workspace??
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:18 PM
B1
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:27 PM
B2
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:30 PM
B3 Anyone...
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:34 PM
B4 PLEASE
Report Abuse
FizBloxx is not online. FizBloxx
Joined: 18 Jan 2014
Total Posts: 95
22 Apr 2014 02:35 PM
Check the wiki, i forgot what is it, I think it's called string.find or string.sub or whatever (I know I'm wrong)
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:38 PM
Wiki is unclear with this one... I still dont know what to do..
Report Abuse
Spongocardo is not online. Spongocardo
Joined: 06 Sep 2008
Total Posts: 2843
22 Apr 2014 02:39 PM
What are you trying to accomplish? Finding a model from workspace that has the name of a value of a string value?

Here's my siggy... Done.
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:43 PM
Trying to find model that's name starts with Player name so models dont mess up in game... I made String Value thats Value is name of a Model now I want to use that string to find model in workspace...
Report Abuse
FizBloxx is not online. FizBloxx
Joined: 18 Jan 2014
Total Posts: 95
22 Apr 2014 02:46 PM
OH! Ok...
do you have like a variable to find the player's name?
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:49 PM
No no no

There's a script that spawns model on Gui click and then it names model with players name and then puts string value as its name... I want to use string in another scripts...
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:50 PM
I mean models name is like (PlayernameMODEL)
Report Abuse
FizBloxx is not online. FizBloxx
Joined: 18 Jan 2014
Total Posts: 95
22 Apr 2014 02:50 PM
Upload a sample model, I don't really understand.
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 02:55 PM
Thats way too complicated...

Here

1st script is in Gui and spawns Model, then adds string value to other script with models name...


2nd script uses string to find path to a model in the workspace
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 03:11 PM
B4
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 03:18 PM
B5
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
22 Apr 2014 03:19 PM
local Model=Workspace:FindFirstChild(StringValue.Value)
Report Abuse
masterCameron101 is not online. masterCameron101
Joined: 28 Mar 2010
Total Posts: 1377
22 Apr 2014 03:20 PM
You want to get the player?

~masterCameron101, advanced Lua programmer, certified graphics designer and geek~
Report Abuse
Ace23333 is not online. Ace23333
Joined: 20 Nov 2011
Total Posts: 1341
22 Apr 2014 03:25 PM
Thank you :D
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