Connecting roblox to your discord [ Webhooks ]

With the new Webhooks feature by discord, we are now able to connect our ROBLOX games to our Discord servers and send Chat Messages via “Bot”

This feature is really helpful, for example, it allows you to create a feedback section in your game which would post in your discord server allowing you to see what your players think of your game!

Creating a Webhook

You can easily create a Webhook on your Discord server, as long as your an administrator or have a rank which has Webhook permissions.

  1. Go to your discord server and Navigate to your Server Settings

2. Click on Webhooks and then click Create Webhook

3. Now you change the hook settings to however you like!

4. Copy the URL of the Webhook and Click Save!

5. Open Roblox Studio and Go to the game you want to add it in!

Make sure you have HttpService Enabled in your game

6. Create a new script and put it in “ServerScriptService” As seen in the picture above!

7. In that script Post the following code:

local url = "" -- Put the Webhook URL you copied in this!
local http = game:GetService("HttpService")
local HookData = {
['username'] = "Builderman", -- This is whatever you want the Bot to be called
['content'] = "Yay we did it!" -- this is whatever you want it to say!
HookData = http:JSONEncode(HookData)
http:PostAsync(url, HookData) -- And we are done :D

Now once you run the game, it shall post to your server!