So, today I read "Pastebin 101" on the Roblox DevForum and saw that Roblox can communicate with websites, in this case Pastebin, and use their API to execute a function from Roblox. I have a small script from the Pastebin 101 post with the following,
local http = game:GetService('HttpService')
local urlEncode = function(str) return http:UrlEncode(str) end
local GET = function(url) return http:GetAsync(url) end
local PostUrl
local DefaultUrl = 'https://pastebin.com/'
I don't know if most of the variables are required, I'm using this as a foundation only.
With the parts included here, this makes me believe that I can read post text from Roblox. My paste on Pastebin has a list of names. My goal is to kick the player that joins if their name is on the Pastebin post. I have provided an image of what my post looks like at the bottom. All solutions appreciated, thank you!
Image(s) - Pastebin post - https://bit.ly/2L3nMdG
