I wanted to make it so that if a player has enough money, and steps on a button, other button(s) would appear. But this script didn't work.
plr = script.Parent.Parent.Parent.Parent.Parent.Parent price = 0 brick = script.Parent.Parent.Parent["Seasoner - 1200"].Head script.Parent.Touched:connect (function() local v = plr.leaderstats.Cash if v.Value - price >= 0 then brick.Transparency = 0 else brick.Transparency = 1 end end)
anyone know why?
If plr is an ObjectValue then try using local v = plr.Value.leaderstats.Cash
.