Discord Webhook When Player Touches Brick

Hello everyone, I have a small problem :smile_cat:

I am creating an obby that gives players a certain amount of Robux when they finish the obby; and I want a script so when the player touches a certain part, a script sends a webhook to my Discord server with the players username.

Just use HttpsService to send the webhook a message to your discord’s server

1 Like

Just to let you know… i already wanted to do a similar game to give out robux but then i just checked out the roblox ToS (Terms of Services) which says you can’t do robux giveaways… If I were you I would have the player enter a gamepass ID so that you or a bot can buy it… also im not sure if discord blacklisted roblox.com form webhook services… at least you probably have to use a proxy server… Just try with HttpService first, good luck

1 Like

you can use HttpService:JSONEncode() to send data to webhooks (usually embeds)
More information here:
What Is A Proxy & Why Do We Need It For Discord Webhooks Now? and Discord Webhook Proxy Tutorial
Like @richiitalia said you’re gonna have to use proxy servers (roproxy) to get around the webhook request block.

1 Like

You can’t giveaway robux, and additionally Discord has blocked all requests from Roblox and you shouldn’t try and evade those blocks as they are in place for a reason/evading blocks is against Discords ToS

1 Like

You can you use guilded because roblox owns it and its allowed. But I don’t think you can giveaway robux like that.

1 Like

If you dont want to read the second link which is my tutorial, then in short, just replace
https://discordapp.com/api/webhooks/xxxxxx/xxxxxxx
with
https://hooks.hyra.io/api/webhooks/xxxxxx/xxxxxxx

1 Like