Hey I am trying to work with discord Web hooks this is my attempt local url = "" local http = game:GetService("HttpService")
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) local data = {['username'] = player.Name, ['content'] = msg } local newdata = http:JSONDecode(data) http:PostAsync(url,newdata) end) end)
I get this error "Unable to cast value to std::string"
and also I have a bad rep because I was being lazy a while ago so please if you think this question is good if you can help me and push the up reputation please :)
