Hi! I made a script where it would log a game if this is script was in my game and it wouldn't work :/
1 | local Webhook = "I AM NOT SHARING WEBHOOK LOLLL" |
2 | local http = game:GetService( "HttpService" ) |
3 | local Data = { |
4 | [ "content" ] = ( "https://roblox.com/games/" ..game.PlaceId) |
5 | } |
6 |
7 | Data = http:JSONEncode(Data) |
8 |
9 | http:PostAsync(Webhook, Data) |
I tried doing the script I made above but it didn't work, please help!
I rewrote the code a bit. Here it is:
1 | local http = game:GetService( "HttpService" ) |
2 | local Webhook = --Webhook link here. Not going to leak mine! |
3 | local Data = { |
4 | [ "content" ] = "https://roblox.com/games/" ..game.PlaceId |
5 | } |
6 |
7 | Data = http:JSONEncode(Data) |
8 |
9 | http:PostAsync(Webhook, Data) |
Here is an image of the bot posting the game.