Unfortunately, Roblox does not have support for websockets. Long polling is an easy alternative.
Note: I do not recommend using the free plan on Glitch to host your server as I did in this video. You are only allowed public projects as a free user, which is a security risk.
Source files: https://github.com/ShouxTech/roblox-l...