This is not the full script its just this part that doesn't work its for a Gui button
money = player.leaderstats.Level
if money.Value >= 1 then
script.Parent.Text = "Unlocked"
else
if money.Value <= 1 then
script.Parent.Text = "Locked"
end
end
Thanks
