Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game:GetService("ReplicatedStorage"):WaitForChild("DefaultChatSystemChatEvents").SayMessageRequest:FireServer("Loaded.","All")
- local following = false
- function psearch(arg)
- for i,v in pairs(game.Players:GetPlayers()) do
- if string.lower(string.sub(v.Name,1,string.len(arg))) == string.lower(arg) then
- return v
- end
- end
- end
- local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
- for i,v in pairs(character:GetChildren()) do
- v.ChildAdded:Connect(function(s)
- if s.Name == "creator" then
- local enemy = workspace:FindFirstChild(s.Value.Name)
- local enemyroot = enemy.Head
- following = true
- repeat
- if game.Players.LocalPlayer.Backpack:FindFirstChild('Shotty') then game.Players.LocalPlayer.Backpack.Shotty.Parent = game.Players.LocalPlayer.Character end
- if game.Players.LocalPlayer.Backpack:FindFirstChild('Uzi') then game.Players.LocalPlayer.Backpack.Uzi.Parent = game.Players.LocalPlayer.Character end
- if game.Players.LocalPlayer.Backpack:FindFirstChild('Glock') then game.Players.LocalPlayer.Backpack.Glock.Parent = game.Players.LocalPlayer.Character end
- if game.Players.LocalPlayer.Character:FindFirstChild("Shotty") then game.Players.LocalPlayer.Character.Shotty.Fire:FireServer(enemyroot.CFrame) end
- if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then game.Players.LocalPlayer.Character.Glock.Fire:FireServer(enemyroot.CFrame) end
- if game.Players.LocalPlayer.Character:FindFirstChild("Uzi") then game.Players.LocalPlayer.Character.Uzi.Fire:FireServer(enemyroot.CFrame) end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(13,0,-3)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(4,0,-2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-4,0,2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(6,0,3)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,-6)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-4,0,-2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(8,0,-2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,-3)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[s.Value.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,2)
- until enemy.Humanoid.Health == 0 or enemy:FindFirstChild("KO") or game.Players.LocalPlayer.Character.Humanoid.Health == 0 or following == false
- end
- end)
- end
- game.Players.LocalPlayer.Chatted:Connect(function(msg)
- if string.lower(msg) == ".stop" then
- following = false
- else
- if msg:sub(1,5) == ".aim " then
- local target = psearch(msg:sub(6))
- if target then
- following = true
- repeat
- if game.Players.LocalPlayer.Backpack:FindFirstChild('Shotty') then game.Players.LocalPlayer.Backpack.Shotty.Parent = game.Players.LocalPlayer.Character end
- if game.Players.LocalPlayer.Backpack:FindFirstChild('Glock') then game.Players.LocalPlayer.Backpack.Glock.Parent = game.Players.LocalPlayer.Character end
- if game.Players.LocalPlayer.Character:FindFirstChild("Shotty") then game.Players.LocalPlayer.Character.Shotty.Fire:FireServer(workspace[target.Name].Torso.CFrame) end
- if game.Players.LocalPlayer.Character:FindFirstChild("Glock") then game.Players.LocalPlayer.Character.Glock.Fire:FireServer(workspace[target.Name].Torso.CFrame) end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(1,0,-3)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(9,0,-2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-4,0,2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(12,0,3)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-13,0,-5)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-5,0,-2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-4,-0,-2)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(6,0,-3)
- wait()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace[target.Name].HumanoidRootPart.CFrame + Vector3.new(-6,0,2)
- until workspace[target.Name].Humanoid.Health == 0 or workspace[target.Name]:FindFirstChild("KO") or game.Players.LocalPlayer.Character.Humanoid.Health == 0 or following == false
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement