I'm not sure how to make a working weight that gives you leaderboard stats. (strength, coins, etc.)
I havent tried anything as i cant script that well. I look things up
I'm not sure how to make a working weight that gives you leaderboard stats. (strength, coins, etc.)
I havent tried anything as i cant script that well. I look things up
Make sure not to use this site as a request site. Here is something you might be looking for: What this will do is make a folder, section A, create an int value, a number value, inside of the folder, section B, which should show up as a leaderboard stat value.
game.Players.PlayerAdded:Connect(function(plr)
local folder = Instance.new("Folder", plr) --A
folder.Name = "leaderstats"
local weight = Instance.new("IntValue", folder) --B
weight.Name = "Weight"
end
I just threw this together in a second. A script that should/would give a player leaderstats would need a remote event. (Here's the link to learn about that, https://developer.roblox.com/api-reference/class/RemoteEvent) I'm not too sure how to script it.
Here are some related links to YouTube and other scripting helpers questions! https://www.youtube.com/watch?v=4Dc_bri9mjs https://scriptinghelpers.org/questions/80205/a-remote-event-is-being-fired-but-its-not-being-received-help https://forum.scriptinghelpers.org/topic/664/one-remote-for-each-player-or-one-for-all
Hope this helps!
Ty
If this helps please accept the answer. Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.
5 comments
ty if you answer
A) This isn't a request site. B) Could you further describe what you're looking for in more detail?
Yes, I need an item, (a weight) that gives Strength from the stats on the leaderboard.
Please look stuff up instead of directly asking it. This article will get you started: https://developer.roblox.com/articles/Leaderboards
Warriorfoox i've tried that. I find nothing.