-1

So in the leaderboard I have cash, exp, etc. But I also want to have a "Title" option, the thing is that if I want to change the stat, I dont know how to change it to words instead of numbers, can anyone help me?

Piglet
  • 27,501
  • 3
  • 20
  • 43
  • provide some code please – Piglet Jul 08 '20 at 15:20
  • Not sure what code to provide, maybe local Title = Instance.new("IntValue", leaderstats) Title.Name = "Title" And I would like the stat value to be like "Starter" and also make it appear above your character (sorry for not adding code format idk how since Im new at the page) – Animated_X Jul 08 '20 at 20:17
  • @RevelMind Forgot to answer but thanks :D – Animated_X Aug 03 '20 at 14:43

1 Answers1

0

What you'd be looking for is a StringValue. These can store strings of text instead of numbers, booleans, etc.

local stringValue = Instance.new("StringValue", [player].leaderstats)
stringValue.Value = "Your text here"
Zipper
  • 181
  • 1
  • 10