Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you script if part and part touched then? [closed]

Asked by 4 years ago

pls I really need help for my simulator

Closed as Not Constructive by BestCreativeBoy, imKirda, and WideSteal321

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 4 years ago

You just need to use the Touched event.

Part.Touched:Connect(function()
      --Put code here
end)

Its quite simple. Here is an article if you need more help

https://developer.roblox.com/en-us/api-reference/event/BasePart/Touched

If this was helpful, please accept my answer, or ask any questions you have :)

0
Not really you cant start with the part unless you already said before that Part = script.Parent. tomer495 19 — 4y
Ad