i tried using this code , im kind of new to scripting and i am studying .
local fl = game.Workplace.FARMLAND
fl.FARM1.ClickDetector.MouseClick:Connect(function()
if crop.a1.Transparency == 1 then
crop.a1.Transparency=0
wait(5)
crop2.b1.Transparency=0
else
game.StarterGui.ScreenGui.TextLabel.Text = 'hello'
end
Can you tell me what am I doing wrong ?

1 comment
you are using game.StarterGui, u gotta use the gui's in the player