- BrickPlanet Forum
- Game & Scripting Discussion
- What does brickplanet use for .touched?
What does brickplanet use for .touched?
Posted Aug 17th 2025 at 6:08AM
I have been working on brickplanet for awhile, and have had a question noone seems willing to answer, how would I check if a humanoid touched a part? [or even not a humanoid, im getting desperate here and I wont be picky.]
Posted Aug 17th 2025 at 9:31AM
local TriggerPart = script.Parent
TriggerPart.Touched:connect(function(hit)
if hit.Name = "input" then
print("Input has been touched")
end
end)
TriggerPart.Touched:connect(function(hit)
if hit.Name = "input" then
print("Input has been touched")
end
end)
Posted Aug 17th 2025 at 9:32AM
If you need more informations, you can check the official documentation page: https://docs.brickplanet.com/
Posted Aug 20th 2025 at 12:40AM
ok
Posted Aug 20th 2025 at 12:41AM
Originally posted by
bps2
on Aug 17th 2025 at 9:31AM
local TriggerPart = script.Parent
TriggerPart.Touched:connect(function(hit)
if hit.Name = "input" then
print("Input has been touched")
end
end)
TriggerPart.Touched:connect(function(hit)
if hit.Name = "input" then
print("Input has been touched")
end
end)
ty
Search Forum
Thread Info
Replies
4
Views
12