Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(0.5)
- warn("Attack On Titan: Revenge: Legendary Edition, has loaded")
- --//Keybinds
- local KeyBinds = {
- KillAll = Enum.KeyCode.K;
- ESP = Enum.KeyCode.P;
- KillSelected = Enum.KeyCode.T;
- }
- ----//Don't bother touching below here
- local UIS = game:GetService("UserInputService")
- local Player = game.Players.LocalPlayer
- local Mouse = Player:GetMouse()
- local Character = Player.Character or Player.CharacterAdded:Wait()
- local HRP = Character:WaitForChild("HumanoidRootPart")
- local espStuff = {}
- local espCurrent = true
- local doing = false
- local cancel = false
- local GUI = Instance.new("ScreenGui",Player.PlayerGui)
- local txtLabel = Instance.new("TextLabel",GUI)
- txtLabel.Size = UDim2.new(0.2,0,0.06,0)
- txtLabel.Position = UDim2.new(0.4,0,0.042,0)
- txtLabel.BackgroundTransparency = 1
- txtLabel.TextScaled = true
- txtLabel.TextColor3 = Color3.new(0,1,0)
- txtLabel.Visible = false
- local lastMsg = nil
- function Message(Msg,Time,Color)
- if lastMsg and lastMsg.Parent ~= nil then lastMsg:Destroy() end
- local newLabel = txtLabel:Clone()
- lastMsg = newLabel
- newLabel.Parent = txtLabel.Parent
- newLabel.Text = Msg
- newLabel.TextColor3 = Color
- newLabel.Visible = true
- game.Debris:AddItem(newLabel,Time)
- end
- function ESP(Mode)
- if Mode == true then
- for _,got in pairs(workspace.Titans:GetChildren()) do
- for i,v in pairs(got:children())do
- if v:IsA('BasePart')and v.Name~=('HumanoidRootPart')then
- local rA=Instance.new('BoxHandleAdornment',v)
- rA.Adornee=v
- rA.Size = v.Name=='Head' and Vector3.new(1.25,1.25,1.25) or v.Size
- rA.Color3 = v.Name== 'Nape'and Color3.new(1,0,0) or v.Name ==('Torso') and Color3.new(1,1,0) or v.Name ==('Head') and Color3.new(0,0,1) or Color3.new(0,1,0)
- rA.Transparency=0.1
- rA.ZIndex=1
- rA.AlwaysOnTop=true
- table.insert(espStuff,rA)
- end
- end
- end
- for _,got in pairs(game.Players:GetPlayers()) do
- if got ~= Player then
- for i,v in pairs(got.Character:GetChildren())do
- if v:IsA('BasePart')and v.Name~=('HumanoidRootPart')then
- local rA=Instance.new('BoxHandleAdornment',v)
- rA.Adornee= v
- rA.Size = v.Size
- rA.Color3 = Color3.new(1,1,1)
- rA.Transparency=0.1
- rA.ZIndex=1
- rA.AlwaysOnTop=true
- table.insert(espStuff,rA)
- end
- end
- end
- end
- for i,v in pairs(workspace.Reloads:GetDescendants())do
- if v:IsA('BasePart')then
- local rA=Instance.new('BoxHandleAdornment',v)
- rA.Adornee= v
- rA.Size = v.Size
- rA.Color3 = Color3.fromRGB(114, 33, 180)
- rA.Transparency=0.1
- rA.ZIndex=1
- rA.AlwaysOnTop=true
- table.insert(espStuff,rA)
- end
- end
- for i,v in pairs(workspace.Horses:GetDescendants())do
- if v:IsA('BasePart')then
- local rA=Instance.new('BoxHandleAdornment',v)
- rA.Adornee= v
- rA.Size = v.Size
- rA.Color3 = Color3.fromRGB(255, 212, 55)
- rA.Transparency=0.1
- rA.ZIndex=1
- rA.AlwaysOnTop=true
- table.insert(espStuff,rA)
- end
- end
- elseif Mode == false then
- for _,v in pairs(espStuff) do
- v:Destroy()
- end
- end
- end
- function Kill(Target)
- Message("Killing: " .. Target.Name,1.5,Color3.new(0,1,0))
- pcall(function()
- Player.Backpack.Input:FireServer("m1", {mousehit = Mouse.Hit})
- end)
- wait()
- coroutine.wrap(function()
- for i = 1, 15 do
- wait()
- HRP.CFrame = Target.Nape.CFrame;
- end
- end)()
- pcall(function()
- Player.Backpack.Input:FireServer("m|off", {mousehit = Mouse.Hit})
- end)
- end
- ESP(true)
- UIS.InputBegan:Connect(function(Key,gamepor)
- if Key.KeyCode == KeyBinds.KillSelected and not doing then
- local Target = Mouse.Target
- if Target and Target.Parent.Parent == workspace.Titans then
- doing = true
- Kill(Target.Parent)
- doing = false
- end
- elseif Key.KeyCode == KeyBinds.ESP then
- espCurrent = not espCurrent
- if espCurrent == true then
- Message("ESP: On",1.5,Color3.new(0,1,0))
- else
- Message("ESP: Off",1.5,Color3.new(1,0,0))
- end
- ESP(espCurrent)
- elseif Key.KeyCode == KeyBinds.KillAll and not doing then
- doing = true
- for _,Target in pairs(workspace.Titans:GetChildren()) do
- if cancel == true then
- cancel = false
- break
- end
- if Target:FindFirstChildOfClass("Humanoid"):GetState() ~= Enum.HumanoidStateType.Dead then
- Kill(Target)
- wait(1.25)
- end
- end
- doing = false
- end
- end)
- UIS.InputEnded:Connect(function(Key,gamepor)
- if Key.KeyCode == KeyBinds.KillAll and not gamepor and doing == true then
- Message("Cancelled: Kill all",1.5,Color3.new(1,0,0))
- cancel = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement