I found this.
Here is my script. It also logs on so you can actually edit.
local http = game:GetService('HttpService') local edit = --Not shown cuz I dont want you to see it local login = 'https://pastebin.com/login' local send = 'Someone read this message!' local password = --Not shown for obvious reasons. local username = --Again, not shown. local tab = { ['user_name'] = username, --I found the "user_name" part and the "user_password" part using inspect element, so I assumed you had to use it. ['user_password'] = password } script.Parent.MouseButton1Click:connect(function() http:PostAsync(login, http:JSONEncode(tab)) http:PostAsync(edit, send) end)
It is a server script in a TextButton, just saying. There is a part above it, and that part works. I have HttpService on, so dont answer that with that explanation.
You have local tab = {username, password}
but you are trying to send http:PostAsync(login, http:JSONEncode(table))