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: LevelUp System Need help

Previous Thread :: Next Thread 
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 09:09 AM
Okey so now i need help with a LevelUp System for my game. I need it to be like: Maximum level: 50 --if a player have reached level 50 then Prestige +1 and the level will begin from 1 again. XpNeeded: 700 --For each level, so first 700 to level 2 then ### # ### # #### XpNeeded to level up to level 3. The only things i need to be showing in the PlayerList is Prestige and Level. Hope anyone can help me with it!
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 09:19 AM
Any Help
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
18 Jan 2017 09:32 AM
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=193511484


Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 10:28 AM
Thats not helped me Sorry, still need help
Report Abuse
XCVlll is not online. XCVlll
Joined: 23 Oct 2008
Total Posts: 963
18 Jan 2017 10:31 AM
it is help, he gave you a reference you can use to make your own
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 10:34 AM
Yeah, but i don't understand it sorry, this is why it's not helped me
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 01:32 PM
Any help?
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 02:43 PM
Why no one help me ;(
Report Abuse
Dorandir is not online. Dorandir
Joined: 06 Aug 2016
Total Posts: 844
18 Jan 2017 02:46 PM
wiki.roblox.com
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 02:55 PM
Bump1, and wiki is #### no help there
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 08:23 PM
Okey, thx for you help "Scripters" this forum is pretty "GOOD" to help people who need help. No one of you is Helping
Report Abuse
XCVlll is not online. XCVlll
Joined: 23 Oct 2008
Total Posts: 963
18 Jan 2017 08:42 PM
you're asking for people to do it for you, that's not helping
Report Abuse
mani_fold is not online. mani_fold
Joined: 23 Dec 2016
Total Posts: 546
18 Jan 2017 08:43 PM
^
Report Abuse
LilMcManiac is not online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
18 Jan 2017 08:45 PM
We aren't here to help, this is a place to discuss code. Not give it.

But, here is the basics for this.

local prestigeLevel = 50;

function prestige(player)
local p = player:WaitForChild('leaderstats'):WaitForChild('Prestige');
p.Value = p.Value + 1
end

function levelUp(player)
local l = player:WaitForChild("leaderstats"):WaitForChild('Level');
l.Value = l.Value + 1
if l.Value >= prestigeLevel then
prestige(player)
end
end

And you level them up, using the levelUp function for whatever you want.
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 09:23 PM
im so sorry to say it, but it's not working
Report Abuse
AbstractMath is not online. AbstractMath
Joined: 05 May 2012
Total Posts: 1331
18 Jan 2017 09:32 PM
WHAT?! NO WAY!?
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 09:50 PM
How i do so the player get back to level 1 again


game.Players.ChildAdded:connect(function(player)
local stats = Instance.new("Model", player)
stats.Name = "leaderstats"

local credits = Instance.new("StringValue", stats)
credits.Name = "Tokens"
credits.Value = 0

local EXP = Instance.new("StringValue", stats)
EXP.Name = "EXP"
EXP.Value = 0

local Level = Instance.new("StringValue", stats)
Level.Name = "Level"
Level.Value = 1

local Prestige = Instance.new("StringValue", stats)
Prestige.Name = "Prestige"
Prestige.Value = 1

EXP.Changed:connect(function()
Level.Value = math.floor(EXP.Value / 1000)
end)

Level.Changed:connect(function()
Prestige.Value = math.floor(Level.Value / 50)
end)
end)

for i, player in ipairs(game.Players:GetPlayers()) do
if player:FindFirstChild("Stats") then
if player:FindFirstChild("EXP").Value > 1000 then
player:FindFirstChild("Level").Value = player:FindFirstChild("Level").Value + 1
end
if player:FindFirstChild("Level").Value > 50 then
player:FindFirstChild("Prestige").Value = player:FindFirstChild("Prestige").Value + 1
end
end
end
Report Abuse
epiclatioslord is not online. epiclatioslord
Joined: 01 Apr 2012
Total Posts: 180
18 Jan 2017 09:55 PM
People here will help if you if it is not just giving you code. Most won't just give you code cause they feel like it. Seems to me like you just want it for a game because you can't find it in free models or something. Although I have found a few good ones before from RPG kits if you just search through free models.


Dodos fer lyfe boi
Report Abuse
TheMadGamer321 is not online. TheMadGamer321
Joined: 13 Jul 2015
Total Posts: 211
18 Jan 2017 10:00 PM
I have like 2 Days now, but im almost done with it, i just need help to make max prestige is 10 and when a player reach level 50 then player will be in Prestige 1 and level 0
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