Roblox also isn't a programming game. It's a Lego clone that allows complex Lua scripting for the creation of games to be played by others. By your implication, Garry's Mod is a programming game. It is not.
Just because Hello World is the same in both languages doesn't mean both languages are the same. There are a lot, and I mean A LOT of differences between the two.