Not A Valid Member Of Folder

Well points wouldn’t of been the issue. You were trying to get .Value from leaderstats which according to the code was a folder. As such you should change that line to

if plr.leaderstats.Gold.Value >= price then
--Run Code
end
1 Like