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: LEVELING SYSTEM PLEADE HELP.

Previous Thread :: Next Thread 
Veltonixc is not online. Veltonixc
Joined: 27 May 2015
Total Posts: 126
19 Jul 2015 03:23 AM
Yo, so i need a script that levels a player up when the get a certain amount of xp by killing NPCS. And a leader board to show what level you are or a overhead level gui HELP!
Report Abuse
Veltonixc is not online. Veltonixc
Joined: 27 May 2015
Total Posts: 126
19 Jul 2015 03:23 AM
PLEASE
Report Abuse
StateOfTheArt is not online. StateOfTheArt
Joined: 17 Jul 2015
Total Posts: 177
19 Jul 2015 03:24 AM
How much are we talking?
Report Abuse
Veltonixc is not online. Veltonixc
Joined: 27 May 2015
Total Posts: 126
19 Jul 2015 03:25 AM
If you mean how much i will pay u? idk 200 robux.
Report Abuse
StateOfTheArt is not online. StateOfTheArt
Joined: 17 Jul 2015
Total Posts: 177
19 Jul 2015 03:28 AM
Give me a link to your NPC
Report Abuse
Veltonixc is not online. Veltonixc
Joined: 27 May 2015
Total Posts: 126
19 Jul 2015 03:33 AM
i got 2 npcs... for doing them both ill pay 400 robux.


#1http://www.roblox.com/My/Item.aspx?ID=270555913

#2 http://www.roblox.com/Drunken-ape-item?id=270552837\


You need to know im getting 10k robux for all the ad investments for my game.. so ill have to pay you in a few days but if you give me the model when your done i'd appreciate it i mean lets have a little trust.

the quicker your done the better the pay

if your done in the next 10 minutes ill pay 500R
Report Abuse
pitter1 is not online. pitter1
Joined: 31 Jul 2007
Total Posts: 231
19 Jul 2015 03:44 AM
That's a simple one, just write a script that writes a value to a leaderboard, then in the same script have it add to the pre-existing value on the event (death in this case). Then write another outside the killable objects that is pretty much ADD 1 to LVL once for every X (amount of XP between levels) Experience. Clean and simple, just need to learn how to write the script to write to a value
Report Abuse
Veltonixc is not online. Veltonixc
Joined: 27 May 2015
Total Posts: 126
19 Jul 2015 03:45 AM
can you do it for me. please :D
Report Abuse
pitter1 is not online. pitter1
Joined: 31 Jul 2007
Total Posts: 231
19 Jul 2015 03:54 AM
I've already started, but unfortunately the model's head and torso are not connected, so I'll need to see about finding a way to make another variable to set as health, very complex... At first I'll send you a simple "Zombie" to show how my plan will work in theory, then I will work on making a living and fighting "Drunken Ape" entity and "Boar" Entity
Report Abuse
Veltonixc is not online. Veltonixc
Joined: 27 May 2015
Total Posts: 126
19 Jul 2015 04:25 AM
Thanks i gotta go to sleep its 5:25 am and my moms gonna get mad if she knows Im awake lol thanks a lot im gonna send you a friend request when your done pm me the models aye?
Report Abuse
thedestroyer115 is not online. thedestroyer115
Joined: 19 Dec 2010
Total Posts: 11546
19 Jul 2015 04:34 AM
"make another variable to set as health, very complex"

Not that complex.

I implemented this type of system in my RPG, to where the health is an IntValue, and once set to zero, the NPC "dies." (This allows for easy death animations)

It's also pretty easy to code weapon-side.

Report Abuse
Locard is not online. Locard
Joined: 13 Apr 2014
Total Posts: 3516
19 Jul 2015 04:48 AM
Here's a simple Exp to Level converter:

local base = 75
function ConvertToLevel(num,rounded) --num is amount of exp; rounded rounds the level
local level = (math.sqrt((base^2)+(4*base*num))-50)/(2*base)
return (rounded and math.floor(level) or level)
end

If you look at it closely, you might recognize what formula is being used. Give it a try!
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