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
 

How can I scan workspace for a hint?

Previous Thread :: Next Thread 
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
06 May 2014 01:23 AM
How can I scan workspace with a script to see of a hint is nil or not?
Report Abuse
noah is not online. noah
Joined: 11 Sep 2006
Total Posts: 18977
06 May 2014 01:29 AM
for i,v in pairs (game.Workspace:GetChildren()) do
if v:FindFirstChild("Hint") then
print("Hint exists")
end
end
Report Abuse
Crakkitty is not online. Crakkitty
Joined: 25 Dec 2009
Total Posts: 17408
06 May 2014 01:30 AM
for _, v in ipairs(workspace:GetChildren())
if v.Name == "Hint" or v:IsA("Message") then print("Hint")
end
end
Report Abuse
Paramedic4 is not online. Paramedic4
Joined: 23 Jan 2011
Total Posts: 5934
06 May 2014 01:34 AM
Thank you all so much
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