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: How would I edit this script to make it give KOs?

Previous Thread :: Next Thread 
SirDarkday560 is not online. SirDarkday560
Joined: 08 Oct 2011
Total Posts: 6794
08 Apr 2016 12:28 AM
This is the bullet script from the musket in CoderQwerty's weapon pack, I'm trying to figure out how to make it give KOs, because for some reason it doesn't give KOs.

http://pastebin.com/r1LkSwqw


Report Abuse
Ueskay is not online. Ueskay
Joined: 20 Jun 2014
Total Posts: 824
08 Apr 2016 03:02 AM
KOs come from the leaderboards.. You need a KO and WO leaderboard for it.

Tools never give KOs i don't believe


game.Workspace.Yourmama:Destroy()
Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
08 Apr 2016 03:30 AM
I'm on mobile so I can't access paste but if you have a leaderboard with KOs and WOs you'd make the weapon tag a humanoid when attacked and connect an event on humanoid.Died and have it do

Player.leaderstats.kills.Value = Player.leaderstats. kills.Value + 1

Player being the one who tagged humanoid.
Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
08 Apr 2016 03:31 AM
Also, Ueskay you are incorrect, it depends on how you code it, any script in anything can do it.
Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
08 Apr 2016 03:33 AM
You don't need a free model leaderboard for it to work, you can just clone a leaderstats folder with values inside it for kills and deaths into player and it works fine
Report Abuse
SirDarkday560 is not online. SirDarkday560
Joined: 08 Oct 2011
Total Posts: 6794
08 Apr 2016 12:28 PM
@Hexa

I'm not really a good scripter, can you give me an example?

Also, I'm pretty sure I saw something like that in the leaderboard I have.

The leaderboard works just fine with any weapon besides those muskets.


Report Abuse
HexaDecival is not online. HexaDecival
Joined: 13 Dec 2015
Total Posts: 144
09 Apr 2016 07:18 AM
Do you still need it? Sorry for the extremely late reply btw
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