make a block, scale it to your needed size and apply a sky texture, that's it.

A skycube just defined in the script does not have any collision, so it is better if you use the "block-method"