I am trying to access the value "Needs" in a regular script from the player like this.
local char = tool.Parent local player = game.Players:GetPlayerFromCharacter(char) local needs = player.Needs
Error in output: "Needs is not a valid member of Player"
Anybody know why this error keeps happening? I even tried to do a :WaitForChild() but it then says there's an infinite yield trying to find "Needs." Needs has been inputted into the player yet the server still cannot find it.
Are you using the leaderstats to be a localscript? You cannot do that as local can only be seen from the localside. Reply to this message with your response and I will redo this comment. Also please put your full script so we can check if its a lower script issue.