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: Make script count variables at any point in time?

Previous Thread :: Next Thread 
soniclover88888 is not online. soniclover88888
Joined: 01 Feb 2008
Total Posts: 6723
10 Apr 2015 06:29 PM
I need a script (preferably a shell) that does the following-

-Checks for a part named "Point" .. [i] in Workspace or a model
-On the pressing of a certain character, does a function
-Upon pressing one button, cycles up through the function
-Upon pressing another, cycles down
-Can cycle function at any point in time assuming conditions are met

Is this possible or would it require multiple scripts?
If you are not willing to supply a script or are unable to refer me to something like it, please send me a Wiki link so I can learn for myself. Thank you!
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
10 Apr 2015 06:33 PM
for i,v in pairs(workspace:GetChildren()) do
if string.sub(v[i].Name:lower(), 1,5) == "point" then
print(i,v)
end
end
Report Abuse
soniclover88888 is not online. soniclover88888
Joined: 01 Feb 2008
Total Posts: 6723
10 Apr 2015 06:36 PM
Is the "1,5" the point[i]s it cycles through? So it goes point1, point2, point3, point4, point5 then stops?
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