The blue underline in the script editor bothers me enough that I’ve migrated this ancient codebase to using modern standards like task.wait, workspace:GetPartBoundsInBox, and updated alternatives to deprecated functions. There are two things left. .Velocity and MakeJoints/BreakJoints. Are there any ACTUAL alternatives to make and break joints? They are a requirement for the game to work but there are no real alternatives
Velocity has been replaced by AssemblyLinearVelocity
For BreakJoints, I can’t seem to find a built in way to do it so you will have to use a loop with BasePart:GetJoints().
e.g.
function BreakJoints(Part)
for _, joint in Part:GetJoints() do
joint:Destroy()
end
end
It behaves differently, I can use it on everything except connected parts and characters since on those it reports the velocity of the “assembly” and not the actual part like it should
I’ll try this