#I was wondering if someone could help me make a level system for my game
6 messages · Page 1 of 1 (latest)
its for a fighting game
i need like a level system or like my stats to go up
ROBLOX Studio Level Up Exp System Tutorial
🛒 Check out my Asset Store
https://clearlydev.com/public-marketplace/gamer-m8
Discord Server: https://discord.gg/sSDg29y
ROBLOX Group: https://www.roblox.com/groups/5176394/Gamer-M8-YT#!/about
Hey guys, today I'm showing you how to make your own Level Up and Exp System in ROBLOX Studio!
If You Enjoy...
use this tutorial
i prefer saving player exp, then convert it to level? 
*Example for 1000exp, maxexp is 500, and increase is 10%
ExpToLevel(1000,500,0.1)
=> return {2,550,500} --Mean lv2, current maxexp is 550, and u have 500/550
function ExpToLevel(exp, maxexp, increase)
if exp < fix_maxexp then return {1, fix_maxexp, 0} end --Level, xp_cap, total_xp_cap
local total = maxexp
local i = 1
repeat
xpcap *= increase
total += xpcap
i += 1
until exp < total
return {i, xpcap, total - xpcap} --Level, current_maxexp, total_xpcap
end