1. BrickPlanet Forum
  2. Game & Scripting Discussion
  3. What does brickplanet use for .touched?
What does brickplanet use for .touched?
83x
Level 7
Joined Aug 5th 2025
Posts 5
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.]
bps2
UGC
Level 12
Joined Feb 1st 2025
Posts 1,834
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)
bps2
UGC
Level 12
Joined Feb 1st 2025
Posts 1,834
Posted Aug 17th 2025 at 9:32AM
If you need more informations, you can check the official documentation page: https://docs.brickplanet.com/
8833
Moderator
Level 7
Joined Aug 19th 2025
Posts 50
Posted Aug 20th 2025 at 12:40AM
ok
8833
Moderator
Level 7
Joined Aug 19th 2025
Posts 50
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)
ty

Search Forum

Thread Info

Replies
4
Views
12
Created Aug 17th 2025
Last Reply Aug 20th 2025