My local script isn't recognizing my leaderstats value? My script is:
Local Script
game.Players.PlayerAdded:connect(function()
if game.Players.LocalPlayer.leaderstats.Purchases.Value == 1 then
print("Hi")
game.StarterGui.ScreenGui.Frame1.Desert.Visible = true
else
game.StarterGui.ScreenGui.Frame1.Desert.Visible = false
end
end)
Thanks!

2 comments
Dude
Don't store leaderstats on the client