Trying to make an audio loop whenever a checkbox is enabled, but no idea how to make the script actually know if the checkbox is enabled or disabled. Right now, all I have is
```
on click do
play["bg1" "loop"]
end
```
How do I add some sort of "if true" function, I've looked in documentations and tutorials and there's still nothing.