Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plrs = game: GetService ("Jugadores")
- TeamBased local = verdadero; equipo local basswitch = "o"
- local presskeytoaim = true; local aimkey = "e"
- local raycast = falso
- espupdatetime local = 5; autoesp = falso
- lockaim local = verdadero; lockangle local = 5
- --funcion findwat (carpeta, que)
- - para i, smth en pares (carpeta: GetChildren ()) do
- - si string.find (string.lower (tostring (smth)), string.lower (what)) entonces
- - Regresa un poco
- -- final
- -- final
- --fin
- -
- --local plrs = findwat (juego, "Jugadores")
- Gui local = Instancia.nuevo ("ScreenGui")
- local Move = Instance.new ("Frame")
- local principal = Instancia.nuevo ("Marco")
- local EspStatus = Instance.new ("TextLabel")
- local st1 = Instance.new ("TextLabel")
- local st1_2 = Instance.new ("TextLabel")
- local st1_3 = Instance.new ("TextLabel")
- Nombre local = Instancia.nuevo ("TextLabel")
- --Propiedades:
- Gui.Name = "Gui"
- Gui.Parent = plrs.LocalPlayer: WaitForChild ("PlayerGui")
- Move.Name = "Move"
- Move.Parent = Gui
- Move.BackgroundColor3 = Color3.new (0.545098, 0, 0)
- Move.BackgroundTransparency = 1
- Move.BorderSizePixel = 0
- Move.Draggable = true
- Move.Position = UDim2.new (0.005, 0, -0.15, 0)
- Move.Size = UDim2.new (0.28141585, 0, 0.0320388414, 0)
- Main.Name = "Main"
- Main.Parent = Move
- Main.BackgroundColor3 = Color3.new (1, 1, 1)
- Posición principal = UDim2.new (0, -7, 20.9960003, 0)
- Tamaño principal = UDim2.new (1, 0, 5.79699993, 0)
- Main.Style = Enum.FrameStyle.RobloxSquare
- EspStatus.Name = "EspStatus"
- EspStatus.Parent = Principal
- EspStatus.BackgroundColor3 = Color3.new (1, 1, 1)
- EspStatus.BackgroundTransparency = 1
- EspStatus.Position = UDim2.new (0, 0, 0.300000012, 0)
- EspStatus.Size = UDim2.new (1, 0, 0.162, 0)
- EspStatus.Font = Enum.Font.ArialBold
- EspStatus.Text = "Presione O para cambiar el modo basado en el equipo"
- EspStatus.TextColor3 = Color3.new (0.6, 0.196078, 0.8)
- EspStatus.TextScaled = true
- EspStatus.TextWrapped = true
- st1.Name = "st1"
- st1.Parent = Principal
- st1.BackgroundColor3 = Color3.new (1, 1, 1)
- st1.BackgroundTransparency = 1
- st1.Position = UDim2.new (0.271787882, 0, 0, 0)
- st1.Size = UDim2.new (0.728211343, 0, 0.161862016, 0)
- st1.Font = Enum.Font.ArialBold
- st1.Text = ""
- st1.TextColor3 = Color3.new (0.0784314, 0.541176, 0)
- st1.TextScaled = true
- st1.TextSize = 14
- st1.TextWrapped = true
- st1_2.Name = "st1"
- st1_2.Parent = Principal
- st1_2.BackgroundColor3 = Color3.new (1, 1, 1)
- st1_2.BackgroundTransparency = 1
- st1_2.Position = UDim2.new (0, 0, 0.875999987, 0)
- st1_2.Size = UDim2.new (0.999999881, 0, 0.161862016, 0)
- st1_2.Font = Enum.Font.ArialBold
- st1_2.Text = "Presione E para bloquear a una persona dentro de su vista"
- st1_2.TextColor3 = Color3.new (0.6, 0.196078, 0.8)
- st1_2.TextScaled = true
- st1_2.TextWrapped = true
- st1_3.Name = "st1"
- st1_3.Parent = Principal
- st1_3.BackgroundColor3 = Color3.new (1, 1, 1)
- st1_3.BackgroundTransparency = 1
- st1_3.Position = UDim2.new (0, 0, 0.54, 0)
- st1_3.Size = UDim2.new (1, 0, 0.261999995, 0)
- st1_3.Font = Enum.Font.ArialBold
- st1_3.Text = "Presione L para habilitar el bucle esp y presione T para actualizar esp"
- st1_3.TextColor3 = Color3.new (0.6, 0.196078, 0.8)
- st1_3.TextScaled = true
- st1_3.TextWrapped = true
- Nombre.Nombre = "Nombre"
- Nombre.Parente = Mover
- Name.BackgroundColor3 = Color3.new (0.545098, 0, 0)
- Name.BackgroundTransparency = 1
- Name.Position = UDim2.new (0, 25, 20.9860001, 0)
- Name.Size = UDim2.new (0.838, 0, 1.27999997, 0)
- Name.Font = Enum.Font.Arcade
- Name.Text = "ARSENAL GUI"
- Name.TextColor3 = Color3.new (0.541176, 0.168627, 0.886275)
- Name.TextScaled = true
- Name.TextSize = 12
- Name.TextWrapped = true
- -- Guiones:
- local plrsforaim = {}
- local lplr = game: GetService ("Players"). LocalPlayer
- Move.Draggable = true
- Gui.ResetOnSpawn = false
- Gui.Name = "Chat"
- Gui.DisplayOrder = 999
- Gui.Parent = plrs.LocalPlayer.PlayerGui
- f = {}
- espforlder local
- f.addesp = función ()
- --print ("ESP corrió")
- si espforlder entonces
- más
- espforlder = Instance.new ("Carpeta")
- espforlder.Parent = game.Workspace.CurrentCamera
- fin
- para i, v en pares (espforlder: GetChildren ()) hacer
- v: Destruir ()
- fin
- para _, plr en pares (plrs: GetChildren ()) hacer
- si plr.Character y plr.Character.Humanoid.Health> 0 y plr.Name ~ = lplr.Name entonces
- si TeamBased == true entonces
- si plr.Team.Name ~ = plrs.LocalPlayer.Team.Name entonces
- local e = espforlder: FindFirstChild (plr.Name)
- si no e entonces
- --print ("Agregado esp para equipo")
- factura local = Instancia.nuevo ("BillboardGui", espforlder)
- bill.Name = plr.Name
- bill.AlwaysOnTop = true
- bill.Size = UDim2.new (1,0,1,0)
- bill.Adornee = plr.Character.Head
- local Frame = Instance.new ('Frame', bill)
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new (0.541176, 0.168627, 0.886275)
- Frame.BackgroundTransparency = 0
- Frame.BorderSizePixel = 0
- Frame.AnchorPoint = Vector2.new (.5, .5)
- Frame.Position = UDim2.new (0.5,0,0.5.0)
- Frame.Size = UDim2.new (1,0,1,0)
- Frame.Rotation = 0
- plr.Character.Humanoid.Died: Connect (function ()
- proyecto de ley: Destruir ()
- fin)
- fin
- fin
- más
- local e = espforlder: FindFirstChild (plr.Name)
- si no e entonces
- --print ("Added esp")
- factura local = Instancia.nuevo ("BillboardGui", espforlder)
- bill.Name = plr.Name
- bill.AlwaysOnTop = true
- bill.Size = UDim2.new (1,0,1,0)
- bill.Adornee = plr.Character.Head
- local Frame = Instance.new ('Frame', bill)
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new (0.541176, 0.168627, 0.886275)
- Frame.BackgroundTransparency = 0
- Frame.BorderSizePixel = 0
- Frame.AnchorPoint = Vector2.new (.5, .5)
- Frame.Position = UDim2.new (0.5,0,0.5.0)
- Frame.Size = UDim2.new (1,0,1,0)
- Frame.Rotation = 0
- plr.Character.Humanoid.Died: Connect (function ()
- proyecto de ley: Destruir ()
- fin)
- fin
- fin
- fin
- fin
- fin
- local cam = game.Workspace.CurrentCamera
- ratón local = lplr: GetMouse ()
- interruptor local = falso
- clave local = "k"
- aimatpart local = nil
- mouse.KeyDown: Connect (función (a)
- si a == "t" entonces
- imprimir ("trabajado1")
- f.addesp ()
- elseif a == "u" entonces
- si raycast == verdadero entonces
- raycast = falso
- más
- raycast = true
- fin
- elseif a == "l" entonces
- si autoesp == falso entonces
- autoesp = verdadero
- más
- autoesp = falso
- fin
- fin
- si a == "j" entonces
- si el mouse.target entonces
- mouse.Target:Destroy ()
- fin
- fin
- si una clave == entonces
- si interruptor == falso entonces
- switch = true
- más
- interruptor = falso
- si aimatpart ~ = nil entonces
- aimatpart = nil
- fin
- fin
- elseif a == teambasedswitch entonces
- si TeamBased == true entonces
- TeamBased = falso
- teambasedstatus.Text = tostring (TeamBased)
- más
- TeamBased = true
- teambasedstatus.Text = tostring (TeamBased)
- fin
- elseif a == aimkey then
- si no es aimatpart entonces
- local maxangle = math.rad (20)
- para i, plr en pares (plrs: GetChildren ()) hacer
- si plr.Name ~ = lplr.Name y plr.Character y plr.Character.Head y plr.Character.Humanoid y plr.Character.Humanoid.Health> 1 entonces
- si TeamBased == true entonces
- si plr.Team.Name ~ = lplr.Team.Name entonces
- local an = checkfov (plr.Character.Head)
- si un <maxangle entonces
- maxangle = an
- aimatpart = plr.Character.Head
- fin
- fin
- más
- local an = checkfov (plr.Character.Head)
- si un <maxangle entonces
- maxangle = an
- aimatpart = plr.Character.Head
- fin
- imprimir (plr)
- fin
- plr.Character.Humanoid.Died: Connect (function ()
- if aimatpart.Parent == plr.Character o aimatpart == nil then
- aimatpart = nil
- fin
- fin)
- fin
- fin
- más
- aimatpart = nil
- fin
- fin
- fin)
- función getfovxyz (p0, p1, grados)
- x1 local, y1, z1 = p0: ToOrientation ()
- local cf = CFrame.new (p0.p, p1.p)
- x2 local, y2, z2 = cf: ToOrientation ()
- --local d = math.deg
- si grados entonces
- --retorno Vector3.new (d (x1-x2), d (y1-y2), d (z1-z2))
- más
- devuelve Vector3.new ((x1-x2), (y1-y2), (z1-z2))
- fin
- fin
- función getaimbotplrs ()
- plrsforaim = {}
- para i, plr en pares (plrs: GetChildren ()) hacer
- if plr.Character and plr.Character.Humanoid and plr.Character.Humanoid.Health> 0 y plr.Name ~ = lplr.Name y plr.Character.Head luego
- si TeamBased == true entonces
- si plr.Team.Name ~ = lplr.Team.Name entonces
- local cf = CFrame.new (game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
- r local = Ray.new (cf, cf.LookVector * 10000)
- local ign = {}
- para i, v en pares (plrs.LocalPlayer.Character: GetChildren ()) do
- si v: IsA ("BasePart") entonces
- table.insert (ign, v)
- fin
- fin
- local obj = game.Workspace: FindPartOnRayWithIgnoreList (r, ign)
- if obj.Parent == plr.Character and obj.Parent ~ = lplr.Character entonces
- table.insert (plrsforaim, obj)
- fin
- fin
- más
- local cf = CFrame.new (game.Workspace.CurrentCamera.CFrame.p, plr.Character.Head.CFrame.p)
- r local = Ray.new (cf, cf.LookVector * 10000)
- local ign = {}
- para i, v en pares (plrs.LocalPlayer.Character: GetChildren ()) do
- si v: IsA ("BasePart") entonces
- table.insert (ign, v)
- fin
- fin
- local obj = game.Workspace: FindPartOnRayWithIgnoreList (r, ign)
- if obj.Parent == plr.Character and obj.Parent ~ = lplr.Character entonces
- table.insert (plrsforaim, obj)
- fin
- fin
- fin
- fin
- fin
- función aimat (parte)
- cam.CFrame = CFrame.new (cam.CFrame.p, part.CFrame.p)
- fin
- función checkfov (parte)
- local fov = getfovxyz (game.Workspace.CurrentCamera.CFrame, part.CFrame)
- ángulo local = math.abs (fov.X) + math.abs (fov.Y)
- ángulo de retorno
- fin
- juego: GetService ("RunService"). RenderStepped: Connect (function ()
- si aimatpart entonces
- aimat (aimatpart)
- si aimatpart.Parent == plrs.LocalPlayer.Character entonces
- aimatpart = nil
- fin
- fin
- - si switch == true entonces
- - maxangle local = 99999
- -
- --print ("Loop")
- - si es verdadero y raycast == falso entonces
- - para i, plr en pares (plrs: GetChildren ()) do
- - si plr.Name ~ = lplr.Name y plr.Character y plr.Character.Head y plr.Character.Humanoid y plr.Character.Humanoid.Health> 1 luego
- - si TeamBased entonces
- - si plr.Team.Name ~ = lplr.Team.Name o plr.Team.TeamColor ~ = lplr.Team.TeamColor entonces
- - local an = checkfov (plr.Character.Head)
- - si es un <maxangle entonces
- - maxangle = an
- - aimatpart = plr.Character.Head
- - si un <lockangle entonces
- -- rotura
- -- final
- -- final
- -- final
- otra cosa
- - local an = checkfov (plr.Character.Head)
- - si es un <maxangle entonces
- - maxangle = an
- - aimatpart = plr.Character.Head
- - si un <lockangle entonces
- -- rotura
- -- final
- -- final
- -- final
- -
- -
- -
- -
- -- final
- -- final
- - elseif raycast == true entonces
- -
- -- final
- si raycast == true y switch == false y no aimatpart entonces
- getaimbotplrs ()
- aimatpart = nil
- local maxangle = 999
- para i, v en ipairs (plrsforaim) do
- if v.Parent ~ = lplr.Character entonces
- local an = checkfov (v)
- si un <maxangle y v ~ = lplr.Character.Head entonces
- maxangle = an
- aimatpart = v
- imprimir (v: GetFullName ())
- v.Parent.Humanoid.Died: connect (function ()
- aimatpart = nil
- fin)
- fin
- fin
- fin
- fin
- fin)
- retraso (0, función ()
- mientras espera (espupdatetime) hacer
- si autoesp == verdadero entonces
- pcall (function ()
- f.addesp ()
- fin)
- fin
- fin
- fin)
- advertir ("cargado")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement