R

Untitled

public
rrixh Apr 05, 2024 Never 95
Clone
Lua getallroxks.mp3 10 lines (10 loc) | 606 Bytes
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