Hey There, Im Using Timothies Global Leaderboard system to make the normal Global Leaderboard. - How to make a simple global leaderboard
I wanted to make a statue Displaying the character of the the persons avatar - i do know that we could get the players UserId using Humanoid:ApplyDescription but im still not very sure.A Few Questions i have are,
Q- do we create the Humanoid Reference Manually in Workspace, on creating by using a variable.
Q- Should The Humanoid Reference be put in a model or somewhere else
1 Like
I’ll point you in the right direction
Do
local dummy = game.Workspace:WaitForChild("Dummy")
while true do
--update boards
dummy.Humanoid:ApplyDescription(game.Players:GetHumanoidDescriptionFromUserId(FirstPlacesUsrId))
wait(60)
end
You insert a dummy using the built in “Build Rig” plugin, and put it to where you like
6 Likes
What you could do is basically how you said it. But in a different way. I would recommend placing a dummy where you want the top player to be, and anytime when the board updates, it’ll get the top player’s HumanoidDescription via their UserId and Apply that description to the dummy
Basically the method should be something like this
- Board updates
- Is the name of the player the same one who is currently the top donator?
- If no, create the HumanoidDescription from the new top player’s userid and apply it to the dummy and change the name of the Dummy to the name of the player, you may have to put the DUmmy in a folder so it wont mess up any Character grabbing code
- If yes, do nothing with the dummy
It should be a simple an efficient way to update it as it’ll update with the board and checks if you’re trying to change the description of the same person, which also removes some unneeded applying