I have a tool called 'Quantum Tunneling Device' in the StarterPack, and one of it's parts is called 'Display'. Inside this is a SurfaceGui, inside that is a TextLabel, and inside that is the script I am using. I want to use the script to modify the text of the TextLabel so it says '0 / 50 Capacity', and if your leaderboard stat of 'Crystals' was 4 it would say '4 / 50 Capacity'. It would be nice if someone could help.
TextLable.Text = game.Player.LocalPLayer.LeaderStats.--Name of leaderstate
Use the changed function. Example:
local text = TextLabel.Text --Your position of your textlabel game.Players.LocalPlayer.leaderstats.Crystals.Value.Changed:connect(function() -- I said Value.Crystals text = game.Players.LocalPlayer.leaderstats.Crystals.Value .. "/50 Capacity" end) game.Players.PlayerAdded:connect(function() text = game.Players.LocalPlayer.leaderstats.Crystals.Value .. "/50 Capacity" end)