How To Make Leaderboard RankGroup and Time and Point

How To Make Leaderboard Rank and Time and Point +1
I need an automatic rank and point system and time player
please help me

this is a sample picture
unknown (8)

You could use a datastore to save the tick() when the player initially joins the game and then subtract the old tick() from the new tick() to find the time difference in seconds.

if tick() - tickval ~= tickval then
  if tick() - tickval >= timedif then
    Points.Value += 1
  end
  tickval = tick()
1 Like

I can’t be leaderboard script. and this is what i want

I’m not sure what you mean. Could you describe what you want in detail then?

I need a Leaderboard script that has
-Rank Group
-Playing time (hour)
-System (point to auto)

Right. I don’t see the issue with the code I posted in relation to achieving all of those.

You just need to use the logic I posted in conjunction with the leaderstats script you already have.

This post is off-topic. #help-and-feedback:scripting-support Isn’t used to ask How-To stuff. It Is used when something Is either wrong with you’re code or when It has bugs In It.

The rules say: Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

1 Like