I’m making a system to detect when a RemoteEvent is fired suspiciously, and then I fire a discord webhook to report the issue. I want to provide the server link with said webhook message, however I don’t know how to get the server URL from in-game. How do I do this?
"https://www.roblox.com/games/" .. game.PlaceId .. "/" .. game.Name
1 Like
Hello. There is a simple way to do this.
local gameId = game.JobId or 1
-- This URL is what you would send in the webhook.
local url = "https://www.roblox.com/games/" .. game.PlaceId .. "/" .. game.Name .. "&gameid=" .. gameId .. "&launcht=" .. os.time()
I have not tested this, so if it doesn’t work, lmk.