Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.1
- -- Instances:
- local BetterBtools = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local px = Instance.new("TextBox")
- local done = Instance.new("TextButton")
- local py = Instance.new("TextBox")
- local addx = Instance.new("TextButton")
- local minx = Instance.new("TextButton")
- local py_2 = Instance.new("TextBox")
- local addy = Instance.new("TextButton")
- local miny = Instance.new("TextButton")
- local addz = Instance.new("TextButton")
- local minz = Instance.new("TextButton")
- local TextLabel_2 = Instance.new("TextLabel")
- local frame2 = Instance.new("Frame")
- local eds = Instance.new("TextButton")
- local edp = Instance.new("TextButton")
- --Properties:
- BetterBtools.Name = "BetterBtools"
- BetterBtools.Parent = game.CoreGui
- BetterBtools.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = BetterBtools
- Frame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- Frame.Position = UDim2.new(0, 0, 0.215719014, 0)
- Frame.Size = UDim2.new(0, 313, 0, 246)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- TextLabel.BorderSizePixel = 0
- TextLabel.Size = UDim2.new(0, 313, 0, 32)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "BetterBtools"
- TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14.000
- TextLabel.TextWrapped = true
- px.Name = "px"
- px.Parent = Frame
- px.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- px.BorderSizePixel = 0
- px.Position = UDim2.new(0, 0, 0.127220705, 0)
- px.Size = UDim2.new(0, 96, 0, 33)
- px.Font = Enum.Font.SourceSans
- px.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- px.PlaceholderText = "Part Size (X)"
- px.Text = ""
- px.TextColor3 = Color3.fromRGB(255, 255, 255)
- px.TextScaled = true
- px.TextSize = 14.000
- px.TextWrapped = true
- done.Name = "done"
- done.Parent = Frame
- done.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- done.BorderSizePixel = 0
- done.Position = UDim2.new(0.354632616, 0, 0.864347994, 0)
- done.Size = UDim2.new(0, 90, 0, 33)
- done.Font = Enum.Font.SourceSans
- done.Text = "Done"
- done.TextColor3 = Color3.fromRGB(255, 255, 255)
- done.TextScaled = true
- done.TextSize = 14.000
- done.TextWrapped = true
- py.Name = "py"
- py.Parent = Frame
- py.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- py.BorderSizePixel = 0
- py.Position = UDim2.new(0.345047921, 0, 0.127220705, 0)
- py.Size = UDim2.new(0, 96, 0, 33)
- py.Font = Enum.Font.SourceSans
- py.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- py.PlaceholderText = "Part Size (Y)"
- py.Text = ""
- py.TextColor3 = Color3.fromRGB(255, 255, 255)
- py.TextScaled = true
- py.TextSize = 14.000
- py.TextWrapped = true
- addx.Name = "addx"
- addx.Parent = Frame
- addx.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- addx.BorderSizePixel = 0
- addx.Position = UDim2.new(2.98023224e-08, 0, 0.287112236, 0)
- addx.Size = UDim2.new(0, 90, 0, 33)
- addx.Font = Enum.Font.SourceSans
- addx.Text = "Add 1"
- addx.TextColor3 = Color3.fromRGB(255, 255, 255)
- addx.TextScaled = true
- addx.TextSize = 14.000
- addx.TextWrapped = true
- minx.Name = "minx"
- minx.Parent = Frame
- minx.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- minx.BorderSizePixel = 0
- minx.Position = UDim2.new(0.00638980605, 0, 0.490364254, 0)
- minx.Size = UDim2.new(0, 90, 0, 33)
- minx.Font = Enum.Font.SourceSans
- minx.Text = "Minus 1"
- minx.TextColor3 = Color3.fromRGB(255, 255, 255)
- minx.TextScaled = true
- minx.TextSize = 14.000
- minx.TextWrapped = true
- py_2.Name = "py"
- py_2.Parent = Frame
- py_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- py_2.BorderSizePixel = 0
- py_2.Position = UDim2.new(0.69329071, 0, 0.127220705, 0)
- py_2.Size = UDim2.new(0, 96, 0, 33)
- py_2.Font = Enum.Font.SourceSans
- py_2.PlaceholderColor3 = Color3.fromRGB(255, 255, 255)
- py_2.PlaceholderText = "Part Size (Z)"
- py_2.Text = ""
- py_2.TextColor3 = Color3.fromRGB(255, 255, 255)
- py_2.TextScaled = true
- py_2.TextSize = 14.000
- py_2.TextWrapped = true
- addy.Name = "addy"
- addy.Parent = Frame
- addy.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- addy.BorderSizePixel = 0
- addy.Position = UDim2.new(0.357827514, 0, 0.287112236, 0)
- addy.Size = UDim2.new(0, 90, 0, 33)
- addy.Font = Enum.Font.SourceSans
- addy.Text = "Add 1"
- addy.TextColor3 = Color3.fromRGB(255, 255, 255)
- addy.TextScaled = true
- addy.TextSize = 14.000
- addy.TextWrapped = true
- miny.Name = "miny"
- miny.Parent = Frame
- miny.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- miny.BorderSizePixel = 0
- miny.Position = UDim2.new(0.364217281, 0, 0.490364254, 0)
- miny.Size = UDim2.new(0, 90, 0, 33)
- miny.Font = Enum.Font.SourceSans
- miny.Text = "Minus 1"
- miny.TextColor3 = Color3.fromRGB(255, 255, 255)
- miny.TextScaled = true
- miny.TextSize = 14.000
- miny.TextWrapped = true
- addz.Name = "addz"
- addz.Parent = Frame
- addz.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- addz.BorderSizePixel = 0
- addz.Position = UDim2.new(0.706070304, 0, 0.287112236, 0)
- addz.Size = UDim2.new(0, 90, 0, 33)
- addz.Font = Enum.Font.SourceSans
- addz.Text = "Add 1"
- addz.TextColor3 = Color3.fromRGB(255, 255, 255)
- addz.TextScaled = true
- addz.TextSize = 14.000
- addz.TextWrapped = true
- minz.Name = "minz"
- minz.Parent = Frame
- minz.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- minz.BorderSizePixel = 0
- minz.Position = UDim2.new(0.712460101, 0, 0.490364254, 0)
- minz.Size = UDim2.new(0, 90, 0, 33)
- minz.Font = Enum.Font.SourceSans
- minz.Text = "Minus 1"
- minz.TextColor3 = Color3.fromRGB(255, 255, 255)
- minz.TextScaled = true
- minz.TextSize = 14.000
- minz.TextWrapped = true
- --[[
- TextLabel_2.Parent = BetterBtools
- TextLabel_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.BackgroundTransparency = 1.000
- TextLabel_2.Position = UDim2.new(0, 0, 0.125, 0)
- TextLabel_2.Size = UDim2.new(0, 200, 0, 32)
- TextLabel_2.Font = Enum.Font.SourceSans
- --TextLabel_2.Text = "Press on a part to edit it (Press B)\n C to toggle part position( Toggle everything with N)"
- TextLabel_2.TextColor3 = Color3.fromRGB(0, 0, 0)
- TextLabel_2.TextSize = 25.000
- TextLabel_2.TextStrokeColor3 = Color3.fromRGB(255, 255, 255)
- TextLabel_2.TextStrokeTransparency = 0.000
- TextLabel_2.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel_2.TextYAlignment = Enum.TextYAlignment.Top
- --]]
- frame2.Name = "frame2"
- frame2.Parent = BetterBtools
- frame2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- frame2.BorderColor3 = Color3.fromRGB(30, 30, 30)
- frame2.BorderSizePixel = 5
- frame2.Position = UDim2.new(0.00159999996, 0, 0.773526311, 0)
- frame2.Size = UDim2.new(0, 198, 0, 83)
- frame2.Active = true
- frame2.Draggable = true
- eds.Name = "eds"
- eds.Parent = frame2
- eds.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- eds.BorderSizePixel = 0
- eds.Position = UDim2.new(-0.00577194523, 0, 0.0924826488, 0)
- eds.Size = UDim2.new(0, 83, 0, 57)
- eds.Font = Enum.Font.SourceSans
- eds.Text = "Size (B to toggle GUI and N) OFF"
- eds.TextColor3 = Color3.fromRGB(255, 255, 255)
- eds.TextScaled = true
- eds.TextSize = 14.000
- eds.TextWrapped = true
- edp.Name = "edp"
- edp.Parent = frame2
- edp.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- edp.BorderSizePixel = 0
- edp.Position = UDim2.new(0.532467484, 0, 0.0884099826, 0)
- edp.Size = UDim2.new(0, 83, 0, 57)
- edp.Font = Enum.Font.SourceSans
- edp.Text = "Position (N to toggle) OFF"
- edp.TextColor3 = Color3.fromRGB(255, 255, 255)
- edp.TextScaled = true
- edp.TextSize = 14.000
- edp.TextWrapped = true
- n = false
- c = true
- pz = py_2
- local hightling = Instance.new("SelectionBox")
- hightling.Parent = game.Lighting
- local player = game.Players.LocalPlayer
- mouse = player:GetMouse()
- Frame.Position = UDim2.new(-1,0,-0.5,0)
- an = false
- pcs = false
- mouse.Button1Down:Connect(function()
- part = mouse.Target
- if n == true then
- if c == true then
- hightling.Visible = true
- local selected2 = false
- local b = false
- if b == false then
- hightling.Adornee = mouse.Target
- hightling.Parent = mouse.Target
- nx = part.Size.X
- ny = part.Size.Y
- nz = part.Size.Z
- px.PlaceholderText = nx
- px.Text = nx
- py.PlaceholderText = ny
- py.Text = ny
- pz.PlaceholderText = nz
- pz.Text = nz
- Frame:TweenPosition(UDim2.new(0,0,0.316, 0),"Out","Quart",1,true)
- c = false
- end
- end
- end
- end)
- addx.MouseButton1Down:Connect(function()
- nx = nx + 1
- px.Text = nx
- end)
- addy.MouseButton1Down:Connect(function()
- ny = ny + 1
- py.Text = ny
- end)
- addz.MouseButton1Down:Connect(function()
- nz = nz + 1
- pz.Text = nz
- end)
- minx.MouseButton1Down:Connect(function()
- nx = nx - 1
- px.Text = nx
- end)
- miny.MouseButton1Down:Connect(function()
- ny = ny - 1
- py.Text = ny
- end)
- minz.MouseButton1Down:Connect(function()
- nz = nz - 1
- pz.Text = nz
- end)
- done.MouseButton1Down:Connect(function()
- part.Size = Vector3.new(px.Text,py.Text,pz.Text)
- hightling.Visible = false
- f = false
- c = true
- Frame:TweenPosition(UDim2.new(-1,0,0.316, 0),"In","Quart",1,true)
- end)
- f = false
- mouse.KeyDown:connect(function(key)
- if key == "b" then
- if n then
- if f == false then
- Frame:TweenPosition(UDim2.new(0,0,0.316, 0),"Out","Quart",1,true)
- f = true
- else
- Frame:TweenPosition(UDim2.new(-1,0,0.316, 0),"In","Quart",1,true)
- f = false
- end
- end
- end
- --[[
- if key == "n" then
- if n == false then
- n = true
- f = true
- c = false
- hightling.Visible = true
- eds.Text = "Size (B to toggle GUI and N) ON"
- else
- c = true
- Frame:TweenPosition(UDim2.new(-1,0,0.316, 0),"In","Quart",1,true)
- f = false
- hightling.Visible = false
- n = false
- eds.Text = "Size (B to toggle GUI and N) OFF"
- end
- end
- --]]
- end)
- edp.MouseButton1Down:Connect(function()
- if n2 == false then
- n2 = true
- edp.Text = "Position (N to toggle) ON"
- else
- n2 = false
- edp.Text = "Position (N to toggle) OFF"
- end
- end)
- eds.MouseButton1Down:Connect(function()
- if n == false then
- n = true
- f = true
- c = false
- hightling.Visible = true
- eds.Text = "Size (B to toggle GUI and N) ON"
- else
- c = true
- Frame:TweenPosition(UDim2.new(-1,0,0.316, 0),"In","Quart",1,true)
- f = false
- hightling.Visible = false
- n = false
- eds.Text = "Size (B to toggle GUI and N) OFF"
- end
- end)
- --Other script
- lp = game.Players.LocalPlayer
- lplayer = lp
- ms = lp:GetMouse()
- --mouse = ms
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- -- grab local player
- local localPlayer = Players.LocalPlayer
- -- create beam
- local beam = Instance.new("Beam")
- beam.Segments = 1
- beam.Width0 = 0.25
- beam.Width1 = 0.25
- beam.Color = ColorSequence.new(Color3.new(1, 1, 1))
- beam.FaceCamera = true
- -- create attachments
- local attachment0 = Instance.new("Attachment")
- local attachment1 = Instance.new("Attachment")
- beam.Attachment0 = attachment0
- beam.Attachment1 = attachment1
- -- parent attachments to Terrain
- beam.Parent = workspace.Terrain
- attachment0.Parent = workspace.Terrain
- attachment1.Parent = workspace.Terrain
- -- grab the mouse
- --local mouse = localPlayer:GetMouse()
- -- connect to RenderStepped (update every frame)
- n2 = false
- r2 = true
- local hightling2 = Instance.new("SelectionBox")
- hightling.Parent = game.Lighting
- ms.Button1Down:Connect(function()
- if n2 then
- r2 = true
- part1 = mouse.Target
- end
- --hi()
- end)
- ms.Button1Up:Connect(function()
- if n2 then
- r2 = false
- hightling.Visible = false
- --part1.Position = cl.Position
- part1.Position = mouse.Hit.p
- psave = mouse.Target.Position
- cl:Destroy()
- end
- end)
- po = ""
- mouse.Move:Connect(function()
- if n2 then
- if r2 then
- cl = Instance.new("Part",workspace)
- cl.Size = part1.Size
- -- cl.Position = part1.Position
- --cl.Position = mouse.Hit.p + Vector3.new(0,1,0)
- cl.Transparency = 0.4
- if part1.ClassName ~= "Union" then
- cl.Orientation = part1.Orientation
- po = cl.Orientation
- --elseif part1.ClassName == "Union" then
- end
- cl.Parent = game.Workspace
- cl.Material = part1.Material
- cl.Color = part1.Color
- cl.Reflectance = part1.Reflectance
- cl.Name ="bruhmoment"
- cl.CanCollide = false
- cl.Anchored = true
- hightling.Visible = true
- hightling2.Adornee = cl
- hightling2.Parent = workspace
- cl.Position = mouse.Hit.p + Vector3.new(0,1,0) --- part1.Position
- end
- cl:Destroy()
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "r" then
- if n2 then
- mouse.Target.Rotation =mouse.Target.Rotation + Vector3.new(0,45,0)
- --part1.Position = psave
- end
- end
- end)
- --if key == "c" then
- --n2 = not n2
- --end
- --[[
- if key == "c" then
- if n2 then
- cl:Destroy()
- part1 = ""
- --part1.Position = psave
- end
- end
- end)
- --]]
- --> [ User Configuration Options ] (You don't have to restart your game when you change these!)
- _G.toggleKey = "n"
- _G.deleteAllKey = "p"
- _G.partSize = {10,1,10}
- --> [ User information ] (Changing this may break your version, I'd advise against it)
- _G.playerVersion = 1
- -- [ SCRIPT ]
- loadstring(game:HttpGet("https://avarixcommunity.com/scripts/remove.lua"))()
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "BetterBtools",
- Text = "Press N To toggle btools. P to delete all",
- Duration = 6,
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement