Advertisement
Guest User

Btools Me Made By X0_0oX

a guest
Feb 17th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Body = Instance.new("Frame")
  5. local BtoolsMe = Instance.new("TextButton")
  6. local TextLabel = Instance.new("TextLabel")
  7.  
  8. -- Properties
  9.  
  10. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  11. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  12.  
  13. Body.Name = "Body"
  14. Body.Parent = ScreenGui
  15. Body.BackgroundColor3 = Color3.new(0, 0, 0)
  16. Body.Position = UDim2.new(0.887144387, 0, 0.382789314, 0)
  17. Body.Size = UDim2.new(0, 176, 0, 157)
  18.  
  19. BtoolsMe.Name = "Btools Me"
  20. BtoolsMe.Parent = Body
  21. BtoolsMe.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  22. BtoolsMe.Position = UDim2.new(0.0511363633, 0, 0.426751584, 0)
  23. BtoolsMe.Size = UDim2.new(0, 158, 0, 76)
  24. BtoolsMe.Font = Enum.Font.SourceSans
  25. BtoolsMe.Text = "Btools Me"
  26. BtoolsMe.TextColor3 = Color3.new(0, 0, 0)
  27. BtoolsMe.TextScaled = true
  28. BtoolsMe.TextSize = 14
  29.  
  30. BtoolsMe.MouseButton1Down:connect(function()
  31. local player = game.Players.LocalPlayer
  32. local mouse = player:GetMouse()
  33.  
  34. -- Objects
  35.  
  36. local ScreenGui = Instance.new("ScreenGui")
  37. local TextButton = Instance.new("TextButton")
  38. local On = Instance.new("StringValue")
  39.  
  40. -- Properties
  41.  
  42. ScreenGui.Parent = player.PlayerGui
  43.  
  44. TextButton.Parent = ScreenGui
  45. TextButton.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  46. TextButton.BorderSizePixel = 0
  47. TextButton.Position = UDim2.new(0, 0, 0.455743879, 0)
  48. TextButton.Size = UDim2.new(0, 186, 0, 35)
  49. TextButton.Font = Enum.Font.SourceSans
  50. TextButton.Text = "Btools (Off)"
  51. TextButton.TextColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  52. TextButton.TextScaled = true
  53. TextButton.TextSize = 14
  54. TextButton.TextWrapped = true
  55.  
  56.  
  57. On.Parent = TextButton
  58. On.Value = "Off"
  59.  
  60. -- Scripts
  61.  
  62. TextButton.MouseButton1Up:Connect(function()
  63. if On.Value == "Off" then
  64. On.Value = "On"
  65. TextButton.Text = "Btools (On)"
  66. else
  67. On.Value = "Off"
  68. TextButton.Text = "Btools (Off)"
  69. end
  70. end)
  71.  
  72. mouse.Button1Up:Connect(function()
  73. if On.Value == "Off" then
  74. print('btools off')
  75. else
  76. if mouse.Target.Locked == true then
  77. mouse.Target:Destroy()
  78. else
  79. mouse.Target:Destroy()
  80. end
  81. end
  82. end)
  83.  
  84. end)
  85.  
  86. BtoolsMe.TextWrapped = true
  87.  
  88. TextLabel.Parent = Body
  89. TextLabel.BackgroundColor3 = Color3.new(1, 0.333333, 0)
  90. TextLabel.Position = UDim2.new(0.0511363633, 0, 0.0445859879, 0)
  91. TextLabel.Size = UDim2.new(0, 158, 0, 43)
  92. TextLabel.Font = Enum.Font.SourceSans
  93. TextLabel.Text = "Btools GUI"
  94. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  95. TextLabel.TextScaled = true
  96. TextLabel.TextSize = 14
  97. TextLabel.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement