So I have a script like this:
while bulletFreeze = false then do
filepath.bullet.anchored = false //Bullet is a model
end
while bulletFreeze = true then do
filepath.bullet.anchored = true //Bullet is a model
end
Why on earth is it not working? Each bullet spawns inside the bullet model but won't anchor with a script. I tried manually anchoring the model from studio and for some reason that works. What am I doing wrong?

2 comments
You need to use "==", not "=" for the conditions
That is pseudo code not my actual one. Point is, I am positive my syntax is correct.