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")
- Part1 = Instance.new("Part")
- Humanoid2 = Instance.new("Humanoid")
- Script3 = Instance.new("Script")
- BodyColors4 = Instance.new("BodyColors")
- Script5 = Instance.new("Script")
- IntValue6 = Instance.new("IntValue")
- Script7 = Instance.new("Script")
- Script8 = Instance.new("Script")
- Sound9 = Instance.new("Sound")
- Sound10 = Instance.new("Sound")
- Part11 = Instance.new("Part")
- BodyPosition12 = Instance.new("BodyPosition")
- Script13 = Instance.new("Script")
- Humanoid14 = Instance.new("Humanoid")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Part21 = Instance.new("Part")
- SpecialMesh22 = Instance.new("SpecialMesh")
- Part23 = Instance.new("Part")
- SpecialMesh24 = Instance.new("SpecialMesh")
- Part25 = Instance.new("Part")
- Part26 = Instance.new("Part")
- SpecialMesh27 = Instance.new("SpecialMesh")
- Part28 = Instance.new("Part")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- SpecialMesh32 = Instance.new("SpecialMesh")
- Part33 = Instance.new("Part")
- SpecialMesh34 = Instance.new("SpecialMesh")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- Part37 = Instance.new("Part")
- Part38 = Instance.new("Part")
- SpecialMesh39 = Instance.new("SpecialMesh")
- Part40 = Instance.new("Part")
- SpecialMesh41 = Instance.new("SpecialMesh")
- Part42 = Instance.new("Part")
- SpecialMesh43 = Instance.new("SpecialMesh")
- Model44 = Instance.new("Model")
- Part45 = Instance.new("Part")
- SpecialMesh46 = Instance.new("SpecialMesh")
- Part47 = Instance.new("Part")
- Snap48 = Instance.new("Snap")
- Motor49 = Instance.new("Motor")
- Motor50 = Instance.new("Motor")
- Motor51 = Instance.new("Motor")
- Motor52 = Instance.new("Motor")
- Humanoid53 = Instance.new("Humanoid")
- BodyColors54 = Instance.new("BodyColors")
- Script55 = Instance.new("Script")
- IntValue56 = Instance.new("IntValue")
- Script57 = Instance.new("Script")
- Script58 = Instance.new("Script")
- Script59 = Instance.new("Script")
- Script60 = Instance.new("Script")
- Model0.Name = "Martian Tank"
- Model0.Parent = mas
- Model0.PrimaryPart = Part28
- Part1.Name = "Smooth Block Model"
- Part1.Parent = Model0
- Part1.BrickColor = BrickColor.new("Black")
- Part1.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part1.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part1.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part1.Size = Vector3.new(8, 2.4000001, 15)
- Part1.CFrame = CFrame.new(-69.0016632, 6.60000992, 82.8958969, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997145e-19, 0.000372457987, 1.61933788e-19, 0.99999994)
- Part1.BottomSurface = Enum.SurfaceType.Weld
- Part1.FrontSurface = Enum.SurfaceType.Weld
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part1.Position = Vector3.new(-69.0016632, 6.60000992, 82.8958969)
- Part1.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Humanoid2.Name = "Alien"
- Humanoid2.Parent = Model0
- Humanoid2.Torso = Part15
- Humanoid2.MaxHealth = 1000
- Script3.Parent = Humanoid2
- table.insert(cors,sandbox(Script3,function()
- script.Parent.Health = script.Parent.MaxHealth
- end))
- BodyColors4.Parent = Model0
- BodyColors4.HeadColor = BrickColor.new("Bright yellow")
- BodyColors4.LeftArmColor = BrickColor.new("Medium stone grey")
- BodyColors4.LeftLegColor = BrickColor.new("Brick yellow")
- BodyColors4.RightArmColor = BrickColor.new("Medium stone grey")
- BodyColors4.RightLegColor = BrickColor.new("Brick yellow")
- BodyColors4.TorsoColor = BrickColor.new("Bright red")
- Script5.Parent = Model0
- table.insert(cors,sandbox(Script5,function()
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 1000
- 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) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- while true do
- wait(1)
- local target = findNearestTorso(script.Parent.Torso.Position)
- if target ~= nil then
- script.Parent.Alien:MoveTo(target.Position, target)
- end
- end
- end))
- IntValue6.Name = "Mode"
- IntValue6.Parent = Model0
- Script7.Name = "Respawn"
- Script7.Parent = Model0
- table.insert(cors,sandbox(Script7,function()
- name="Alien"
- robo=script.Parent:clone()
- while true do
- wait(45)
- if script.Parent.Alien.Health<1 then
- robot=robo:clone()
- robot.Parent=script.Parent.Parent
- robot:makeJoints()
- script.Parent:remove()
- end
- end
- end))
- Script8.Name = "KillbotScript"
- Script8.Parent = Model0
- table.insert(cors,sandbox(Script8,function()
- local sphere = script.Parent.Sphere
- local myTarget = nil
- -- obtain goals based on Sphere part
- sphere.BodyPosition.position = sphere.Position
- -- this code hijacked from the new rocket launcher
- local Rocket = Instance.new("Part")
- Rocket.Locked = true
- Rocket.BackSurface = 3
- Rocket.BottomSurface = 3
- Rocket.FrontSurface = 3
- Rocket.LeftSurface = 3
- Rocket.RightSurface = 3
- Rocket.TopSurface = 3
- Rocket.Size = Vector3.new(1,1,4)
- Rocket.BrickColor = BrickColor.new(21)
- script.Parent.RocketScript:clone().Parent = Rocket
- script.Parent.Explosion:clone().Parent = Rocket
- script.Parent.Swoosh:clone().Parent = Rocket
- function fire(target)
- local dir = target - sphere.Position
- dir = computeDirection(dir)
- local missile = Rocket:clone()
- local spawnPos = sphere.Position
- local pos = spawnPos + (dir * 16)
- --missile.Position = pos
- missile.CFrame = CFrame.new(pos, pos + dir)
- missile.RocketScript.Disabled = false
- missile.Parent = game.Workspace
- end
- function computeDirection(vec)
- local lenSquared = vec.magnitude * vec.magnitude
- local invSqrt = 1 / math.sqrt(lenSquared)
- return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
- end
- function scanForHumans()
- -- KILL THE HUMANS!!!!!!!!!!
- -- for now, pick a random one. In the future, pick the closest. Or use hit test to pick a visible one.
- local humansFound = {}
- local players = game.Players:children()
- if (#players < 1) then return end
- local i = math.random(1, #players)
- myTarget = players[i].Character
- end
- function moveKillbot()
- -- killbots move using a biased random walk toward the target
- -- they also like to float at least 10 studs above the ground
- local dx = math.random(-100,100)
- local dy = math.random(-40,40)
- local dz = math.random(-100,100)
- if (sphere.Position.y < 10 and dy < 0) then dy = -dy end
- if (sphere.Position.y > 80 and dy > 0) then dy = -dy end
- if (myTarget ~= nil) then
- local dir = computeDirection(myTarget.PrimaryPart.Position - sphere.Position)
- dx = dx + (dir.x * 80) -- change this number to alter player trophism
- dz = dz + (dir.z * 80)
- end
- local vec = computeDirection(Vector3.new(dx,dy,dz))
- sphere.BodyPosition.position = sphere.Position + (vec * 40) -- change this number to alter speed
- end
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if humanoid~=nil then
- humanoid.Health = humanoid.Health - 2000 -- Killbots kill you when you touch them! duh.
- end
- end
- sphere.Touched:connect(onTouched)
- while true do -- loop forever
- scanForHumans()
- for n=1,5 do
- if (myTarget ~= nil) then
- if(math.random(1,1) == 1) then fire(myTarget.PrimaryPart.Position) end
- wait(2)
- moveKillbot()
- end
- end
- wait(2) -- don't hog CPU
- end
- end))
- Sound9.Name = "Explosion"
- Sound9.Parent = Model0
- Sound9.SoundId = "rbxasset://sounds/collide.wav"
- Sound9.Volume = 1
- Sound10.Name = "Swoosh"
- Sound10.Parent = Model0
- Sound10.SoundId = "rbxasset://sounds/Rocket whoosh 01.wav"
- Sound10.Volume = 0.69999998807907
- Sound10.Looped = true
- Part11.Name = "Sphere"
- Part11.Parent = Model0
- Part11.BrickColor = BrickColor.new("Black")
- Part11.Rotation = Vector3.new(-176.62999, 0.049999997, -179.98999)
- Part11.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part11.Velocity = Vector3.new(-0.0300525036, 689.6073, 66.9885635)
- Part11.FormFactor = Enum.FormFactor.Symmetric
- Part11.Size = Vector3.new(2, 2, 1)
- Part11.CFrame = CFrame.new(-68.9942627, 12.7593288, 75.0428467, -0.999999642, 0.000197649657, 0.000852700497, 0.000247427379, 0.998271108, 0.0587769933, -0.00083960878, 0.0587771647, -0.998270512)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.FrontSurface = Enum.SurfaceType.Weld
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part11.Position = Vector3.new(-68.9942627, 12.7593288, 75.0428467)
- Part11.Orientation = Vector3.new(-3.36999989, 179.949997, 0.00999999978)
- Part11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BodyPosition12.Parent = Part11
- BodyPosition12.D = 10000
- BodyPosition12.position = Vector3.new(8.42086792, 31.4222527, 462.809814)
- BodyPosition12.Position = Vector3.new(8.42086792, 31.4222527, 462.809814)
- Script13.Parent = Part11
- table.insert(cors,sandbox(Script13,function()
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 1000
- 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("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- while true do
- wait(1)
- local target = findNearestTorso(script.Parent.Position)
- if target ~= nil then
- script.Parent.Alien:MoveTo(target.Position, target)
- end
- end
- end))
- Humanoid14.Name = "Alien"
- Humanoid14.Parent = Part11
- Humanoid14.Health = 0
- Part15.Name = "Torso"
- Part15.Parent = Model0
- Part15.BrickColor = BrickColor.new("Dark green")
- Part15.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part15.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part15.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part15.Friction = 0
- Part15.Size = Vector3.new(8, 2.4000001, 7)
- Part15.CFrame = CFrame.new(-69.0016632, 9.00001144, 82.8959045, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997093e-19, 0.000372457987, 1.6193384e-19, 0.99999994)
- Part15.TopSurface = Enum.SurfaceType.Hinge
- Part15.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Part15.Position = Vector3.new(-69.0016632, 9.00001144, 82.8959045)
- Part15.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part15.Color = Color3.new(0.156863, 0.498039, 0.278431)
- Part16.Name = "Hover"
- Part16.Parent = Model0
- Part16.BrickColor = BrickColor.new("White")
- Part16.Transparency = 1
- Part16.Rotation = Vector3.new(180, -89.9799957, 180)
- Part16.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part16.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part16.FormFactor = Enum.FormFactor.Symmetric
- Part16.Friction = 0.10000000149012
- Part16.Shape = Enum.PartType.Ball
- Part16.Size = Vector3.new(3, 3, 3)
- Part16.CFrame = CFrame.new(-75.4975662, 1.50001287, 71.8934937, -0.000372457987, -1.6823799e-19, -0.99999994, -1.61997248e-19, 1, -1.68177658e-19, 0.99999994, 1.61933685e-19, -0.000372457987)
- Part16.BottomSurface = Enum.SurfaceType.Smooth
- Part16.TopSurface = Enum.SurfaceType.Weld
- Part16.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part16.Position = Vector3.new(-75.4975662, 1.50001287, 71.8934937)
- Part16.Orientation = Vector3.new(0, -90.0199966, 0)
- Part16.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part17.Name = "Hover"
- Part17.Parent = Model0
- Part17.BrickColor = BrickColor.new("White")
- Part17.Transparency = 1
- Part17.Rotation = Vector3.new(180, -89.9799957, 180)
- Part17.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part17.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part17.FormFactor = Enum.FormFactor.Symmetric
- Part17.Friction = 0.10000000149012
- Part17.Shape = Enum.PartType.Ball
- Part17.Size = Vector3.new(3, 3, 3)
- Part17.CFrame = CFrame.new(-62.4975662, 1.50001287, 71.8983154, -0.000372457987, -1.6823799e-19, -0.99999994, -1.61997248e-19, 1, -1.68177658e-19, 0.99999994, 1.61933685e-19, -0.000372457987)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Weld
- Part17.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part17.Position = Vector3.new(-62.4975662, 1.50001287, 71.8983154)
- Part17.Orientation = Vector3.new(0, -90.0199966, 0)
- Part17.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part18.Name = "Hover"
- Part18.Parent = Model0
- Part18.BrickColor = BrickColor.new("White")
- Part18.Transparency = 1
- Part18.Rotation = Vector3.new(180, -89.9799957, 180)
- Part18.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part18.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part18.FormFactor = Enum.FormFactor.Symmetric
- Part18.Friction = 0.10000000149012
- Part18.Shape = Enum.PartType.Ball
- Part18.Size = Vector3.new(3, 3, 3)
- Part18.CFrame = CFrame.new(-61.5046539, 1.50001287, 90.898674, -0.000372457987, -1.6823799e-19, -0.99999994, -1.61997248e-19, 1, -1.68177658e-19, 0.99999994, 1.61933685e-19, -0.000372457987)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.TopSurface = Enum.SurfaceType.Weld
- Part18.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part18.Position = Vector3.new(-61.5046539, 1.50001287, 90.898674)
- Part18.Orientation = Vector3.new(0, -90.0199966, 0)
- Part18.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part19.Name = "Hover"
- Part19.Parent = Model0
- Part19.BrickColor = BrickColor.new("White")
- Part19.Transparency = 1
- Part19.Rotation = Vector3.new(180, -89.9799957, 180)
- Part19.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part19.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part19.FormFactor = Enum.FormFactor.Symmetric
- Part19.Friction = 0.10000000149012
- Part19.Shape = Enum.PartType.Ball
- Part19.Size = Vector3.new(3, 3, 3)
- Part19.CFrame = CFrame.new(-75.5046539, 1.50001287, 90.893486, -0.000372457987, -1.6823799e-19, -0.99999994, -1.61997248e-19, 1, -1.68177658e-19, 0.99999994, 1.61933685e-19, -0.000372457987)
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.TopSurface = Enum.SurfaceType.Weld
- Part19.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part19.Position = Vector3.new(-75.5046539, 1.50001287, 90.893486)
- Part19.Orientation = Vector3.new(0, -90.0199966, 0)
- Part19.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part20.Name = "Head"
- Part20.Parent = Model0
- Part20.BrickColor = BrickColor.new("Cool yellow")
- Part20.Rotation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part20.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part20.Velocity = Vector3.new(0.0102449656, 505.493469, 14.0209999)
- Part20.Friction = 0
- Part20.Size = Vector3.new(8, 1.20000005, 7)
- Part20.CFrame = CFrame.new(-69.0014343, 10.4922295, 82.9232178, 0.999999642, 0.00019764973, -0.000852700497, -0.000247427291, 0.998271108, -0.0587769933, 0.000839609012, 0.0587771796, 0.99827075)
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part20.Position = Vector3.new(-69.0014343, 10.4922295, 82.9232178)
- Part20.Orientation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part20.Color = Color3.new(0.992157, 0.917647, 0.552941)
- Part21.Name = "Smooth Block Model"
- Part21.Parent = Model0
- Part21.BrickColor = BrickColor.new("Black")
- Part21.Rotation = Vector3.new(0, 89.9799957, 0)
- Part21.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part21.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part21.Size = Vector3.new(24, 2.4000001, 5)
- Part21.CFrame = CFrame.new(-75.5011139, 4.20001078, 81.3934937, 0.000372457987, -1.6823799e-19, 0.99999994, 1.61997235e-19, 1, 1.68177658e-19, -0.99999994, 1.61933698e-19, 0.000372457987)
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part21.Position = Vector3.new(-75.5011139, 4.20001078, 81.3934937)
- Part21.Orientation = Vector3.new(0, 89.9799957, 0)
- Part21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh22.Parent = Part21
- SpecialMesh22.MeshType = Enum.MeshType.Torso
- Part23.Name = "Smooth Block Model"
- Part23.Parent = Model0
- Part23.BrickColor = BrickColor.new("Black")
- Part23.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part23.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part23.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part23.Size = Vector3.new(2, 2.4000001, 3)
- Part23.CFrame = CFrame.new(-71.9994278, 9.00001144, 76.894783, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997171e-19, 0.000372457987, 1.61933762e-19, 0.99999994)
- Part23.BackSurface = Enum.SurfaceType.Weld
- Part23.BottomSurface = Enum.SurfaceType.Weld
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part23.Position = Vector3.new(-71.9994278, 9.00001144, 76.894783)
- Part23.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh24.Parent = Part23
- SpecialMesh24.MeshType = Enum.MeshType.Wedge
- Part25.Name = "Smooth Block Model"
- Part25.Parent = Model0
- Part25.BrickColor = BrickColor.new("Black")
- Part25.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part25.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part25.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part25.Size = Vector3.new(2, 2.4000001, 1)
- Part25.CFrame = CFrame.new(-72.0001907, 9.00001144, 78.894783, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997184e-19, 0.000372457987, 1.61933749e-19, 0.99999994)
- Part25.BackSurface = Enum.SurfaceType.Weld
- Part25.BottomSurface = Enum.SurfaceType.Weld
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part25.Position = Vector3.new(-72.0001907, 9.00001144, 78.894783)
- Part25.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part25.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part26.Name = "Smooth Block Model"
- Part26.Parent = Model0
- Part26.BrickColor = BrickColor.new("Dark stone grey")
- Part26.Rotation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part26.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part26.Velocity = Vector3.new(-0.0241864882, 561.335266, 59.4531593)
- Part26.Size = Vector3.new(2, 2.4000001, 2)
- Part26.CFrame = CFrame.new(-71.9989471, 12.4367971, 80.5308304, 0.999999642, 0.000197649715, -0.000852700497, -0.000247427321, 0.998271108, -0.0587769933, 0.000839608954, 0.0587771758, 0.99827069)
- Part26.BackSurface = Enum.SurfaceType.Weld
- Part26.BottomSurface = Enum.SurfaceType.Weld
- Part26.TopSurface = Enum.SurfaceType.Smooth
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part26.Position = Vector3.new(-71.9989471, 12.4367971, 80.5308304)
- Part26.Orientation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part26.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh27.Parent = Part26
- SpecialMesh27.MeshType = Enum.MeshType.Wedge
- Part28.Name = "Smooth Block Model"
- Part28.Parent = Model0
- Part28.BrickColor = BrickColor.new("Black")
- Part28.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part28.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part28.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part28.Size = Vector3.new(8, 2.4000001, 18)
- Part28.CFrame = CFrame.new(-69.0011063, 4.2000103, 81.3959045, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997158e-19, 0.000372457987, 1.61933775e-19, 0.99999994)
- Part28.BottomSurface = Enum.SurfaceType.Smooth
- Part28.LeftSurface = Enum.SurfaceType.Weld
- Part28.RightSurface = Enum.SurfaceType.Weld
- Part28.TopSurface = Enum.SurfaceType.Weld
- Part28.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part28.Position = Vector3.new(-69.0011063, 4.2000103, 81.3959045)
- Part28.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part28.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part29.Name = "Smooth Block Model"
- Part29.Parent = Model0
- Part29.BrickColor = BrickColor.new("Black")
- Part29.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part29.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part29.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part29.Size = Vector3.new(8, 2.4000001, 3)
- Part29.CFrame = CFrame.new(-68.9983292, 6.60000992, 73.8959045, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997313e-19, 0.000372457987, 1.6193362e-19, 0.99999994)
- Part29.BackSurface = Enum.SurfaceType.Weld
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part29.Position = Vector3.new(-68.9983292, 6.60000992, 73.8959045)
- Part29.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.MeshType = Enum.MeshType.Wedge
- Part31.Name = "Smooth Block Model"
- Part31.Parent = Model0
- Part31.BrickColor = BrickColor.new("Black")
- Part31.Rotation = Vector3.new(-180, 0.0199999996, 180)
- Part31.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part31.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part31.Size = Vector3.new(8, 2.4000001, 4)
- Part31.CFrame = CFrame.new(-69.0037308, 9.00001144, 88.3959045, -0.99999994, -1.6823799e-19, 0.000372457987, -1.68177658e-19, 1, 1.61997171e-19, -0.000372457987, 1.61933762e-19, -0.99999994)
- Part31.BackSurface = Enum.SurfaceType.Weld
- Part31.BottomSurface = Enum.SurfaceType.Weld
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part31.Position = Vector3.new(-69.0037308, 9.00001144, 88.3959045)
- Part31.Orientation = Vector3.new(0, 179.979996, 0)
- Part31.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh32.Parent = Part31
- SpecialMesh32.MeshType = Enum.MeshType.Wedge
- Part33.Name = "Smooth Block Model"
- Part33.Parent = Model0
- Part33.BrickColor = BrickColor.new("Dark stone grey")
- Part33.Rotation = Vector3.new(-176.62999, 0.049999997, -179.98999)
- Part33.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part33.Velocity = Vector3.new(-0.0188286118, 444.713745, 52.5695648)
- Part33.Size = Vector3.new(8, 2.4000001, 2)
- Part33.CFrame = CFrame.new(-69.0032196, 12.1421719, 85.5246887, -0.999999642, 0.000197649715, 0.000852700497, 0.000247427321, 0.998271108, 0.0587769933, -0.000839608954, 0.0587771758, -0.99827069)
- Part33.BackSurface = Enum.SurfaceType.Weld
- Part33.BottomSurface = Enum.SurfaceType.Weld
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part33.Position = Vector3.new(-69.0032196, 12.1421719, 85.5246887)
- Part33.Orientation = Vector3.new(-3.36999989, 179.949997, 0.00999999978)
- Part33.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh34.Parent = Part33
- SpecialMesh34.MeshType = Enum.MeshType.Wedge
- Part35.Name = "Smooth Block Model"
- Part35.Parent = Model0
- Part35.BrickColor = BrickColor.new("Dark stone grey")
- Part35.Rotation = Vector3.new(-176.62999, 0.049999997, -179.98999)
- Part35.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part35.Velocity = Vector3.new(-0.021500919, 503.021515, 56.002594)
- Part35.Size = Vector3.new(8, 2.4000001, 3)
- Part35.CFrame = CFrame.new(-69.0010834, 12.2891111, 83.0290222, -0.999999642, 0.000197649715, 0.000852700497, 0.000247427321, 0.998271108, 0.0587769933, -0.000839608954, 0.0587771758, -0.99827069)
- Part35.BottomSurface = Enum.SurfaceType.Weld
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part35.Position = Vector3.new(-69.0010834, 12.2891111, 83.0290222)
- Part35.Orientation = Vector3.new(-3.36999989, 179.949997, 0.00999999978)
- Part35.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part36.Name = "Smooth Block Model"
- Part36.Parent = Model0
- Part36.BrickColor = BrickColor.new("Black")
- Part36.Rotation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part36.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part36.Velocity = Vector3.new(-0.0263112579, 607.975891, 62.1822968)
- Part36.Size = Vector3.new(2, 1.20000005, 6)
- Part36.CFrame = CFrame.new(-68.9972382, 12.5536127, 78.5368042, 0.999999642, 0.000197649671, -0.000852700497, -0.00024742735, 0.998271108, -0.0587769933, 0.000839608838, 0.0587771684, 0.998270571)
- Part36.BackSurface = Enum.SurfaceType.Weld
- Part36.BottomSurface = Enum.SurfaceType.Weld
- Part36.TopSurface = Enum.SurfaceType.Smooth
- Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part36.Position = Vector3.new(-68.9972382, 12.5536127, 78.5368042)
- Part36.Orientation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part36.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part37.Name = "Smooth Block Model"
- Part37.Parent = Model0
- Part37.BrickColor = BrickColor.new("Black")
- Part37.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part37.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part37.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part37.Size = Vector3.new(2, 2.4000001, 1)
- Part37.CFrame = CFrame.new(-66.0001755, 9.00001144, 78.8970337, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997132e-19, 0.000372457987, 1.61933801e-19, 0.99999994)
- Part37.BackSurface = Enum.SurfaceType.Weld
- Part37.BottomSurface = Enum.SurfaceType.Weld
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part37.Position = Vector3.new(-66.0001755, 9.00001144, 78.8970337)
- Part37.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part38.Name = "Smooth Block Model"
- Part38.Parent = Model0
- Part38.BrickColor = BrickColor.new("Dark stone grey")
- Part38.Rotation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part38.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part38.Velocity = Vector3.new(-0.0241601355, 561.323608, 59.4183273)
- Part38.Size = Vector3.new(2, 2.4000001, 2)
- Part38.CFrame = CFrame.new(-65.9989548, 12.4353142, 80.5358658, 0.999999642, 0.000197649715, -0.000852700497, -0.000247427321, 0.998271108, -0.0587769933, 0.000839608954, 0.0587771758, 0.99827069)
- Part38.BackSurface = Enum.SurfaceType.Weld
- Part38.BottomSurface = Enum.SurfaceType.Weld
- Part38.TopSurface = Enum.SurfaceType.Smooth
- Part38.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part38.Position = Vector3.new(-65.9989548, 12.4353142, 80.5358658)
- Part38.Orientation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part38.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh39.Parent = Part38
- SpecialMesh39.MeshType = Enum.MeshType.Wedge
- Part40.Name = "Smooth Block Model"
- Part40.Parent = Model0
- Part40.BrickColor = BrickColor.new("Black")
- Part40.Rotation = Vector3.new(180, -89.9799957, 180)
- Part40.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part40.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part40.Size = Vector3.new(24, 2.4000001, 5)
- Part40.CFrame = CFrame.new(-62.5011063, 4.20001078, 81.3983154, -0.000372457987, -1.6823799e-19, -0.99999994, -1.61997235e-19, 1, -1.68177658e-19, 0.99999994, 1.61933698e-19, -0.000372457987)
- Part40.BottomSurface = Enum.SurfaceType.Smooth
- Part40.TopSurface = Enum.SurfaceType.Smooth
- Part40.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part40.Position = Vector3.new(-62.5011063, 4.20001078, 81.3983154)
- Part40.Orientation = Vector3.new(0, -90.0199966, 0)
- Part40.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh41.Parent = Part40
- SpecialMesh41.MeshType = Enum.MeshType.Torso
- Part42.Name = "Smooth Block Model"
- Part42.Parent = Model0
- Part42.BrickColor = BrickColor.new("Black")
- Part42.Rotation = Vector3.new(0, -0.0199999996, 0)
- Part42.RotVelocity = Vector3.new(1.07042091e-20, 9.1191745e-15, 1.11478525e-20)
- Part42.Velocity = Vector3.new(0.00145118148, 326.051239, -2.50513101)
- Part42.Size = Vector3.new(2, 2.4000001, 3)
- Part42.CFrame = CFrame.new(-65.9994354, 9.00001144, 76.8970337, 0.99999994, -1.6823799e-19, -0.000372457987, 1.68177658e-19, 1, -1.61997158e-19, 0.000372457987, 1.61933775e-19, 0.99999994)
- Part42.BackSurface = Enum.SurfaceType.Weld
- Part42.BottomSurface = Enum.SurfaceType.Weld
- Part42.TopSurface = Enum.SurfaceType.Smooth
- Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part42.Position = Vector3.new(-65.9994354, 9.00001144, 76.8970337)
- Part42.Orientation = Vector3.new(0, -0.0199999996, 0)
- Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh43.Parent = Part42
- SpecialMesh43.MeshType = Enum.MeshType.Wedge
- Model44.Name = "Aim"
- Model44.Parent = Model0
- Model44.PrimaryPart = Part45
- Part45.Name = "Head"
- Part45.Parent = Model44
- Part45.BrickColor = BrickColor.new("Bright yellow")
- Part45.Transparency = 1
- Part45.Rotation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part45.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part45.Velocity = Vector3.new(-0.0328851417, 712.793335, 70.6941605)
- Part45.FormFactor = Enum.FormFactor.Plate
- Part45.Friction = 0
- Part45.Size = Vector3.new(2, 0.400000006, 1)
- Part45.CFrame = CFrame.new(-68.9933929, 12.9179344, 74.0504456, 0.999999642, 0.000197649613, -0.000852700497, -0.000247427408, 0.998271108, -0.0587769933, 0.000839608663, 0.0587771572, 0.998270392)
- Part45.BackSurface = Enum.SurfaceType.Weld
- Part45.TopSurface = Enum.SurfaceType.Smooth
- Part45.Color = Color3.new(0.960784, 0.803922, 0.188235)
- Part45.Position = Vector3.new(-68.9933929, 12.9179344, 74.0504456)
- Part45.Orientation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part45.Color = Color3.new(0.960784, 0.803922, 0.188235)
- SpecialMesh46.Parent = Part45
- SpecialMesh46.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh46.Scale = Vector3.new(1.25, 1.25, 1.25)
- Part47.Name = "Torso"
- Part47.Parent = Model44
- Part47.BrickColor = BrickColor.new("Bright red")
- Part47.Transparency = 1
- Part47.Rotation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part47.RotVelocity = Vector3.new(23.3635826, 3.04661226e-05, 0.0176690016)
- Part47.Velocity = Vector3.new(-0.0258305129, 713.342346, 61.364933)
- Part47.FormFactor = Enum.FormFactor.Plate
- Part47.Friction = 0
- Part47.Size = Vector3.new(2, 0.400000006, 1)
- Part47.CFrame = CFrame.new(-68.9934616, 12.5186281, 74.026947, 0.999999642, 0.000197649613, -0.000852700497, -0.000247427408, 0.998271108, -0.0587769933, 0.000839608663, 0.0587771572, 0.998270392)
- Part47.BackSurface = Enum.SurfaceType.Weld
- Part47.BottomSurface = Enum.SurfaceType.Smooth
- Part47.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part47.Position = Vector3.new(-68.9934616, 12.5186281, 74.026947)
- Part47.Orientation = Vector3.new(3.36999989, -0.049999997, -0.00999999978)
- Part47.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Snap48.Name = "Neck"
- Snap48.Parent = Part47
- Snap48.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Snap48.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- Motor49.Name = "Left Hip"
- Motor49.Parent = Part47
- Motor49.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor49.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Motor49.MaxVelocity = 0.10000000149012
- Motor50.Name = "Left Shoulder"
- Motor50.Parent = Part47
- Motor50.C0 = CFrame.new(2, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- Motor50.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
- Motor50.MaxVelocity = 0.15000000596046
- Motor51.Name = "Right Hip"
- Motor51.Parent = Part47
- Motor51.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Motor51.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Motor51.MaxVelocity = 0.10000000149012
- Motor52.Name = "Right Shoulder"
- Motor52.Parent = Part47
- Motor52.C0 = CFrame.new(-2, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Motor52.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
- Motor52.MaxVelocity = 0.15000000596046
- Humanoid53.Name = "Alien"
- Humanoid53.Parent = Model44
- Humanoid53.Torso = Part47
- BodyColors54.Parent = Model44
- BodyColors54.HeadColor = BrickColor.new("Bright yellow")
- BodyColors54.LeftArmColor = BrickColor.new("Medium stone grey")
- BodyColors54.LeftLegColor = BrickColor.new("Brick yellow")
- BodyColors54.RightArmColor = BrickColor.new("Medium stone grey")
- BodyColors54.RightLegColor = BrickColor.new("Brick yellow")
- BodyColors54.TorsoColor = BrickColor.new("Bright red")
- Script55.Parent = Model44
- table.insert(cors,sandbox(Script55,function()
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 1000
- 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) then
- temp = temp2:findFirstChild("Torso")
- human = temp2:findFirstChild("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- while true do
- wait(1)
- local target = findNearestTorso(script.Parent.Torso.Position)
- if target ~= nil then
- script.Parent.Alien:MoveTo(target.Position, target)
- end
- end
- end))
- IntValue56.Name = "Mode"
- IntValue56.Parent = Model44
- Script57.Name = "KO"
- Script57.Parent = Model0
- table.insert(cors,sandbox(Script57,function()
- local Humanoid = script.Parent.Alien -- Or Zombie Or Whatever
- function PwntX_X()
- local tag = Humanoid:findFirstChild("creator")
- if tag ~= nil then
- if tag.Value ~= nil then
- local Leaderstats = tag.Value:findFirstChild("leaderstats")
- if Leaderstats ~= nil then
- Leaderstats.KOs.Value = Leaderstats.KOs.Value + 3
- wait(0.1)
- end
- end
- end
- end
- Humanoid.Died:connect(PwntX_X)
- end))
- Script58.Name = "GunRemove"
- Script58.Parent = Model0
- table.insert(cors,sandbox(Script58,function()
- local Humanoid = script.Parent.Alien -- Or Zombie Or Whatever
- function PwntX_X()
- local tag = Humanoid:findFirstChild("creator")
- if tag ~= nil then
- if tag.Value ~= nil then
- Humanoid.Parent.Sphere:remove()
- wait(0.1)
- script:remove()
- end
- end
- end
- Humanoid.Died:connect(PwntX_X)
- end))
- Script59.Name = "GunRemove"
- Script59.Parent = Model0
- table.insert(cors,sandbox(Script59,function()
- local Humanoid = script.Parent.Alien -- Or Zombie Or Whatever
- function PwntX_X()
- Humanoid.Parent.Sphere:remove()
- wait(0.1)
- script:remove()
- end
- Humanoid.Died:connect(PwntX_X)
- end))
- Script60.Name = "RocketScript"
- Script60.Parent = Model0
- Script60.Disabled = true
- table.insert(cors,sandbox(Script60,function()
- r = game:service("RunService")
- shaft = script.Parent
- position = shaft.Position
- script.Parent.Explosion.PlayOnRemove = false -- play explosion sound when projectile removed from game
- function fly()
- direction = shaft.CFrame.lookVector
- position = position + direction
- error = position - shaft.Position
- shaft.Velocity = 7*error
- end
- function blow()
- swoosh:stop()
- explosion = Instance.new("Explosion")
- explosion.Position = shaft.Position
- -- find instigator tag
- local creator = script.Parent:findFirstChild("creator")
- if creator ~= nil then
- explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
- end
- explosion.Parent = game.Workspace
- connection:disconnect()
- wait(.1)
- shaft:remove()
- end
- function onPlayerBlownUp(part, distance, creator)
- if part.Name == "Head" then
- local humanoid = part.Parent:findFirstChild("Humanoid")
- tagHumanoid(humanoid, creator)
- end
- end
- function tagHumanoid(humanoid, creator)
- -- tag does not need to expire iff all explosions lethal
- if creator ~= nil then
- local new_tag = creator:clone()
- new_tag.Parent = humanoid
- end
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- t, s = r.Stepped:wait()
- swoosh = script.Parent.Swoosh
- d = t + 10.0 - s
- connection = shaft.Touched:connect(blow)
- while t < d do
- fly()
- t = r.Stepped:wait()
- end
- -- at max range
- script.Parent.Explosion.PlayOnRemove = false
- shaft:remove()
- 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