Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Changing parts into a Union brick?

This script I have it kinda works? But i want it to change anything that touches it into a union part that I have set it to and this just idk. Any suggestions?

local Union=game.ReplicatedStorage.Union
local Part=workspace.metal

Part.Touched:connect(function()
    local New=Union:Clone()
    New.Parent=workspace
    New.CFrame=Part.CFrame
    Part:destroy()
end)

1 answer

Unioning through scripts is not yet available

I have no idea how your code would work, unless the union in ReplicatedStorage was the exact same as the part.

Also, you shouldn't be doing this client sided. Use a server script in the workspace, or the part.

But ultimately what you're attempting to do(what it looks like at least) isn't possible.. maybe elaborate on what you're trying to accomplish here and I can help? Thanks.

This discussion is preserved as it was. New answers, comments, and votes are closed.