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
|
  |
| Joined: 27 May 2015 |
| Total Posts: 126 |
|
| |
|
| |
|
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 |
|
|
|
| 19 Jul 2015 03:28 AM |
| Give me a link to your NPC |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 27 May 2015 |
| Total Posts: 126 |
|
|
| 19 Jul 2015 03:45 AM |
| can you do it for me. please :D |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|