City Life Script | Auto Complete All Tasks!

City Life Script | Auto Complete All Tasks!

Made by OvM

22.8K views 11.4K downloads 8 months ago

This new script for City Life will automatically complete all tasks for you!
Once executed, it will save all hostages, stop all chases, and attempt to kill all the NPCs. Overall a very good City Life script, enjoy!

Script Features:
Complete All Tasks

This script was last modified 8 months ago
download
--BROUGHT TO YOU BY RSCRIPTS.NET--

local plr = game.Players.LocalPlayer
local plrCh = plr.Character

local data1 = {
   [1] = plrCh,
   [2] = nil,
   [3] = 1,
   [4] = nil,
   [5] = true
}

local data2 = {
   [1] = nil,
   [2] = 1
}

function getMuzzle()

   for i ,v in pairs (game.Workspace:GetDescendants()) do
     
       if (v.Name == "Gun" and v:IsA("Tool")) then
         
           for i ,v in pairs (v:GetDescendants()) do
             
               if (v.Name == "muzzle") then
                   
                   print("Using player : " .. v.Parent.Parent.Parent.Name .. "'s gun muzzle.")
                   return v
                   
               end
             
           end
         
       end
     
   end

end

function stopChases()
 
  spawn(function()
   
       for carChaseIndex, carChase in pairs (game.Workspace.jobInstances.police.carChaseNodes:GetChildren()) do
       
           for i , v in pairs (carChase:GetChildren()) do
               if (v:IsA("Model")) then
       
                   print("Stopping Car : " .. v.Name)
                   game:GetService("ReplicatedStorage").remoteInterface.jobs.action:InvokeServer(v.Parent)
                 
               end
               
           end
       
       end
       
   end)
   
end

function saveHostages()
 
  for instIndex, inst in pairs (game:GetDescendants()) do

      if (inst.Name == "hostageNode" and inst:IsA("Part")) then
   
          for i , v in pairs (inst:GetChildren()) do
             
             if (v:IsA("Model")) then
               
               spawn(function()
                   
                   print("Saving Hostage " .. v.Name)
                   game:GetService("ReplicatedStorage").remoteInterface.jobs.action:InvokeServer(inst)
               
               end)  
                 
             end
             
          end
   
      end
       
   end
   
end

function killThugs()

   for objIndex, obj in pairs (game.Workspace:GetDescendants()) do

       if (obj.Name == "thugNode" and obj:IsA("Part")) then
           
           for i ,v in pairs (obj:GetChildren()) do
               
               if (v.Name == "thug") then
                 
                   data1[4] = v.Head.Position
                   data2[1] = obj
                 
                   local attempts = 0
                 
                   repeat
                       
                       spawn(function()
                       
                           game:GetService("ReplicatedStorage").remoteInterface.tools.bulletShot:FireServer(unpack(data1))
                           game:GetService("ReplicatedStorage").remoteInterface.jobs.action:InvokeServer(unpack(data2))
                           
                       end)
                       
                       
                       print("Attacked " .. v.Name .. " x" .. attempts)
                       attempts = attempts + 1
                       
                   until attempts == 25
                   
               end
               
           end
           
       end
       
   end
   
end

saveHostages()
stopChases()
killThugs()

0 Comments

Log in here to comment


Similiar Scripts

Hungry for more? Check out these Roblox Scripts!
18.3K views
1 year ago
Amongst Us! Auto-Complete Tasks
 Bye..
Amongst Us! Auto-Complete Tasks
CODE 999IQ Amongst Us
Amongst Us! Auto-Complete Tasks
22.5K views
9 months ago
City Life Script | Auto Arrest All!
OvM
City Life Script | Auto Arrest All!
Criminal City Life
City Life Script | Auto Arrest All!
Key System Mobile Friendly
4.6K views
4 weeks ago
Auto Merge Auto Tap Auto Complete Obby Auto Rebirth
Superbia
Auto Merge Auto Tap Auto Complete Obby Auto Rebirth
Merge Simulator
Auto Merge Auto Tap Auto Complete Obby Auto Rebirth
18.1K views
10 months ago
oMega Obby Parkour | Auto Complete All Stages!
GamingWD
oMega Obby Parkour | Auto Complete All Stages!
oMega Obby Parkour 525 Stages
oMega Obby Parkour | Auto Complete All Stages!
23.3K views
9 months ago
City Life Script | Money Auto Farm
OvM
City Life Script | Money Auto Farm
Criminal City Life
City Life Script | Money Auto Farm
16.6K views
1 year ago
City Life Tycoon Auto Farm
Narwhal#0187
City Life Tycoon Auto Farm
HOSPITAL City Life Tycoon
City Life Tycoon Auto Farm


Top