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 » Scripting Helpers
Home Search
 

Re: Speed upon KO?

Previous Thread :: Next Thread 
BilltheTeddyBear is not online. BilltheTeddyBear
Joined: 20 Sep 2012
Total Posts: 300
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
BilltheTeddyBear is not online. BilltheTeddyBear
Joined: 20 Sep 2012
Total Posts: 300
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 is not online. 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
BilltheTeddyBear is not online. BilltheTeddyBear
Joined: 20 Sep 2012
Total Posts: 300
16 Nov 2014 07:33 PM
Um... I don't know how to do that
Report Abuse
BilltheTeddyBear is not online. BilltheTeddyBear
Joined: 20 Sep 2012
Total Posts: 300
16 Nov 2014 07:48 PM
Bump?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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