wait(5)
while true do
if script.Parent.Parent.SelectedSeed ~= nil then
wait()
local plr = game.Players:FindFirstChild(game.Workspace:FindFirstChild("PlayerName").Value)
local seed = plr:FindFirstChild("Plants"):FindFirstChild(script.Parent.Parent.SelectedSeed.Value)
script.Parent.Text = "You Own "..seed.Value
end
end
i know this is a pretty bad script but for some reason im getting this error: 18:51:33.001 - Workspace.Tycoon.BioGarden.Tablet1.Ekran.Menu.Info.Count.Script:7: attempt to index nil with 'Value'

3 comments
oh let me try that
wait im not using it in a variable there is a waitforchild(...Value)
i meant findfirstchild