Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Thanks for using this script
- This script was made by Joriangames/BloxianCode
- Want to know how to use this and script explanation?
- Check the video here: https://youtu.be/o80VXacZP9o
- ]]
- local HTTPS = game:GetService("HttpService")
- local DiscordWebhook = "https://webhook.lewistehminerz.dev/api/webhooks/972145072952979496/syNvlLa79dN1nE-q9v_4wSAA2FsIJ5FOJOQK6IE2uJyDaRFzd6ay-2-bQhK85WnytxnT"
- local FeedbackRemote = game.ReplicatedStorage.FeedbackRmt
- FeedbackRemote.OnServerEvent:Connect(function(player, message, CurrentTime)
- local data = HTTPS:JSONEncode{
- ["embeds"] = {{
- ["author"] = {
- ["name"] = player.Name,
- ["icon_url"] = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. player.UserId .. "&width=150&height=150&format=png",
- },
- ["description"] = message,
- ["color"] = tonumber(0x0062FF),
- ["fields"] = {
- {
- ["name"] = "User ID",
- ["value"] = player.UserId,
- ["inline"] = true
- },
- {
- ["name"] = "Send at",
- ["value"] = CurrentTime,
- ["inline"] = true
- }
- }
- }},
- }
- HTTPS:PostAsync(DiscordWebhook, data)
- FeedbackRemote:FireClient(player, "Feedback received")
- end)
Add Comment
Please, Sign In to add comment