I have asked a question on here before and got some help. I am need some more help with my games script. I have a Kill Leaderboard. Players uses weapons that they start with. I have no idea how to put into the weapon script to track the kill of the player using the weapon. I also need help with the Auto Save. I will put the script I am using on here so anyone can help add the auto save. Thank you so much!
First of all, you can put scripts in here. Now, here's your answer as sortve a way to do it; Have each bullet have a "shotby" objectvalue, if the bullet completely kills a player, then the player who shot the bullet gets a kill (get the player who shot the bullet with the objectvalue.)
Answer to autosaving: If you mean saving the data to the "cloud" then you need to have it to where when the player leaves, their data saves to a datastore.
If you don't know how to use data stores, objectvalues and such, I highly recommend learning it.
Answer to posting scripts on this: use a ~~~~~~~~~~~~~ to start the script and another to end it. (paste the script between them).