I was fixing a few bugs for a game and stumbled across a bug which im not sure is my lack of knowdledge or a bug. Help would be appreciated
Problem
I am looping through a for loop using a get decendents array here is the code -
for i,v in pairs(car:WaitForChild("Wheels"):GetDescendants()) do
if v:IsA("SpringConstraint") then
print('debug1')
v.FreeLength -= (ride2/10)
end
end
This wasnt working as it wasnt printing ‘debug1’ so I tried printing the array; I found out that the array did not include the spring constraint which was weird as it was a decendent of the wheels and also it only included parts and models not other instances, here is a screenshot of the wheels decendants
Yes I have, I also said that I printed all the contents of :GetDecendents which had no spring constraints and was also not showing welds and body force