local clock = 0
function giveApple()
for i=1, 2 do
local apple = game.Lighting.Apple:clone()
apple.Parent = plr.Backpack
end
end
giveApple()
while wait(1) do
clock = clock + 1
if clock == 300 then
giveApple()
clock = 0
end
end
I don't actually know how to do this but when the tree is clicked and someone gets an apple off of it, the tree dissapears then reappears after about 150 seconds. Anyone know how to do that?