for _, v in ipairs(game:GetDescendants()) do if v:IsA("TouchTransmitter") then firetouchinterest(v.Parent, game.Players.LocalPlayer.Character.HumanoidRootPart, 0) firetouchinterest(v.Parent, game.Players.LocalPlayer.Character.HumanoidRootPart, 1) elseif v:IsA("ProximityPrompt") then fireproximityprompt(v) elseif v:IsA("ClickDetector") then fireclickdetector(v) end end