Advertisement
RiasGremory0100

btools

Oct 22nd, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local player = game.Players.RiasGremoryFTW
  2. local mouse = player:GetMouse()
  3.  
  4. -- Objects
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local TextButton = Instance.new("TextButton")
  8. local On = Instance.new("StringValue")
  9.  
  10. -- Properties
  11.  
  12. ScreenGui.Parent = player.PlayerGui
  13.  
  14. TextButton.Parent = ScreenGui
  15. TextButton.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
  16. TextButton.BorderSizePixel = 0
  17. TextButton.Position = UDim2.new(0, 0, 0.455743879, 0)
  18. TextButton.Size = UDim2.new(0, 186, 0, 35)
  19. TextButton.Font = Enum.Font.SourceSans
  20. TextButton.Text = "Btools (Off)"
  21. TextButton.TextColor3 = Color3.new(0.27451, 0.27451, 0.27451)
  22. TextButton.TextScaled = true
  23. TextButton.TextSize = 14
  24. TextButton.TextWrapped = true
  25.  
  26.  
  27. On.Parent = TextButton
  28. On.Value = "Off"
  29.  
  30. -- Scripts
  31.  
  32. TextButton.MouseButton1Up:Connect(function()
  33. if On.Value == "Off" then
  34. On.Value = "On"
  35. TextButton.Text = "Btools (On)"
  36. else
  37. On.Value = "Off"
  38. TextButton.Text = "Btools (Off)"
  39. end
  40. end)
  41.  
  42. mouse.Button1Up:Connect(function()
  43. if On.Value == "Off" then
  44. print('btools off')
  45. else
  46. if mouse.Target.Locked == true then
  47. mouse.Target:Destroy()
  48. else
  49. mouse.Target:Destroy()
  50. end
  51. end
  52. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement