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

Corrupted Unions on "SubtractAsync"?

Asked by
danklua 72
3 years ago

Hello I am making a script that removes parts of normal parts and or unionoperations and every once in a while they dont load at all and im assuming their "corrupted" i tried debugging and making script that wait until the union is even a thing but it just doesnt work.

Image: https://ibb.co/kXT1GHm

local union
local e,b = pcall(function()
    union = touching:SubtractAsync({Part1,Part2})
end)
0
Remember SubtractAsync returns a new instance and you have to set the parent of it, try parenting it after calling the function. Xwaldo1 0 — 3y
0
I did, and sometimes it errors saying index with nil with .Parent and i do repeat wait() union.Parent = workspace until union.Parent == worksapce danklua 72 — 3y

Answer this question