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

Help for showing what level someone is on in an obby?

Im currently building an obby, and on obby serverboards on the top right corner, they show what levels a player is on. How do you do this?

2 answers

Use leaderstats and update it on the server when it touches a part

Hi Rpgfrog21!

Simply check their leaderstats in the local side, since we want it to be different for every player.

wait()
script.Parent.Text = "You are on level "..game.Players.LocalPlayer.leaderstats.Level.Value.. "!"

Make sure that this is inside the textlabel/whatever that you want the level showing.

*Make sure that the name of the leaderstat folder is "leaderstats"

*Make sure that the name of the player's Obby Level is "Level"

Hope I helped, LennyPlayzYT

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