Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Can Someone Help Me With A Kill Leaderboard?

Asked by 3 years ago
Edited 3 years ago

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!

0
I am not able to put the script on here that I have so far Pho3nix_OP 2 — 3y

1 answer

Log in to vote
0
Answered by 3 years ago

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).

Ad

Answer this question