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: NEed a script for an Obby. You will get partial credit.

Previous Thread :: Next Thread 
fireuser67 is not online. fireuser67
Joined: 02 Apr 2012
Total Posts: 3182
29 Sep 2012 05:42 PM
I need a stages checkpoint system script for an Obby. I have looked at an extreme amount of free models, but just can't find the right one. If you would be kind enough to make mea script and PM me it that allows the use of skipping stages, meaning going from maybe 1 all the way to 300, instead of having to go in order 1,2,3,4,5, etc
Report Abuse
crusada91 is not online. crusada91
Joined: 04 Sep 2010
Total Posts: 684
29 Sep 2012 05:45 PM
Name each of the spawn bricks: B1, B2, etc

add a script to workspace saying this:

function Obby(Player, MakeInt)
if Player["leaderstats"]["Stage"] +1 = MakeInt then
Player{"leaderstats']["Stage"] = << + 1
end
end

c= game.Workspace["Spawns"]:GetChildren()
for i = 1, NUMBEROFSPWNS do
c[i].Touched:connect(function(hit) Obby(game.Players:GetPlayerFromCharacter, tonumber(string.sub(c[i].Name, 2)) end)

^^Something like that
Report Abuse
blobbyblob is not online. blobbyblob
Joined: 29 Oct 2008
Total Posts: 12165
29 Sep 2012 05:48 PM
"<<" Wut?

I know the last time I checked, Lua doesn't support that. Did ROBLOX add compiler directives in Studio 2.0? :O
Report Abuse
crusada91 is not online. crusada91
Joined: 04 Sep 2010
Total Posts: 684
29 Sep 2012 05:51 PM
Support what? O_o
Report Abuse
crusada91 is not online. crusada91
Joined: 04 Sep 2010
Total Posts: 684
29 Sep 2012 05:51 PM
Ohh, << stands for what i typed before, iu was too lazy to type it
<< = Player["leaderstats"]["Stage"].Value
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