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")
- Part2 = Instance.new("Part")
- BlockMesh3 = Instance.new("BlockMesh")
- Part4 = Instance.new("Part")
- BlockMesh5 = Instance.new("BlockMesh")
- Part6 = Instance.new("Part")
- BlockMesh7 = Instance.new("BlockMesh")
- Part8 = Instance.new("Part")
- BlockMesh9 = Instance.new("BlockMesh")
- Model10 = Instance.new("Model")
- Part11 = Instance.new("Part")
- ClickDetector12 = Instance.new("ClickDetector")
- BlockMesh13 = Instance.new("BlockMesh")
- Script14 = Instance.new("Script")
- NumberValue15 = Instance.new("NumberValue")
- Model16 = Instance.new("Model")
- Part17 = Instance.new("Part")
- ClickDetector18 = Instance.new("ClickDetector")
- Decal19 = Instance.new("Decal")
- BlockMesh20 = Instance.new("BlockMesh")
- Part21 = Instance.new("Part")
- ClickDetector22 = Instance.new("ClickDetector")
- Decal23 = Instance.new("Decal")
- BlockMesh24 = Instance.new("BlockMesh")
- Part25 = Instance.new("Part")
- ClickDetector26 = Instance.new("ClickDetector")
- Decal27 = Instance.new("Decal")
- BlockMesh28 = Instance.new("BlockMesh")
- Part29 = Instance.new("Part")
- ClickDetector30 = Instance.new("ClickDetector")
- Decal31 = Instance.new("Decal")
- BlockMesh32 = Instance.new("BlockMesh")
- Part33 = Instance.new("Part")
- ClickDetector34 = Instance.new("ClickDetector")
- Decal35 = Instance.new("Decal")
- BlockMesh36 = Instance.new("BlockMesh")
- Part37 = Instance.new("Part")
- ClickDetector38 = Instance.new("ClickDetector")
- Decal39 = Instance.new("Decal")
- BlockMesh40 = Instance.new("BlockMesh")
- Part41 = Instance.new("Part")
- ClickDetector42 = Instance.new("ClickDetector")
- Decal43 = Instance.new("Decal")
- BlockMesh44 = Instance.new("BlockMesh")
- Part45 = Instance.new("Part")
- ClickDetector46 = Instance.new("ClickDetector")
- Decal47 = Instance.new("Decal")
- BlockMesh48 = Instance.new("BlockMesh")
- Part49 = Instance.new("Part")
- ClickDetector50 = Instance.new("ClickDetector")
- Decal51 = Instance.new("Decal")
- BlockMesh52 = Instance.new("BlockMesh")
- Part53 = Instance.new("Part")
- ClickDetector54 = Instance.new("ClickDetector")
- Decal55 = Instance.new("Decal")
- BlockMesh56 = Instance.new("BlockMesh")
- Part57 = Instance.new("Part")
- ClickDetector58 = Instance.new("ClickDetector")
- Decal59 = Instance.new("Decal")
- BlockMesh60 = Instance.new("BlockMesh")
- Part61 = Instance.new("Part")
- ClickDetector62 = Instance.new("ClickDetector")
- Decal63 = Instance.new("Decal")
- BlockMesh64 = Instance.new("BlockMesh")
- Script65 = Instance.new("Script")
- Part66 = Instance.new("Part")
- BlockMesh67 = Instance.new("BlockMesh")
- Part68 = Instance.new("Part")
- BlockMesh69 = Instance.new("BlockMesh")
- Part70 = Instance.new("Part")
- BlockMesh71 = Instance.new("BlockMesh")
- Part72 = Instance.new("Part")
- BlockMesh73 = Instance.new("BlockMesh")
- Part74 = Instance.new("Part")
- BlockMesh75 = Instance.new("BlockMesh")
- Model76 = Instance.new("Model")
- Model77 = Instance.new("Model")
- Humanoid78 = Instance.new("Humanoid")
- Part79 = Instance.new("Part")
- Model80 = Instance.new("Model")
- Part81 = Instance.new("Part")
- Part82 = Instance.new("Part")
- Part83 = Instance.new("Part")
- Tool84 = Instance.new("Tool")
- Script85 = Instance.new("Script")
- Part86 = Instance.new("Part")
- SpecialMesh87 = Instance.new("SpecialMesh")
- Script88 = Instance.new("Script")
- Part89 = Instance.new("Part")
- Part90 = Instance.new("Part")
- Part91 = Instance.new("Part")
- Script92 = Instance.new("Script")
- Model93 = Instance.new("Model")
- Model94 = Instance.new("Model")
- Model95 = Instance.new("Model")
- Part96 = Instance.new("Part")
- Part97 = Instance.new("Part")
- CylinderMesh98 = Instance.new("CylinderMesh")
- Part99 = Instance.new("Part")
- SpecialMesh100 = Instance.new("SpecialMesh")
- Part101 = Instance.new("Part")
- SpecialMesh102 = Instance.new("SpecialMesh")
- Part103 = Instance.new("Part")
- SpecialMesh104 = Instance.new("SpecialMesh")
- Part105 = Instance.new("Part")
- SpecialMesh106 = Instance.new("SpecialMesh")
- Part107 = Instance.new("Part")
- BlockMesh108 = Instance.new("BlockMesh")
- Part109 = Instance.new("Part")
- BlockMesh110 = Instance.new("BlockMesh")
- Part111 = Instance.new("Part")
- BlockMesh112 = Instance.new("BlockMesh")
- Part113 = Instance.new("Part")
- CylinderMesh114 = Instance.new("CylinderMesh")
- Part115 = Instance.new("Part")
- CylinderMesh116 = Instance.new("CylinderMesh")
- Part117 = Instance.new("Part")
- CylinderMesh118 = Instance.new("CylinderMesh")
- Part119 = Instance.new("Part")
- CylinderMesh120 = Instance.new("CylinderMesh")
- Part121 = Instance.new("Part")
- SpecialMesh122 = Instance.new("SpecialMesh")
- Part123 = Instance.new("Part")
- SpecialMesh124 = Instance.new("SpecialMesh")
- Part125 = Instance.new("Part")
- CylinderMesh126 = Instance.new("CylinderMesh")
- Part127 = Instance.new("Part")
- CylinderMesh128 = Instance.new("CylinderMesh")
- Part129 = Instance.new("Part")
- CylinderMesh130 = Instance.new("CylinderMesh")
- Part131 = Instance.new("Part")
- CylinderMesh132 = Instance.new("CylinderMesh")
- Part133 = Instance.new("Part")
- CylinderMesh134 = Instance.new("CylinderMesh")
- Part135 = Instance.new("Part")
- SpecialMesh136 = Instance.new("SpecialMesh")
- Part137 = Instance.new("Part")
- SpecialMesh138 = Instance.new("SpecialMesh")
- Part139 = Instance.new("Part")
- SpecialMesh140 = Instance.new("SpecialMesh")
- Part141 = Instance.new("Part")
- SpecialMesh142 = Instance.new("SpecialMesh")
- Part143 = Instance.new("Part")
- CylinderMesh144 = Instance.new("CylinderMesh")
- Part145 = Instance.new("Part")
- SpecialMesh146 = Instance.new("SpecialMesh")
- Part147 = Instance.new("Part")
- SpecialMesh148 = Instance.new("SpecialMesh")
- Part149 = Instance.new("Part")
- CylinderMesh150 = Instance.new("CylinderMesh")
- Part151 = Instance.new("Part")
- Script152 = Instance.new("Script")
- Script153 = Instance.new("Script")
- Script154 = Instance.new("Script")
- Script155 = Instance.new("Script")
- Script156 = Instance.new("Script")
- CylinderMesh157 = Instance.new("CylinderMesh")
- Script158 = Instance.new("Script")
- Script159 = Instance.new("Script")
- Script160 = Instance.new("Script")
- Sound161 = Instance.new("Sound")
- Model162 = Instance.new("Model")
- Model163 = Instance.new("Model")
- Model164 = Instance.new("Model")
- Part165 = Instance.new("Part")
- Part166 = Instance.new("Part")
- Part167 = Instance.new("Part")
- Part168 = Instance.new("Part")
- Part169 = Instance.new("Part")
- Part170 = Instance.new("Part")
- Script171 = Instance.new("Script")
- Model172 = Instance.new("Model")
- Humanoid173 = Instance.new("Humanoid")
- Part174 = Instance.new("Part")
- Tool175 = Instance.new("Tool")
- Part176 = Instance.new("Part")
- Sound177 = Instance.new("Sound")
- Sound178 = Instance.new("Sound")
- SpecialMesh179 = Instance.new("SpecialMesh")
- Weld180 = Instance.new("Weld")
- Weld181 = Instance.new("Weld")
- Script182 = Instance.new("Script")
- NumberValue183 = Instance.new("NumberValue")
- NumberValue184 = Instance.new("NumberValue")
- NumberValue185 = Instance.new("NumberValue")
- Part186 = Instance.new("Part")
- SpecialMesh187 = Instance.new("SpecialMesh")
- Weld188 = Instance.new("Weld")
- Weld189 = Instance.new("Weld")
- Part190 = Instance.new("Part")
- LocalScript191 = Instance.new("LocalScript")
- Script192 = Instance.new("Script")
- LocalScript193 = Instance.new("LocalScript")
- Script194 = Instance.new("Script")
- LocalScript195 = Instance.new("LocalScript")
- Script196 = Instance.new("Script")
- Model0.Parent = mas
- Model1.Name = "Code Room"
- Model1.Parent = Model0
- Part2.Parent = Model1
- Part2.Rotation = Vector3.new(0, 90, 0)
- Part2.FormFactor = Enum.FormFactor.Symmetric
- Part2.Size = Vector3.new(24, 1, 39)
- Part2.CFrame = CFrame.new(24.5, 12.4999876, 98, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part2.BottomSurface = Enum.SurfaceType.Smooth
- Part2.TopSurface = Enum.SurfaceType.Smooth
- Part2.Position = Vector3.new(24.5, 12.4999876, 98)
- Part2.Orientation = Vector3.new(0, 90, 0)
- BlockMesh3.Parent = Part2
- Part4.Parent = Model1
- Part4.Rotation = Vector3.new(0, 90, 0)
- Part4.FormFactor = Enum.FormFactor.Symmetric
- Part4.Size = Vector3.new(16, 11, 1)
- Part4.CFrame = CFrame.new(5.5, 6.49999714, 102, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.Position = Vector3.new(5.5, 6.49999714, 102)
- Part4.Orientation = Vector3.new(0, 90, 0)
- BlockMesh5.Parent = Part4
- Part6.Parent = Model1
- Part6.Rotation = Vector3.new(0, 90, 0)
- Part6.FormFactor = Enum.FormFactor.Symmetric
- Part6.Size = Vector3.new(6, 3, 1)
- Part6.CFrame = CFrame.new(5.5, 10.4999876, 91, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.Position = Vector3.new(5.5, 10.4999876, 91)
- Part6.Orientation = Vector3.new(0, 90, 0)
- BlockMesh7.Parent = Part6
- Part8.Parent = Model1
- Part8.Rotation = Vector3.new(0, 90, 0)
- Part8.FormFactor = Enum.FormFactor.Symmetric
- Part8.Size = Vector3.new(2, 11, 1)
- Part8.CFrame = CFrame.new(5.5, 6.49999714, 87, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part8.BottomSurface = Enum.SurfaceType.Smooth
- Part8.TopSurface = Enum.SurfaceType.Smooth
- Part8.Position = Vector3.new(5.5, 6.49999714, 87)
- Part8.Orientation = Vector3.new(0, 90, 0)
- BlockMesh9.Parent = Part8
- Model10.Name = "Code Door"
- Model10.Parent = Model1
- Part11.Name = "Open"
- Part11.Parent = Model10
- Part11.BrickColor = BrickColor.new("Bright green")
- Part11.Rotation = Vector3.new(-90, 0, 90)
- Part11.FormFactor = Enum.FormFactor.Plate
- Part11.Size = Vector3.new(1, 0.400000006, 1)
- Part11.CFrame = CFrame.new(6.20001221, 5.49440289, 96.5, -1.6631635e-09, -1, -2.36461347e-07, 5.3455733e-07, 2.36461347e-07, 1, -1, -1.6631635e-09, -5.3455733e-07)
- Part11.BackSurface = Enum.SurfaceType.Weld
- Part11.BottomSurface = Enum.SurfaceType.Weld
- Part11.FrontSurface = Enum.SurfaceType.Weld
- Part11.LeftSurface = Enum.SurfaceType.Weld
- Part11.RightSurface = Enum.SurfaceType.Weld
- Part11.TopSurface = Enum.SurfaceType.Weld
- Part11.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part11.Position = Vector3.new(6.20001221, 5.49440289, 96.5)
- Part11.Orientation = Vector3.new(-90, 90, 0)
- Part11.Color = Color3.new(0.294118, 0.592157, 0.294118)
- ClickDetector12.Parent = Part11
- ClickDetector12.MaxActivationDistance = 5
- BlockMesh13.Parent = Part11
- Script14.Parent = Part11
- table.insert(cors,sandbox(Script14,function()
- door = script.Parent.Parent.Door
- function clicked()
- if script.Value.Value == 0 then
- print("Opened")
- script.Value.Value = 1
- local door = script.Parent.Parent.Door
- door.CanCollide = false
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = 0.8
- wait(3)--
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = 0
- door.CanCollide = true
- script.Value.Value = 0
- end
- end
- script.Parent.ClickDetector.MouseClick:connect(clicked)
- end))
- NumberValue15.Parent = Script14
- Model16.Name = "KeyPad"
- Model16.Parent = Model10
- Part17.Name = "B9"
- Part17.Parent = Model16
- Part17.BrickColor = BrickColor.new("Institutional white")
- Part17.Rotation = Vector3.new(-90, 0, 90)
- Part17.FormFactor = Enum.FormFactor.Plate
- Part17.Size = Vector3.new(1, 0.400000006, 1)
- Part17.CFrame = CFrame.new(4.79998779, 5.69462347, 97.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part17.BottomSurface = Enum.SurfaceType.Weld
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part17.Position = Vector3.new(4.79998779, 5.69462347, 97.5)
- Part17.Orientation = Vector3.new(-90, 90, 0)
- Part17.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector18.Parent = Part17
- ClickDetector18.MaxActivationDistance = 20
- Decal19.Parent = Part17
- Decal19.Texture = "http://www.roblox.com/asset/?id=2761971"
- Decal19.Face = Enum.NormalId.Top
- BlockMesh20.Parent = Part17
- Part21.Name = "B7"
- Part21.Parent = Model16
- Part21.BrickColor = BrickColor.new("Institutional white")
- Part21.Rotation = Vector3.new(-90, 0, 90)
- Part21.FormFactor = Enum.FormFactor.Plate
- Part21.Size = Vector3.new(1, 0.400000006, 1)
- Part21.CFrame = CFrame.new(4.79998779, 5.69462395, 95.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part21.BottomSurface = Enum.SurfaceType.Weld
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part21.Position = Vector3.new(4.79998779, 5.69462395, 95.5)
- Part21.Orientation = Vector3.new(-90, 90, 0)
- Part21.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector22.Parent = Part21
- ClickDetector22.MaxActivationDistance = 20
- Decal23.Parent = Part21
- Decal23.Texture = "http://www.roblox.com/asset/?id=2761956"
- Decal23.Face = Enum.NormalId.Top
- BlockMesh24.Parent = Part21
- Part25.Name = "B8"
- Part25.Parent = Model16
- Part25.BrickColor = BrickColor.new("Institutional white")
- Part25.Rotation = Vector3.new(-90, 0, 90)
- Part25.FormFactor = Enum.FormFactor.Plate
- Part25.Size = Vector3.new(1, 0.400000006, 1)
- Part25.CFrame = CFrame.new(4.79998779, 5.69462395, 96.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part25.BottomSurface = Enum.SurfaceType.Weld
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part25.Position = Vector3.new(4.79998779, 5.69462395, 96.5)
- Part25.Orientation = Vector3.new(-90, 90, 0)
- Part25.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector26.Parent = Part25
- ClickDetector26.MaxActivationDistance = 20
- Decal27.Parent = Part25
- Decal27.Texture = "http://www.roblox.com/asset/?id=2761961"
- Decal27.Face = Enum.NormalId.Top
- BlockMesh28.Parent = Part25
- Part29.Name = "B6"
- Part29.Parent = Model16
- Part29.BrickColor = BrickColor.new("Institutional white")
- Part29.Rotation = Vector3.new(-90, 0, 90)
- Part29.FormFactor = Enum.FormFactor.Plate
- Part29.Size = Vector3.new(1, 0.400000006, 1)
- Part29.CFrame = CFrame.new(4.79998779, 6.69462347, 97.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part29.BottomSurface = Enum.SurfaceType.Weld
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part29.Position = Vector3.new(4.79998779, 6.69462347, 97.5)
- Part29.Orientation = Vector3.new(-90, 90, 0)
- Part29.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector30.Parent = Part29
- ClickDetector30.MaxActivationDistance = 20
- Decal31.Parent = Part29
- Decal31.Texture = "http://www.roblox.com/asset/?id=2761948"
- Decal31.Face = Enum.NormalId.Top
- BlockMesh32.Parent = Part29
- Part33.Name = "B5"
- Part33.Parent = Model16
- Part33.BrickColor = BrickColor.new("Institutional white")
- Part33.Rotation = Vector3.new(-90, 0, 90)
- Part33.FormFactor = Enum.FormFactor.Plate
- Part33.Size = Vector3.new(1, 0.400000006, 1)
- Part33.CFrame = CFrame.new(4.79998779, 6.69462395, 96.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part33.BottomSurface = Enum.SurfaceType.Weld
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part33.Position = Vector3.new(4.79998779, 6.69462395, 96.5)
- Part33.Orientation = Vector3.new(-90, 90, 0)
- Part33.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector34.Parent = Part33
- ClickDetector34.MaxActivationDistance = 20
- Decal35.Parent = Part33
- Decal35.Texture = "http://www.roblox.com/asset/?id=2761943"
- Decal35.Face = Enum.NormalId.Top
- BlockMesh36.Parent = Part33
- Part37.Name = "B4"
- Part37.Parent = Model16
- Part37.BrickColor = BrickColor.new("Institutional white")
- Part37.Rotation = Vector3.new(-90, 0, 90)
- Part37.FormFactor = Enum.FormFactor.Plate
- Part37.Size = Vector3.new(1, 0.400000006, 1)
- Part37.CFrame = CFrame.new(4.79998779, 6.69462395, 95.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part37.BottomSurface = Enum.SurfaceType.Weld
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part37.Position = Vector3.new(4.79998779, 6.69462395, 95.5)
- Part37.Orientation = Vector3.new(-90, 90, 0)
- Part37.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector38.Parent = Part37
- ClickDetector38.MaxActivationDistance = 10
- Decal39.Parent = Part37
- Decal39.Texture = "http://www.roblox.com/asset/?id=2761938"
- Decal39.Face = Enum.NormalId.Top
- BlockMesh40.Parent = Part37
- Part41.Name = "B3"
- Part41.Parent = Model16
- Part41.BrickColor = BrickColor.new("Institutional white")
- Part41.Rotation = Vector3.new(-90, 0, 90)
- Part41.FormFactor = Enum.FormFactor.Plate
- Part41.Size = Vector3.new(1, 0.400000006, 1)
- Part41.CFrame = CFrame.new(4.79998732, 7.69513083, 97.5, -1.66316216e-09, -1, -2.36461347e-07, 5.3455733e-07, 2.36461347e-07, 1, -1, -1.66316216e-09, -5.3455733e-07)
- Part41.BottomSurface = Enum.SurfaceType.Weld
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part41.Position = Vector3.new(4.79998732, 7.69513083, 97.5)
- Part41.Orientation = Vector3.new(-90, 90, 0)
- Part41.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector42.Parent = Part41
- ClickDetector42.MaxActivationDistance = 20
- Decal43.Parent = Part41
- Decal43.Texture = "http://www.roblox.com/asset/?id=2761927"
- Decal43.Face = Enum.NormalId.Top
- BlockMesh44.Parent = Part41
- Part45.Name = "B1"
- Part45.Parent = Model16
- Part45.BrickColor = BrickColor.new("Institutional white")
- Part45.Rotation = Vector3.new(-90, 0, -90)
- Part45.FormFactor = Enum.FormFactor.Plate
- Part45.Size = Vector3.new(1, 0.400000006, 1)
- Part45.CFrame = CFrame.new(4.80004883, 7.69486523, 95.5, 1.45526047e-09, 1, -2.06903678e-07, -4.67737664e-07, -2.06903678e-07, 1, 1, 1.45526069e-09, -4.67737664e-07)
- Part45.BottomSurface = Enum.SurfaceType.Smooth
- Part45.TopSurface = Enum.SurfaceType.Weld
- Part45.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part45.Position = Vector3.new(4.80004883, 7.69486523, 95.5)
- Part45.Orientation = Vector3.new(-90, -90, 0)
- Part45.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector46.Parent = Part45
- ClickDetector46.MaxActivationDistance = 20
- Decal47.Parent = Part45
- Decal47.Texture = "http://www.roblox.com/asset/?id=2761913"
- Decal47.Face = Enum.NormalId.Bottom
- BlockMesh48.Parent = Part45
- Part49.Name = "B0"
- Part49.Parent = Model16
- Part49.BrickColor = BrickColor.new("Institutional white")
- Part49.Rotation = Vector3.new(-90, 0, 90)
- Part49.FormFactor = Enum.FormFactor.Plate
- Part49.Size = Vector3.new(1, 0.400000006, 1)
- Part49.CFrame = CFrame.new(4.79998779, 4.69462395, 96.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part49.BottomSurface = Enum.SurfaceType.Weld
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part49.Position = Vector3.new(4.79998779, 4.69462395, 96.5)
- Part49.Orientation = Vector3.new(-90, 90, 0)
- Part49.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector50.Parent = Part49
- ClickDetector50.MaxActivationDistance = 20
- Decal51.Parent = Part49
- Decal51.Texture = "http://www.roblox.com/asset/?id=2761903"
- Decal51.Face = Enum.NormalId.Top
- BlockMesh52.Parent = Part49
- Part53.Name = "Enter"
- Part53.Parent = Model16
- Part53.BrickColor = BrickColor.new("Lime green")
- Part53.Rotation = Vector3.new(-90, 0, 90)
- Part53.FormFactor = Enum.FormFactor.Plate
- Part53.Size = Vector3.new(1, 0.400000006, 1)
- Part53.CFrame = CFrame.new(4.79998779, 4.69462395, 95.5, -4.1577905e-10, -1, -5.91153366e-08, 1.33639332e-07, 5.91153366e-08, 1, -1, -4.1577905e-10, -1.33639332e-07)
- Part53.BottomSurface = Enum.SurfaceType.Weld
- Part53.TopSurface = Enum.SurfaceType.Smooth
- Part53.Color = Color3.new(0, 1, 0)
- Part53.Position = Vector3.new(4.79998779, 4.69462395, 95.5)
- Part53.Orientation = Vector3.new(-90, 90, 0)
- Part53.Color = Color3.new(0, 1, 0)
- ClickDetector54.Parent = Part53
- ClickDetector54.MaxActivationDistance = 20
- Decal55.Parent = Part53
- Decal55.Texture = "http://www.roblox.com/asset/?id=2761987"
- Decal55.Face = Enum.NormalId.Top
- BlockMesh56.Parent = Part53
- Part57.Name = "Clear"
- Part57.Parent = Model16
- Part57.BrickColor = BrickColor.new("Really red")
- Part57.Rotation = Vector3.new(-90, 0, 90)
- Part57.FormFactor = Enum.FormFactor.Plate
- Part57.Size = Vector3.new(1, 0.400000006, 1)
- Part57.CFrame = CFrame.new(4.79980803, 4.69280481, 97.4997559, -3.31343273e-08, -1, 1.08014401e-05, 1.24996932e-05, 1.12743628e-05, 1, -1, 2.99313498e-08, 1.14305785e-05)
- Part57.BottomSurface = Enum.SurfaceType.Weld
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.Color = Color3.new(1, 0, 0)
- Part57.Position = Vector3.new(4.79980803, 4.69280481, 97.4997559)
- Part57.Orientation = Vector3.new(-90, 90, 0)
- Part57.Color = Color3.new(1, 0, 0)
- ClickDetector58.Parent = Part57
- ClickDetector58.MaxActivationDistance = 20
- Decal59.Parent = Part57
- Decal59.Texture = "http://www.roblox.com/asset/?id=2761996"
- Decal59.Face = Enum.NormalId.Top
- BlockMesh60.Parent = Part57
- Part61.Name = "B2"
- Part61.Parent = Model16
- Part61.BrickColor = BrickColor.new("Institutional white")
- Part61.Rotation = Vector3.new(-90, 0, 90)
- Part61.FormFactor = Enum.FormFactor.Plate
- Part61.Size = Vector3.new(1, 0.400000006, 1)
- Part61.CFrame = CFrame.new(4.79998732, 7.6951313, 96.5, -1.66316216e-09, -1, -2.36461347e-07, 5.3455733e-07, 2.36461347e-07, 1, -1, -1.66316216e-09, -5.3455733e-07)
- Part61.BottomSurface = Enum.SurfaceType.Weld
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
- Part61.Position = Vector3.new(4.79998732, 7.6951313, 96.5)
- Part61.Orientation = Vector3.new(-90, 90, 0)
- Part61.Color = Color3.new(0.972549, 0.972549, 0.972549)
- ClickDetector62.Parent = Part61
- ClickDetector62.MaxActivationDistance = 20
- Decal63.Parent = Part61
- Decal63.Texture = "http://www.roblox.com/asset/?id=2761922"
- Decal63.Face = Enum.NormalId.Top
- BlockMesh64.Parent = Part61
- Script65.Name = "MasterScript"
- Script65.Parent = Model16
- table.insert(cors,sandbox(Script65,function()
- Code = "1337" --change To any numbers You like
- Input = ("Cleared")
- --This Is for my buddys 00dino and imaginary50cent
- --created by theboodog1
- ------------------------------------------
- --Clear And Enter
- function Clear()
- print("Cleared")
- Input = ""
- end
- script.Parent.Clear.ClickDetector.MouseClick:connect(Clear)
- function Enter()
- if Input == Code then
- print("Entered")
- Input = ""
- local door = script.Parent.Parent.Door
- door.CanCollide = false
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = door.Transparency + 0.1
- wait(0.1)
- door.Transparency = 0.8
- wait(3)--
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = door.Transparency - 0.1
- wait(0.1)
- door.Transparency = 0
- door.CanCollide = true
- return end
- Input = ""
- print("Wrong Code")
- end
- script.Parent.Enter.ClickDetector.MouseClick:connect(Enter)
- ------------------------------------------
- --Digets
- function Click0()
- Input = Input..0
- print("0")
- script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2767674"
- wait(0.1)
- script.Parent.B0.Decal.Texture = "http://www.roblox.com/asset/?id=2761903"
- end
- script.Parent.B0.ClickDetector.MouseClick:connect(Click0)
- function Click1()
- Input = Input..1
- print("1")
- script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2767677"
- wait(0.1)
- script.Parent.B1.Decal.Texture = "http://www.roblox.com/asset/?id=2761913"
- end
- script.Parent.B1.ClickDetector.MouseClick:connect(Click1)
- function Click2()
- Input = Input..2
- print("2")
- script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2767680"
- wait(0.1)
- script.Parent.B2.Decal.Texture = "http://www.roblox.com/asset/?id=2761922"
- end
- script.Parent.B2.ClickDetector.MouseClick:connect(Click2)
- function Click3()
- Input = Input..3
- print("3")
- script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2767686"
- wait(0.1)
- script.Parent.B3.Decal.Texture = "http://www.roblox.com/asset/?id=2761927"
- end
- script.Parent.B3.ClickDetector.MouseClick:connect(Click3)
- function Click4()
- Input = Input..4
- print("4")
- script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2767693"
- wait(0.1)
- script.Parent.B4.Decal.Texture = "http://www.roblox.com/asset/?id=2761938"
- end
- script.Parent.B4.ClickDetector.MouseClick:connect(Click4)
- function Click5()
- Input = Input..5
- print("5")
- script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2767695"
- wait(0.1)
- script.Parent.B5.Decal.Texture = "http://www.roblox.com/asset/?id=2761943"
- end
- script.Parent.B5.ClickDetector.MouseClick:connect(Click5)
- function Click6()
- Input = Input..6
- print("6")
- script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2767699"
- wait(0.1)
- script.Parent.B6.Decal.Texture = "http://www.roblox.com/asset/?id=2761948"
- end
- script.Parent.B6.ClickDetector.MouseClick:connect(Click6)
- function Click7()
- Input = Input..7
- print("7")
- script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2767701"
- wait(0.1)
- script.Parent.B7.Decal.Texture = "http://www.roblox.com/asset/?id=2761956"
- end
- script.Parent.B7.ClickDetector.MouseClick:connect(Click7)
- function Click8()
- Input = Input..8
- print("8")
- script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2767707"
- wait(0.1)
- script.Parent.B8.Decal.Texture = "http://www.roblox.com/asset/?id=2761961"
- end
- script.Parent.B8.ClickDetector.MouseClick:connect(Click8)
- function Click9()
- Input = Input..9
- print("9")
- script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2767714"
- wait(0.1)
- script.Parent.B9.Decal.Texture = "http://www.roblox.com/asset/?id=2761971"
- end
- script.Parent.B9.ClickDetector.MouseClick:connect(Click9)
- end))
- Part66.Name = "Door"
- Part66.Parent = Model10
- Part66.BrickColor = BrickColor.new("Dark stone grey")
- Part66.Rotation = Vector3.new(0, 90, 0)
- Part66.FormFactor = Enum.FormFactor.Symmetric
- Part66.Size = Vector3.new(6, 8, 1)
- Part66.CFrame = CFrame.new(5.5, 4.99999714, 91, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part66.BottomSurface = Enum.SurfaceType.Smooth
- Part66.TopSurface = Enum.SurfaceType.Smooth
- Part66.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part66.Position = Vector3.new(5.5, 4.99999714, 91)
- Part66.Orientation = Vector3.new(0, 90, 0)
- Part66.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh67.Parent = Part66
- Part68.Parent = Model1
- Part68.Rotation = Vector3.new(0, 90, 0)
- Part68.FormFactor = Enum.FormFactor.Symmetric
- Part68.Size = Vector3.new(24, 11, 1)
- Part68.CFrame = CFrame.new(43.5, 6.49999714, 98, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- Part68.BottomSurface = Enum.SurfaceType.Smooth
- Part68.TopSurface = Enum.SurfaceType.Smooth
- Part68.Position = Vector3.new(43.5, 6.49999714, 98)
- Part68.Orientation = Vector3.new(0, 90, 0)
- BlockMesh69.Parent = Part68
- Part70.Parent = Model1
- Part70.FormFactor = Enum.FormFactor.Symmetric
- Part70.Size = Vector3.new(39, 1, 24)
- Part70.CFrame = CFrame.new(24.5, 0.500002861, 98, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part70.BottomSurface = Enum.SurfaceType.Smooth
- Part70.TopSurface = Enum.SurfaceType.Smooth
- Part70.Position = Vector3.new(24.5, 0.500002861, 98)
- BlockMesh71.Parent = Part70
- Part72.Parent = Model1
- Part72.FormFactor = Enum.FormFactor.Symmetric
- Part72.Size = Vector3.new(37, 11, 1)
- Part72.CFrame = CFrame.new(24.5, 6.49999714, 109.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part72.BottomSurface = Enum.SurfaceType.Smooth
- Part72.TopSurface = Enum.SurfaceType.Smooth
- Part72.Position = Vector3.new(24.5, 6.49999714, 109.5)
- BlockMesh73.Parent = Part72
- Part74.Parent = Model1
- Part74.FormFactor = Enum.FormFactor.Symmetric
- Part74.Size = Vector3.new(37, 11, 1)
- Part74.CFrame = CFrame.new(24.5, 6.49999714, 86.5, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part74.BottomSurface = Enum.SurfaceType.Smooth
- Part74.TopSurface = Enum.SurfaceType.Smooth
- Part74.Position = Vector3.new(24.5, 6.49999714, 86.5)
- BlockMesh75.Parent = Part74
- Model76.Parent = Model0
- Model77.Name = "For the engineer (Sentry owner)"
- Model77.Parent = Model76
- Humanoid78.Parent = Model77
- Humanoid78.Health = 0
- Humanoid78.MaxHealth = 0
- Part79.Name = "Head"
- Part79.Parent = Model77
- Part79.Anchored = true
- Part79.FormFactor = Enum.FormFactor.Plate
- Part79.Size = Vector3.new(1, 0.400000006, 5)
- Part79.CFrame = CFrame.new(29.4999352, 4.51494884, 90.4980469, 1, -2.47658818e-06, -3.31050796e-06, 2.4766216e-06, 1, 1.00969046e-05, 3.31048295e-06, -1.00969128e-05, 1)
- Part79.Position = Vector3.new(29.4999352, 4.51494884, 90.4980469)
- Model80.Parent = Model76
- Model80.PrimaryPart = Part91
- Part81.Name = "Smooth Block Model"
- Part81.Parent = Model80
- Part81.BrickColor = BrickColor.new("Black")
- Part81.Transparency = 0.30000001192093
- Part81.Rotation = Vector3.new(0, -90, 0)
- Part81.Anchored = true
- Part81.Size = Vector3.new(3, 6, 1)
- Part81.CFrame = CFrame.new(28.4997082, 4.01009321, 90.4998932, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
- Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part81.Position = Vector3.new(28.4997082, 4.01009321, 90.4998932)
- Part81.Orientation = Vector3.new(0, -90, 0)
- Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part82.Name = "Smooth Block Model"
- Part82.Parent = Model80
- Part82.BrickColor = BrickColor.new("Black")
- Part82.Transparency = 0.30000001192093
- Part82.Anchored = true
- Part82.Size = Vector3.new(3, 6, 1)
- Part82.CFrame = CFrame.new(27.4997234, 4.0101819, 92.4998856, 1, 1.00761536e-05, -1.37016641e-05, -1.00756979e-05, 1, 3.31164192e-05, 1.37019988e-05, -3.31162773e-05, 1)
- Part82.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part82.Position = Vector3.new(27.4997234, 4.0101819, 92.4998856)
- Part82.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part83.Name = "PUT THE WEAPON IN THIS BRICK"
- Part83.Parent = Model80
- Part83.BrickColor = BrickColor.new("White")
- Part83.Rotation = Vector3.new(-179.98999, 0, -180)
- Part83.Anchored = true
- Part83.Size = Vector3.new(1, 1.20000005, 5)
- Part83.CFrame = CFrame.new(29.4999371, 3.71529794, 90.4979553, -1, 4.05925384e-05, 1.37055304e-05, 4.05941719e-05, 1, 0.000119471595, -1.37006791e-05, 0.000119472148, -1)
- Part83.TopSurface = Enum.SurfaceType.Smooth
- Part83.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part83.Position = Vector3.new(29.4999371, 3.71529794, 90.4979553)
- Part83.Orientation = Vector3.new(-0.00999999978, 180, 0)
- Part83.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Tool84.Name = "Heal sentry"
- Tool84.Parent = Part83
- Tool84.TextureId = "rbxasset://icons/configure.png"
- Tool84.GripForward = Vector3.new(-1, -0, -0)
- Tool84.GripPos = Vector3.new(0, 0, -0.699999988)
- Tool84.GripRight = Vector3.new(-0, 1, 0)
- Tool84.GripUp = Vector3.new(0, -0, 1)
- Script85.Name = "SwordScript"
- Script85.Parent = Tool84
- table.insert(cors,sandbox(Script85,function()
- -------- OMG HAX
- r = game:service("RunService")
- local damage = -20
- local slash_damage = -1
- sword = script.Parent.Handle
- Tool = script.Parent
- function attack()
- local anim = Instance.new("StringValue")
- anim.Name = "toolanim"
- anim.Value = "Slash"
- anim.Parent = Tool
- end
- function swordUp()
- Tool.GripForward = Vector3.new(-1,0,0)
- Tool.GripRight = Vector3.new(0,1,0)
- Tool.GripUp = Vector3.new(0,0,1)
- end
- function swordOut()
- Tool.GripForward = Vector3.new(0,0,1)
- Tool.GripRight = Vector3.new(0,-1,0)
- Tool.GripUp = Vector3.new(-1,0,0)
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- attack()
- wait(1)
- Tool.Enabled = true
- end
- function onEquipped()
- end
- script.Parent.Activated:connect(onActivated)
- script.Parent.Equipped:connect(onEquipped)
- end))
- Part86.Name = "Handle"
- Part86.Parent = Tool84
- Part86.BrickColor = BrickColor.new("Dark stone grey")
- Part86.Rotation = Vector3.new(0, -1.41999996, -180)
- Part86.FormFactor = Enum.FormFactor.Plate
- Part86.Size = Vector3.new(1, 0.800000012, 2)
- Part86.CFrame = CFrame.new(27.2261753, 1.40000772, 90.8597488, -0.999694765, 2.55693067e-06, -0.0247051679, -2.79356777e-06, -1, 9.54393818e-06, -0.0247051679, 9.61004025e-06, 0.999694824)
- Part86.BottomSurface = Enum.SurfaceType.Smooth
- Part86.TopSurface = Enum.SurfaceType.Smooth
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part86.Position = Vector3.new(27.2261753, 1.40000772, 90.8597488)
- Part86.Orientation = Vector3.new(0, -1.41999996, -180)
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- SpecialMesh87.Parent = Part86
- SpecialMesh87.MeshId = "http://www.roblox.com/asset/?id=16884681"
- SpecialMesh87.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh87.TextureId = "http://www.roblox.com/asset/?id=16884673"
- SpecialMesh87.MeshType = Enum.MeshType.FileMesh
- SpecialMesh87.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Script88.Name = "PUT THIS IN THE WEAPON"
- Script88.Parent = Tool84
- table.insert(cors,sandbox(Script88,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- end))
- Part89.Name = "Smooth Block Model"
- Part89.Parent = Model80
- Part89.BrickColor = BrickColor.new("Black")
- Part89.Transparency = 0.30000001192093
- Part89.Rotation = Vector3.new(0, -90, 0)
- Part89.Anchored = true
- Part89.Size = Vector3.new(5, 6, 1)
- Part89.CFrame = CFrame.new(25.4997425, 4.01008558, 90.4999008, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
- Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part89.Position = Vector3.new(25.4997425, 4.01008558, 90.4999008)
- Part89.Orientation = Vector3.new(0, -90, 0)
- Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part90.Name = "Smooth Block Model"
- Part90.Parent = Model80
- Part90.BrickColor = BrickColor.new("Black")
- Part90.Transparency = 0.30000001192093
- Part90.Anchored = true
- Part90.Size = Vector3.new(3, 6, 1)
- Part90.CFrame = CFrame.new(27.4997749, 4.01004887, 88.4999466, 1, 1.00761536e-05, -1.37016641e-05, -1.00756979e-05, 1, 3.31164192e-05, 1.37019988e-05, -3.31162773e-05, 1)
- Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part90.Position = Vector3.new(27.4997749, 4.01004887, 88.4999466)
- Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part91.Name = "Smooth Block Model"
- Part91.Parent = Model80
- Part91.BrickColor = BrickColor.new("Black")
- Part91.Transparency = 0.30000001192093
- Part91.Rotation = Vector3.new(0, -90, 0)
- Part91.Anchored = true
- Part91.Size = Vector3.new(5, 1.20000005, 4)
- Part91.CFrame = CFrame.new(26.9997177, 7.6100812, 90.4998627, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
- Part91.TopSurface = Enum.SurfaceType.Smooth
- Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part91.Position = Vector3.new(26.9997177, 7.6100812, 90.4998627)
- Part91.Orientation = Vector3.new(0, -90, 0)
- Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script92.Name = "READ ME FOR INSTRUCTIONS"
- Script92.Parent = Model80
- table.insert(cors,sandbox(Script92,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Model93.Name = "Sentry Morph"
- Model93.Parent = Model0
- Model94.Parent = Model93
- Model95.Name = "Chest"
- Model95.Parent = Model94
- Part96.Name = "Middle"
- Part96.Parent = Model95
- Part96.Transparency = 1
- Part96.Rotation = Vector3.new(0, -90, 0)
- Part96.Anchored = true
- Part96.CanCollide = false
- Part96.FormFactor = Enum.FormFactor.Symmetric
- Part96.Size = Vector3.new(2, 2, 1)
- Part96.CFrame = CFrame.new(23.4997311, 4.00063705, 98.9999695, -3.19126411e-06, -2.54162683e-06, -1, 9.91143406e-06, 1, -2.5416814e-06, 1, -9.91144225e-06, -3.19123501e-06)
- Part96.Position = Vector3.new(23.4997311, 4.00063705, 98.9999695)
- Part96.Orientation = Vector3.new(0, -90, 0)
- Part97.Parent = Model95
- Part97.BrickColor = BrickColor.new("Bright red")
- Part97.Rotation = Vector3.new(180, 0.0299999993, -180)
- Part97.Anchored = true
- Part97.FormFactor = Enum.FormFactor.Symmetric
- Part97.Size = Vector3.new(2, 1, 2)
- Part97.CFrame = CFrame.new(22.5592613, 4.45000982, 99.0204544, -0.999999881, 3.25373844e-06, 0.000490826205, 3.25132714e-06, 1, -4.86587351e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
- Part97.BottomSurface = Enum.SurfaceType.Smooth
- Part97.TopSurface = Enum.SurfaceType.Smooth
- Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part97.Position = Vector3.new(22.5592613, 4.45000982, 99.0204544)
- Part97.Orientation = Vector3.new(0, 179.970001, 0)
- Part97.Color = Color3.new(0.768628, 0.156863, 0.109804)
- CylinderMesh98.Parent = Part97
- CylinderMesh98.Scale = Vector3.new(2, 1.10000002, 1)
- CylinderMesh98.Scale = Vector3.new(2, 1.10000002, 1)
- Part99.Parent = Model95
- Part99.BrickColor = BrickColor.new("Really black")
- Part99.Rotation = Vector3.new(180, 90, 0)
- Part99.Anchored = true
- Part99.CanCollide = false
- Part99.FormFactor = Enum.FormFactor.Symmetric
- Part99.Size = Vector3.new(1, 1, 1)
- Part99.CFrame = CFrame.new(22.7997417, 2.34000945, 99.019989, -3.19126411e-06, 2.55553618e-06, 1, 1.00624275e-05, -1, 2.55559166e-06, 1, 1.00624347e-05, 3.19123501e-06)
- Part99.BottomSurface = Enum.SurfaceType.Smooth
- Part99.TopSurface = Enum.SurfaceType.Smooth
- Part99.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part99.Position = Vector3.new(22.7997417, 2.34000945, 99.019989)
- Part99.Orientation = Vector3.new(0, 90, 180)
- Part99.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh100.Parent = Part99
- SpecialMesh100.Scale = Vector3.new(0.699999988, 0.200000003, 0.200000003)
- SpecialMesh100.MeshType = Enum.MeshType.Brick
- SpecialMesh100.Scale = Vector3.new(0.699999988, 0.200000003, 0.200000003)
- Part101.Parent = Model95
- Part101.BrickColor = BrickColor.new("Really black")
- Part101.Rotation = Vector3.new(90, 45, -90)
- Part101.Anchored = true
- Part101.FormFactor = Enum.FormFactor.Symmetric
- Part101.Size = Vector3.new(1, 2, 1)
- Part101.CFrame = CFrame.new(22.6997623, 2.20001411, 99.1999969, 2.93747871e-06, 0.707100153, 0.707113504, -9.6610147e-06, 0.707113445, -0.707100093, -1, -4.75440174e-06, 8.90842057e-06)
- Part101.BottomSurface = Enum.SurfaceType.Smooth
- Part101.TopSurface = Enum.SurfaceType.Smooth
- Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part101.Position = Vector3.new(22.6997623, 2.20001411, 99.1999969)
- Part101.Orientation = Vector3.new(45, 90, 0)
- Part101.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh102.Parent = Part101
- SpecialMesh102.Scale = Vector3.new(0.200000003, 1, 0.200000003)
- SpecialMesh102.MeshType = Enum.MeshType.Brick
- SpecialMesh102.Scale = Vector3.new(0.200000003, 1, 0.200000003)
- Part103.Parent = Model95
- Part103.BrickColor = BrickColor.new("Really black")
- Part103.Rotation = Vector3.new(90, 45, -90)
- Part103.Anchored = true
- Part103.FormFactor = Enum.FormFactor.Symmetric
- Part103.Size = Vector3.new(1, 2, 1)
- Part103.CFrame = CFrame.new(22.6997585, 2.20000911, 98.7999954, 2.93747871e-06, 0.707100153, 0.707113504, -9.6610147e-06, 0.707113445, -0.707100093, -1, -4.75440174e-06, 8.90842057e-06)
- Part103.BottomSurface = Enum.SurfaceType.Smooth
- Part103.TopSurface = Enum.SurfaceType.Smooth
- Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part103.Position = Vector3.new(22.6997585, 2.20000911, 98.7999954)
- Part103.Orientation = Vector3.new(45, 90, 0)
- Part103.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh104.Parent = Part103
- SpecialMesh104.Scale = Vector3.new(0.200000003, 1, 0.200000003)
- SpecialMesh104.MeshType = Enum.MeshType.Brick
- SpecialMesh104.Scale = Vector3.new(0.200000003, 1, 0.200000003)
- Part105.Parent = Model95
- Part105.BrickColor = BrickColor.new("Really black")
- Part105.Rotation = Vector3.new(180, 90, 0)
- Part105.Anchored = true
- Part105.FormFactor = Enum.FormFactor.Plate
- Part105.Size = Vector3.new(1, 0.400000006, 1)
- Part105.CFrame = CFrame.new(22.0997543, 1.38000965, 99.0199966, -3.19126411e-06, 2.55553618e-06, 1, 1.00624275e-05, -1, 2.55559166e-06, 1, 1.00624347e-05, 3.19123501e-06)
- Part105.BottomSurface = Enum.SurfaceType.Smooth
- Part105.TopSurface = Enum.SurfaceType.Smooth
- Part105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part105.Position = Vector3.new(22.0997543, 1.38000965, 99.0199966)
- Part105.Orientation = Vector3.new(0, 90, 180)
- Part105.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh106.Parent = Part105
- SpecialMesh106.Scale = Vector3.new(0.699999988, 0.600000024, 0.200000003)
- SpecialMesh106.MeshType = Enum.MeshType.Brick
- SpecialMesh106.Scale = Vector3.new(0.699999988, 0.600000024, 0.200000003)
- Part107.Parent = Model95
- Part107.BrickColor = BrickColor.new("Really black")
- Part107.Rotation = Vector3.new(180, 0, -130.839996)
- Part107.Anchored = true
- Part107.CanCollide = false
- Part107.FormFactor = Enum.FormFactor.Symmetric
- Part107.Size = Vector3.new(1, 1, 1)
- Part107.CFrame = CFrame.new(22.9997501, 3.4600172, 99.0099792, -0.653958857, 0.756530166, 3.23622953e-06, 0.756530166, 0.653958857, -9.97038296e-06, -9.65924119e-06, -4.07194602e-06, -1)
- Part107.BottomSurface = Enum.SurfaceType.Smooth
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part107.Position = Vector3.new(22.9997501, 3.4600172, 99.0099792)
- Part107.Orientation = Vector3.new(0, 180, 49.1599998)
- Part107.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh108.Parent = Part107
- BlockMesh108.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- BlockMesh108.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- Part109.Parent = Model95
- Part109.BrickColor = BrickColor.new("Really black")
- Part109.Rotation = Vector3.new(180, 0, 134)
- Part109.Anchored = true
- Part109.CanCollide = false
- Part109.FormFactor = Enum.FormFactor.Symmetric
- Part109.Size = Vector3.new(1, 1, 1)
- Part109.CFrame = CFrame.new(22.6997356, 3.39999676, 99.009964, -0.694651663, -0.719346344, 3.22109554e-06, -0.719346344, 0.694651604, -1.00034513e-05, 4.95839049e-06, -9.26596113e-06, -1)
- Part109.BottomSurface = Enum.SurfaceType.Smooth
- Part109.TopSurface = Enum.SurfaceType.Smooth
- Part109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part109.Position = Vector3.new(22.6997356, 3.39999676, 99.009964)
- Part109.Orientation = Vector3.new(0, 180, -46)
- Part109.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh110.Parent = Part109
- BlockMesh110.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- BlockMesh110.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- Part111.Parent = Model95
- Part111.BrickColor = BrickColor.new("Really black")
- Part111.Rotation = Vector3.new(180, 0, -130.599991)
- Part111.Anchored = true
- Part111.CanCollide = false
- Part111.FormFactor = Enum.FormFactor.Symmetric
- Part111.Size = Vector3.new(1, 1, 1)
- Part111.CFrame = CFrame.new(23.0997524, 3.32000875, 99.0099792, -0.650784791, 0.759262264, 3.23637505e-06, 0.759262323, 0.650784791, -9.97026564e-06, -9.67617962e-06, -4.03128797e-06, -1)
- Part111.BottomSurface = Enum.SurfaceType.Smooth
- Part111.TopSurface = Enum.SurfaceType.Smooth
- Part111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part111.Position = Vector3.new(23.0997524, 3.32000875, 99.0099792)
- Part111.Orientation = Vector3.new(0, 180, 49.3999977)
- Part111.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh112.Parent = Part111
- BlockMesh112.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- BlockMesh112.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- Part113.Parent = Model95
- Part113.BrickColor = BrickColor.new("Really black")
- Part113.Rotation = Vector3.new(-90, 0, -0.0299999993)
- Part113.Anchored = true
- Part113.CanCollide = false
- Part113.FormFactor = Enum.FormFactor.Symmetric
- Part113.Size = Vector3.new(1, 1, 1)
- Part113.CFrame = CFrame.new(23.2090054, 3.54998422, 99.0102081, 0.999999881, 0.000490993785, 3.35083337e-06, -3.3484373e-06, -4.83305303e-06, 1, 0.000490993785, -0.999999881, -4.83140821e-06)
- Part113.BottomSurface = Enum.SurfaceType.Smooth
- Part113.TopSurface = Enum.SurfaceType.Smooth
- Part113.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part113.Position = Vector3.new(23.2090054, 3.54998422, 99.0102081)
- Part113.Orientation = Vector3.new(-90, -0.0299999993, 0)
- Part113.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh114.Parent = Part113
- CylinderMesh114.Scale = Vector3.new(0.300000012, 0.100000001, 1)
- CylinderMesh114.Scale = Vector3.new(0.300000012, 0.100000001, 1)
- Part115.Parent = Model95
- Part115.BrickColor = BrickColor.new("Really black")
- Part115.Rotation = Vector3.new(-90, 0, -0.0299999993)
- Part115.Anchored = true
- Part115.CanCollide = false
- Part115.FormFactor = Enum.FormFactor.Symmetric
- Part115.Size = Vector3.new(1, 1, 1)
- Part115.CFrame = CFrame.new(22.9090195, 3.25997663, 99.0102234, 0.999999881, 0.000490993785, 3.35083337e-06, -3.3484373e-06, -4.83305303e-06, 1, 0.000490993785, -0.999999881, -4.83140821e-06)
- Part115.BottomSurface = Enum.SurfaceType.Smooth
- Part115.TopSurface = Enum.SurfaceType.Smooth
- Part115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part115.Position = Vector3.new(22.9090195, 3.25997663, 99.0102234)
- Part115.Orientation = Vector3.new(-90, -0.0299999993, 0)
- Part115.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh116.Parent = Part115
- CylinderMesh116.Scale = Vector3.new(0.300000012, 0.100000001, 1)
- CylinderMesh116.Scale = Vector3.new(0.300000012, 0.100000001, 1)
- Part117.Parent = Model95
- Part117.BrickColor = BrickColor.new("Really black")
- Part117.Rotation = Vector3.new(-90, 0, -0.0299999993)
- Part117.Anchored = true
- Part117.CanCollide = false
- Part117.FormFactor = Enum.FormFactor.Symmetric
- Part117.Size = Vector3.new(1, 1, 1)
- Part117.CFrame = CFrame.new(22.5090313, 3.8499999, 99.0102158, 0.999999881, 0.000490993785, 3.35083337e-06, -3.3484373e-06, -4.83305303e-06, 1, 0.000490993785, -0.999999881, -4.83140821e-06)
- Part117.BottomSurface = Enum.SurfaceType.Smooth
- Part117.TopSurface = Enum.SurfaceType.Smooth
- Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part117.Position = Vector3.new(22.5090313, 3.8499999, 99.0102158)
- Part117.Orientation = Vector3.new(-90, -0.0299999993, 0)
- Part117.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh118.Parent = Part117
- CylinderMesh118.Scale = Vector3.new(0.75, 0.100000001, 1)
- CylinderMesh118.Scale = Vector3.new(0.75, 0.100000001, 1)
- Part119.Parent = Model95
- Part119.BrickColor = BrickColor.new("Really black")
- Part119.Rotation = Vector3.new(180, 0.0299999993, -180)
- Part119.Anchored = true
- Part119.CanCollide = false
- Part119.FormFactor = Enum.FormFactor.Symmetric
- Part119.Size = Vector3.new(1, 2, 1)
- Part119.CFrame = CFrame.new(23.5592556, 3.54999828, 99.0204468, -0.999999881, 3.25839505e-06, 0.000490826205, 3.25598376e-06, 1, -4.86587578e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
- Part119.BottomSurface = Enum.SurfaceType.Smooth
- Part119.TopSurface = Enum.SurfaceType.Smooth
- Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part119.Position = Vector3.new(23.5592556, 3.54999828, 99.0204468)
- Part119.Orientation = Vector3.new(0, 179.970001, 0)
- Part119.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh120.Parent = Part119
- CylinderMesh120.Scale = Vector3.new(0.5, 1, 1)
- CylinderMesh120.Scale = Vector3.new(0.5, 1, 1)
- Part121.Parent = Model95
- Part121.BrickColor = BrickColor.new("Really black")
- Part121.Rotation = Vector3.new(90, 0, -90)
- Part121.Anchored = true
- Part121.CanCollide = false
- Part121.FormFactor = Enum.FormFactor.Symmetric
- Part121.Size = Vector3.new(1, 1, 1)
- Part121.CFrame = CFrame.new(24.3997059, 4.57000685, 99.4399643, 3.23497807e-06, 1, 2.56598537e-06, -9.91142588e-06, 2.56604017e-06, -1, -1, 3.23494896e-06, 9.91143406e-06)
- Part121.BottomSurface = Enum.SurfaceType.Smooth
- Part121.TopSurface = Enum.SurfaceType.Smooth
- Part121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part121.Position = Vector3.new(24.3997059, 4.57000685, 99.4399643)
- Part121.Orientation = Vector3.new(90, 90, 0)
- Part121.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh122.Parent = Part121
- SpecialMesh122.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
- SpecialMesh122.MeshType = Enum.MeshType.FileMesh
- SpecialMesh122.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
- Part123.Parent = Model95
- Part123.BrickColor = BrickColor.new("Really black")
- Part123.Rotation = Vector3.new(90, 0, -90)
- Part123.Anchored = true
- Part123.CanCollide = false
- Part123.FormFactor = Enum.FormFactor.Symmetric
- Part123.Size = Vector3.new(1, 1, 1)
- Part123.CFrame = CFrame.new(24.379734, 4.29000521, 99.2499771, 3.23497807e-06, 1, 2.56598537e-06, -9.91142588e-06, 2.56604017e-06, -1, -1, 3.23494896e-06, 9.91143406e-06)
- Part123.BottomSurface = Enum.SurfaceType.Smooth
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part123.Position = Vector3.new(24.379734, 4.29000521, 99.2499771)
- Part123.Orientation = Vector3.new(90, 90, 0)
- Part123.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh124.Parent = Part123
- SpecialMesh124.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
- SpecialMesh124.MeshType = Enum.MeshType.FileMesh
- SpecialMesh124.Scale = Vector3.new(0.0120000001, 0.0250000004, 0.0120000001)
- Part125.Parent = Model95
- Part125.BrickColor = BrickColor.new("Really black")
- Part125.Rotation = Vector3.new(0, 0.0299999993, -90)
- Part125.Anchored = true
- Part125.CanCollide = false
- Part125.FormFactor = Enum.FormFactor.Symmetric
- Part125.Size = Vector3.new(1, 1, 1)
- Part125.CFrame = CFrame.new(24.1297112, 4.29000425, 99.2499847, 9.45569809e-06, 0.999999881, 0.000485621917, -1, 9.45585271e-06, -2.68687472e-07, -2.73279966e-07, -0.000485621917, 0.999999881)
- Part125.BottomSurface = Enum.SurfaceType.Smooth
- Part125.TopSurface = Enum.SurfaceType.Smooth
- Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part125.Position = Vector3.new(24.1297112, 4.29000425, 99.2499847)
- Part125.Orientation = Vector3.new(0, 0.0299999993, -90)
- Part125.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh126.Parent = Part125
- CylinderMesh126.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- CylinderMesh126.Scale = Vector3.new(0.150000006, 0.5, 0.150000006)
- Part127.Parent = Model95
- Part127.BrickColor = BrickColor.new("Really red")
- Part127.Rotation = Vector3.new(0, 0.0299999993, -90)
- Part127.Anchored = true
- Part127.CanCollide = false
- Part127.FormFactor = Enum.FormFactor.Symmetric
- Part127.Size = Vector3.new(1, 1, 1)
- Part127.CFrame = CFrame.new(24.1597157, 4.57000542, 99.4399796, 9.45569809e-06, 0.999999881, 0.000485621917, -1, 9.45585271e-06, -2.68687472e-07, -2.73279966e-07, -0.000485621917, 0.999999881)
- Part127.BottomSurface = Enum.SurfaceType.Smooth
- Part127.TopSurface = Enum.SurfaceType.Smooth
- Part127.Color = Color3.new(1, 0, 0)
- Part127.Position = Vector3.new(24.1597157, 4.57000542, 99.4399796)
- Part127.Orientation = Vector3.new(0, 0.0299999993, -90)
- Part127.Color = Color3.new(1, 0, 0)
- CylinderMesh128.Parent = Part127
- CylinderMesh128.Scale = Vector3.new(0.129999995, 0.5, 0.150000006)
- CylinderMesh128.Scale = Vector3.new(0.129999995, 0.5, 0.150000006)
- Part129.Parent = Model95
- Part129.BrickColor = BrickColor.new("Really black")
- Part129.Rotation = Vector3.new(180, 0.0299999993, -180)
- Part129.Anchored = true
- Part129.FormFactor = Enum.FormFactor.Symmetric
- Part129.Size = Vector3.new(2, 1, 2)
- Part129.CFrame = CFrame.new(22.5592766, 4.45000982, 99.0204544, -0.999999881, 3.25560109e-06, 0.000490826205, 3.25318979e-06, 1, -4.86587442e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
- Part129.BottomSurface = Enum.SurfaceType.Smooth
- Part129.TopSurface = Enum.SurfaceType.Smooth
- Part129.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part129.Position = Vector3.new(22.5592766, 4.45000982, 99.0204544)
- Part129.Orientation = Vector3.new(0, 179.970001, 0)
- Part129.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh130.Parent = Part129
- CylinderMesh130.Scale = Vector3.new(0.300000012, 1.12, 1)
- CylinderMesh130.Scale = Vector3.new(0.300000012, 1.12, 1)
- Part131.Parent = Model95
- Part131.BrickColor = BrickColor.new("Really black")
- Part131.Rotation = Vector3.new(90, 0, -90)
- Part131.Anchored = true
- Part131.FormFactor = Enum.FormFactor.Symmetric
- Part131.Size = Vector3.new(1, 1, 1)
- Part131.CFrame = CFrame.new(23.9597206, 4.50000477, 98.7000046, 2.58578802e-06, 1, 9.48024899e-06, 3.65645519e-07, 9.48027082e-06, -1, -1, 2.58575892e-06, -3.65620963e-07)
- Part131.BottomSurface = Enum.SurfaceType.Smooth
- Part131.TopSurface = Enum.SurfaceType.Smooth
- Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part131.Position = Vector3.new(23.9597206, 4.50000477, 98.7000046)
- Part131.Orientation = Vector3.new(90, 90, 0)
- Part131.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh132.Parent = Part131
- CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
- CylinderMesh132.Scale = Vector3.new(0.5, 1, 0.5)
- Part133.Parent = Model95
- Part133.BrickColor = BrickColor.new("Dark stone grey")
- Part133.Rotation = Vector3.new(180, 0.0299999993, -180)
- Part133.Anchored = true
- Part133.FormFactor = Enum.FormFactor.Symmetric
- Part133.Size = Vector3.new(2, 1, 2)
- Part133.CFrame = CFrame.new(22.5592766, 4.45000982, 99.0204544, -0.999999881, 3.25466976e-06, 0.000490826205, 3.25225847e-06, 1, -4.86587396e-06, -0.000490826205, -4.86427689e-06, -0.999999881)
- Part133.BottomSurface = Enum.SurfaceType.Smooth
- Part133.TopSurface = Enum.SurfaceType.Smooth
- Part133.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part133.Position = Vector3.new(22.5592766, 4.45000982, 99.0204544)
- Part133.Orientation = Vector3.new(0, 179.970001, 0)
- Part133.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh134.Parent = Part133
- CylinderMesh134.Scale = Vector3.new(0.699999988, 1.11000001, 1)
- CylinderMesh134.Scale = Vector3.new(0.699999988, 1.11000001, 1)
- Part135.Parent = Model95
- Part135.BrickColor = BrickColor.new("Bright red")
- Part135.Rotation = Vector3.new(0, -90, 0)
- Part135.Anchored = true
- Part135.FormFactor = Enum.FormFactor.Symmetric
- Part135.Size = Vector3.new(2, 1, 1)
- Part135.CFrame = CFrame.new(23.1597252, 4.45002127, 99.0199814, 2.32591992e-06, -1.01272308e-05, -1, -5.16581622e-07, 1, -1.01272544e-05, 1, 5.16605724e-07, 2.32591992e-06)
- Part135.BottomSurface = Enum.SurfaceType.Smooth
- Part135.TopSurface = Enum.SurfaceType.Smooth
- Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part135.Position = Vector3.new(23.1597252, 4.45002127, 99.0199814)
- Part135.Orientation = Vector3.new(0, -90, 0)
- Part135.Color = Color3.new(0.768628, 0.156863, 0.109804)
- SpecialMesh136.Parent = Part135
- SpecialMesh136.Scale = Vector3.new(0.810000002, 1.00999999, 1.00999999)
- SpecialMesh136.MeshType = Enum.MeshType.Brick
- SpecialMesh136.Scale = Vector3.new(0.810000002, 1.00999999, 1.00999999)
- Part137.Parent = Model95
- Part137.BrickColor = BrickColor.new("Really black")
- Part137.Rotation = Vector3.new(0, -90, 0)
- Part137.Anchored = true
- Part137.FormFactor = Enum.FormFactor.Symmetric
- Part137.Size = Vector3.new(2, 1, 1)
- Part137.CFrame = CFrame.new(23.8597221, 4.44996166, 99.0200119, 2.32103048e-06, -1.01270871e-05, -1, -6.25062457e-05, 1, -1.01272544e-05, 1, 6.25062748e-05, 2.3204484e-06)
- Part137.BottomSurface = Enum.SurfaceType.Smooth
- Part137.TopSurface = Enum.SurfaceType.Smooth
- Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part137.Position = Vector3.new(23.8597221, 4.44996166, 99.0200119)
- Part137.Orientation = Vector3.new(0, -90, 0)
- Part137.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh138.Parent = Part137
- SpecialMesh138.Scale = Vector3.new(0.800000012, 1, 1)
- SpecialMesh138.MeshType = Enum.MeshType.Brick
- SpecialMesh138.Scale = Vector3.new(0.800000012, 1, 1)
- Part139.Parent = Model95
- Part139.BrickColor = BrickColor.new("Bright red")
- Part139.Rotation = Vector3.new(0.0399999991, -90, 0)
- Part139.Anchored = true
- Part139.FormFactor = Enum.FormFactor.Symmetric
- Part139.Size = Vector3.new(2, 1, 1)
- Part139.CFrame = CFrame.new(23.9197197, 4.4507246, 99.0203476, -1.67620601e-06, -9.34959462e-06, -1, -0.000703145808, 0.999999821, -9.34843592e-06, 0.999999762, 0.000703145866, -1.68272527e-06)
- Part139.BottomSurface = Enum.SurfaceType.Smooth
- Part139.TopSurface = Enum.SurfaceType.Smooth
- Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part139.Position = Vector3.new(23.9197197, 4.4507246, 99.0203476)
- Part139.Orientation = Vector3.new(0, -90, -0.0399999991)
- Part139.Color = Color3.new(0.768628, 0.156863, 0.109804)
- SpecialMesh140.Parent = Part139
- SpecialMesh140.Scale = Vector3.new(0.699999988, 0.899999976, 0.899999976)
- SpecialMesh140.MeshType = Enum.MeshType.Brick
- SpecialMesh140.Scale = Vector3.new(0.699999988, 0.899999976, 0.899999976)
- Part141.Parent = Model95
- Part141.BrickColor = BrickColor.new("Really black")
- Part141.Rotation = Vector3.new(90, 0, -90)
- Part141.Anchored = true
- Part141.FormFactor = Enum.FormFactor.Symmetric
- Part141.Size = Vector3.new(1, 1, 1)
- Part141.CFrame = CFrame.new(24.4997139, 4.50002766, 98.6999741, 3.23497807e-06, 1, 2.56598537e-06, -9.91142588e-06, 2.56604017e-06, -1, -1, 3.23494896e-06, 9.91143406e-06)
- Part141.BottomSurface = Enum.SurfaceType.Smooth
- Part141.TopSurface = Enum.SurfaceType.Smooth
- Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part141.Position = Vector3.new(24.4997139, 4.50002766, 98.6999741)
- Part141.Orientation = Vector3.new(90, 90, 0)
- Part141.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh142.Parent = Part141
- SpecialMesh142.Scale = Vector3.new(0.0350000001, 0.150000006, 0.0350000001)
- SpecialMesh142.MeshType = Enum.MeshType.FileMesh
- SpecialMesh142.Scale = Vector3.new(0.0350000001, 0.150000006, 0.0350000001)
- Part143.Parent = Model95
- Part143.BrickColor = BrickColor.new("Really black")
- Part143.Rotation = Vector3.new(0, -90, 0)
- Part143.Anchored = true
- Part143.FormFactor = Enum.FormFactor.Plate
- Part143.Size = Vector3.new(1, 0.400000006, 1)
- Part143.CFrame = CFrame.new(24.2997112, 1.40000486, 98.0500336, -3.23497807e-06, -2.69262023e-06, -1, 9.76042611e-06, 1, -2.69267457e-06, 1, -9.7604352e-06, -3.23494896e-06)
- Part143.BottomSurface = Enum.SurfaceType.Smooth
- Part143.TopSurface = Enum.SurfaceType.Smooth
- Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part143.Position = Vector3.new(24.2997112, 1.40000486, 98.0500336)
- Part143.Orientation = Vector3.new(0, -90, 0)
- Part143.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh144.Parent = Part143
- CylinderMesh144.Scale = Vector3.new(0.75, 0.600000024, 1)
- CylinderMesh144.Scale = Vector3.new(0.75, 0.600000024, 1)
- Part145.Parent = Model95
- Part145.BrickColor = BrickColor.new("Really black")
- Part145.Rotation = Vector3.new(-90, 60, 120)
- Part145.Anchored = true
- Part145.CanCollide = false
- Part145.FormFactor = Enum.FormFactor.Symmetric
- Part145.Size = Vector3.new(1, 2, 1)
- Part145.CFrame = CFrame.new(23.9595146, 2.25002503, 98.5202332, -0.249995679, -0.433005959, 0.866030037, 0.433018655, 0.750001907, 0.499992043, -0.86602366, 0.50000298, 2.45153205e-06)
- Part145.BottomSurface = Enum.SurfaceType.Smooth
- Part145.TopSurface = Enum.SurfaceType.Smooth
- Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part145.Position = Vector3.new(23.9595146, 2.25002503, 98.5202332)
- Part145.Orientation = Vector3.new(-30, 90, 30)
- Part145.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh146.Parent = Part145
- SpecialMesh146.Scale = Vector3.new(0.300000012, 1, 0.300000012)
- SpecialMesh146.MeshType = Enum.MeshType.Brick
- SpecialMesh146.Scale = Vector3.new(0.300000012, 1, 0.300000012)
- Part147.Parent = Model95
- Part147.BrickColor = BrickColor.new("Really black")
- Part147.Rotation = Vector3.new(-90, 60, 60)
- Part147.Anchored = true
- Part147.CanCollide = false
- Part147.FormFactor = Enum.FormFactor.Symmetric
- Part147.Size = Vector3.new(1, 2, 1)
- Part147.CFrame = CFrame.new(23.9595261, 2.25002122, 99.5202179, 0.250000089, -0.433003426, 0.866030037, -0.433018029, 0.750002325, 0.499992013, -0.866022706, -0.500004649, 2.38377834e-06)
- Part147.BottomSurface = Enum.SurfaceType.Smooth
- Part147.TopSurface = Enum.SurfaceType.Smooth
- Part147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part147.Position = Vector3.new(23.9595261, 2.25002122, 99.5202179)
- Part147.Orientation = Vector3.new(-30, 90, -30)
- Part147.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SpecialMesh148.Parent = Part147
- SpecialMesh148.Scale = Vector3.new(0.300000012, 1, 0.300000012)
- SpecialMesh148.MeshType = Enum.MeshType.Brick
- SpecialMesh148.Scale = Vector3.new(0.300000012, 1, 0.300000012)
- Part149.Parent = Model95
- Part149.BrickColor = BrickColor.new("Really black")
- Part149.Rotation = Vector3.new(0, -90, 0)
- Part149.Anchored = true
- Part149.FormFactor = Enum.FormFactor.Plate
- Part149.Size = Vector3.new(1, 0.400000006, 1)
- Part149.CFrame = CFrame.new(24.2996979, 1.40002513, 100.050011, -3.23497807e-06, -2.69262023e-06, -1, 9.76042611e-06, 1, -2.69267457e-06, 1, -9.7604352e-06, -3.23494896e-06)
- Part149.BottomSurface = Enum.SurfaceType.Smooth
- Part149.TopSurface = Enum.SurfaceType.Smooth
- Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part149.Position = Vector3.new(24.2996979, 1.40002513, 100.050011)
- Part149.Orientation = Vector3.new(0, -90, 0)
- Part149.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh150.Parent = Part149
- CylinderMesh150.Scale = Vector3.new(0.75, 0.600000024, 1)
- CylinderMesh150.Scale = Vector3.new(0.75, 0.600000024, 1)
- Part151.Name = "TheButton"
- Part151.Parent = Model94
- Part151.BrickColor = BrickColor.new("Bright red")
- Part151.Rotation = Vector3.new(0, 90, 0)
- Part151.Anchored = true
- Part151.CanCollide = false
- Part151.FormFactor = Enum.FormFactor.Plate
- Part151.Size = Vector3.new(2, 0.400000006, 2)
- Part151.CFrame = CFrame.new(26.9996758, 1.20002389, 99.2000275, 3.23497807e-06, -2.54162683e-06, 1, -9.91142588e-06, 1, 2.54168208e-06, -1, -9.91143497e-06, 3.23494896e-06)
- Part151.BottomSurface = Enum.SurfaceType.Smooth
- Part151.TopSurface = Enum.SurfaceType.Smooth
- Part151.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part151.Position = Vector3.new(26.9996758, 1.20002389, 99.2000275)
- Part151.Orientation = Vector3.new(0, 90, 0)
- Part151.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Script152.Name = "Torso"
- Script152.Parent = Part151
- table.insert(cors,sandbox(Script152,function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Chest") == nil then
- local g = script.Parent.Parent.Chest:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent.Torso
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script153.Name = "Arms"
- Script153.Parent = Part151
- table.insert(cors,sandbox(Script153,function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then
- local g = script.Parent.Parent.Arm1:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Left Arm"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm2") == nil then
- local g = script.Parent.Parent.Arm2:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Right Arm"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script154.Name = "Legs"
- Script154.Parent = Part151
- table.insert(cors,sandbox(Script154,function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg1") == nil then
- local g = script.Parent.Parent.Leg1:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Left Leg"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Leg2") == nil then
- local g = script.Parent.Parent.Leg2:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent["Right Leg"]
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script155.Name = "WalkSpeed Script"
- Script155.Parent = Part151
- table.insert(cors,sandbox(Script155,function()
- local debounce = false
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- human.WalkSpeed = 20 -- or whatever number
- wait(2)
- debounce = false
- end
- end
- script.Parent.Touched:connect(onTouch)
- end))
- Script156.Name = "Invisble"
- Script156.Parent = Part151
- table.insert(cors,sandbox(Script156,function()
- -- UAEmaple
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if human ~= nil then
- part.Parent:findFirstChild("Head").Transparency = 1
- part.Parent:findFirstChild("Torso").Transparency = 1
- part.Parent:findFirstChild("Left Arm").Transparency = 1
- part.Parent:findFirstChild("Right Arm").Transparency = 1
- part.Parent:findFirstChild("Left Leg").Transparency = 1
- part.Parent:findFirstChild("Right Leg").Transparency = 1
- if part.Parent:findFirstChild("Torso"):findFirstChild("roblox") == nil then return end
- part.Parent:findFirstChild("Torso"):findFirstChild("roblox"):remove()
- end
- end
- script.Parent.Touched:connect(onTouch)
- end))
- CylinderMesh157.Parent = Part151
- Script158.Name = "HatRemover"
- Script158.Parent = Part151
- table.insert(cors,sandbox(Script158,function()
- function onTouched(hit)
- local d = hit.Parent:GetChildren()
- for i=1, #d do
- if (d[i].className == "Hat") then
- d[i]:remove()
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script159.Name = "Head"
- Script159.Parent = Part151
- table.insert(cors,sandbox(Script159,function()
- function onTouched(hit)
- if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("xHead") == nil then
- local g = script.Parent.Parent.xHead:clone()
- g.Parent = hit.Parent
- local C = g:GetChildren()
- for i=1, #C do
- if C[i].className == "Part" then
- local W = Instance.new("Weld")
- W.Part0 = g.Middle
- W.Part1 = C[i]
- local CJ = CFrame.new(g.Middle.Position)
- local C0 = g.Middle.CFrame:inverse()*CJ
- local C1 = C[i].CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = g.Middle
- end
- local Y = Instance.new("Weld")
- Y.Part0 = hit.Parent.Head
- Y.Part1 = g.Middle
- Y.C0 = CFrame.new(0, 0, 0)
- Y.Parent = Y.Part0
- end
- local h = g:GetChildren()
- for i = 1, # h do
- h[i].Anchored = false
- h[i].CanCollide = false
- end
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Script160.Parent = Part151
- table.insert(cors,sandbox(Script160,function()
- -- declarations
- local head = script.Parent
- local sound = head:findFirstChild("Victory")
- function onTouched(part)
- local h = part.Parent:findFirstChild("Humanoid")
- if h~=nil then
- sound:play()
- if part.Parent:findFirstChild("Head"):findFirstChild("face").Texture == nil then return end
- part.Parent:findFirstChild("Head"):findFirstChild("face").Texture=""
- end
- end
- script.Parent.Touched:connect(onTouched)
- end))
- Sound161.Name = "Victory"
- Sound161.Parent = Part151
- Sound161.SoundId = "rbxasset://sounds/victory.wav"
- Sound161.Volume = 0
- Model162.Parent = Model0
- Model163.Parent = Model162
- Model164.Parent = Model163
- Model164.PrimaryPart = Part170
- Part165.Name = "Smooth Block Model"
- Part165.Parent = Model164
- Part165.BrickColor = BrickColor.new("Black")
- Part165.Transparency = 0.30000001192093
- Part165.Rotation = Vector3.new(0, -90, 0)
- Part165.Anchored = true
- Part165.Size = Vector3.new(3, 6, 1)
- Part165.CFrame = CFrame.new(26.4997463, 4.80859756, 105.500015, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
- Part165.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part165.Position = Vector3.new(26.4997463, 4.80859756, 105.500015)
- Part165.Orientation = Vector3.new(0, -90, 0)
- Part165.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part166.Name = "Smooth Block Model"
- Part166.Parent = Model164
- Part166.BrickColor = BrickColor.new("Black")
- Part166.Transparency = 0.30000001192093
- Part166.Anchored = true
- Part166.Size = Vector3.new(3, 6, 1)
- Part166.CFrame = CFrame.new(25.499754, 4.80859661, 107.500015, 1, 1.00761536e-05, -1.37016632e-05, -1.0075697e-05, 1, 3.31164229e-05, 1.37019997e-05, -3.31162773e-05, 1)
- Part166.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part166.Position = Vector3.new(25.499754, 4.80859661, 107.500015)
- Part166.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part167.Name = "PUT THE WEAPON IN THIS BRICK"
- Part167.Parent = Model164
- Part167.BrickColor = BrickColor.new("White")
- Part167.Rotation = Vector3.new(-179.98999, 0, -180)
- Part167.Anchored = true
- Part167.Size = Vector3.new(1, 1.20000005, 5)
- Part167.CFrame = CFrame.new(27.4999523, 4.51375055, 105.498085, -1, 4.05925348e-05, 1.37055313e-05, 4.05941646e-05, 1, 0.000119471551, -1.370068e-05, 0.000119472104, -1)
- Part167.TopSurface = Enum.SurfaceType.Smooth
- Part167.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part167.Position = Vector3.new(27.4999523, 4.51375055, 105.498085)
- Part167.Orientation = Vector3.new(-0.00999999978, 180, 0)
- Part167.Color = Color3.new(0.94902, 0.952941, 0.952941)
- Part168.Name = "Smooth Block Model"
- Part168.Parent = Model164
- Part168.BrickColor = BrickColor.new("Black")
- Part168.Transparency = 0.30000001192093
- Part168.Rotation = Vector3.new(0, -90, 0)
- Part168.Anchored = true
- Part168.Size = Vector3.new(5, 6, 1)
- Part168.CFrame = CFrame.new(23.4997845, 4.80858994, 105.500023, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
- Part168.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part168.Position = Vector3.new(23.4997845, 4.80858994, 105.500023)
- Part168.Orientation = Vector3.new(0, -90, 0)
- Part168.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part169.Name = "Smooth Block Model"
- Part169.Parent = Model164
- Part169.BrickColor = BrickColor.new("Black")
- Part169.Transparency = 0.30000001192093
- Part169.Anchored = true
- Part169.Size = Vector3.new(3, 6, 1)
- Part169.CFrame = CFrame.new(25.4998055, 4.80846691, 103.500061, 1, 1.00761536e-05, -1.37016632e-05, -1.0075697e-05, 1, 3.31164229e-05, 1.37019997e-05, -3.31162773e-05, 1)
- Part169.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part169.Position = Vector3.new(25.4998055, 4.80846691, 103.500061)
- Part169.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part170.Name = "Smooth Block Model"
- Part170.Parent = Model164
- Part170.BrickColor = BrickColor.new("Black")
- Part170.Transparency = 0.30000001192093
- Part170.Rotation = Vector3.new(0, -90, 0)
- Part170.Anchored = true
- Part170.Size = Vector3.new(5, 1.20000005, 4)
- Part170.CFrame = CFrame.new(24.9997559, 8.40858841, 105.499992, -3.19125729e-06, -2.54163842e-06, -1, 9.91143315e-06, 1, -2.54167003e-06, 1, -9.91144134e-06, -3.19123205e-06)
- Part170.TopSurface = Enum.SurfaceType.Smooth
- Part170.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part170.Position = Vector3.new(24.9997559, 8.40858841, 105.499992)
- Part170.Orientation = Vector3.new(0, -90, 0)
- Part170.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Script171.Name = "READ ME FOR INSTRUCTIONS"
- Script171.Parent = Model164
- table.insert(cors,sandbox(Script171,function()
- --DONT PUT THIS IN ANYTHING IT'S JUST INSTRUCTIONS.
- --First Place the "PUT THIS IN THE WEAPON" script in your Weapon or Tool.
- --Then place your Weapon or Tool in the "PUT THE WEAPON IN THIS BRICK" brick.
- --IMPORTANT (OPTINAL)
- --Before doing anything you should put the Weapon or Tool in the giver where you want it.
- end))
- Model172.Name = "For the sentry"
- Model172.Parent = Model163
- Humanoid173.Parent = Model172
- Humanoid173.Health = 0
- Humanoid173.MaxHealth = 0
- Part174.Name = "Head"
- Part174.Parent = Model172
- Part174.Anchored = true
- Part174.FormFactor = Enum.FormFactor.Plate
- Part174.Size = Vector3.new(1, 0.400000006, 5)
- Part174.CFrame = CFrame.new(27.4999886, 5.31335354, 105.498138, 1, 1.00761536e-05, -1.37016632e-05, -1.0075697e-05, 1, 3.31164229e-05, 1.37019997e-05, -3.31162773e-05, 1)
- Part174.Position = Vector3.new(27.4999886, 5.31335354, 105.498138)
- Tool175.Name = "Pistol [300][900]"
- Tool175.Parent = Model162
- Tool175.GripForward = Vector3.new(-0.2430062, 0, -0.970024765)
- Tool175.GripPos = Vector3.new(0.25, -0.349999994, -0.100000001)
- Tool175.GripRight = Vector3.new(0.970024765, 0, -0.2430062)
- Part176.Name = "Handle"
- Part176.Parent = Tool175
- Part176.BrickColor = BrickColor.new("Black")
- Part176.Transparency = 1
- Part176.Rotation = Vector3.new(-0.049999997, 3.01999998, -90.0799942)
- Part176.FormFactor = Enum.FormFactor.Symmetric
- Part176.Size = Vector3.new(1, 1, 2)
- Part176.CFrame = CFrame.new(24.917944, 2.30156422, 105.635521, -0.00146743178, 0.99860853, 0.0526022948, -0.99999094, -0.00151362014, 0.000867165858, 0.000945956679, -0.0526013039, 0.998604119)
- Part176.BottomSurface = Enum.SurfaceType.Smooth
- Part176.TopSurface = Enum.SurfaceType.Smooth
- Part176.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part176.Position = Vector3.new(24.917944, 2.30156422, 105.635521)
- Part176.Orientation = Vector3.new(-0.049999997, 3.01999998, -90.0899963)
- Part176.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Sound177.Name = "Fire"
- Sound177.Parent = Part176
- Sound177.Volume = 1
- Sound178.Name = "Reload"
- Sound178.Parent = Part176
- Sound178.SoundId = "http://www.roblox.com/asset/?id=2697432"
- Sound178.Volume = 1
- SpecialMesh179.Parent = Part176
- SpecialMesh179.MeshId = "http://www.roblox.com/asset/?id=4372594"
- SpecialMesh179.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- SpecialMesh179.MeshType = Enum.MeshType.FileMesh
- SpecialMesh179.Scale = Vector3.new(1.20000005, 1.20000005, 1.20000005)
- Weld180.Parent = Part176
- Weld180.C0 = CFrame.new(1310.99353, 8911.64844, 88.3400421, 0.970335543, -0.0125135863, 0.241438046, -0.0102670854, -0.9998914, -0.0105605181, 0.241543993, 0.00776838139, -0.97035861)
- Weld180.C1 = CFrame.new(8911.24902, -89.9400482, -1310.99365, -0.0102670854, -0.9998914, -0.0105605181, -0.241543993, -0.00776838139, 0.97035861, -0.970335662, 0.0125135882, -0.241438076)
- Weld181.Parent = Part176
- Weld181.C0 = CFrame.new(6.69330931, -201.102859, -203.469696, -0.000109314919, -0.99999994, 0.000103125349, 0.998273194, -0.000115156174, -0.05874075, 0.0587407574, 9.65222716e-05, 0.998273253)
- Weld181.C1 = CFrame.new(-201.503693, 201.869843, -6.69340611, 0.998271644, -0.000114983872, -0.0587406829, -0.0587405898, -9.5731506e-05, -0.998270094, 0.000109517299, 0.999997854, -0.000102420796)
- Weld181.Part0 = Part176
- Weld181.Part1 = Part186
- Script182.Name = "Bullet"
- Script182.Parent = Tool175
- Script182.Disabled = true
- table.insert(cors,sandbox(Script182,function()
- ball = script.Parent
- damage = math.random(30,50)
- function onTouched(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if hit.Parent.className == "Hat" or hit.Parent.className == "Tool" or hit.CanCollide == false then return end
- if humanoid ~= nil then
- tagHumanoid(humanoid)
- if hit.Name == "Head" then
- humanoid:TakeDamage(damage * 2)
- elseif hit.Name == "Torso" then
- humanoid:TakeDamage(damage * 1.5)
- end
- wait(2)
- untagHumanoid(humanoid)
- end
- connection:disconnect()
- ball.Parent = nil
- end
- function tagHumanoid(humanoid)
- -- todo: make tag expire
- local tag = ball:findFirstChild("creator")
- if tag ~= nil then
- local new_tag = tag: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
- connection = ball.Touched:connect(onTouched)
- wait(8)
- ball.Parent = nil
- end))
- NumberValue183.Name = "Ammo"
- NumberValue183.Parent = Tool175
- NumberValue183.Value = 300
- NumberValue184.Name = "MaxAmmo"
- NumberValue184.Parent = Tool175
- NumberValue184.Value = 300
- NumberValue185.Name = "StoredAmmo"
- NumberValue185.Parent = Tool175
- NumberValue185.Value = 900
- Part186.Name = "Flash"
- Part186.Parent = Tool175
- Part186.BrickColor = BrickColor.new("New Yeller")
- Part186.Transparency = 1
- Part186.Rotation = Vector3.new(-90.0499954, 0.0799999982, 3.01999998)
- Part186.CanCollide = false
- Part186.Size = Vector3.new(1, 1.20000005, 1)
- Part186.CFrame = CFrame.new(25.234417, 2.29949975, 104.017433, 0.998610258, -0.052602496, 0.0014672773, -0.00151381118, -0.000866457354, 0.999993145, -0.0526014045, -0.998607337, -0.00094515516)
- Part186.BottomSurface = Enum.SurfaceType.Smooth
- Part186.TopSurface = Enum.SurfaceType.Smooth
- Part186.Color = Color3.new(1, 1, 0)
- Part186.Position = Vector3.new(25.234417, 2.29949975, 104.017433)
- Part186.Orientation = Vector3.new(-89.7900009, 122.790001, -119.790001)
- Part186.Color = Color3.new(1, 1, 0)
- SpecialMesh187.Parent = Part186
- SpecialMesh187.Scale = Vector3.new(0.5, 1.5, 0.5)
- SpecialMesh187.MeshType = Enum.MeshType.Sphere
- SpecialMesh187.Scale = Vector3.new(0.5, 1.5, 0.5)
- Weld188.Parent = Part186
- Weld188.C0 = CFrame.new(8911.24512, -89.9400635, -1310.99402, -0.0102670835, -0.999891162, -0.0105605144, -0.241543934, -0.00776837906, 0.970358253, -0.970335662, 0.0125135882, -0.241438046)
- Weld188.C1 = CFrame.new(88.4400635, 8911.54492, -1310.19446, 0.241543934, 0.00776837906, -0.970358253, -0.0102670835, -0.999891162, -0.0105605144, -0.97033602, 0.0125135928, -0.241438136)
- Weld189.Parent = Part186
- Weld189.C0 = CFrame.new(-201.503006, 201.868546, -6.69343758, 0.998271465, -0.000114956201, -0.0587406829, -0.0587405786, -9.57277298e-05, -0.998270035, 0.000109544657, 0.999997735, -0.000102426166)
- Weld189.C1 = CFrame.new(-203.370468, -201.208191, -5.8937273, 0.058740478, 9.50747417e-05, 0.998268664, 0.99827081, -0.000114791488, -0.0587406307, 0.000109737979, 0.999996901, -0.00010181508)
- Weld189.Part0 = Part186
- Weld189.Part1 = Part190
- Part190.Name = "Chamber"
- Part190.Parent = Tool175
- Part190.BrickColor = BrickColor.new("Bright green")
- Part190.Transparency = 1
- Part190.Rotation = Vector3.new(-90.0499954, 0.0799999982, -86.9799957)
- Part190.CanCollide = false
- Part190.Size = Vector3.new(1, 1.20000005, 1)
- Part190.CFrame = CFrame.new(25.018795, 1.50134993, 105.535095, 0.0526029281, 0.99861455, 0.00146674435, 0.000865929585, -0.00151439081, 0.99999851, 0.998615205, -0.0526015796, -0.000944391126)
- Part190.FrontSurface = Enum.SurfaceType.Hinge
- Part190.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part190.Position = Vector3.new(25.018795, 1.50134993, 105.535095)
- Part190.Orientation = Vector3.new(-89.9000015, 122.779999, 150.23999)
- Part190.Color = Color3.new(0.294118, 0.592157, 0.294118)
- LocalScript191.Name = "Shooter"
- LocalScript191.Parent = Tool175
- table.insert(cors,sandbox(LocalScript191,function()
- Tool = script.Parent
- local arms = nil
- local torso = nil
- local weld33 = nil -- right arm
- local weld55 = nil -- left arm
- local welds = {}
- local reloading = false
- function ReloadSequence() -- this will be a pain in my blocky butt.
- local mag = Instance.new("Part")
- mag.Size = Vector3.new(1,1,1)
- mag.BrickColor = BrickColor.new(26)
- mag.CFrame = Tool.Handle.CFrame
- mag.Parent = game.Workspace
- local magmesh = Instance.new("BlockMesh")
- magmesh.Scale = Vector3.new(.2,.75,.3)
- magmesh.Parent = mag
- game:GetService("Debris"):addItem(mag,6)
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.2, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.4, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.6, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.8, math.rad(-80))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(280), -1, math.rad(-70))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(270), -1.2, math.rad(-60))
- wait(.05)
- local mag2 = Instance.new("Part")
- mag2.Size = Vector3.new(1,1,1)
- mag2.BrickColor = BrickColor.new(26)
- mag2.Parent = game.Workspace
- local magmesh2 = Instance.new("BlockMesh")
- magmesh2.Scale = Vector3.new(.2,.75,.3)
- magmesh2.Parent = mag2
- local magweld = Instance.new("Weld")
- leftarm = Tool.Parent["Left Arm"]
- magweld.Parent = mag2
- magweld.Part0 = mag2
- magweld.Part1 = leftarm
- magweld.C0 = CFrame.new(-1,0,0.3)
- magweld.C0 = magweld.C0 * CFrame.fromEulerAnglesXYZ(0,0.6,1.6)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(260), -1.2, math.rad(-50))
- wait(.1)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(270), -1, math.rad(-60))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(280), -0.8, math.rad(-70))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.6, math.rad(-80))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.4, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), -0.2, math.rad(-90))
- wait(.05)
- mag2:remove()
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
- wait(.1)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
- wait(.3)
- weld55.C1 = CFrame.new(-0.35, 0.1, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
- wait(.2)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
- wait(.2)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
- wait(.05)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
- end
- function Reload()
- if script.Parent.Ammo.Value < script.Parent.MaxAmmo.Value and reloading == false and script.Parent.StoredAmmo.Value >= 1 then
- reloading = true
- script.Parent.Ammo.Value = 0
- Tool.Handle.Reload:play()
- ReloadSequence()
- -- ...
- if script.Parent.StoredAmmo.Value >= script.Parent.MaxAmmo.Value then
- script.Parent.Ammo.Value = script.Parent.MaxAmmo.Value
- script.Parent.StoredAmmo.Value = script.Parent.StoredAmmo.Value - script.Parent.MaxAmmo.Value
- script.Parent.Recoil.Value = 5
- elseif script.Parent.StoredAmmo.Value < script.Parent.MaxAmmo.Value and script.Parent.StoredAmmo.Value >= 1 then
- script.Parent.Ammo.Value = script.Parent.StoredAmmo.Value
- script.Parent.StoredAmmo.Value = 0
- script.Parent.Recoil.Value = 5
- end
- reloading = false
- end
- end
- function Equip(mouse)
- wait(0.01)
- arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
- torso = Tool.Parent:FindFirstChild("Torso")
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- local weld1 = Instance.new("Weld") -- left arm
- weld55 = weld1
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
- welds[1] = weld1
- local weld2 = Instance.new("Weld") -- right arm
- weld33 = weld2
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
- welds[2] = weld2
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Unequip(mouse)
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- welds[1].Parent = nil
- welds[2].Parent = nil
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function fire(v)
- Tool.Handle.Fire:play()
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local missile = Instance.new("Part")
- local spawnPos = vCharacter.PrimaryPart.Position
- spawnPos = spawnPos + (v * 8)
- missile.Position = spawnPos
- missile.Size = Vector3.new(1,1,1)
- missile.Velocity = v * 400 + (Vector3.new(math.random(-1,1) * script.Parent.Recoil.Value,math.random(-1,1) * script.Parent.Recoil.Value,math.random(-1,1) * script.Parent.Recoil.Value))
- missile.BrickColor = BrickColor.new(26)
- missile.Shape = 0
- missile.BottomSurface = 0
- missile.TopSurface = 0
- missile.Name = "Bullet"
- missile.Elasticity = 0
- missile.Reflectance = 0
- missile.Friction = .9
- local shell = Instance.new("Part")
- shell.CFrame = Tool.Chamber.CFrame * CFrame.fromEulerAnglesXYZ(1.5,0,0)
- shell.Size = Vector3.new(1,1,1)
- shell.BrickColor = BrickColor.new(24)
- shell.BottomSurface = 0
- shell.TopSurface = 0
- shell.Name = "Shell"
- shell.Velocity = Tool.Chamber.CFrame.lookVector * 30 + Vector3.new(math.random(-10,10),20,math.random(-10,10))
- shell.RotVelocity = Vector3.new(0,200,0)
- local shellmesh = Instance.new("SpecialMesh")
- shellmesh.Scale = Vector3.new(.3,.75,.3)
- shellmesh.Parent = shell
- local force = Instance.new("BodyForce")
- force.force = Vector3.new(0,missile:getMass() * 196,0)
- force.Parent = missile
- local mesh = Instance.new("SpecialMesh")
- mesh.Scale = Vector3.new(.2,.2,.2)
- mesh.MeshType = "Sphere"
- mesh.Parent = missile
- local new_script = script.Parent.Bullet:clone()
- new_script.Disabled = false
- new_script.Parent = missile
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = vPlayer
- creator_tag.Name = "creator"
- creator_tag.Parent = missile
- missile.Parent = game.Workspace
- shell.Parent = game.Workspace
- game:GetService("Debris"):addItem(shell,6)
- weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15),0)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
- Tool.Flash.Mesh.Scale = Vector3.new(1, 2, 1)
- Tool.Flash.Transparency = .3
- wait(0.025)
- weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15),0)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
- Tool.Flash.Mesh.Scale = Vector3.new(.75, 1.5, .75)
- Tool.Flash.Transparency = .5
- wait(0.025)
- weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15),0)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0.2, math.rad(-90))
- Tool.Flash.Mesh.Scale = Vector3.new(.5, 1.5, .5)
- Tool.Flash.Transparency = .8
- wait(0.025)
- weld33.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15),0)
- weld55.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
- Tool.Flash.Transparency = 1
- end
- function KeyDownFunctions(key)
- if key == "r" then
- Reload()
- end
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- local character = Tool.Parent;
- local humanoid = character.Humanoid
- if humanoid == nil then
- print("Humanoid not found")
- return
- end
- local ammo = script.Parent.Ammo
- local maxammo = script.Parent.MaxAmmo
- if reloading == false and humanoid.Health >= 1 then
- if ammo.Value >= 1 then
- ammo.Value = ammo.Value - 1
- local targetPos = humanoid.TargetPoint
- local lookAt = (targetPos - character.Head.Position).unit
- if script.Parent.Recoil.Value < 20 then
- script.Parent.Recoil.Value = script.Parent.Recoil.Value + math.random(1,3)
- end
- fire(lookAt)
- else
- Reload()
- end
- end
- Tool.Enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.KeyDown:connect(KeyDownFunctions)
- while true do
- wait()
- script.Parent.Name = "Pistol ["..script.Parent.Ammo.Value.."]["..script.Parent.StoredAmmo.Value.."]"
- end
- end
- Tool.Equipped:connect(onEquippedLocal)
- script.Parent.Activated:connect(onActivated)
- Tool.Equipped:connect(Equip)
- Tool.Unequipped:connect(Unequip)
- end))
- Script192.Name = "Weld"
- Script192.Parent = Tool175
- table.insert(cors,sandbox(Script192,function()
- local prev
- local parts = script.Parent:GetChildren()
- for i = 1,#parts do
- --remove any of the following parts that say "(parts[i].className == [className])" if you want to exclude that particular className type from the Weld
- if ((parts[i].className == "Part") or (parts[i].className == "Seat") or (parts[i].className == "TrussPart") or (parts[i].className == "VehicleSeat") or (parts[i].className == "SkateboardPlatform")) then
- if (prev ~= nil) then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- parts[i].Anchored = false
- end
- prev = parts[i]
- end
- end
- wait(3)
- end))
- LocalScript193.Name = "Crouch"
- LocalScript193.Parent = Tool175
- table.insert(cors,sandbox(LocalScript193,function()
- on = 0
- Tool = script.Parent
- welds = {}
- sh = {}
- arms = nil
- torso = nil
- f = nil
- function Crouch(ison)
- if arms == nil and torso == nil then
- arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")}
- torso = Tool.Parent:FindFirstChild("Torso")
- end
- if arms ~= nil and torso ~= nil then
- sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- if ison == 1 then
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- local weld1 = Instance.new("Weld")
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(-0.5, 0.75, 1)
- arms[1].Name = "LDave"
- arms[1].CanCollide = true
- welds[1] = weld1
- -------------------------------------------
- local weld2 = Instance.new("Weld")
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- arms[2].Name = "RDave"
- arms[2].CanCollide = true
- welds[2] = weld2
- ---------------------------------
- local force = Instance.new("BodyForce")
- force.Parent = torso
- f = force
- wait(0.01)
- elseif ison == 0 then
- if arms then
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- f.Parent = nil
- arms[2].Name = "Right Leg"
- arms[1].Name = "Left Leg"
- welds[1].Parent = nil
- welds[2].Parent = nil
- end
- end
- --
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Key(key)
- if key then
- key = string.lower(key)
- if (key=="c") then
- if on == 1 then
- on = 0
- elseif on == 0 then
- on = 1
- end
- Crouch(on)
- end
- end
- end
- function Equip(mouse)
- mouse.KeyDown:connect(Key)
- end
- script.Parent.Equipped:connect(Equip)
- end))
- Script194.Name = "LocalMelee"
- Script194.Parent = Tool175
- table.insert(cors,sandbox(Script194,function()
- --[[
- Dax,
- See the MeleeScript.
- ]]
- local canmelee = true;
- local tool = script.Parent;
- function onKeyDown(key)
- key:lower();
- if key == "v" then
- if canmelee == false then
- return;
- end
- tool.Melee:play()
- canmelee = false;
- local rgrip = tool.Parent["Right Arm"].RightGrip;
- script.melee.Value = true;
- for i = 1,6 do
- rgrip.C1 = rgrip.C1 * CFrame.fromEulerAnglesXYZ(-0.55,0,0);
- wait();
- end
- wait(0.25);
- for i = 1, 6 do
- rgrip.C1 = rgrip.C1 * CFrame.fromEulerAnglesXYZ(0.55,0,0);
- wait();
- end
- script.melee.Value = false;
- wait(0.5);
- canmelee = true;
- end
- end
- function onSelect(mouse)
- mouse.KeyDown:connect(onKeyDown);
- end
- function blow(hit)
- local humanoid = hit.Parent:findFirstChild("Humanoid")
- if not humanoid then return end
- local vCharacter = Tool.Parent
- local vPlayer = game.Players:playerFromCharacter(vCharacter)
- local hum = vCharacter:findFirstChild("Humanoid") -- non-nil if tool held by a character
- if humanoid ~= hum and hum ~= nil and game.Players:playerFromCharacter(humanoid.Parent) and game.Players:playerFromCharacter(humanoid.Parent).TeamColor~=cc then
- tagHumanoid(humanoid, vPlayer)
- humanoid:TakeDamage(300)
- wait(1)
- untagHumanoid(humanoid)
- end
- end
- tool.Equipped:connect(onSelect);
- end))
- LocalScript195.Parent = Tool175
- table.insert(cors,sandbox(LocalScript195,function()
- --by kickinpoo
- MaxDistance = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999--The max distance you can fire
- Tool = script.Parent
- TouchDamage = 20 -- Disabled, but optional.
- DirectDamage = 15 -- The damage dealed if someone is hit directly.
- function fireLaser(pos, obj)
- local part = Instance.new("Part")
- part.Anchored = true
- part.CanCollide = false
- part.formFactor = "Symmetric"
- part.TopSurface = 0
- part.BottomSurface = 0
- part.BrickColor = BrickColor.new("Really red")
- part.Transparency = 0.9
- part.Name = "Laser Shot"
- part.Locked = true
- part.Size = Vector3.new(1,1,(pos - obj.Position).magnitude)
- part.CFrame = CFrame.new(((obj.Position + pos)/2) + 1 * (pos - obj.Position).unit, pos)
- local mesh = Instance.new("BlockMesh")
- mesh.Scale = Vector3.new(0.25,0.25,1)
- mesh.Parent = part
- part.Parent = workspace
- --Optional: Laser will damage others than the target.
- --part.Touched:connect(onTouch)
- getTarget(pos)
- for v=1, 10 do
- part.Transparency = 0.1 * v
- wait(0.05)
- end
- part:remove()
- end
- function getTarget(pos)
- local child = workspace:getChildren()
- for i,v in pairs(child) do
- local h = getHumanoid(v)
- if h ~= nil and v ~= Tool.Parent then
- local torso = v:findFirstChild("Torso")
- if torso ~= nil then
- if (torso.Position - pos).magnitude <= 3 then
- local player = game.Players:findFirstChild(Tool.Parent.Name)
- if player ~= nil then
- tagHumanoid(h)
- end
- h:takeDamage(DirectDamage)
- wait(0.05)
- untagHumanoid(h)
- end
- end
- end
- end
- end
- function getHumanoid(obj)
- local child = obj:getChildren()
- for i=1, #child do
- if child[i].className == "Humanoid" then
- return child[i]
- end
- end
- return nil
- end
- db = false
- function onTouch(hit)
- if db then return end
- db = true
- if hit.Parent ~= Tool.Parent then
- local h = getHumanoid(hit.Parent)
- if h ~= nil then
- local player = game.Players:findFirstChild(Tool.Parent.Name)
- if player ~= nil then
- tagHumanoid(h, player)
- end
- h:takeDamage(TouchDamage)
- wait(0.1)
- untagHumanoid(h)
- end
- end
- wait(0.9)
- db = false
- end
- function tagHumanoid(humanoid, player)
- local creator_tag = Instance.new("ObjectValue")
- creator_tag.Value = player
- creator_tag.Name = "creator"
- creator_tag.Parent = humanoid
- end
- function untagHumanoid(humanoid)
- if humanoid ~= nil then
- local tag = humanoid:findFirstChild("creator")
- if tag ~= nil then
- tag.Parent = nil
- end
- end
- end
- enabled = true
- function onActivated(mouse)
- if not enabled then return end
- enabled = false
- local handle = Tool:findFirstChild("Handle")
- local human = Tool.Parent:findFirstChild("Humanoid")
- if handle ~= nil and human ~= nil then
- if (handle.Position - human.TargetPoint).magnitude <= MaxDistance then
- handle.Fire:play()
- fireLaser(human.TargetPoint, handle)
- end
- end
- enabled = true
- end
- mouseabled = true
- function onButton1Down(mouse)
- if not mouseabled or mouse.Target == nil then return end
- mouseabled = false
- mouse.Icon = "rbxasset://textures/GunWaitCursor.png"
- wait(0.5)
- mouseabled = true
- mouse.Icon = "rbxasset://textures/GunCursor.png"
- end
- zoom = false
- function onKeyDown(key)
- key:lower()
- if key == "q" then -- Some of these I took from the awp because I didn't know how to modify the camera, since there are not tutorials in the wiki.
- if not zoom then
- zoom = true
- local obj = Instance.new("Part")
- obj.Parent = Tool.Parent
- obj.Size = Vector3.new(1,1,1)
- obj.Transparency = 1
- obj.CanCollide = false
- obj.Anchored = true
- obj.Name = "Zoom"
- obj.CFrame = CFrame.new(Tool.Parent.Humanoid.TargetPoint)
- Tool.Parent.Torso.Anchored = true
- cam = workspace.CurrentCamera:Clone()
- cam.Parent = workspace
- workspace.CurrentCamera.CameraSubject = obj
- workspace.CurrentCamera.CameraType = 4
- else
- zoom = false
- local check = Tool.Parent:findFirstChild("Zoom")
- if check ~= nil then
- check:remove()
- end
- Tool.Parent.Torso.Anchored = false
- workspace.CurrentCamera.CameraSubject = Tool.Parent.Humanoid
- workspace.CurrentCamera:Remove()
- workspace.CurrentCamera = cam
- end
- end
- end
- function onSelected(mouse)
- connection = script.Parent.Activated:connect(onActivated)
- mouse.KeyDown:connect(onKeyDown)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Icon = "rbxasset://textures/GunCursor.png"
- end
- function onDeselected()
- connection:disconnect()
- end
- script.Parent.Equipped:connect(onSelected)
- script.Parent.Unequipped:connect(onDeselected)
- end))
- Script196.Name = "PUT THIS IN THE WEAPON"
- Script196.Parent = Tool175
- table.insert(cors,sandbox(Script196,function()
- local debounce = false
- function getPlayer(humanoid)
- local players = game.Players:children()
- for i = 1, #players do
- if players[i].Character.Humanoid == humanoid then return players[i] end
- end
- return nil
- end
- function onTouch(part)
- local human = part.Parent:findFirstChild("Humanoid")
- if (human ~= nil) and debounce == false then
- debounce = true
- local player = getPlayer(human)
- if (player == nil) then return end
- script.Parent:clone().Parent = player.Backpack
- wait(2)
- debounce = false
- end
- end
- script.Parent.Parent.Touched:connect(onTouch)
- 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