|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 09 Apr 2016 07:18 AM |
| Do you still need it? Sorry for the extremely late reply btw |
|
|
| Report Abuse |
|
|