I am trying to used the negate function on a part and it is not working and saying it is not valid member of part. Was this function removed by roblox.
I think it’s only available to scripts inside Plugins?
It appears so, but i’m not sure why, the wiki page for it also appears to be removed though there is still a link to it on the page from BasePart.
However there does appear to be a SubtractAsync function which should do the same thing.
edit: Do you mean the Negate of a plugin? This works fine and produces no error.
Negate is a member of plugins, not BaseParts. If the function isn’t a member of the instance you’re trying to call it on, that doesn’t necessarily mean it’s deprecated.
SubtractAsync is the proper method to use in this case.