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
 

OGM

Previous Thread :: Next Thread 
imperviousroblox is not online. imperviousroblox
Joined: 02 Oct 2013
Total Posts: 570
29 Apr 2014 01:39 AM
yea this gets more attention

how do i find something in game that has a space

for example:

Workspace.Epic Game.?AWE?A

http://www.roblox.com/50-Robux-Donation-item?id=152386083 plz don8 i need money 4 moar bacon
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
29 Apr 2014 01:44 AM
print(Workspace["Epic Game"]["?AWE?A"].Name)

Or if you didn't use the question marks

print(Workspace["Epic Game"].AWEA.Name)
Report Abuse
imperviousroblox is not online. imperviousroblox
Joined: 02 Oct 2013
Total Posts: 570
29 Apr 2014 01:47 AM
works, thanks so much! no basic tutorial teaches this for some reason that i could find

http://www.roblox.com/50-Robux-Donation-item?id=152386083 plz don8 i need money 4 moar bacon
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
29 Apr 2014 03:39 AM
Workspace:FindFirstChild("Epic Game"):FindFirstChild("?AWE?A")


I have never been able to get [] to work
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
29 Apr 2014 07:46 AM
Then you have probably been doing
Workspace.["Epic Game"].Blah
Or something like that
The whole explorer is based on tables
local Workspace = {["Name"] = "Workspace",
["Model"] = {["Name"] = "Model",
["Part"] = {["Name"] = "Part"},
["OtherPart"] = {["Name"] = "OtherPart"}
}
}
print(Workspace.Name)
print(Workspace.Model.Name)
print(Workspace.Model.Part.Name)
print(Workspace.Model.OtherPart.Name)
print(Workspace["Model"].Part.Name)
print(Workspace["Model"]["Part"].Name)
print(Workspace["Model"]["OtherPart"]["Name"])
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
29 Apr 2014 07:48 AM
[] will only work for me if I'm using tables and a number is inside.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
29 Apr 2014 07:50 AM
Then you have been doing it wrong
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
29 Apr 2014 07:57 AM
Workspace["Part Here"]


Is that wrong?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
29 Apr 2014 08:00 AM
Now do something with it
Print the name
If you do it right this time you did it wrong in the past, because there is no reason it would work for everyone other than you
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