|
| 18 Sep 2016 07:50 PM |
how would i find the player who killed someone?(if possible) and how would i do it if i use custom tools(model ones with custom animations and stuff like that)
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 07:52 PM |
you need to create and replace some sort of 'tag' onto the hit person so that they can tell who killed them
or you can see if their health is 0 and if it was not 0 before hitting them
if that is true, give them whatever |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 07:53 PM |
ok, i saw a couple of "kill creator and give badge" scripts, and what it looks like is that roblox makes an objectvalue called "creator" and it's value is the killer
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
ownedyou1
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 528 |
|
|
| 18 Sep 2016 07:54 PM |
| the way i do it is by putting a stringvalue in everyones char "LastHit" as the name suggests every time a player hits you their name becomes LastHit's value and as soon as you die they get a kill and the script is destroyed. its cool too cause it later on you wana edit it its not like you have to edit a bunch of weapons you just edit the lasthit script |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 07:55 PM |
or you could also do (option B)
local before = hum.Health --deal damage if hum.Health == 0 and before > 0 then --checks if hitting a dead body or not --you killed em end |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 07:56 PM |
i dont think i would like doing the checking the health one, but i think owned's way would work better *for me*
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 07:57 PM |
also with owned's i could make an exp share system
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 07:58 PM |
| I made one that awards 1/2 of the EXP to the most damaging player, then splits the rest among the skrubs. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:00 PM |
ok
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:01 PM |
| You do realize I'm skrubbox right. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:04 PM |
sure
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
ownedyou1
|
  |
| Joined: 03 Jul 2008 |
| Total Posts: 528 |
|
|
| 18 Sep 2016 08:13 PM |
| i mean except if its on hit then a player can just reset and you wont get the kill, my method makes this impossible |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:18 PM |
yeah
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:18 PM |
derpy can you back me up on that http thread this kids cancer hurts my eyes |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:19 PM |
| i bet your acc was killed or something or else you would be using that awful representation of your life. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:20 PM |
No, actually, it's a representation of myself. I'm primitive. I was born with several learning disabilities, as well as mental disorders. But I strove, I rose above it, and I became industrial. I have a C+ in all my classes, and can program in tons of languages. I'm an example of effort. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:21 PM |
| you mean of a failure because you probably deserved those 'illnesses' anyways |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:21 PM |
stop trying to act like everyone cares about what you have to say
if you want to make an opinion than make one but if you have nothing good to say about someone else then you should learn to keep your mouth shut. |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:22 PM |
That's hurts man I totally care about some online strangers opinion I'm going to go drink some blueberry bleach now :) |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:22 PM |
| because obviously you have not gotten around to learning about respect or else you would stop trying to insult people for stating what they think is true |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:22 PM |
i care
𝒷𝓁𝑜𝒷𝒻𝒾𝓈𝒽 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝒷𝓇𝒾𝒸𝓀𝓈 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁; 𝓉𝒶𝓇𝒹𝒾𝑔𝓇𝒶𝒹𝑒𝓈 𝒶𝓇𝑒 𝑔𝑜𝒾𝓃𝑔 𝓉𝑜 𝒷𝑒 𝓉𝒽𝑒 𝑔𝓁𝓊𝑒 𝒻𝑜𝓇 𝓂𝓎 𝓌𝒶𝓁𝓁 |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:23 PM |
| exactly, only heartless people like you without a true soul would even come around to doing things like this for no reason at all |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:24 PM |
| why people like them still exist on the internet to this day is beyond me but it is probably the actions of other people who influence these sorry people into doing this |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:24 PM |
I'm not doing anything except for trying to help you You interpret it as an insult when you can't even read tone properly online (no one can, buddy, you're not an exception) And then you get butt-hurt Derpy y u no back me up bro |
|
|
| Report Abuse |
|
|
|
| 18 Sep 2016 08:25 PM |
"derpy can you back me up on that http thread this kids cancer hurts my eyes"
if this is not an insult then it truly expresses the strength of your mental disabilities so much that we are starting to feel sorry for you. you need to understand how people feel and you need to notice that your actions have consequences. |
|
|
| Report Abuse |
|
|