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
 

How Would I make a level system?

Previous Thread :: Next Thread 
SasukeUchihaTK is not online. SasukeUchihaTK
Joined: 13 Jul 2014
Total Posts: 30
27 Apr 2016 04:44 PM
I'd like to make a level system. How would I script that?
Report Abuse
ExtremeBuilder15 is not online. ExtremeBuilder15
Joined: 01 May 2012
Total Posts: 3176
27 Apr 2016 04:47 PM
Like, what equation to make an infinite amount of levels? Or how to make levels in general?
Report Abuse
RecurringNightmare is not online. RecurringNightmare
Joined: 05 Jul 2012
Total Posts: 15336
27 Apr 2016 04:47 PM
Algorithm

if xp >= level.Value * 150 then
xp = 0
level = level + 1
end



Report Abuse
SasukeUchihaTK is not online. SasukeUchihaTK
Joined: 13 Jul 2014
Total Posts: 30
27 Apr 2016 04:54 PM
Like how to make levels in general such as max level 100. You need BlahBlah xp to go up a level.
Report Abuse
Brick_Wizard is not online. Brick_Wizard
Joined: 15 Mar 2016
Total Posts: 2072
27 Apr 2016 05:02 PM
Exp = Level * 100
Report Abuse
warlord436 is not online. warlord436
Joined: 10 Feb 2012
Total Posts: 277
27 Apr 2016 05:05 PM
Basicly make a GUI with a word something like Exp: 0 Level: 0

then when a mob/however you want something killed add exp to a value. So in starter GUI place a number value. That value will go into all players.

game.Players.LocalPlayer.PlayerGui.Value = game.Players.LocalPlayer.PlayerGui.Value + whatever xp you want.

You can also do the same but instead of adding a value in starter gui do it in a leaderstat instead.
Report Abuse
eRanged is not online. eRanged
Joined: 15 Jun 2013
Total Posts: 9746
27 Apr 2016 05:06 PM
Not everytime someone is going to make it for you. You should be able to put use brain and figure a wayout. *Not Insult*


Report Abuse
SasukeUchihaTK is not online. SasukeUchihaTK
Joined: 13 Jul 2014
Total Posts: 30
27 Apr 2016 05:29 PM
I never asked for somebody to "make it" for me. I asked how would I make a level system. If you don't understand my question yet then figure it out rn or don't respond please. I'm not here for negative comments. Thank you everybody above for the help. No need to be so ignorant. I'm not trying to insult you myself but that's not a way to approach somebody without knowing the question. That's just simple ignorance.
Report Abuse
SasukeUchihaTK is not online. SasukeUchihaTK
Joined: 13 Jul 2014
Total Posts: 30
27 Apr 2016 05:30 PM
complete*
Report Abuse
eRanged is not online. eRanged
Joined: 15 Jun 2013
Total Posts: 9746
27 Apr 2016 05:38 PM
I was just saying that since I've seen you asked alot lately here without any sample code which kinda indicates you didn't even try to find a way. I don't think that's arrogant tbh...


Report Abuse
SasukeUchihaTK is not online. SasukeUchihaTK
Joined: 13 Jul 2014
Total Posts: 30
27 Apr 2016 11:07 PM
I would like you to view my posts and see how many times I asked. I only asked 4 times. You act as if I've asked you to script me a whole game. Please leave my post if you are going to be ignorant.
Report Abuse
scottmike0 is not online. scottmike0
Joined: 14 Sep 2008
Total Posts: 1073
27 Apr 2016 11:08 PM
learn tables + data storage, then you got your level system.
Report Abuse
SasukeUchihaTK is not online. SasukeUchihaTK
Joined: 13 Jul 2014
Total Posts: 30
27 Apr 2016 11:19 PM
Thank you.
Report Abuse
Pirate275 is not online. Pirate275
Joined: 06 Feb 2016
Total Posts: 12
27 Apr 2016 11:58 PM
Start off by scripting stats for it. Stuff like Level, EXP, MaxEXP or you can use Ranks. Then you want to create a GUI that shows the player's stats like so.

Level
----------
EXP/MAXEXP

Then have a script somewhere (not sure) doing the following:

if EXP.Value >= MaxEXP.Value then
EXP.Value = 0 -- Reset the EXP
MaxEXP.Value = MaxEXP.Value * 1.25
Level = Level + 1
wait()
end

It would be something along the lines of that.


Report Abuse
Codys4x4 is not online. Codys4x4
Joined: 14 Oct 2006
Total Posts: 2312
28 Apr 2016 12:07 AM
Values you'll need.
-Level
-Exp
-ExpToNextLevel
-MaxLevel

So then you just
if not(Level >= MaxLevel) then
if Exp >= ExpToNextLevel then
Level = Level + 1
ExpToNextLevel = ExpToNextLevel + 100
end
end
Report Abuse
eRanged is not online. eRanged
Joined: 15 Jun 2013
Total Posts: 9746
28 Apr 2016 05:20 AM
That's not ignorant lol. I think you should learn definitions of words before you use them...
Report Abuse
WoolHat is not online. WoolHat
Joined: 19 May 2013
Total Posts: 1873
28 Apr 2016 06:39 AM
eRanged, OP asked "how would ***I*** make a level system"

You went on to directly say "Not everytime someone is going to make it for you."

You didn't even read the title yet you're arguing that wasn't ignorance.
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