I am trying to make like a morph brick that when a brick passes through it, it will change the brick into a union part of my selection how do i do this? And if that is not possible would it be possible to then just replace the brick with the union part?
✓ ANSWER ACCEPTED
Morph Bricks Into Union Bricks?
1 answer
✓ Accepted answer
Steps: Place the Union in ReplicatedStorage | Clone the Union when needed and parent it to workspace | Set the CFrame of the Union to the CFrame of the Part | Delete the Part
local Union=game.ReplicatedStorage.Union
local Part=workspace.Part
Part.Touched:connect(function()
local New=Union:Clone()
New.Parent=workspace
New.CFrame=Part.CFrame
Part:destroy()
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

5 comments
Could you help me write the script? I am trying to learn how but this seems hard! Thanks!
Edited
how do i add the when the brick touches this brick it will then change it into the union?
Edited again...
sorry but thanks :P