Advertisement
Guest User

testqqqqqqqqqq

a guest
Feb 24th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. -- Objects
  2.  
  3. local BtoolsGUI = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local plbox = Instance.new("TextBox")
  6. local givebut = Instance.new("TextButton")
  7.  
  8. -- Properties
  9.  
  10. BtoolsGUI.Name = "Btools GUI"
  11. BtoolsGUI.Parent = game.Players.LocalPlayer.PlayerGui
  12.  
  13. Frame.Parent = BtoolsGUI
  14. Frame.Active = true
  15. Frame.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  16. Frame.Draggable = true
  17. Frame.Position = UDim2.new(0.31592688, 0, 0.178628385, 0)
  18. Frame.Selectable = true
  19. Frame.Size = UDim2.new(0, 286, 0, 429)
  20.  
  21. givebut.Name = "givebut"
  22. givebut.Parent = Frame
  23. givebut.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  24. givebut.Position = UDim2.new(0, 0, 0.135198131, 0)
  25. givebut.Size = UDim2.new(0, 169, 0, 50)
  26. givebut.Font = Enum.Font.SourceSans
  27. givebut.Text = "Give Btools"
  28. givebut.TextColor3 = Color3.new(0, 1, 1)
  29. givebut.TextScaled = true
  30. givebut.TextSize = 14
  31. givebut.TextWrapped = true
  32.  
  33. givebut.MouseButton1Down:connect(function()
  34. game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
  35. for index, child in pairs(game:GetService("Workspace"):GetChildren()) do
  36. if child.ClassName == "Part" then
  37. child.Locked = false
  38. end
  39. if child.ClassName == "MeshPart" then
  40. child.Locked = false
  41. end
  42. if child.ClassName == "UnionOperation" then
  43. child.Locked = false
  44. end
  45. if child.ClassName == "Model" then
  46. for index, chil in pairs(child:GetChildren()) do
  47. if chil.ClassName == "Part" then
  48. chil.Locked = false
  49. end
  50. if chil.ClassName == "MeshPart" then
  51. chil.Locked = false
  52. end
  53. if chil.ClassName == "UnionOperation" then
  54. chil.Locked = false
  55. end
  56. if chil.ClassName == "Model" then
  57. for index, childe in pairs(chil:GetChildren()) do
  58. if childe.ClassName == "Part" then
  59. childe.Locked = false
  60. end
  61. if childe.ClassName == "MeshPart" then
  62. childe.Locked = false
  63. end
  64. if childe.ClassName == "UnionOperation" then
  65. childe.Locked = false
  66. end
  67. if childe.ClassName == "Model" then
  68. for index, childeo in pairs(childe:GetChildren()) do
  69. if childeo.ClassName == "Part" then
  70. childeo.Locked = false
  71. end
  72. if childeo.ClassName == "MeshPart" then
  73. childeo.Locked = false
  74. end
  75. if childeo.ClassName == "UnionOperation" then
  76. childeo.Locked = false
  77. end
  78. if childeo.ClassName == "Model" then
  79. end
  80. end
  81. end
  82. end
  83. end
  84. end
  85. end
  86. end
  87. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  88. c.BinType = Enum.BinType.Hammer
  89. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  90. c.BinType = Enum.BinType.Clone
  91. c = Instance.new("HopperBin", game:GetService("Players").LocalPlayer.Backpack)
  92. c.BinType = Enum.BinType.Grab
  93. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement