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

How do you make a model that duplicates itself when a part is touched? [closed]

Asked by 5 years ago

It's SCP-087 inspired but I want to know how to do it, I tried looking at youtube but it just showed SCP-087 gameplays, but one was in roblox studio but did not show the script. Please help me! I am new to lua!

Closed as Not Constructive by RubenKan

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 5 years ago

you can do this by using the .Touched event of a basepart, demonstrated in the code below:

local touchBlock = path.to.touched.block
local model = path.to.model.to.duplicate

touchBlock.Touched:Connect(function()
    model:Clone()
end)
  • avenze
Ad