Hi! How do you make more than 1 clickable object because the first is working but when I make the second and click on the second the first and the second appear so could you please help me.
SCRIPT
function onClick(click) for i,v in pairs (game.Lighting:GetChildren()) do if v.ClassName == "Tool" then c = v:Clone() c.Parent = click.Backpack end end end script.Parent.ClickDetector.MouseClick:connect(onClick)
Thanks! Help ASAP
(Also sorry for my attitude in my last question)
So all you have to do is add a click detector to any object you want to be clickable.