Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local LF_AIMBOT_GUI = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local PlrToAimAt = Instance.new("TextBox")
- local StartAiming = Instance.new("TextButton")
- local StopAiming = Instance.new("TextButton")
- local Border1 = Instance.new("Frame")
- local Border2 = Instance.new("Frame")
- local Border3 = Instance.new("Frame")
- local Border4 = Instance.new("Frame")
- local FixCamera = Instance.new("TextButton")
- local AimHere = Instance.new("ImageLabel")
- --Properties:
- LF_AIMBOT_GUI.Name = "LF_AIMBOT_GUI"
- LF_AIMBOT_GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- LF_AIMBOT_GUI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- Frame.Parent = LF_AIMBOT_GUI
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.69999998807907
- Frame.BorderSizePixel = 5
- Frame.Position = UDim2.new(0.146822929, 0, 0.658002734, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0, 233, 0, 132)
- PlrToAimAt.Name = "PlrToAimAt"
- PlrToAimAt.Parent = Frame
- PlrToAimAt.BackgroundColor3 = Color3.new(0.568627, 0.568627, 0.568627)
- PlrToAimAt.BackgroundTransparency = 0.30000001192093
- PlrToAimAt.Position = UDim2.new(0.0666555613, 0, 0.0599999987, 0)
- PlrToAimAt.Size = UDim2.new(0, 200, 0, 42)
- PlrToAimAt.Font = Enum.Font.SourceSans
- PlrToAimAt.Text = "PlayerName"
- PlrToAimAt.TextColor3 = Color3.new(0, 0, 0)
- PlrToAimAt.TextSize = 14
- StartAiming.Name = "StartAiming"
- StartAiming.Parent = Frame
- StartAiming.BackgroundColor3 = Color3.new(0, 0, 0)
- StartAiming.Position = UDim2.new(0, 16, 0, 48)
- StartAiming.Size = UDim2.new(0, 200, 0, 31)
- StartAiming.Font = Enum.Font.SourceSans
- StartAiming.Text = "Turn Aimbot ON"
- StartAiming.TextColor3 = Color3.new(0, 1, 1)
- StartAiming.TextSize = 14
- StopAiming.Name = "StopAiming"
- StopAiming.Parent = Frame
- StopAiming.BackgroundColor3 = Color3.new(0, 0, 0)
- StopAiming.Position = UDim2.new(0, 16, 0, 90)
- StopAiming.Size = UDim2.new(0, 90, 0, 29)
- StopAiming.Font = Enum.Font.SourceSans
- StopAiming.Text = "Turn Aimbot OFF"
- StopAiming.TextColor3 = Color3.new(0, 1, 1)
- StopAiming.TextSize = 14
- Border1.Name = "Border1"
- Border1.Parent = Frame
- Border1.BackgroundColor3 = Color3.new(1, 1, 1)
- Border1.BorderSizePixel = 0
- Border1.Position = UDim2.new(0, -6, 0, 0)
- Border1.Size = UDim2.new(0, 6, 0, 132)
- Border2.Name = "Border2"
- Border2.Parent = Frame
- Border2.BackgroundColor3 = Color3.new(1, 1, 1)
- Border2.BorderSizePixel = 0
- Border2.Position = UDim2.new(0, 233, 0, 0)
- Border2.Size = UDim2.new(0, 6, 0, 132)
- Border3.Name = "Border3"
- Border3.Parent = Frame
- Border3.BackgroundColor3 = Color3.new(1, 1, 1)
- Border3.BorderSizePixel = 0
- Border3.Position = UDim2.new(0, -6, 0, -6)
- Border3.Size = UDim2.new(0, 245, 0, 6)
- Border4.Name = "Border4"
- Border4.Parent = Frame
- Border4.BackgroundColor3 = Color3.new(1, 1, 1)
- Border4.BorderSizePixel = 0
- Border4.Position = UDim2.new(0, -6, 0, 132)
- Border4.Size = UDim2.new(0, 245, 0, 6)
- FixCamera.Name = "FixCamera"
- FixCamera.Parent = Frame
- FixCamera.BackgroundColor3 = Color3.new(0, 0, 0)
- FixCamera.BorderSizePixel = 0
- FixCamera.Position = UDim2.new(0, 126, 0, 90)
- FixCamera.Size = UDim2.new(0, 90, 0, 29)
- FixCamera.Font = Enum.Font.SourceSans
- FixCamera.Text = "Fix Camera"
- FixCamera.TextColor3 = Color3.new(0, 1, 1)
- FixCamera.TextSize = 14
- AimHere.Name = "AimHere"
- AimHere.Parent = LF_AIMBOT_GUI
- AimHere.Active = true
- AimHere.BackgroundColor3 = Color3.new(1, 1, 1)
- AimHere.BackgroundTransparency = 1
- AimHere.Position = UDim2.new(0.449105442, 0, 0.3871409, 0)
- AimHere.Selectable = true
- AimHere.Size = UDim2.new(0, 164, 0, 164)
- AimHere.Visible = false
- AimHere.Image = "http://www.roblox.com/asset/?id=18006519"
- AimHere.ImageTransparency = 0.5
- -- Scripts:
- function SCRIPT_HNTA77_FAKESCRIPT() -- StartAiming.Theme1
- local script = Instance.new('LocalScript')
- script.Parent = StartAiming
- local Text = script.Parent
- local colorsToChooseFrom = {
- Color3.new(255,0,0), --RED
- Color3.new(255,165,0), --ORANGE
- Color3.new(255,255,0), --YELLOW
- Color3.new(0,255,0), --GREEN
- Color3.new(0,0,255), --BLUE
- Color3.new(255,0,255) --PURPLE
- }
- while true do
- for i,v in pairs(colorsToChooseFrom) do
- Text.TextColor3 = v
- wait(0.3)
- end
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_HNTA77_FAKESCRIPT))
- function SCRIPT_BAJX80_FAKESCRIPT() -- StopAiming.Theme2
- local script = Instance.new('LocalScript')
- script.Parent = StopAiming
- while wait() do
- script.Parent.TextColor3 = script.Parent.Parent.StartAiming.TextColor3
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_BAJX80_FAKESCRIPT))
- function SCRIPT_ZZGG80_FAKESCRIPT() -- Frame.Theme
- local script = Instance.new('LocalScript')
- script.Parent = Frame
- local border1 = script.Parent.Border1
- local border2 = script.Parent.Border2
- local border3 = script.Parent.Border3
- local border4 = script.Parent.Border4
- while wait() do
- border1.BackgroundColor3 = script.Parent.StartAiming.TextColor3
- border2.BackgroundColor3 = script.Parent.StartAiming.TextColor3
- border3.BackgroundColor3 = script.Parent.StartAiming.TextColor3
- border4.BackgroundColor3 = script.Parent.StartAiming.TextColor3
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_ZZGG80_FAKESCRIPT))
- function SCRIPT_LBOG65_FAKESCRIPT() -- FixCamera.Theme3
- local script = Instance.new('LocalScript')
- script.Parent = FixCamera
- while wait() do
- script.Parent.TextColor3 = script.Parent.Parent.StartAiming.TextColor3
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_LBOG65_FAKESCRIPT))
- function SCRIPT_LGUV67_FAKESCRIPT() -- LF_AIMBOT_GUI.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = LF_AIMBOT_GUI
- local GUI = script.Parent.Frame
- local plrToAimAtButton = script.Parent.Frame.PlrToAimAt
- local startButton = script.Parent.Frame.StartAiming
- local stopButton = script.Parent.Frame.StopAiming
- local fixCamButton = script.Parent.Frame.FixCamera
- GUI.Draggable = true
- GUI.Selectable = true
- GUI.Active = true
- startButton.MouseButton1Click:Connect(function()
- --//
- script.Parent.AimHere.Visible = true
- game.Players.LocalPlayer.Character.Transparency = 0.8
- local username = plrToAimAtButton.Text --Put the username of the player you want to throw to
- local CC = game.workspace.CurrentCamera
- local AimAt = game.Players[username].Character.HumanoidRootPart
- CC.CameraType = Enum.CameraType.Scriptable
- wait(0.1)
- local fixedCam = false
- while wait() do
- if fixedCam == false then
- local player = game.Players.LocalPlayer
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- local cam1 = workspace.CurrentCamera
- cam1.CameraSubject = player.Character.Humanoid
- cam1.CameraType = "Custom"
- end
- fixedCam = true
- elseif fixedCam == true then
- CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AimAt.CFrame.p)
- end
- end
- --//
- end)
- stopButton.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Transparency = 0
- script.Parent.AimHere.Visible = false
- local cam = game.Workspace.CurrentCamera
- cam:Destroy()
- wait(0.1)
- cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
- cam.CameraType = "Custom"
- wait()
- local player = game.Players.LocalPlayer
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- local cam1 = workspace.CurrentCamera
- cam1.CameraSubject = player.Character.Humanoid
- cam1.CameraType = "Custom"
- end
- end)
- fixCamButton.MouseButton1Click:Connect(function()
- game.Players.LocalPlayer.Character.Transparency = 0
- script.Parent.AimHere.Visible = false
- local player = game.Players.LocalPlayer
- if player.Character and player.Character:FindFirstChild("Humanoid") then
- local cam1 = workspace.CurrentCamera
- cam1.CameraSubject = player.Character.Humanoid
- cam1.CameraType = "Custom"
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_LGUV67_FAKESCRIPT))
- function SCRIPT_HFXJ85_FAKESCRIPT() -- AimHere.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = AimHere
- wait()
- game.Workspace:WaitForChild(game.Players.LocalPlayer.Name)
- while wait() do
- if game.Players:FindFirstChild(script.Parent.Parent.Frame.PlrToAimAt.Text) then
- local aimDot = script.Parent
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local rootPart = char.HumanoidRootPart
- local username = script.Parent.Parent.Frame.PlrToAimAt.Text
- local aimAt = game.Players[username].Character.HumanoidRootPart
- local ratio = 50/500
- local mag = (rootPart.position - aimAt.position).magnitude
- local form = (mag*ratio)*12
- local xS = aimDot.Position.X.Scale
- local xO = aimDot.Position.X.Offset
- local y = aimDot.Position.Y.Scale
- aimDot.Position = UDim2.new(xS, xO, y, -form)
- print(aimDot.Position)
- elseif not script.Parent.Parent.Frame.PlrToAimAt.Text == "PlayerName" then
- warn(script.Parent.Parent.Frame.PlrToAimAt.Text.." is not a valid player.")
- end
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_HFXJ85_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement