Can i fire a function using httpservice

is there a way i can fire a function from another website like pastebin

or send something and then the website sends something back

why you wanna to use pastebin ,I found it a little uncomfortable use a discord bot that can take orders from you and fire the function in roblox , but if really need to use pastebin you can do this:

while wait(2) do
    local String = game.HttpService:GetAsync("https://pastebin.com/raw/Anything")
    if String == "Fire" then
        break
        --your function here
    end
end

whenever you wanna fire the function change your pastebin to “Fire”

A post request would be more useful as servers usually use this more often for functions.

1 Like