roblox check if humanoid touched code example
Example: check if child is touched roblox
lcoal Model = workspace.Part
for _,v in pairs(Model:GetChildren()) do
if v:IsA("BasePart") then
v.Touched:Connect(onChildTouched)
end
end
lcoal Model = workspace.Part
for _,v in pairs(Model:GetChildren()) do
if v:IsA("BasePart") then
v.Touched:Connect(onChildTouched)
end
end