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:
game.Players.PlayerAdded:Connect(function(plr)
local leaderstats = Instance.new("Folder", plr)
leaderstats.Name = "leaderstats"
local Class = Instance.new("IntValue", leaderstats)
Class.Name = "Class"
Class.Value = "Awaiting Check-In"
end)
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

2 comments
LINE 5: Change IntValue to StringValue
Thanks, that's helped!