While some things work in my main Global script such as the transition animation and variables, when I export my game to web/itch it just bugs out. Things don't work proper such as the music stop/start function in the script not working, the WorldEnvironment having too much bloom/glow, even when glow is disabled, or code just not working (I.E.: If HP is below MaxHP, it should be equal to 0, but doesn't)
All these problems don't exist in the engine, and only when I export the game.
(1st image is how it is supposed to look. 2nd image is when exported to itch)