RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"check if the parent part was touched"
-- script for checking if parent part was touched local part = script.Parent local function onTouch(otherPart) local parentPart = otherPart.Parent if parentPart:IsA("Part") then print("Parent part was touched") end end part.Touched:Connect(onTouch)