|
| 16 Nov 2014 07:12 PM |
I'm trying to write a script - but I'm not a script writer. I tried editing a KO point system script but, well, that got me no where besides a crashed script.
I want, when one player kills another player, their speed will increase. The speed for when a player joins is set at 20, and when a player kills another, it'll increase by 10.
In joint with this, I was trying to make something that would also decrease the total health (and whatever health the player that killed someone else has) by 10, alongside the speed.
It seems simple to me... but I don't know, I tried figuring it out but I've gotten no where. Can someone help write this script? |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 07:14 PM |
| Also, I want their to be a limit... So the player doesn't kill so many people that eventually they die themselves... Like max health total can go down to is 20... and the top speed is whatever's the equivalent to that, 100 I think... |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 16 Nov 2014 07:17 PM |
- Check for kills using creator tag - Add WalkSpeed of the killer (if WalkSpeed > 100) - Remove MaxHealth of the killer (if MaxHealth > 20)
And set their WalkSpeed using PlayerAdded and CharacterAdded event |
|
|
| Report Abuse |
|
|
|
| 16 Nov 2014 07:33 PM |
| Um... I don't know how to do that |
|
|
| Report Abuse |
|
|
| |
|