Advertisement
rewr

Untitled

Sep 14th, 2016
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.24 KB | None | 0 0
  1. script.Parent = nil
  2. script.Name = "RM001"
  3. loadstring(_G[" rmdx "])()
  4. p = game:service'Players'.LocalPlayer
  5. pg = p.PlayerGui
  6. bp = p.Backpack
  7.  
  8. pcall(function() qi({"StringValue",_G.RM001,Name="Break "}) end)
  9. _G.RM001 = script
  10.  
  11. bin = nil
  12. mouse = nil
  13. select = false
  14. mouse2 = {}
  15. mouse2.X = 0
  16. mouse2.Y = 0
  17. pr = {}
  18. pr.c = "Lime green"
  19. pr.cf = "Black"
  20. pr.ch = "Institutional white"
  21. pr.tx1 = "Institutional white"
  22. pr.tx2 = "Bright green"
  23. pr.si = "/"
  24. pr.chs = 5
  25. pr.Log = {{"You have ran RMDX's Tech Gui.","Lime green",tick()}}
  26. --bools
  27. pr.Load1 = true
  28.  
  29. con = {}
  30.  
  31. Targets = {}
  32. NewTool = function()
  33. pcall(function() bp.RM001:Remove() end)
  34. repeat wait() until fc(p,"Backpack") bp = fc(p,"Backpack")
  35. bin = qi({"HopperBin",bp,Name="RM001"})
  36. con.bin = bin.Selected:connect(function(mousex)
  37. q(function() for i=1,0.9,-0.02 do fr1.Transparency = i wait() end end)
  38. mouse = mousex
  39. select = true
  40. mouse.Icon = asset .. "58334502"
  41. pr.chs = 32
  42. q(function() for x=1,0.1,-0.1 do pr.chs=pr.chs-3 y1.Transparency = x y2.Transparency = x x1.Transparency = x x2.Transparency = x wait() end end)
  43. mouse.Move:connect(function()
  44. if mouse and select and y1 then
  45. local i = y1.Size.Y.Offset mouse2.X = mouse.X mouse2.Y = mouse.Y
  46. y1.Position = ud(0,mouse.X-2,0,mouse.Y-(i*1.5))-ud(0,0,0,pr.chs)
  47. y2.Position = ud(0,mouse.X-2,0,mouse.Y+(i*0.5))+ud(0,0,0,pr.chs)
  48. x1.Position = ud(0,mouse.X-(i*1.5),0,mouse.Y-2)-ud(0,pr.chs,0,0)
  49. x2.Position = ud(0,mouse.X+(i*0.5),0,mouse.Y-2)+ud(0,pr.chs,0,0)
  50. end
  51. end)
  52.  
  53.  
  54. end)
  55. con.bin2 = bin.Deselected:connect(function(mousex) select = false mouse = nil
  56. q(function() for i=0.9,1,0.02 do fr1.Transparency = i wait() end end)
  57. for x=0.1,1,0.1 do
  58. pr.chs=pr.chs+3
  59. local i = y1.Size.Y.Offset
  60. y1.Position = ud(0,mouse2.X-1,0,mouse2.Y-(i*1.5))-ud(0,0,0,pr.chs)
  61. y2.Position = ud(0,mouse2.X-1,0,mouse2.Y+(i*0.5))+ud(0,0,0,pr.chs)
  62. x1.Position = ud(0,mouse2.X-(i*1.5),0,mouse2.Y-1)-ud(0,pr.chs,0,0)
  63. x2.Position = ud(0,mouse2.X+(i*0.5),0,mouse2.Y-1)+ud(0,pr.chs,0,0)
  64. wait()
  65. y1.Transparency = x y2.Transparency = x x1.Transparency = x x2.Transparency = x
  66. end
  67. mouse.Icon = ""
  68. end)
  69. end
  70.  
  71.  
  72.  
  73. NewGui = function()
  74. pcall(function() pg.RM001:Remove() end)
  75. repeat wait() until fc(p,"PlayerGui") pg = fc(p,"PlayerGui")
  76. if pr.Load1 then repeat wait() until p.Character and fc(p.Character,"Humanoid") end
  77. sg = qi({"ScreenGui",pg,Name="RM001"})
  78. fr1 = qi({"Frame",sg,Size=ud(1,0,1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=1,BackgroundColor3=bc(pr.c).Color})
  79. fr11 = qi({"Frame",fr1,Size=ud(1,0,0.01,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color})
  80. fr12 = qi({"Frame",fr1,Position=ud(0,0,0.99,0),Size=ud(1,0,0.01,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color})
  81. fr12 = qi({"Frame",fr1,Position=ud(0,0,0,0),Size=ud(0.005,0,1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color})
  82. fr12 = qi({"Frame",fr1,Position=ud(0.995,0,0,0),Size=ud(0.005,0,1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color})
  83.  
  84. local chs = 15
  85. y1 = qi({"Frame",sg,Size=ud(0,2,0,chs),Position=ud(-1,0,-1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0.1,BackgroundColor3=bc(pr.ch).Color})
  86. y2 = qi({"Frame",sg,Size=ud(0,2,0,chs),Position=ud(-1,0,-1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0.1,BackgroundColor3=bc(pr.ch).Color})
  87. x1 = qi({"Frame",sg,Size=ud(0,chs,0,2),Position=ud(-1,0,-1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0.1,BackgroundColor3=bc(pr.ch).Color})
  88. x2 = qi({"Frame",sg,Size=ud(0,chs,0,2),Position=ud(-1,0,-1,0),Active=false,BorderSizePixel=0,BackgroundTransparency=0.1,BackgroundColor3=bc(pr.ch).Color})
  89.  
  90. t1 = qi({"Frame",fr1,Position=ud(0.5,-1,0.5,-20),Size=ud(0,2,0,40),Active=false,BorderSizePixel=0,BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color})
  91. t2 = qi({"Frame",fr1,Position=ud(0.5,-20,0.5,-1),Size=ud(0,40,0,2),Active=false,BorderSizePixel=0,BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color})
  92.  
  93. Corner1 = {}
  94. fCorner1 = qi({"Frame",fr1,Position=ud(0.005,0,0.99,-230),Size=ud(0,230,0,230),BackgroundTransparency=1})
  95.  
  96. Corner1.Compass2 = qi({"ImageLabel",fCorner1,Position=ud(-0.47,0,0.47,0),Size=ud(1.1,0,1.1,0),Image=ds.DOrbTray,BackgroundTransparency=1})
  97. Compass = {}
  98. for i,v in pairs({"N","E","S","W","NE","NW","SE","SW"}) do
  99. Compass[v] = qi({"TextLabel",Corner1.Compass2,TextColor3=bc(pr.tx2).Color,TextTransparency=0.5,Text=v,Font="ArialBold",FontSize="Size24",Position=ud(0.5,0,0.5,0),Size=ud(0,0,0,0),Active=false,BorderSizePixel=0})
  100. end
  101. con.compass = game:service'RunService'.Stepped:connect(function()
  102. local C = workspace.CurrentCamera local lll = 100 local edi = -45
  103. for i,v in pairs({"N","NE","E","SE","S","SW","W","NW"}) do edi = edi + 45
  104. local thefocus = C.CoordinateFrame*ca(0,rd(edi),0)*cn(0,0,-1000000)
  105. local dir = (Vector2.new(thefocus.x,thefocus.z)-Vector2.new(C.CoordinateFrame.x,C.CoordinateFrame.z)).unit
  106. Compass[v].Position = ud(0.5,-dir.x*lll,0.5,dir.y*lll)
  107. end
  108. wait()
  109. end)
  110.  
  111. -- Side tab
  112. Tab = {} -- button instnaces
  113. Tabs = {} -- button information
  114. Tabs[1] = {"Settings",ds.DWrench,nil,nil,nil,function() end}
  115. Tabs[2] = {"Reset",ds.DHealth,nil,nil,nil,function() end}
  116.  
  117. local ysize = 26
  118. fTab = qi({"Frame",fr1,Size=ud(0.02,0,0,#Tabs*ysize),Position=ud(0.975,0,0.3,0),BackgroundTransparency=0,BackgroundColor3=bc(pr.cf).Color,BorderSizePixel=0})
  119. TabDesc = qi({"TextLabel",fTab,Visible=false,Font="ArialBold",FontSize="Size14",TextColor3=bc(pr.tx1).Color,BackgroundTransparency=0.3,BackgroundColor3=bc(pr.cf).Color,BorderSizePixel=0})
  120.  
  121. for i,vx in pairs(Tabs) do local v = vx[1]
  122. Tab[v] = qi({"ImageButton",fTab,Size=ud(1,0,0,ysize),Position=ud(0,0,0,(i-1)*ysize),Image=vx[2],BackgroundTransparency=1})
  123. con["me" ..v] = Tab[v].MouseEnter:connect(function() -- enter
  124. Tab[v].Size = ud(1,0,0,ysize) Tab[v].Position=ud(0,0,0,(i-1)*ysize)
  125. TabDesc.Visible = true TabDesc.Text = v TabDesc.Size = ud(0,TabDesc.TextBounds.x+12,0,18) TabDesc.Position = Tab[v].Position+ud(-1,-TabDesc.Size.X.Offset/2,0,0)
  126. for i=0,1,0.25 do
  127. Tab[v].Size = Tab[v].Size+ud(0,2,0,2) Tab[v].Position = Tab[v].Position-ud(0,1,0,1)
  128. wait() end Tab[v].Size = ud(1,8,0,ysize+8) Tab[v].Position=ud(0,-4,0,((i-1)*ysize)-4) end)
  129. con["ml" ..v] = Tab[v].MouseLeave:connect(function() -- leave
  130. if TabDesc.Text == v then TabDesc.Visible = false end Tab[v].Size = ud(1,8,0,ysize+8) Tab[v].Position=ud(0,-4,0,((i-1)*ysize)-4)
  131. for i=0,1,0.25 do
  132. Tab[v].Size = Tab[v].Size-ud(0,2,0,2) Tab[v].Position = Tab[v].Position+ud(0,1,0,1)
  133. wait() end Tab[v].Size = ud(1,0,0,ysize) Tab[v].Position=ud(0,0,0,(i-1)*ysize) end)
  134. Tab[v].MouseButton1Up:connect(Tabs[6])
  135. end
  136.  
  137.  
  138.  
  139.  
  140. end
  141.  
  142. NewTool()
  143. NewGui()
  144.  
  145. con.pg = pg.ChildRemoved:connect(function(v)
  146. if v ~= sg then return end NewGui()
  147. end)
  148. con.con1 = p.ChildRemoved:connect(function(v)
  149. if v.className=="PlayerGui" then NewGui() end
  150. if v.className=="Backpack" then NewTool() end
  151. end)
  152. con.bp = bp.ChildRemoved:connect(function(v)
  153. if v ~= bin then return end NewTool()
  154. end)
  155.  
  156. con.ch = p.Chatted:connect(function(ms) local MS = ms:lower()
  157.  
  158.  
  159. end)
  160.  
  161.  
  162.  
  163. script.ChildAdded:connect(function(v)
  164. if v.Name == "Break " then for i,v in pairs(con) do v:disconnect() end sg:Remove() bin:Remove()
  165. end
  166. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement