My simple ROBLOX to Discord webhook isn't working?
I made a simple suggestion command in ROBLOX, I have enabled HTTP Services and everything but it still doesn't work? I've tried using proxy servers and everything, yet to no avail, could someone help?
01 | local Http = game:GetService( 'HttpService' ) |
05 | game.Players.PlayerAdded( function (plr) |
06 | plr.Chatted:connect( function (msg) |
12 | [ 'username' ] = plr.Name |
16 | if msg:sub( 1 , 12 ) = = '/recommend' then |
17 | local newData = Http:JSONEncode(data) |
18 | Http:PostAsync(newData, url) |