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)
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.