Advertisement
King_96

Metalworks Gui V.1

Mar 23rd, 2020
7,307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 13.93 KB | None | 0 0
  1. local dba=Instance.new("ScreenGui")
  2. local _ca=Instance.new("Frame")local aca=Instance.new("TextButton")
  3. local bca=Instance.new("Frame")local cca=Instance.new("Frame")
  4. local dca=Instance.new("TextButton")local _da=Instance.new("TextButton")
  5. local ada=Instance.new("Frame")local bda=Instance.new("UIGridLayout")
  6. local cda=Instance.new("TextButton")local dda=Instance.new("TextButton")
  7. local __b=Instance.new("TextButton")local a_b=Instance.new("TextButton")
  8. local b_b=Instance.new("TextButton")local c_b=Instance.new("TextButton")
  9. local d_b=Instance.new("TextButton")local _ab=Instance.new("TextButton")
  10. local aab=Instance.new("TextButton")local bab=Instance.new("TextButton")
  11. local cab=Instance.new("TextButton")local dab=Instance.new("TextButton")
  12. local _bb=Instance.new("TextButton")dba.Name="KMW"
  13. dba.Parent=game.Players.LocalPlayer:WaitForChild("PlayerGui")_ca.Name="mainToggle"_ca.Parent=dba
  14. _ca.BackgroundColor3=Color3.fromRGB(255,255,255)_ca.BackgroundTransparency=0.600
  15. _ca.Position=UDim2.new(0.966420949,0,0.304975927,0)_ca.Size=UDim2.new(0,41,0,38)aca.Name="toggleMain"
  16. aca.Parent=_ca;aca.BackgroundColor3=Color3.fromRGB(0,0,0)
  17. aca.BackgroundTransparency=0.450
  18. aca.Position=UDim2.new(-0.00577729195,0,0.0263158083,0)aca.Size=UDim2.new(0,41,0,37)
  19. aca.Font=Enum.Font.SourceSans;aca.Text="Open"aca.TextColor3=Color3.fromRGB(255,255,255)
  20. aca.TextScaled=true;aca.TextSize=14.000;aca.TextWrapped=true;bca.Name="menuFrame"
  21. bca.Parent=dba;bca.BackgroundColor3=Color3.fromRGB(255,255,255)
  22. bca.Position=UDim2.new(0.810810804,0,0.365971118,0)bca.Size=UDim2.new(0,242,0,375)bca.Visible=false
  23. bca.Style=Enum.FrameStyle.RobloxRound;cca.Name="Display"cca.Parent=bca
  24. cca.BackgroundColor3=Color3.fromRGB(135,135,135)cca.BackgroundTransparency=0.550
  25. cca.Position=UDim2.new(0.0230955034,0,0.0244444981,0)cca.Size=UDim2.new(0,123,0,342)dca.Name="Tools"dca.Parent=bca
  26. dca.BackgroundColor3=Color3.fromRGB(255,255,255)dca.Position=UDim2.new(0.61570245,0,0.0240000002,0)
  27. dca.Size=UDim2.new(0,82,0,50)dca.Style=Enum.ButtonStyle.RobloxRoundButton
  28. dca.Font=Enum.Font.SourceSans;dca.Text="Tools"dca.TextColor3=Color3.fromRGB(255,255,255)
  29. dca.TextSize=20.000;dca.TextWrapped=true;_da.Name="Players"_da.Parent=bca
  30. _da.BackgroundColor3=Color3.fromRGB(255,255,255)_da.Position=UDim2.new(0.61570245,0,0.162666664,0)
  31. _da.Size=UDim2.new(0,82,0,50)_da.Style=Enum.ButtonStyle.RobloxRoundButton
  32. _da.Font=Enum.Font.SourceSans;_da.Text="Teleport"
  33. _da.TextColor3=Color3.fromRGB(255,255,255)_da.TextSize=20.000;_da.TextWrapped=true;ada.Name="pFrame"ada.Parent=_da
  34. ada.BackgroundColor3=Color3.fromRGB(0,0,0)ada.BackgroundTransparency=1.000
  35. ada.Position=UDim2.new(-2.52082205,0,-2.57200003,0)ada.Size=UDim2.new(0,123,0,342)ada.Visible=false
  36. bda.Parent=ada;bda.SortOrder=Enum.SortOrder.LayoutOrder
  37. bda.CellPadding=UDim2.new(0,5,0,8)bda.CellSize=UDim2.new(0,123,0,35)cda.Name="Player1"
  38. cda.Parent=ada;cda.BackgroundColor3=Color3.fromRGB(108,108,108)
  39. cda.Size=UDim2.new(0,200,0,50)cda.Font=Enum.Font.SourceSans
  40. cda.TextColor3=Color3.fromRGB(255,255,255)cda.TextScaled=true;cda.TextSize=14.000;cda.TextWrapped=true
  41. dda.Name="Player2"dda.Parent=ada
  42. dda.BackgroundColor3=Color3.fromRGB(108,108,108)dda.Size=UDim2.new(0,200,0,50)
  43. dda.Font=Enum.Font.SourceSans;dda.TextColor3=Color3.fromRGB(255,255,255)
  44. dda.TextScaled=true;dda.TextSize=14.000;dda.TextWrapped=true;__b.Name="Player3"__b.Parent=ada
  45. __b.BackgroundColor3=Color3.fromRGB(108,108,108)__b.Size=UDim2.new(0,200,0,50)
  46. __b.Font=Enum.Font.SourceSans;__b.TextColor3=Color3.fromRGB(255,255,255)
  47. __b.TextScaled=true;__b.TextSize=14.000;__b.TextWrapped=true;a_b.Name="Player4"a_b.Parent=ada
  48. a_b.BackgroundColor3=Color3.fromRGB(108,108,108)a_b.Size=UDim2.new(0,200,0,50)
  49. a_b.Font=Enum.Font.SourceSans;a_b.TextColor3=Color3.fromRGB(255,255,255)
  50. a_b.TextScaled=true;a_b.TextSize=14.000;a_b.TextWrapped=true;b_b.Name="Player5"b_b.Parent=ada
  51. b_b.BackgroundColor3=Color3.fromRGB(108,108,108)b_b.Size=UDim2.new(0,200,0,50)
  52. b_b.Font=Enum.Font.SourceSans;b_b.TextColor3=Color3.fromRGB(255,255,255)
  53. b_b.TextScaled=true;b_b.TextSize=14.000;b_b.TextWrapped=true;c_b.Name="Player6"c_b.Parent=ada
  54. c_b.BackgroundColor3=Color3.fromRGB(108,108,108)c_b.Size=UDim2.new(0,200,0,50)
  55. c_b.Font=Enum.Font.SourceSans;c_b.TextColor3=Color3.fromRGB(255,255,255)
  56. c_b.TextScaled=true;c_b.TextSize=14.000;c_b.TextWrapped=true;d_b.Name="Player7"d_b.Parent=ada
  57. d_b.BackgroundColor3=Color3.fromRGB(108,108,108)d_b.Size=UDim2.new(0,200,0,50)
  58. d_b.Font=Enum.Font.SourceSans;d_b.TextColor3=Color3.fromRGB(255,255,255)
  59. d_b.TextScaled=true;d_b.TextSize=14.000;d_b.TextWrapped=true;_ab.Name="Player8"_ab.Parent=ada
  60. _ab.BackgroundColor3=Color3.fromRGB(108,108,108)_ab.Size=UDim2.new(0,200,0,50)
  61. _ab.Font=Enum.Font.SourceSans;_ab.TextColor3=Color3.fromRGB(255,255,255)
  62. _ab.TextScaled=true;_ab.TextSize=14.000;_ab.TextWrapped=true;aab.Name="Bases"aab.Parent=bca
  63. aab.BackgroundColor3=Color3.fromRGB(255,255,255)aab.Position=UDim2.new(0.619834661,0,0.301333338,0)
  64. aab.Size=UDim2.new(0,82,0,50)aab.Style=Enum.ButtonStyle.RobloxRoundButton
  65. aab.Font=Enum.Font.SourceSans;aab.Text="Home"aab.TextColor3=Color3.fromRGB(255,255,255)
  66. aab.TextSize=20.000;aab.TextWrapped=true;bab.Name="playerESP"bab.Parent=bca
  67. bab.BackgroundColor3=Color3.fromRGB(255,255,255)bab.Position=UDim2.new(0.619834661,0,0.44266662,0)
  68. bab.Size=UDim2.new(0,82,0,50)bab.Style=Enum.ButtonStyle.RobloxRoundButton
  69. bab.Font=Enum.Font.SourceSans;bab.Text="Player ESP"
  70. bab.TextColor3=Color3.fromRGB(255,255,255)bab.TextSize=20.000;bab.TextWrapped=true;cab.Name="ItemESP"cab.Parent=bca
  71. cab.BackgroundColor3=Color3.fromRGB(255,255,255)cab.Position=UDim2.new(0.61570245,0,0.583999991,0)
  72. cab.Size=UDim2.new(0,82,0,50)cab.Style=Enum.ButtonStyle.RobloxRoundButton
  73. cab.Font=Enum.Font.SourceSans;cab.Text="ItemESP"
  74. cab.TextColor3=Color3.fromRGB(255,255,255)cab.TextSize=18.000;cab.TextWrapped=true;dab.Name="Destroy"dab.Parent=bca
  75. dab.BackgroundColor3=Color3.fromRGB(255,255,255)dab.Position=UDim2.new(0.619834661,0,0.725333333,0)
  76. dab.Size=UDim2.new(0,82,0,50)dab.Style=Enum.ButtonStyle.RobloxRoundButton
  77. dab.Font=Enum.Font.SourceSans;dab.Text="Destroy"
  78. dab.TextColor3=Color3.fromRGB(255,255,255)dab.TextSize=18.000;dab.TextWrapped=true;_bb.Name="bringScrap"
  79. _bb.Parent=bca;_bb.BackgroundColor3=Color3.fromRGB(255,255,255)
  80. _bb.Position=UDim2.new(0.616362751,0,0.86426723,0)_bb.Size=UDim2.new(0,82,0,46)
  81. _bb.Style=Enum.ButtonStyle.RobloxRoundButton;_bb.Font=Enum.Font.SourceSans;_bb.Text="Bring All Scrap"
  82. _bb.TextColor3=Color3.fromRGB(255,255,255)_bb.TextScaled=true;_bb.TextSize=12.000;_bb.TextWrapped=true
  83. local function abb()
  84. local b_c=Instance.new('LocalScript',aca)local c_c=b_c.Parent;local d_c=false
  85. local _ac=b_c.Parent.Parent.Parent.menuFrame
  86. local function aac()
  87. if d_c==false then d_c=true;_ac.Visible=true
  88. local bac=game:GetService("Workspace").BuildZones.BuildZone.ZoneInfo.ClaimZone;bac:InvokeServer()else d_c=false;_ac.Visible=false end end;c_c.Activated:Connect(aac)end;coroutine.wrap(abb)()
  89. local function bbb()
  90. local b_c=Instance.new('LocalScript',dca)local c_c=game.Players.LocalPlayer;local d_c=b_c.Parent
  91. local function _ac()
  92. if not
  93. game.Players.LocalPlayer.Backpack:FindFirstChild("KING")then
  94. local aac=Instance.new("Tool",game.Players.LocalPlayer.Backpack)aac.RequiresHandle=false;aac.Name="KING"aac.ToolTip="KING"
  95. aac.Equipped:connect(function(bac)
  96. bac.Button1Down:connect(function()
  97. if
  98. bac.Target then
  99. game.Workspace:FindFirstChild(game.Players.LocalPlayer.Name).HumanoidRootPart.CFrame=(CFrame.new(bac.Hit.x,
  100. bac.Hit.y+5,bac.Hit.z))end;wait(1)end)end)end end;d_c.Activated:Connect(_ac)end;coroutine.wrap(bbb)()
  101. local function cbb()
  102. local b_c=Instance.new('LocalScript',cda)cda=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  103. cda.MouseButton1Down:connect(function()
  104. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[cda.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(cbb)()
  105. local function dbb()
  106. local b_c=Instance.new('LocalScript',dda)dda=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  107. dda.MouseButton1Down:connect(function()
  108. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[dda.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(dbb)()
  109. local function _cb()
  110. local b_c=Instance.new('LocalScript',__b)__b=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  111. __b.MouseButton1Down:connect(function()
  112. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[__b.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(_cb)()
  113. local function acb()
  114. local b_c=Instance.new('LocalScript',a_b)a_b=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  115. a_b.MouseButton1Down:connect(function()
  116. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[a_b.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(acb)()
  117. local function bcb()
  118. local b_c=Instance.new('LocalScript',b_b)b_b=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  119. b_b.MouseButton1Down:connect(function()
  120. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[b_b.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(bcb)()
  121. local function ccb()
  122. local b_c=Instance.new('LocalScript',c_b)c_b=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  123. c_b.MouseButton1Down:connect(function()
  124. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[c_b.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(ccb)()
  125. local function dcb()
  126. local b_c=Instance.new('LocalScript',d_b)d_b=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  127. d_b.MouseButton1Down:connect(function()
  128. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[d_b.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(dcb)()
  129. local function _db()
  130. local b_c=Instance.new('LocalScript',_ab)_ab=b_c.Parent;local c_c=game.Players.LocalPlayer.Name
  131. _ab.MouseButton1Down:connect(function()
  132. game.Workspace:FindFirstChild(c_c).HumanoidRootPart.CFrame=game.Workspace[_ab.Text].HumanoidRootPart.CFrame end)end;coroutine.wrap(_db)()
  133. local function adb()
  134. local b_c=Instance.new('LocalScript',_da)local c_c=b_c.Parent;local d_c=false;local _ac=b_c.Parent.pFrame;local aac={_ac}
  135. local bac=game.Players.LocalPlayer
  136. local function cac()
  137. if d_c==false then d_c=true
  138. for index=1,#aac do aac[index].Visible=true end else d_c=false;for index=1,#aac do aac[index].Visible=false end end end;local dac=_ac.Player1;local _bc=_ac.Player2;local abc=_ac.Player3;local bbc=_ac.Player4
  139. local cbc=_ac.Player5;local dbc=_ac.Player6;local _cc=_ac.Player7;local acc=_ac.Player8
  140. local bcc={dac,_bc,abc,bbc,cbc,dbc,_cc,acc}
  141. spawn(function()
  142. while true do dac.Text=""_bc.Text=""abc.Text=""bbc.Text=""cbc.Text=""
  143. dbc.Text=""_cc.Text=""acc.Text=""
  144. for ccc,dcc in
  145. pairs(game.Players:GetChildren())do bcc[ccc].Text=dcc.Name;bcc[ccc].Visible=true end;wait(0.5)end end)c_c.Activated:Connect(cac)end;coroutine.wrap(adb)()
  146. local function bdb()
  147. local b_c=Instance.new('LocalScript',aab)local c_c=b_c.Parent
  148. local function d_c()local _ac={}
  149. _ac=game.Workspace.BuildZones:GetChildren()
  150. for index=1,#_ac do local aac={}aac=_ac[index]:GetDescendants()
  151. for index=1,#aac do
  152. if(
  153. aac[index].Name== ("OwnerPlayer"))then local bac=(aac[index]).Value
  154. if bac==
  155. game.Players.LocalPlayer then local cac=game.Players.LocalPlayer.Name
  156. game.Workspace:FindFirstChild(cac).HumanoidRootPart.CFrame=
  157. aac[index].Parent.Parent.Part.CFrame+Vector3.new(0,10,0)end end end end end;c_c.Activated:Connect(d_c)end;coroutine.wrap(bdb)()
  158. local function cdb()
  159. local b_c=Instance.new('LocalScript',bab)local c_c=b_c.Parent
  160. local function d_c()local _ac={}
  161. _ac=game.Workspace:GetChildren()
  162. for index=1,#_ac do
  163. if(_ac[index]:IsA("Model"))then
  164. local aac=Instance.new("BoxHandleAdornment",_ac[index])aac.Name="Gold_Here"aac.Adornee=_ac[index]aac.AlwaysOnTop=true
  165. aac.ZIndex=0;aac.Transparency=0.1
  166. aac.Color=BrickColor.new("Really red")local bac=Instance.new("BillboardGui",_ac[index])
  167. local cac=Instance.new("TextLabel")bac.Adornee=_ac[index]bac.Name="Gold_Here"
  168. bac.Size=UDim2.new(0,100,0,150)bac.StudsOffset=Vector3.new(0,1,0)bac.AlwaysOnTop=true
  169. cac.Parent=bac;cac.BackgroundTransparency=1;cac.Position=UDim2.new(0,0,0,-50)
  170. cac.Size=UDim2.new(0,100,0,100)cac.Font=Enum.Font.SourceSansSemibold;cac.TextSize=20
  171. cac.Text=_ac[index].Name;cac.TextColor3=Color3.new(1,1,1)cac.TextStrokeTransparency=0
  172. cac.TextYAlignment=Enum.TextYAlignment.Bottom end end end;c_c.Activated:Connect(d_c)end;coroutine.wrap(cdb)()
  173. local function ddb()
  174. local b_c=Instance.new('LocalScript',cab)local c_c=b_c.Parent
  175. local function d_c()local _ac={}
  176. _ac=game.Workspace.Items:GetChildren()
  177. for index=1,#_ac do
  178. if(_ac[index]:IsA("Model"))then
  179. local aac=Instance.new("BoxHandleAdornment",_ac[index])aac.Name="Gold_Here"aac.Adornee=_ac[index]aac.AlwaysOnTop=true
  180. aac.ZIndex=0;aac.Transparency=0.1
  181. aac.Color=BrickColor.new("Really red")local bac=Instance.new("BillboardGui",_ac[index])
  182. local cac=Instance.new("TextLabel")bac.Adornee=_ac[index]bac.Name="Gold_Here"
  183. bac.Size=UDim2.new(0,100,0,150)bac.StudsOffset=Vector3.new(0,1,0)bac.AlwaysOnTop=true
  184. cac.Parent=bac;cac.BackgroundTransparency=1;cac.Position=UDim2.new(0,0,0,-50)
  185. cac.Size=UDim2.new(0,100,0,100)cac.Font=Enum.Font.SourceSansSemibold;cac.TextSize=20
  186. cac.Text=_ac[index].Name;cac.TextColor3=Color3.new(1,2,1)cac.TextStrokeTransparency=.5
  187. cac.TextYAlignment=Enum.TextYAlignment.Bottom end end end;c_c.Activated:Connect(d_c)end;coroutine.wrap(ddb)()
  188. local function __c()
  189. local b_c=Instance.new('LocalScript',dab)local c_c=b_c.Parent;local function d_c()
  190. b_c.Parent.Parent.Parent:Destroy()end;c_c.Activated:Connect(d_c)end;coroutine.wrap(__c)()
  191. local function a_c()
  192. local b_c=Instance.new('LocalScript',_bb)local c_c=b_c.Parent
  193. local function d_c()local _ac=game.Players.LocalPlayer.Name
  194. local aac={}
  195. local bac=game:GetService("ReplicatedStorage").Remotes.ClientRequestOwnership;aac=game.Workspace.Parts:GetChildren()
  196. for index=1,#aac
  197. do local cac=aac[index]
  198. local dac=game:GetService("ReplicatedStorage").Remotes.ClientRequestOwnership;dac:FireServer(cac)
  199. aac[index].CFrame=(
  200. game.Workspace:FindFirstChild(_ac).HumanoidRootPart.CFrame+Vector3.new(0,3,0))wait(.000001)end end;c_c.Activated:Connect(d_c)end;coroutine.wrap(a_c)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement