script.Parent.MouseClick:connect(function(plr)
local c = game.Lighting.Apple:Clone() c.Parent = plr.Backpack
end
i need this to happen twice but i dont know how to loop
Try this:
for i=1, 2 do local c = game.Lighting.Apple:clone() c.Parent = plr.Backpack --make sure you have plr defined end