local function Unanchor()
for _, i in pairs (game.Workspace.Car.Wheels:GetChildren()) do
if i:IsA("Part") then
i.Anchored = false
end
end
end
game.Workspace.Test.Touched:Connect(function(hit)
Unanchor()
end)
COMMUNITY QUESTION
The wheels don't unanchor?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
try if i:IsA("BasePart") instead of if i:IsA("Part")
Thanks it worked!
Idk how to put the question as answerd
Try game.Workspace.Test.Touched:Connect(function(hit) 10 Anchor = False