Can you get the name of a part that has touched another part via a script?
This is what I have at the moment:
elseif script.Parent.Parts.Body.EPad.Touched.name == "Tool" then
Can you get the name of a part that has touched another part via a script?
This is what I have at the moment:
elseif script.Parent.Parts.Body.EPad.Touched.name == "Tool" then
You’re looking for the BasePart | Roblox Creator Documentation event.
Part.Touched:Connect(function(hit)
print(hit.Name)
end
Yes, that’s why there’s an event called Touched
exists.
This has worked, thanks
30 cc
har