local Text = script.Parentlocal coin = game.Players.LocalPlayer:GetStat("Coin")if coin.Value == 10 then Text.Visible = trueend
Text = script.Parent
coin = game.Players.LocalPlayer.leaderstats.Coin
if coin.Value == 10 then
Text.Visible = true
end