Ok so i am making a speed game where you drink to get speed but i cant seem to figure out how to make a leaderboard thats show speed btw i am new to scripting
✓ ANSWER ACCEPTED
How to make a speed leaderboard?
1 answer
✓ Accepted answer
I was thinking of making fun of you for asking how to make a simulator game, but I'm going to give you advices instead:
Make a script for the drink tool, every click, add up the speed value in the player's leaderstats. Like this:
tool.Activated:Connect(function()
local char = tool.Parent
local plr = game.Players:GetPlayerFromCharacter(char)
plr.leaderstats.Speed.Value = plr.leaderstats.Speed.Value + 1
end)
and if you don't even accept my answer, begone from this website
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
I accept your answer but i get a error: 10:34:02.971 - Players.Yt_Heinex.Backpack.Drink.Script:1: attempt to index global 'Drink' (a nil value)
You figure out the rest, this is not a script request site, you have to learn from your own