Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I need a working weight that gives you leaderboard stats. Help me, someone?

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

5 comments

0

ty if you answer

0

A) This isn't a request site. B) Could you further describe what you're looking for in more detail?

0

Yes, I need an item, (a weight) that gives Strength from the stats on the leaderboard.

1

Please look stuff up instead of directly asking it. This article will get you started: https://developer.roblox.com/articles/Leaderboards

0

Warriorfoox i've tried that. I find nothing.

1 answer

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!

2 comments

1

Ty

0

If this helps please accept the answer. Thanks!

This discussion is preserved as it was. New answers, comments, and votes are closed.