Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Made By Legend Handles
- -- Version: 4
- -- Script:
- local UI = Instance.new("ScreenGui")
- local UI_2 = Instance.new("Frame")
- local BackGround = Instance.new("Frame")
- local Container = Instance.new("Frame")
- local cellbdestroy = Instance.new("TextButton")
- local UIGridLayout = Instance.new("UIGridLayout")
- local Padding = Instance.new("UIPadding")
- local UnderLine = Instance.new("Frame")
- local Toggle = Instance.new("TextButton")
- local Window = Instance.new("TextLabel")
- --Properties:
- UI.Name = "UI"
- UI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- UI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- UI_2.Name = "UI"
- UI_2.Parent = UI
- UI_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
- UI_2.BorderSizePixel = 0
- UI_2.Position = UDim2.new(0, 15, 0, 15)
- UI_2.Size = UDim2.new(0, 190, 0, 30)
- BackGround.Name = "BackGround"
- BackGround.Parent = UI_2
- BackGround.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- BackGround.BorderSizePixel = 0
- BackGround.Position = UDim2.new(0, 0, 1, 0)
- BackGround.Size = UDim2.new(0, 190, 0, 200)
- Container.Name = "Container"
- Container.Parent = UI_2
- Container.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Container.BorderSizePixel = 0
- Container.Position = UDim2.new(0, 0, 1, 0)
- Container.Size = UDim2.new(0, 190, 0, 200)
- cellbdestroy.Name = "cellbdestroy"
- cellbdestroy.Parent = Container
- cellbdestroy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- cellbdestroy.BackgroundTransparency = 1.000
- cellbdestroy.BorderColor3 = Color3.fromRGB(170, 0, 0)
- cellbdestroy.BorderSizePixel = 0
- cellbdestroy.Size = UDim2.new(0, 200, 0, 50)
- cellbdestroy.Font = Enum.Font.SourceSans
- cellbdestroy.Text = "Aimbot (Hold \"R\")"
- cellbdestroy.TextColor3 = Color3.fromRGB(255, 0, 4)
- cellbdestroy.TextSize = 25.000
- cellbdestroy.TextWrapped = true
- cellbdestroy.TextXAlignment = Enum.TextXAlignment.Left
- UIGridLayout.Parent = Container
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellSize = UDim2.new(0, 180, 0, 40)
- Padding.Name = "Padding"
- Padding.Parent = Container
- Padding.PaddingLeft = UDim.new(0, 5)
- Padding.PaddingTop = UDim.new(0, 5)
- UnderLine.Name = "UnderLine"
- UnderLine.Parent = UI_2
- UnderLine.BackgroundColor3 = Color3.fromRGB(255, 25, 25)
- UnderLine.BorderSizePixel = 0
- UnderLine.Position = UDim2.new(0, 0, 1, -1)
- UnderLine.Size = UDim2.new(1, 0, 0, 1)
- Toggle.Name = "Toggle"
- Toggle.Parent = UI_2
- Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Toggle.BackgroundTransparency = 1.000
- Toggle.Position = UDim2.new(1, -25, 0, 0)
- Toggle.Size = UDim2.new(0, 25, 1, 0)
- Toggle.Font = Enum.Font.SourceSans
- Toggle.Text = "-"
- Toggle.TextColor3 = Color3.fromRGB(255, 0, 0)
- Toggle.TextSize = 17.000
- Window.Name = "Window"
- Window.Parent = UI_2
- Window.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Window.BackgroundTransparency = 1.000
- Window.Position = UDim2.new(0.0263157897, 0, 0, 0)
- Window.Size = UDim2.new(0.868421078, 0, 1, 0)
- Window.Font = Enum.Font.SourceSans
- Window.Text = "Legend Handles Aimbot Gui"
- Window.TextColor3 = Color3.fromRGB(255, 0, 4)
- Window.TextSize = 17.000
- -- Scripts:
- local function EYGR_fake_script() -- cellbdestroy.Script
- local script = Instance.new('Script', cellbdestroy)
- function Click(mouse)
- local Camera = workspace.CurrentCamera
- Holding = false
- function findGoals()
- for i, v in pairs(workspace:GetDescendants()) do
- if v.Name == "Trig" then
- v.Parent = workspace
- end
- end
- end
- local function findClosestPart(position)
- local closestPart, closestPartMagnitude
- local tmpMagnitude
- for i, v in pairs(workspace:GetChildren()) do
- if v.Name == "Trig" then
- if closestPart then
- tmpMagnitude = (position - v.Position).magnitude
- if tmpMagnitude < closestPartMagnitude then
- closestPart = v
- closestPartMagnitude = tmpMagnitude
- end
- else
- closestPart = v
- closestPartMagnitude = (position - v.Position).magnitude
- end
- end
- end
- return closestPart
- end
- findGoals()
- local UIS = game:GetService('UserInputService')
- UIS.InputBegan:connect(function(Input, GPE)
- if not GPE and Input.KeyCode == Enum.KeyCode.R then
- local lookthat = findClosestPart(game.Players.LocalPlayer.Character.Torso.Position)
- Holding = true
- repeat
- wait(0.01)
- Camera.CFrame = CFrame.new(Camera.CFrame.p, lookthat.Position + Vector3.new(0, 40, 0))
- until Holding == false
- end
- end)
- UIS.InputEnded:connect(function(Input, GPE)
- if not GPE and Input.KeyCode == Enum.KeyCode.R then
- Holding = false
- end
- end)
- end
- script.Parent.MouseButton1Down:connect(Click)
- end
- coroutine.wrap(EYGR_fake_script)()
- local function AGOOQLO_fake_script() -- Toggle.LocalScript
- local script = Instance.new('LocalScript', Toggle)
- local back = script.Parent.Parent.BackGround
- local con = script.Parent.Parent.Container
- local window = {
- count = 0;
- toggles = {},
- closed = false;
- }
- script.Parent.MouseButton1Click:connect(function()
- window.closed = not window.closed
- script.Parent.Text = (window.closed and "+" or "-")
- if script.Parent.Text == "+" then
- back:TweenSize(UDim2.new(0, 190,0, 0), "Out", "Sine", 0.5)
- con:TweenSize(UDim2.new(0, 190,0, 0), "Out", "Sine", 0.5)
- wait(0.1) do
- con.Visible = false
- end
- else
- back:TweenSize(UDim2.new(0, 190,0, 200), "Out", "Sine", 0.5)
- con:TweenSize(UDim2.new(0, 190,0, 200), "Out", "Sine", 0.5)
- wait(0.2) do
- con.Visible = true
- end
- end
- end)
- end
- coroutine.wrap(AGOOQLO_fake_script)()
- local function SDFKFLC_fake_script() -- UI_2.LocalScript
- local script = Instance.new('LocalScript', UI_2)
- local dragger = {};
- local resizer = {};
- do
- local mouse = game:GetService("Players").LocalPlayer:GetMouse();
- local inputService = game:GetService('UserInputService');
- local heartbeat = game:GetService("RunService").Heartbeat;
- -- // credits to Ririchi / Inori for this cute drag function :)
- function dragger.new(frame)
- local s, event = pcall(function()
- return frame.MouseEnter
- end)
- if s then
- frame.Active = true;
- event:connect(function()
- local input = frame.InputBegan:connect(function(key)
- if key.UserInputType == Enum.UserInputType.MouseButton1 then
- local objectPosition = Vector2.new(mouse.X - frame.AbsolutePosition.X, mouse.Y - frame.AbsolutePosition.Y);
- while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
- frame:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (frame.Size.X.Offset * frame.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (frame.Size.Y.Offset * frame.AnchorPoint.Y)), 'Out', 'Quad', 0.1, true);
- end
- end
- end)
- local leave;
- leave = frame.MouseLeave:connect(function()
- input:disconnect();
- leave:disconnect();
- end)
- end)
- end
- end
- function resizer.new(p, s)
- p:GetPropertyChangedSignal('AbsoluteSize'):connect(function()
- s.Size = UDim2.new(s.Size.X.Scale, s.Size.X.Offset, s.Size.Y.Scale, p.AbsoluteSize.Y);
- end)
- end
- end
- script.Parent.Active = true
- script.Parent.Draggable = true
- end
- coroutine.wrap(SDFKFLC_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement