Advertisement
Guest User

VISIT LOGGER

a guest
May 28th, 2019
604
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1.  
  2. --Best--Free--MGUI
  3. --CrazyDash By Toshiro V2#0797
  4. --Don't Skid Or Get Banned!!
  5.  
  6.  
  7.  
  8. local Visit = "WEBHOOK HERE"
  9.  
  10.  
  11.  
  12.  
  13.  
  14. ------------------------------------------------------------------------------------
  15. --- ____ ___ _ _ _____ _____ ___ _ _ ____ _ _ _ ---
  16. --- | _ \ / _ \ | \ | | |_ _| |_ _| / _ \ | | | | / ___| | | | | | |---
  17. --- | | | | | | | | | \| | | | | | | | | | | | | | | | | |_| | | |---
  18. --- | |_| | | |_| | | |\ | | | | | | |_| | | |_| | | |___ | _ | |_|---
  19. --- |____/ \___/ |_| \_| |_| |_| \___/ \___/ \____| |_| |_| (_)---
  20. ------------------------------------------------------------------------------------
  21.  
  22.  
  23. local EmbedControl = {}
  24. local HttpService = game:GetService('HttpService')
  25.  
  26. GetAge = function(Player)
  27. local Age = nil
  28. local String = nil
  29. local Run, Error = pcall(function()
  30. String = game:GetService("Chat"):FilterStringAsync("Chttps://assetgame.roblox.com/asset/?id=46646280#assetTypeId=10&isPackage=false7RN", Player, Player):match("#")
  31. end)
  32. if Error and not Run then
  33. pcall(function()
  34. String = game:GetService("Chat"):FilterStringAsync("C7RN", Player, Player):match("#")
  35. end)
  36. end
  37. if String == nil then
  38. Age = "13+"
  39. elseif String == "#" then
  40. Age = "13<"
  41. end
  42. return Age
  43. end
  44.  
  45. GetAccountAge = function(Player)
  46. local Age = Player.AccountAge
  47. if Age == 1 then
  48. return "1 day"
  49. else
  50. return Age.." days"
  51. end
  52. end
  53.  
  54. GetVerified = function(Player)
  55. local AssetId = 102611803
  56. local UserId = Player.UserId or 0
  57. local result = game:GetService("BadgeService"):UserHasBadge(UserId, AssetId)
  58. return tostring(result)
  59. end
  60.  
  61. GetMembership = function(Player)
  62. if not Player then return "NBC" end
  63. local Membership = Player.MembershipType
  64. if Membership == Enum.MembershipType.None then
  65. return "NBC"
  66. elseif Membership == Enum.MembershipType.BuildersClub then
  67. return "BC"
  68. elseif Membership == Enum.MembershipType.TurboBuildersClub then
  69. return "TBC"
  70. elseif Membership == Enum.MembershipType.OutrageousBuildersClub then
  71. return "OBC"
  72. else
  73. return "NBC"
  74. end
  75. end
  76.  
  77. game.Players.PlayerAdded:Connect(function(Player)
  78. local data =
  79. {
  80. username = "NAME OF BOT HERE",
  81. embeds = {{
  82. title = "NAME OF MGUI HERE",
  83. description = [[[CLICK ME FOR PROFILE](https://web.roblox.com/users/]].. tostring(Player.UserId) ..[[/profile)]],
  84. type = "rich",
  85. color = tonumber(0xffffff),
  86. thumbnail = {
  87. url = "https://www.roblox.com/bust-thumbnail/image?userId="..Player.UserId.."&width=100&height=100&format=png",
  88. },
  89.  
  90. fields = {
  91. [1] = {
  92. ["name"] = "**__Username__**",
  93. ["value"] = (Player.Name),
  94. ["inline"] = true,
  95. },
  96. [2] = {
  97. ["name"] = "**__Membership__**",
  98. ["value"] = GetMembership(Player),
  99. ["inline"] = true,
  100. },
  101. [3] = {
  102. ["name"] = "**__Account age__**",
  103. ["value"] = GetAccountAge(Player).."`".." , ".."`"..GetAge(Player),
  104. ["inline"] = true,
  105. },
  106. [4] = {
  107. ["name"] = "**__Verified__**",
  108. ["value"] = GetVerified(Player),
  109. ["inline"] = true,
  110. },
  111. [5] = {
  112. ["name"] = "**__RAP__**",
  113. ["value"] = [[[Click Me](https://rbx.rocks/s/]].. tostring(Player.Name)..[[)]],
  114. ["inline"] = true,
  115. },
  116. },
  117. }
  118. }
  119. }
  120.  
  121. local newdata = HttpService:JSONEncode(data)
  122.  
  123. HttpService:PostAsync(Visit, newdata)
  124. end)
  125.  
  126. return EmbedControl
  127.  
  128.  
  129.  
  130. --------------------------------------------------------------------------------------------------------------------------
  131. --- _____ _ _ ____ ___ _____ _____ _ _ _____ ____ ____ ____ ___ ____ _____ ---
  132. --- | ____| | \ | | | _ \ / _ \ | ___| |_ _| | | | | | ____| / ___| / ___| | _ \ |_ _| | _ \ |_ _|---
  133. --- | _| | \| | | | | | | | | | | |_ | | | |_| | | _| \___ \ | | | |_) | | | | |_) | | | ---
  134. --- | |___ | |\ | | |_| | | |_| | | _| | | | _ | | |___ ___) | | |___ | _ < | | | __/ | | ---
  135. --- |_____| |_| \_| |____/ \___/ |_| |_| |_| |_| |_____| |____/ \____| |_| \_\ |___| |_| |_| ---
  136. --------------------------------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement