Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Body = Instance.new("Frame")
- local BtoolsMe = Instance.new("TextButton")
- local TextLabel = Instance.new("TextLabel")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Body.Name = "Body"
- Body.Parent = ScreenGui
- Body.BackgroundColor3 = Color3.new(0, 0, 0)
- Body.Position = UDim2.new(0.887144387, 0, 0.382789314, 0)
- Body.Size = UDim2.new(0, 176, 0, 157)
- BtoolsMe.Name = "Btools Me"
- BtoolsMe.Parent = Body
- BtoolsMe.BackgroundColor3 = Color3.new(1, 0.333333, 0)
- BtoolsMe.Position = UDim2.new(0.0511363633, 0, 0.426751584, 0)
- BtoolsMe.Size = UDim2.new(0, 158, 0, 76)
- BtoolsMe.Font = Enum.Font.SourceSans
- BtoolsMe.Text = "Btools Me"
- BtoolsMe.TextColor3 = Color3.new(0, 0, 0)
- BtoolsMe.TextScaled = true
- BtoolsMe.TextSize = 14
- BtoolsMe.MouseButton1Down:connect(function()
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local TextButton = Instance.new("TextButton")
- local On = Instance.new("StringValue")
- -- Properties
- ScreenGui.Parent = player.PlayerGui
- TextButton.Parent = ScreenGui
- TextButton.BackgroundColor3 = Color3.new(0.784314, 0.784314, 0.784314)
- TextButton.BorderSizePixel = 0
- TextButton.Position = UDim2.new(0, 0, 0.455743879, 0)
- TextButton.Size = UDim2.new(0, 186, 0, 35)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Btools (Off)"
- TextButton.TextColor3 = Color3.new(0.27451, 0.27451, 0.27451)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- On.Parent = TextButton
- On.Value = "Off"
- -- Scripts
- TextButton.MouseButton1Up:Connect(function()
- if On.Value == "Off" then
- On.Value = "On"
- TextButton.Text = "Btools (On)"
- else
- On.Value = "Off"
- TextButton.Text = "Btools (Off)"
- end
- end)
- mouse.Button1Up:Connect(function()
- if On.Value == "Off" then
- print('btools off')
- else
- if mouse.Target.Locked == true then
- mouse.Target:Destroy()
- else
- mouse.Target:Destroy()
- end
- end
- end)
- end)
- BtoolsMe.TextWrapped = true
- TextLabel.Parent = Body
- TextLabel.BackgroundColor3 = Color3.new(1, 0.333333, 0)
- TextLabel.Position = UDim2.new(0.0511363633, 0, 0.0445859879, 0)
- TextLabel.Size = UDim2.new(0, 158, 0, 43)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "Btools GUI"
- TextLabel.TextColor3 = Color3.new(0, 0, 0)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement