How to give leaderstats a word value?
Asked by
3 years ago Edited 3 years ago
I'm currently making a Self Check-In system for an airline I'm working on; I need to have a player's airline class as a leaderstat, however that would involve having words as the [statname].Value. I have this already:
1 | game.Players.PlayerAdded:Connect( function (plr) |
2 | local leaderstats = Instance.new( "Folder" , plr) |
3 | leaderstats.Name = "leaderstats" |
5 | local Class = Instance.new( "IntValue" , leaderstats) |
7 | Class.Value = "Awaiting Check-In" |
and I'm not sure how to work it. Whenever I join the game, the value comes out at '0' instead of 'Awaiting Check-In' (https://gyazo.com/05bff9e2fa2fc823d3260061fa443adf) Does anyone know how to resolve this issue? If yes, get back to me as soon as possible.
Thanks,
dxrrevn