1 if game.Workspace.SpawnedObjects:FindFirstChild("Rock1") then 2 if game.Workspace.SpawnedObjects.Rock1.Handle:FindFirstChild("ClickDetector") then 3 fireclickdetector(game.Workspace.SpawnedObjects.Rock1.Handle.ClickDetector) 4 end 5 end 6 if game.Workspace.SpawnedObjects:FindFirstChild("Rock2") then 7 if game.Workspace.SpawnedObjects.Rock2.Handle:FindFirstChild("ClickDetector") then 8 fireclickdetector(game.Workspace.SpawnedObjects.Rock2.Handle.ClickDetector) 9 end 10 end