How to make a hat unlock ?
I'm am trying to make a hat unlock for my clicker game.
If you have 500 cash then it unlocks a hat.
The enable is the enable button to equip the hat.
01 | local Player = script.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent.Parent |
03 | if Player.Cookies.Value > = "500" then |
04 | script.Parent.ImageColor 3 = Color 3. new( 255 , 255 , 255 ) |
05 | script.Parent.ImageTransparency = 0 |
06 | script.Parent.Parent.Enable.Visible = true |
08 | script.Parent.ImageColor 3 = Color 3. new( 0 , 0 , 0 ) |
09 | script.Parent.ImageTransparency = 0.7 |
10 | script.Parent.Parent.Enable.Visible = false |