So I have a script like this:
01 | while bulletFreeze = false then do |
02 |
03 | filepath.bullet.anchored = false //Bullet is a model |
04 |
05 | end |
06 |
07 | while bulletFreeze = true then do |
08 |
09 | filepath.bullet.anchored = true //Bullet is a model |
10 |
11 | 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?
Hey! Try this
1 | while bulletFreeze = = false then do |
2 | filepath.bullet.anchored = false |
3 | end |
4 |
5 | while bulletFreeze = = true then do |
6 | filepath.bullet.anchored = true |
7 | end |
The reason yours didnt work is because you used. =. Whenever your using something like "if ababaa = false then" instead you would do "if ababaa == false then". Notice the extra equal sign.