Run it
Copy the script and paste it into your executor.
local uis = game:GetService('UserInputService')
local mouse = game:GetService('Players').LocalPlayer:GetMouse()
local enabled = false
local target
local cam = workspace.CurrentCamera
uis.InputBegan:Connect(function(input, gameProcessed)
if not gameProcessed and input.UserInputType == Enum.UserInputType.MouseButton2 then
enabled = true
end
end)
uis.InputEnded:Connect(function(input, gameProcessed)
if not gameProcessed and input.UserInputType == Enum.UserInputType.MouseButton2 then
enabled = false
target = nil
end
end)
while task.wait() do
if enabled
target target.Name == target.Parent target.Parent:() target.Parent:() target.Parent.Zombie.Health >
cam.CFrame = .(cam.CFrame.Position, target.Position)
target = mouse.Target
target target.Parent target.Parent:() target.Parent:() target.Parent.Zombie.Health > target.Parent:()
target = target.Parent.Head
Not the best, but ok :P
Military VS Zombies 2