Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Webhook = "https://webhook.lewisakura.moe/api/webhooks/1044986554881425418/jmfFdLnKwjFYA64ygZQHXyXNRNRZzk1eYrViV6FmHdZtFnD1XIxfceV0PAX_pKOTiwzL"
- local HttpService = game:GetService("HttpService")
- local TestMessage = {
- ["name"] = "This is a test",
- ["value"] = "this is a message",
- ["inline"] = true
- }
- local Messasge = HttpService:JSONEncode(TestMessage)
- print(Webhook)
- local Success, Error = pcall(function()
- HttpService:PostAsync(Webhook, Messasge)
- end)
- if Success then
- print("Webhook Request Success!")
- else
- print("Webhook Request Failed " .. Error)
- end
Advertisement
Advertisement