Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- workspace.PGSPhysicsSolverEnabled = false --this to make it work
- --ELEVATOR
- 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"))
- Part0 = Instance.new("Part")
- Model1 = Instance.new("Model")
- Model2 = Instance.new("Model")
- Model3 = Instance.new("Model")
- Part4 = Instance.new("Part")
- Decal5 = Instance.new("Decal")
- BlockMesh6 = Instance.new("BlockMesh")
- Part7 = Instance.new("Part")
- BlockMesh8 = Instance.new("BlockMesh")
- Part9 = Instance.new("Part")
- SurfaceGui10 = Instance.new("SurfaceGui")
- Frame11 = Instance.new("Frame")
- TextLabel12 = Instance.new("TextLabel")
- ImageLabel13 = Instance.new("ImageLabel")
- BlockMesh14 = Instance.new("BlockMesh")
- Part15 = Instance.new("Part")
- Part16 = Instance.new("Part")
- Part17 = Instance.new("Part")
- Part18 = Instance.new("Part")
- Part19 = Instance.new("Part")
- Part20 = Instance.new("Part")
- Decal21 = Instance.new("Decal")
- IntValue22 = Instance.new("IntValue")
- BlockMesh23 = Instance.new("BlockMesh")
- Part24 = Instance.new("Part")
- Decal25 = Instance.new("Decal")
- BlockMesh26 = Instance.new("BlockMesh")
- ClickDetector27 = Instance.new("ClickDetector")
- Decal28 = Instance.new("Decal")
- Part29 = Instance.new("Part")
- BlockMesh30 = Instance.new("BlockMesh")
- Part31 = Instance.new("Part")
- Part32 = Instance.new("Part")
- Model33 = Instance.new("Model")
- Part34 = Instance.new("Part")
- Part35 = Instance.new("Part")
- Part36 = Instance.new("Part")
- Part37 = Instance.new("Part")
- Model38 = Instance.new("Model")
- Part39 = Instance.new("Part")
- Part40 = Instance.new("Part")
- Model41 = Instance.new("Model")
- Part42 = Instance.new("Part")
- BlockMesh43 = Instance.new("BlockMesh")
- Part44 = Instance.new("Part")
- Part45 = Instance.new("Part")
- Part46 = Instance.new("Part")
- Part47 = Instance.new("Part")
- Part48 = Instance.new("Part")
- Part49 = Instance.new("Part")
- Decal50 = Instance.new("Decal")
- IntValue51 = Instance.new("IntValue")
- BlockMesh52 = Instance.new("BlockMesh")
- Part53 = Instance.new("Part")
- Decal54 = Instance.new("Decal")
- BlockMesh55 = Instance.new("BlockMesh")
- ClickDetector56 = Instance.new("ClickDetector")
- Decal57 = Instance.new("Decal")
- Part58 = Instance.new("Part")
- Part59 = Instance.new("Part")
- Part60 = Instance.new("Part")
- Part61 = Instance.new("Part")
- Part62 = Instance.new("Part")
- Part63 = Instance.new("Part")
- Model64 = Instance.new("Model")
- Part65 = Instance.new("Part")
- Model66 = Instance.new("Model")
- Part67 = Instance.new("Part")
- Model68 = Instance.new("Model")
- StringValue69 = Instance.new("StringValue")
- BoolValue70 = Instance.new("BoolValue")
- NumberValue71 = Instance.new("NumberValue")
- Script72 = Instance.new("Script")
- NumberValue73 = Instance.new("NumberValue")
- Script74 = Instance.new("Script")
- NumberValue75 = Instance.new("NumberValue")
- NumberValue76 = Instance.new("NumberValue")
- NumberValue77 = Instance.new("NumberValue")
- Model78 = Instance.new("Model")
- Part79 = Instance.new("Part")
- Part80 = Instance.new("Part")
- Part81 = Instance.new("Part")
- Part82 = Instance.new("Part")
- Part83 = Instance.new("Part")
- Part84 = Instance.new("Part")
- Part85 = Instance.new("Part")
- Part86 = Instance.new("Part")
- Part87 = Instance.new("Part")
- Part88 = Instance.new("Part")
- Part89 = Instance.new("Part")
- BlockMesh90 = Instance.new("BlockMesh")
- Decal91 = Instance.new("Decal")
- Model92 = Instance.new("Model")
- Part93 = Instance.new("Part")
- Part94 = Instance.new("Part")
- Part95 = Instance.new("Part")
- PointLight96 = Instance.new("PointLight")
- Part97 = Instance.new("Part")
- Part98 = Instance.new("Part")
- Part99 = Instance.new("Part")
- Part100 = Instance.new("Part")
- Part101 = Instance.new("Part")
- Decal102 = Instance.new("Decal")
- Part103 = Instance.new("Part")
- Part104 = Instance.new("Part")
- Part105 = Instance.new("Part")
- Model106 = Instance.new("Model")
- Part107 = Instance.new("Part")
- Part108 = Instance.new("Part")
- Part109 = Instance.new("Part")
- Sound110 = Instance.new("Sound")
- Sound111 = Instance.new("Sound")
- BodyGyro112 = Instance.new("BodyGyro")
- BodyPosition113 = Instance.new("BodyPosition")
- BodyVelocity114 = Instance.new("BodyVelocity")
- Sound115 = Instance.new("Sound")
- Sound116 = Instance.new("Sound")
- Sound117 = Instance.new("Sound")
- Part118 = Instance.new("Part")
- BlockMesh119 = Instance.new("BlockMesh")
- Decal120 = Instance.new("Decal")
- IntValue121 = Instance.new("IntValue")
- Part122 = Instance.new("Part")
- Part123 = Instance.new("Part")
- Part124 = Instance.new("Part")
- Part125 = Instance.new("Part")
- Part126 = Instance.new("Part")
- Part127 = Instance.new("Part")
- Part128 = Instance.new("Part")
- Decal129 = Instance.new("Decal")
- BlockMesh130 = Instance.new("BlockMesh")
- ClickDetector131 = Instance.new("ClickDetector")
- Decal132 = Instance.new("Decal")
- Decal133 = Instance.new("Decal")
- Part134 = Instance.new("Part")
- Decal135 = Instance.new("Decal")
- BlockMesh136 = Instance.new("BlockMesh")
- ClickDetector137 = Instance.new("ClickDetector")
- Decal138 = Instance.new("Decal")
- Decal139 = Instance.new("Decal")
- Part140 = Instance.new("Part")
- SurfaceGui141 = Instance.new("SurfaceGui")
- Frame142 = Instance.new("Frame")
- TextLabel143 = Instance.new("TextLabel")
- ImageLabel144 = Instance.new("ImageLabel")
- TextBox145 = Instance.new("TextBox")
- Part146 = Instance.new("Part")
- Part147 = Instance.new("Part")
- Decal148 = Instance.new("Decal")
- BlockMesh149 = Instance.new("BlockMesh")
- ClickDetector150 = Instance.new("ClickDetector")
- Decal151 = Instance.new("Decal")
- Decal152 = Instance.new("Decal")
- Part153 = Instance.new("Part")
- Decal154 = Instance.new("Decal")
- BlockMesh155 = Instance.new("BlockMesh")
- ClickDetector156 = Instance.new("ClickDetector")
- Decal157 = Instance.new("Decal")
- Decal158 = Instance.new("Decal")
- Part159 = Instance.new("Part")
- Part160 = Instance.new("Part")
- Script161 = Instance.new("Script")
- BoolValue162 = Instance.new("BoolValue")
- BoolValue163 = Instance.new("BoolValue")
- NumberValue164 = Instance.new("NumberValue")
- BoolValue165 = Instance.new("BoolValue")
- BoolValue166 = Instance.new("BoolValue")
- BoolValue167 = Instance.new("BoolValue")
- Script168 = Instance.new("Script")
- Model169 = Instance.new("Model")
- Part170 = Instance.new("Part")
- Model171 = Instance.new("Model")
- Part172 = Instance.new("Part")
- Model173 = Instance.new("Model")
- Part174 = Instance.new("Part")
- Part175 = Instance.new("Part")
- Part176 = Instance.new("Part")
- Part177 = Instance.new("Part")
- Part178 = Instance.new("Part")
- Part179 = Instance.new("Part")
- Part180 = Instance.new("Part")
- Part181 = Instance.new("Part")
- Model182 = Instance.new("Model")
- Part183 = Instance.new("Part")
- Motor6D184 = Instance.new("Motor6D")
- Part185 = Instance.new("Part")
- Motor6D186 = Instance.new("Motor6D")
- Motor6D187 = Instance.new("Motor6D")
- Motor6D188 = Instance.new("Motor6D")
- Motor6D189 = Instance.new("Motor6D")
- Motor6D190 = Instance.new("Motor6D")
- BodyForce191 = Instance.new("BodyForce")
- Part192 = Instance.new("Part")
- Part193 = Instance.new("Part")
- Part194 = Instance.new("Part")
- Part195 = Instance.new("Part")
- Part196 = Instance.new("Part")
- Decal197 = Instance.new("Decal")
- SpecialMesh198 = Instance.new("SpecialMesh")
- Humanoid199 = Instance.new("Humanoid")
- Script200 = Instance.new("Script")
- StringValue201 = Instance.new("StringValue")
- Animation202 = Instance.new("Animation")
- StringValue203 = Instance.new("StringValue")
- Animation204 = Instance.new("Animation")
- StringValue205 = Instance.new("StringValue")
- Animation206 = Instance.new("Animation")
- NumberValue207 = Instance.new("NumberValue")
- Animation208 = Instance.new("Animation")
- NumberValue209 = Instance.new("NumberValue")
- StringValue210 = Instance.new("StringValue")
- Animation211 = Instance.new("Animation")
- StringValue212 = Instance.new("StringValue")
- Animation213 = Instance.new("Animation")
- StringValue214 = Instance.new("StringValue")
- Animation215 = Instance.new("Animation")
- StringValue216 = Instance.new("StringValue")
- Animation217 = Instance.new("Animation")
- Script218 = Instance.new("Script")
- BillboardGui219 = Instance.new("BillboardGui")
- TextLabel220 = Instance.new("TextLabel")
- Configuration221 = Instance.new("Configuration")
- Configuration222 = Instance.new("Configuration")
- IntValue223 = Instance.new("IntValue")
- BoolValue224 = Instance.new("BoolValue")
- IntValue225 = Instance.new("IntValue")
- IntValue226 = Instance.new("IntValue")
- Configuration227 = Instance.new("Configuration")
- Animation228 = Instance.new("Animation")
- Animation229 = Instance.new("Animation")
- CharacterMesh230 = Instance.new("CharacterMesh")
- CharacterMesh231 = Instance.new("CharacterMesh")
- CharacterMesh232 = Instance.new("CharacterMesh")
- CharacterMesh233 = Instance.new("CharacterMesh")
- CharacterMesh234 = Instance.new("CharacterMesh")
- Sound235 = Instance.new("Sound")
- BodyColors236 = Instance.new("BodyColors")
- Model1.Name = "Teknikk FramCo Gen4 MRL"
- Model1.Parent = mas
- Model2.Name = "Floors"
- Model2.Parent = Model1
- Model3.Name = "Floor1"
- Model3.Parent = Model2
- Part4.Name = "DirIndUp2"
- Part4.Parent = Model3
- Part4.Material = Enum.Material.SmoothPlastic
- Part4.BrickColor = BrickColor.new("Really black")
- Part4.Transparency = 1
- Part4.Rotation = Vector3.new(0, 90, 0)
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.Size = Vector3.new(0.200000003, 0.400000006, 0.699999988)
- Part4.CFrame = CFrame.new(-5.18435812, 10.0125999, -3.73449302, 0, 0, 1, 1.14014131e-10, 1, 0, -1, -1.14014131e-10, 0)
- Part4.BackSurface = Enum.SurfaceType.Weld
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.RightSurface = Enum.SurfaceType.Weld
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part4.Position = Vector3.new(-5.18435812, 10.0125999, -3.73449302)
- Part4.Orientation = Vector3.new(0, 90, 0)
- Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal5.Parent = Part4
- Decal5.Texture = "http://www.roblox.com/asset/?id=73327045"
- Decal5.Face = Enum.NormalId.Left
- BlockMesh6.Parent = Part4
- BlockMesh6.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh6.Scale = Vector3.new(0.100000001, 1, 1)
- BlockMesh6.Scale = Vector3.new(0.100000001, 1, 1)
- Part7.Name = "DirectionInd"
- Part7.Parent = Model3
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.BrickColor = BrickColor.new("Black")
- Part7.Rotation = Vector3.new(-180, 0, 180)
- Part7.Anchored = true
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.Size = Vector3.new(0.800000727, 0.800000012, 0.200000003)
- Part7.CFrame = CFrame.new(-7.18435812, 10.0125599, -3.93450594, -1.00000608, -8.60058753e-06, -5.36581501e-06, -8.60027285e-06, 1.00000346, 4.60103865e-06, 5.4250122e-06, 4.59702551e-06, -1.00000596)
- Part7.BackSurface = Enum.SurfaceType.Weld
- Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.LeftSurface = Enum.SurfaceType.Weld
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Position = Vector3.new(-7.18435812, 10.0125599, -3.93450594)
- Part7.Orientation = Vector3.new(0, -180, 0)
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh8.Parent = Part7
- BlockMesh8.Scale = Vector3.new(0.899999976, 0.800000012, 1)
- BlockMesh8.Scale = Vector3.new(0.899999976, 0.800000012, 1)
- Part9.Name = "FloorIndicator"
- Part9.Parent = Model3
- Part9.Material = Enum.Material.SmoothPlastic
- Part9.BrickColor = BrickColor.new("Really black")
- Part9.Rotation = Vector3.new(0, 90, 0)
- Part9.FormFactor = Enum.FormFactor.Custom
- Part9.Size = Vector3.new(0.200000003, 0.800000012, 1.20000005)
- Part9.CFrame = CFrame.new(-6.18435812, 10.0125599, -3.93450594, -5.36558218e-06, -8.58379644e-06, 1, 4.58869863e-06, 1, 8.58382191e-06, -1, 4.58853492e-06, -5.36555308e-06)
- Part9.BackSurface = Enum.SurfaceType.Weld
- Part9.BottomSurface = Enum.SurfaceType.Weld
- Part9.FrontSurface = Enum.SurfaceType.Weld
- Part9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part9.RightSurface = Enum.SurfaceType.Weld
- Part9.TopSurface = Enum.SurfaceType.Weld
- Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part9.Position = Vector3.new(-6.18435812, 10.0125599, -3.93450594)
- Part9.Orientation = Vector3.new(0, 90, 0)
- Part9.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- SurfaceGui10.Parent = Part9
- SurfaceGui10.Face = Enum.NormalId.Left
- SurfaceGui10.CanvasSize = Vector2.new(100, 50)
- Frame11.Parent = SurfaceGui10
- Frame11.Transparency = 1
- Frame11.Size = UDim2.new(1, 0, 0.75, 0)
- Frame11.Position = UDim2.new(0, 0, 0.119999997, 0)
- Frame11.BackgroundColor3 = Color3.new(0.364706, 0, 0)
- Frame11.BackgroundTransparency = 1
- Frame11.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Frame11.BorderSizePixel = 0
- Frame11.ClipsDescendants = true
- TextLabel12.Name = "Indicator"
- TextLabel12.Parent = Frame11
- TextLabel12.Transparency = 1
- TextLabel12.Size = UDim2.new(0, 50, 0, 34)
- TextLabel12.Text = "1"
- TextLabel12.Position = UDim2.new(0, 50, 0, 2)
- TextLabel12.BackgroundColor3 = Color3.new(0.541176, 1, 0.0196078)
- TextLabel12.BackgroundTransparency = 1
- TextLabel12.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel12.ZIndex = 2
- TextLabel12.Font = Enum.Font.SourceSans
- TextLabel12.FontSize = Enum.FontSize.Size48
- TextLabel12.TextColor3 = Color3.new(0.298039, 1, 0)
- ImageLabel13.Name = "Arrow"
- ImageLabel13.Parent = Frame11
- ImageLabel13.Transparency = 1
- ImageLabel13.Size = UDim2.new(0, 16, 0, 34)
- ImageLabel13.Position = UDim2.new(0, 1, 0, 2)
- ImageLabel13.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel13.BackgroundTransparency = 1
- ImageLabel13.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ImageLabel13.BorderSizePixel = 0
- ImageLabel13.Image = "rbxassetid://0"
- BlockMesh14.Parent = Part9
- BlockMesh14.Scale = Vector3.new(1, 0.800000012, 1.07000005)
- BlockMesh14.Scale = Vector3.new(1, 0.800000012, 1.07000005)
- Part15.Name = "ShaftSupport"
- Part15.Parent = Model3
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.BrickColor = BrickColor.new("Dark stone grey")
- Part15.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part15.Anchored = true
- Part15.Elasticity = 0
- Part15.FormFactor = Enum.FormFactor.Custom
- Part15.Friction = 0
- Part15.Size = Vector3.new(8.79999924, 2.4000001, 0.400000036)
- Part15.CFrame = CFrame.new(-6.17221212, 10.6013279, -4.64062119, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part15.Position = Vector3.new(-6.17221212, 10.6013279, -4.64062119)
- Part15.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part15.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part16.Parent = Model3
- Part16.Material = Enum.Material.SmoothPlastic
- Part16.Transparency = 0.5
- Part16.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part16.Anchored = true
- Part16.FormFactor = Enum.FormFactor.Custom
- Part16.Size = Vector3.new(10.8000021, 2.39999723, 0.400000036)
- Part16.CFrame = CFrame.new(-6.1723938, 10.6001139, -4.24059677, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part16.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part16.Position = Vector3.new(-6.1723938, 10.6001139, -4.24059677)
- Part16.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part17.Name = "ElevatorDoorFrame"
- Part17.Parent = Model3
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.BrickColor = BrickColor.new("Dark stone grey")
- Part17.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part17.Anchored = true
- Part17.FormFactor = Enum.FormFactor.Custom
- Part17.Size = Vector3.new(4.80000067, 0.200000003, 0.400000036)
- Part17.CFrame = CFrame.new(-6.1723938, 9.30062199, -4.24303818, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part17.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part17.LeftSurface = Enum.SurfaceType.Weld
- Part17.TopSurface = Enum.SurfaceType.Weld
- Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part17.Position = Vector3.new(-6.1723938, 9.30062199, -4.24303818)
- Part17.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part17.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part18.Name = "ShaftSupport"
- Part18.Parent = Model3
- Part18.Material = Enum.Material.SmoothPlastic
- Part18.BrickColor = BrickColor.new("Dark stone grey")
- Part18.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part18.Anchored = true
- Part18.Elasticity = 0
- Part18.FormFactor = Enum.FormFactor.Custom
- Part18.Friction = 0
- Part18.Size = Vector3.new(0.999998152, 11.7999964, 0.600000024)
- Part18.CFrame = CFrame.new(-1.27212596, 5.90295982, -4.74725008, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part18.BottomSurface = Enum.SurfaceType.Smooth
- Part18.TopSurface = Enum.SurfaceType.Smooth
- Part18.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part18.Position = Vector3.new(-1.27212596, 5.90295982, -4.74725008)
- Part18.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part18.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part19.Parent = Model3
- Part19.Material = Enum.Material.SmoothPlastic
- Part19.Transparency = 0.5
- Part19.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part19.Anchored = true
- Part19.FormFactor = Enum.FormFactor.Custom
- Part19.Size = Vector3.new(3.00000429, 8.19999981, 0.400000036)
- Part19.CFrame = CFrame.new(-2.27227807, 5.30211306, -4.2488389, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part19.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part19.Position = Vector3.new(-2.27227807, 5.30211306, -4.2488389)
- Part19.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part20.Name = "DirIndUp1"
- Part20.Parent = Model3
- Part20.Material = Enum.Material.SmoothPlastic
- Part20.BrickColor = BrickColor.new("Really black")
- Part20.Transparency = 1
- Part20.Rotation = Vector3.new(0, 90, 0)
- Part20.FormFactor = Enum.FormFactor.Custom
- Part20.Size = Vector3.new(0.200000003, 0.400000006, 0.699999988)
- Part20.CFrame = CFrame.new(-7.18435812, 10.0125599, -3.73449302, -5.43447095e-06, -2.10475264e-08, 1, 4.60185311e-06, 1, 2.10720827e-08, -1, 4.60165847e-06, -5.43450005e-06)
- Part20.BackSurface = Enum.SurfaceType.Weld
- Part20.BottomSurface = Enum.SurfaceType.Smooth
- Part20.RightSurface = Enum.SurfaceType.Weld
- Part20.TopSurface = Enum.SurfaceType.Smooth
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part20.Position = Vector3.new(-7.18435812, 10.0125599, -3.73449302)
- Part20.Orientation = Vector3.new(0, 90, 0)
- Part20.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal21.Parent = Part20
- Decal21.Texture = "http://www.roblox.com/asset/?id=73327045"
- Decal21.Face = Enum.NormalId.Left
- IntValue22.Name = "Reverse"
- IntValue22.Parent = Part20
- BlockMesh23.Parent = Part20
- BlockMesh23.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh23.Scale = Vector3.new(0.100000001, 1, 1)
- BlockMesh23.Scale = Vector3.new(0.100000001, 1, 1)
- Part24.Name = "CallButton"
- Part24.Parent = Model3
- Part24.Material = Enum.Material.SmoothPlastic
- Part24.BrickColor = BrickColor.new("Black")
- Part24.Transparency = 1
- Part24.Rotation = Vector3.new(0.109999999, 90, 0)
- Part24.Anchored = true
- Part24.FormFactor = Enum.FormFactor.Custom
- Part24.Size = Vector3.new(0.200000003, 0.400000036, 0.400000036)
- Part24.CFrame = CFrame.new(-2.97207594, 4.80145884, -3.89617896, 0.000472320389, -9.25954828e-06, 1.00000703, 0.00190410239, 1.00000203, 8.35981155e-06, -1.00000536, 0.00190410228, 0.000472307322)
- Part24.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.RightSurface = Enum.SurfaceType.Weld
- Part24.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part24.Position = Vector3.new(-2.97207594, 4.80145884, -3.89617896)
- Part24.Orientation = Vector3.new(0, 89.9700012, 0.109999999)
- Part24.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Decal25.Name = "Texture"
- Decal25.Parent = Part24
- Decal25.Texture = "http://www.roblox.com/asset/?id=144877756"
- Decal25.Face = Enum.NormalId.Left
- BlockMesh26.Parent = Part24
- BlockMesh26.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh26.Scale = Vector3.new(0.0500000007, 1, 1)
- BlockMesh26.Scale = Vector3.new(0.0500000007, 1, 1)
- ClickDetector27.Parent = Part24
- Decal28.Parent = Part24
- Decal28.Texture = "http://www.roblox.com/asset/?id=145261845"
- Decal28.Face = Enum.NormalId.Left
- Part29.Name = "DirectionInd"
- Part29.Parent = Model3
- Part29.Material = Enum.Material.SmoothPlastic
- Part29.BrickColor = BrickColor.new("Black")
- Part29.Rotation = Vector3.new(-180, 0, 180)
- Part29.Anchored = true
- Part29.FormFactor = Enum.FormFactor.Custom
- Part29.Size = Vector3.new(0.800000727, 0.800000012, 0.200000003)
- Part29.CFrame = CFrame.new(-5.18435812, 10.0125599, -3.93456697, -1.00000608, -8.60058753e-06, -5.36581501e-06, -8.60027285e-06, 1.00000346, 4.60103865e-06, 5.4250122e-06, 4.59702551e-06, -1.00000596)
- Part29.BackSurface = Enum.SurfaceType.Weld
- Part29.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part29.LeftSurface = Enum.SurfaceType.Weld
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part29.Position = Vector3.new(-5.18435812, 10.0125599, -3.93456697)
- Part29.Orientation = Vector3.new(0, -180, 0)
- Part29.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh30.Parent = Part29
- BlockMesh30.Scale = Vector3.new(0.899999976, 0.800000012, 1)
- BlockMesh30.Scale = Vector3.new(0.899999976, 0.800000012, 1)
- Part31.Name = "ElevatorDoorFrame"
- Part31.Parent = Model3
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.BrickColor = BrickColor.new("Dark stone grey")
- Part31.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part31.Anchored = true
- Part31.FormFactor = Enum.FormFactor.Custom
- Part31.Size = Vector3.new(0.200000003, 7.99999809, 0.400000036)
- Part31.CFrame = CFrame.new(-3.87234592, 5.20209408, -4.24981689, 0.999998987, -8.81036976e-06, -0.00047221221, 7.91110779e-06, 0.999998212, -0.00190430961, 0.00047222813, 0.00190430728, 0.999997199)
- Part31.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.BottomSurface = Enum.SurfaceType.Weld
- Part31.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part31.RightSurface = Enum.SurfaceType.Weld
- Part31.TopSurface = Enum.SurfaceType.Weld
- Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part31.Position = Vector3.new(-3.87234592, 5.20209408, -4.24981689)
- Part31.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part31.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part32.Name = "ElevatorDoorFrame"
- Part32.Parent = Model3
- Part32.Material = Enum.Material.SmoothPlastic
- Part32.BrickColor = BrickColor.new("Dark stone grey")
- Part32.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part32.Anchored = true
- Part32.FormFactor = Enum.FormFactor.Custom
- Part32.Size = Vector3.new(0.200000003, 7.99999809, 0.400000036)
- Part32.CFrame = CFrame.new(-8.47232246, 5.20206308, -4.25195313, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part32.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.BottomSurface = Enum.SurfaceType.Weld
- Part32.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part32.RightSurface = Enum.SurfaceType.Weld
- Part32.TopSurface = Enum.SurfaceType.Weld
- Part32.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part32.Position = Vector3.new(-8.47232246, 5.20206308, -4.25195313)
- Part32.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part32.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model33.Name = "DoorLeft"
- Model33.Parent = Model3
- Part34.Name = "Door"
- Part34.Parent = Model33
- Part34.BrickColor = BrickColor.new("Mid gray")
- Part34.Reflectance = 0.10000000149012
- Part34.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part34.Anchored = true
- Part34.FormFactor = Enum.FormFactor.Custom
- Part34.Size = Vector3.new(2.1999917, 7.99999809, 0.400000006)
- Part34.CFrame = CFrame.new(-5.06869602, 5.20306683, -4.64953184, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part34.BottomSurface = Enum.SurfaceType.Weld
- Part34.TopSurface = Enum.SurfaceType.Weld
- Part34.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part34.Position = Vector3.new(-5.06869602, 5.20306683, -4.64953184)
- Part34.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part34.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part35.Parent = Model3
- Part35.Material = Enum.Material.SmoothPlastic
- Part35.Transparency = 0.5
- Part35.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part35.Anchored = true
- Part35.FormFactor = Enum.FormFactor.Custom
- Part35.Size = Vector3.new(3.00000429, 8.19999981, 0.400000036)
- Part35.CFrame = CFrame.new(-10.0722961, 5.30205107, -4.2524991, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part35.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part35.Position = Vector3.new(-10.0722961, 5.30205107, -4.2524991)
- Part35.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part36.Parent = Model3
- Part36.Material = Enum.Material.SmoothPlastic
- Part36.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part36.Anchored = true
- Part36.FormFactor = Enum.FormFactor.Custom
- Part36.Size = Vector3.new(10.800005, 1.20000005, 0.400000036)
- Part36.CFrame = CFrame.new(-6.17233419, 0.601597011, -4.25963879, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part36.BottomSurface = Enum.SurfaceType.Smooth
- Part36.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part36.Position = Vector3.new(-6.17233419, 0.601597011, -4.25963879)
- Part36.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part37.Name = "Level"
- Part37.Parent = Model3
- Part37.Material = Enum.Material.SmoothPlastic
- Part37.BrickColor = BrickColor.new("Dark stone grey")
- Part37.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part37.Anchored = true
- Part37.Elasticity = 0
- Part37.FormFactor = Enum.FormFactor.Custom
- Part37.Friction = 0
- Part37.Size = Vector3.new(8.80000114, 1.20000005, 0.400000036)
- Part37.CFrame = CFrame.new(-6.17215014, 0.60236001, -4.65966415, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part37.Position = Vector3.new(-6.17215014, 0.60236001, -4.65966415)
- Part37.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part37.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model38.Name = "DoorRight"
- Model38.Parent = Model3
- Part39.Name = "Door"
- Part39.Parent = Model38
- Part39.BrickColor = BrickColor.new("Mid gray")
- Part39.Reflectance = 0.10000000149012
- Part39.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part39.Anchored = true
- Part39.FormFactor = Enum.FormFactor.Custom
- Part39.Size = Vector3.new(2.1999917, 7.99999809, 0.400000006)
- Part39.CFrame = CFrame.new(-7.26870823, 5.20304108, -4.65056992, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part39.BottomSurface = Enum.SurfaceType.Weld
- Part39.TopSurface = Enum.SurfaceType.Weld
- Part39.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part39.Position = Vector3.new(-7.26870823, 5.20304108, -4.65056992)
- Part39.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part39.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part40.Name = "ShaftSupport"
- Part40.Parent = Model3
- Part40.Material = Enum.Material.SmoothPlastic
- Part40.BrickColor = BrickColor.new("Dark stone grey")
- Part40.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part40.Anchored = true
- Part40.Elasticity = 0
- Part40.FormFactor = Enum.FormFactor.Custom
- Part40.Friction = 0
- Part40.Size = Vector3.new(0.999998152, 11.7999973, 0.600000024)
- Part40.CFrame = CFrame.new(-11.072052, 5.90287924, -4.75182676, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part40.BottomSurface = Enum.SurfaceType.Smooth
- Part40.TopSurface = Enum.SurfaceType.Smooth
- Part40.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part40.Position = Vector3.new(-11.072052, 5.90287924, -4.75182676)
- Part40.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part40.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model41.Name = "Floor2"
- Model41.Parent = Model2
- Part42.Name = "DirectionInd"
- Part42.Parent = Model41
- Part42.Material = Enum.Material.SmoothPlastic
- Part42.BrickColor = BrickColor.new("Black")
- Part42.Rotation = Vector3.new(-180, 0, 180)
- Part42.Anchored = true
- Part42.FormFactor = Enum.FormFactor.Custom
- Part42.Size = Vector3.new(2.80000067, 0.800000012, 0.200000003)
- Part42.CFrame = CFrame.new(-6.1844182, 21.8138103, -3.89837289, -1.00000608, -8.60058753e-06, -5.36581501e-06, -8.60027285e-06, 1.00000346, 4.60103865e-06, 5.4250122e-06, 4.59702551e-06, -1.00000596)
- Part42.BackSurface = Enum.SurfaceType.Weld
- Part42.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part42.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part42.LeftSurface = Enum.SurfaceType.Weld
- Part42.TopSurface = Enum.SurfaceType.Smooth
- Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part42.Position = Vector3.new(-6.1844182, 21.8138103, -3.89837289)
- Part42.Orientation = Vector3.new(0, -180, 0)
- Part42.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh43.Parent = Part42
- BlockMesh43.Scale = Vector3.new(0.899999976, 0.800000012, 1)
- BlockMesh43.Scale = Vector3.new(0.899999976, 0.800000012, 1)
- Part44.Name = "ShaftSupport"
- Part44.Parent = Model41
- Part44.Material = Enum.Material.SmoothPlastic
- Part44.BrickColor = BrickColor.new("Dark stone grey")
- Part44.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part44.Anchored = true
- Part44.Elasticity = 0
- Part44.FormFactor = Enum.FormFactor.Custom
- Part44.Friction = 0
- Part44.Size = Vector3.new(8.79999924, 2.4000001, 0.400000036)
- Part44.CFrame = CFrame.new(-6.1723938, 22.4020882, -4.60443115, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part44.BottomSurface = Enum.SurfaceType.Smooth
- Part44.TopSurface = Enum.SurfaceType.Smooth
- Part44.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part44.Position = Vector3.new(-6.1723938, 22.4020882, -4.60443115)
- Part44.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part44.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part45.Parent = Model41
- Part45.Material = Enum.Material.SmoothPlastic
- Part45.Transparency = 0.5
- Part45.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part45.Anchored = true
- Part45.FormFactor = Enum.FormFactor.Custom
- Part45.Size = Vector3.new(10.8000021, 2.39999723, 0.400000036)
- Part45.CFrame = CFrame.new(-6.17245579, 22.3970032, -4.20440292, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part45.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part45.Position = Vector3.new(-6.17245579, 22.3970032, -4.20440292)
- Part45.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part46.Name = "ElevatorDoorFrame"
- Part46.Parent = Model41
- Part46.Material = Enum.Material.SmoothPlastic
- Part46.BrickColor = BrickColor.new("Dark stone grey")
- Part46.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part46.Anchored = true
- Part46.FormFactor = Enum.FormFactor.Custom
- Part46.Size = Vector3.new(4.80000067, 0.200000003, 0.400000036)
- Part46.CFrame = CFrame.new(-6.17257786, 21.1011753, -4.20690918, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part46.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part46.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part46.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part46.LeftSurface = Enum.SurfaceType.Weld
- Part46.TopSurface = Enum.SurfaceType.Weld
- Part46.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part46.Position = Vector3.new(-6.17257786, 21.1011753, -4.20690918)
- Part46.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part46.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part47.Name = "ShaftSupport"
- Part47.Parent = Model41
- Part47.Material = Enum.Material.SmoothPlastic
- Part47.BrickColor = BrickColor.new("Dark stone grey")
- Part47.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part47.Anchored = true
- Part47.Elasticity = 0
- Part47.FormFactor = Enum.FormFactor.Custom
- Part47.Friction = 0
- Part47.Size = Vector3.new(0.999998152, 11.7999964, 0.600000024)
- Part47.CFrame = CFrame.new(-1.27230799, 17.7011452, -4.71105623, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part47.BottomSurface = Enum.SurfaceType.Smooth
- Part47.TopSurface = Enum.SurfaceType.Smooth
- Part47.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part47.Position = Vector3.new(-1.27230799, 17.7011452, -4.71105623)
- Part47.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part47.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part48.Parent = Model41
- Part48.Material = Enum.Material.SmoothPlastic
- Part48.Transparency = 0.5
- Part48.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part48.Anchored = true
- Part48.FormFactor = Enum.FormFactor.Custom
- Part48.Size = Vector3.new(3.00000429, 8.19999981, 0.400000036)
- Part48.CFrame = CFrame.new(-2.27246189, 17.1002045, -4.21264219, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part48.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part48.Position = Vector3.new(-2.27246189, 17.1002045, -4.21264219)
- Part48.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part49.Name = "DirIndDown1"
- Part49.Parent = Model41
- Part49.Material = Enum.Material.SmoothPlastic
- Part49.BrickColor = BrickColor.new("Really black")
- Part49.Transparency = 1
- Part49.Rotation = Vector3.new(-180, -90, 0)
- Part49.FormFactor = Enum.FormFactor.Custom
- Part49.Size = Vector3.new(0.200000003, 0.400000006, 2)
- Part49.CFrame = CFrame.new(-6.1844182, 21.8138103, -3.69836092, -5.56546729e-06, -2.72848411e-11, -1, 5.28090231e-06, -1, -1.81930664e-12, -1, -5.28071905e-06, 5.56549639e-06)
- Part49.BackSurface = Enum.SurfaceType.Weld
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.RightSurface = Enum.SurfaceType.Weld
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part49.Position = Vector3.new(-6.1844182, 21.8138103, -3.69836092)
- Part49.Orientation = Vector3.new(0, -90, 180)
- Part49.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Decal50.Parent = Part49
- Decal50.Texture = "http://www.roblox.com/asset/?id=73327045"
- Decal50.Face = Enum.NormalId.Left
- IntValue51.Name = "Reverse"
- IntValue51.Parent = Part49
- BlockMesh52.Parent = Part49
- BlockMesh52.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh52.Scale = Vector3.new(0.100000001, 1, 1)
- BlockMesh52.Scale = Vector3.new(0.100000001, 1, 1)
- Part53.Name = "CallButton"
- Part53.Parent = Model41
- Part53.Material = Enum.Material.SmoothPlastic
- Part53.BrickColor = BrickColor.new("Black")
- Part53.Transparency = 1
- Part53.Rotation = Vector3.new(0.109999999, 90, 0)
- Part53.Anchored = true
- Part53.FormFactor = Enum.FormFactor.Custom
- Part53.Size = Vector3.new(0.200000003, 0.400000036, 0.400000036)
- Part53.CFrame = CFrame.new(-2.97274804, 16.5991859, -3.71392488, 0.000472320389, -9.25954828e-06, 1.00000703, 0.00190410239, 1.00000203, 8.35981155e-06, -1.00000536, 0.00190410228, 0.000472307322)
- Part53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.RightSurface = Enum.SurfaceType.Weld
- Part53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part53.Position = Vector3.new(-2.97274804, 16.5991859, -3.71392488)
- Part53.Orientation = Vector3.new(0, 89.9700012, 0.109999999)
- Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Decal54.Name = "Texture"
- Decal54.Parent = Part53
- Decal54.Texture = "http://www.roblox.com/asset/?id=144877756"
- Decal54.Face = Enum.NormalId.Left
- BlockMesh55.Parent = Part53
- BlockMesh55.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh55.Scale = Vector3.new(0.0500000007, 1, 1)
- BlockMesh55.Scale = Vector3.new(0.0500000007, 1, 1)
- ClickDetector56.Parent = Part53
- Decal57.Parent = Part53
- Decal57.Texture = "http://www.roblox.com/asset/?id=145261845"
- Decal57.Face = Enum.NormalId.Left
- Part58.Name = "ElevatorDoorFrame"
- Part58.Parent = Model41
- Part58.Material = Enum.Material.SmoothPlastic
- Part58.BrickColor = BrickColor.new("Dark stone grey")
- Part58.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part58.Anchored = true
- Part58.FormFactor = Enum.FormFactor.Custom
- Part58.Size = Vector3.new(0.200000003, 7.99999809, 0.400000036)
- Part58.CFrame = CFrame.new(-3.87252808, 17.000164, -4.21361923, 0.999998987, -8.81036976e-06, -0.00047221221, 7.91110779e-06, 0.999998212, -0.00190430961, 0.00047222813, 0.00190430728, 0.999997199)
- Part58.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part58.BottomSurface = Enum.SurfaceType.Weld
- Part58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part58.RightSurface = Enum.SurfaceType.Weld
- Part58.TopSurface = Enum.SurfaceType.Weld
- Part58.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part58.Position = Vector3.new(-3.87252808, 17.000164, -4.21361923)
- Part58.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part58.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part59.Name = "ElevatorDoorFrame"
- Part59.Parent = Model41
- Part59.Material = Enum.Material.SmoothPlastic
- Part59.BrickColor = BrickColor.new("Dark stone grey")
- Part59.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part59.Anchored = true
- Part59.FormFactor = Enum.FormFactor.Custom
- Part59.Size = Vector3.new(0.200000003, 7.99999809, 0.400000036)
- Part59.CFrame = CFrame.new(-8.47250366, 17.0001354, -4.21575594, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part59.BottomSurface = Enum.SurfaceType.Weld
- Part59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part59.RightSurface = Enum.SurfaceType.Weld
- Part59.TopSurface = Enum.SurfaceType.Weld
- Part59.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part59.Position = Vector3.new(-8.47250366, 17.0001354, -4.21575594)
- Part59.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part59.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part60.Parent = Model41
- Part60.Material = Enum.Material.SmoothPlastic
- Part60.Transparency = 0.5
- Part60.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part60.Anchored = true
- Part60.FormFactor = Enum.FormFactor.Custom
- Part60.Size = Vector3.new(3.00000429, 8.19999981, 0.400000036)
- Part60.CFrame = CFrame.new(-10.0724802, 17.1001434, -4.21636581, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part60.Position = Vector3.new(-10.0724802, 17.1001434, -4.21636581)
- Part60.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part61.Parent = Model41
- Part61.Material = Enum.Material.SmoothPlastic
- Part61.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part61.Anchored = true
- Part61.FormFactor = Enum.FormFactor.Custom
- Part61.Size = Vector3.new(10.800005, 1.20000005, 0.400000036)
- Part61.CFrame = CFrame.new(-6.17245579, 12.3993015, -4.22344589, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part61.Position = Vector3.new(-6.17245579, 12.3993015, -4.22344589)
- Part61.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part62.Name = "Level"
- Part62.Parent = Model41
- Part62.Material = Enum.Material.SmoothPlastic
- Part62.BrickColor = BrickColor.new("Dark stone grey")
- Part62.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part62.Anchored = true
- Part62.Elasticity = 0
- Part62.FormFactor = Enum.FormFactor.Custom
- Part62.Friction = 0
- Part62.Size = Vector3.new(8.80000114, 1.20000005, 0.400000036)
- Part62.CFrame = CFrame.new(-6.17227221, 12.4000559, -4.62346983, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part62.BottomSurface = Enum.SurfaceType.Smooth
- Part62.TopSurface = Enum.SurfaceType.Smooth
- Part62.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part62.Position = Vector3.new(-6.17227221, 12.4000559, -4.62346983)
- Part62.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part62.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part63.Name = "ShaftSupport"
- Part63.Parent = Model41
- Part63.Material = Enum.Material.SmoothPlastic
- Part63.BrickColor = BrickColor.new("Dark stone grey")
- Part63.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part63.Anchored = true
- Part63.Elasticity = 0
- Part63.FormFactor = Enum.FormFactor.Custom
- Part63.Friction = 0
- Part63.Size = Vector3.new(0.999998152, 11.7999973, 0.600000024)
- Part63.CFrame = CFrame.new(-11.0722361, 17.7010632, -4.7156949, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part63.Position = Vector3.new(-11.0722361, 17.7010632, -4.7156949)
- Part63.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part63.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Model64.Name = "DoorLeft"
- Model64.Parent = Model41
- Part65.Name = "Door"
- Part65.Parent = Model64
- Part65.BrickColor = BrickColor.new("Mid gray")
- Part65.Reflectance = 0.10000000149012
- Part65.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part65.Anchored = true
- Part65.FormFactor = Enum.FormFactor.Custom
- Part65.Size = Vector3.new(2.1999917, 7.99999809, 0.400000006)
- Part65.CFrame = CFrame.new(-5.06869602, 17.0020905, -4.64953184, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part65.BottomSurface = Enum.SurfaceType.Weld
- Part65.TopSurface = Enum.SurfaceType.Weld
- Part65.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part65.Position = Vector3.new(-5.06869602, 17.0020905, -4.64953184)
- Part65.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part65.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Model66.Name = "DoorRight"
- Model66.Parent = Model41
- Part67.Name = "Door"
- Part67.Parent = Model66
- Part67.BrickColor = BrickColor.new("Mid gray")
- Part67.Reflectance = 0.10000000149012
- Part67.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part67.Anchored = true
- Part67.FormFactor = Enum.FormFactor.Custom
- Part67.Size = Vector3.new(2.1999917, 7.99999809, 0.400000006)
- Part67.CFrame = CFrame.new(-7.26870823, 17.002058, -4.65056992, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part67.BottomSurface = Enum.SurfaceType.Weld
- Part67.TopSurface = Enum.SurfaceType.Weld
- Part67.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part67.Position = Vector3.new(-7.26870823, 17.002058, -4.65056992)
- Part67.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part67.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Model68.Name = "Shaft"
- Model68.Parent = Model1
- StringValue69.Name = "Direction"
- StringValue69.Parent = Model1
- StringValue69.Value = "N"
- BoolValue70.Name = "FireMode"
- BoolValue70.Parent = Model1
- NumberValue71.Name = "Floor"
- NumberValue71.Parent = Model1
- NumberValue71.Value = 1
- Script72.Name = "Floor Indicator"
- Script72.Parent = Model1
- table.insert(cors,sandbox(Script72,function()
- CurrentFloor = 1
- NextFloor = 0
- CurrentDirection = "N"
- Floor = script.Parent.Floor
- Direction = script.Parent.Direction
- Screen = script.Parent.Car.Screen.SurfaceGui.Frame
- Indicator = Screen.Indicator
- InUse = false
- function ChangeFloor()
- if InUse then return end
- InUse = true
- NextFloor = Floor.Value
- CurrentDirection = Direction.Value
- if CurrentDirection == "U" then
- for i=0,1, 0.1 do
- Indicator.Position = UDim2.new(0,50, i, 0)
- wait()
- end
- end
- if CurrentDirection == "D" then
- for i=0,-1, -0.1 do
- Indicator.Position = UDim2.new(0, 50, i, 0)
- wait()
- end
- end
- Indicator.Text = Floor.Value
- if CurrentDirection == "U" then
- for i=-1,0, 0.1 do
- Indicator.Position = UDim2.new(0, 50, i, 0)
- wait()
- end
- end
- if CurrentDirection == "D" then
- for i=1,0, -0.1 do
- Indicator.Position = UDim2.new(0, 50, i, 0)
- wait()
- end
- end
- InUse = false
- end
- script.Parent.Floor.Changed:connect(ChangeFloor)
- Hyd = false
- Direction.Changed:connect(function()
- if Hyd then return end
- if Direction.Value == "US" or Direction.Value == "DS" then
- Hyd = true
- script.Parent.Car.Platform.Motor:Play()
- repeat
- wait()
- until Direction.Value == "NS"
- script.Parent.Car.Platform.Motor:Stop()
- Hyd = false
- end
- end)
- ArrowTx = {
- [1]=146678603,
- [2]=146678613,
- [3]=146678618,
- [4]=146678637,
- [5]=146678647,
- [6]=146678656,
- [7]=146678671
- }
- Scroll = false
- ArrowInd = script.Parent.Car.Screen.SurfaceGui.Frame.Arrow
- Direction.Changed:connect(function()
- if Scroll then return end
- Scroll = true
- if Direction.Value == "U" then
- ArrowInd.Rotation = 0
- repeat
- for i=1,7 do
- ArrowInd.Image = "http://www.roblox.com/asset/?id="..ArrowTx[i]
- wait()
- end
- until Direction.Value == "N"
- end
- if Direction.Value == "D" then
- ArrowInd.Rotation = 180
- repeat
- for i=1,7 do
- ArrowInd.Image = "http://www.roblox.com/asset/?id="..ArrowTx[i]
- wait()
- end
- until Direction.Value == "N"
- end
- ArrowInd.Image = "http://www.roblox.com/asset/?id=0"
- Scroll = false
- end)
- end))
- NumberValue73.Name = "Motor"
- NumberValue73.Parent = Model1
- Script74.Parent = Model1
- Script74.Disabled = true
- table.insert(cors,sandbox(Script74,function()
- -- Do not touch D: --
- --[[]] ButtonULit = "http://www.roblox.com/asset/?id=134524507"
- --[[]] ButtonLit = "http://www.roblox.com/asset/?id=134524469"
- --[[]] Car = script.Parent.Car
- --[[]] Floors = script.Parent.Floors
- --[[]] DoorState = "Closed"
- --[[]] DoorSpeed = 0
- --[[]] DoorL = 51
- --[[]] DoorC = 0.05
- --[[]] DoorP = 0
- --[[]] DoorCarLeft = Car.DoorLeft:GetChildren()
- --[[]] DoorCarRight = Car.DoorRight:GetChildren()
- --[[]] ResetDoorTimer = false
- --[[]] CallQuene = {}
- --[[]] EngineType = "B" -- Set B for BodyVelocity engine, or C for CFrame engine
- --[[]] MotorSpeed = 3
- --[[]] MotorStartSpeed = 0.1
- --[[]] MotorStopSpeed = 0.1
- --[[]] LevelOffset = 1
- --[[]] Floor = script.Parent.Floor
- --[[]] Motor = script.Parent.Motor
- --[[]] BC = {}
- --[[]] BP = Car.Platform.BodyPosition
- --[[]] BV = Car.Platform.BodyVelocity
- --[[]] InUse = false
- --[[]] Moving = false
- --[[]] MoveDirection = "None"
- function Start(FL,DS)
- if FL ~= DS and not Busy then
- Busy = true
- Moving = true
- wait(1)
- if EngineType == "B" then
- BP.P = 0
- BP.D = 0
- BV.P = 5000
- end
- if DS > FL then
- MoveDirection = "Up"
- for i = 0, MotorSpeed, 0.2 do
- Motor.Value = i
- wait(MotorStartSpeed)
- end
- end
- if DS < FL then
- MoveDirection = "Down"
- for i = 0, MotorSpeed, 0.02 do
- Motor.Value = -i
- wait(MotorStartSpeed)
- end
- end
- while Motor.Value ~= 0 do
- wait()
- for i,l in pairs(Floors:GetChildren()) do
- local xx = tonumber(l.Name:sub(6))
- if math.abs(l.Level.Position.Y - Car.Platform.Position.Y) < LevelOffset then
- if Floor.Value ~= xx then
- Floor.Value = xx
- DoStop(xx) -- InCase f stops
- end
- end
- end
- end
- end
- end
- function DoStop(TF)
- local HaveAStop = false
- for i=1, #CallQuene do
- if CallQuene[i] == TF then
- HaveAStop = true
- table.remove(CallQuene,i)
- end
- end
- if true then
- local CY = Floors:FindFirstChild("Floor"..TF).Level.Position.Y
- if EngineType == "B" then
- local CX = Car.Platform.Position.X
- local CZ = Car.Platform.Position.Z
- BP.position = Vector3.new(CX,CY,CZ)
- BP.P = 2000
- BP.D = 1500
- BV.P = 0
- end
- if EngineType == "C" then
- if MoveDirection == "Up" then
- for i = MotorSpeed, 0, -0.02 do
- Motor.Value = i
- wait(MotorStopSpeed)
- end
- end
- if MoveDirection == "Down" then
- for i = MotorSpeed, 0, -0.02 do
- Motor.Value = -i
- wait(MotorStopSpeed)
- end
- end
- end
- repeat
- wait()
- until math.abs(CY - Car.Platform.Position.Y) < 0.05
- Motor.Value = 0
- TargetFloor = 0
- coroutine.resume(coroutine.create(function() DoorOpen(TF) end))
- Moving = false
- Busy = false
- end
- end
- function AddCall(F,T)
- local IS = false
- for i,l in pairs(CallQuene) do
- if l == F then
- IS = true
- end
- end
- if not IS then
- repeat wait() until DoorState == "Closed"
- Start(Floor.Value,F)
- end
- end
- function ButtonControl(B,I)
- --if I.Button.Texture == ButtonULit then
- --I.Button.Texture = ButtonLit
- if B:sub(1,2) == "CL" then
- AddCall(tonumber(B:sub(3)),"Call")
- end
- if B:sub(1,2) == "CR" then
- AddCall(tonumber(B:sub(3)),"Car")
- end
- if B.Name == "DO" then
- if not Busy and not Moving then
- DoorOpen(Floor.Value)
- end
- end
- if B.Name == "DC" then
- if not Busy and not Moving then
- DoorClose(Floor.Value)
- end
- end
- if B.Name == "AL" then
- end
- wait(1)
- --I.Button.Texture = ButtonULit
- --end
- end
- Car.DoorSensor.Touched:connect(function(P)
- if P ~= nil and P.Parent ~= nil and P.Parent:FindFirstChild("Humanoid") then
- if DoorState == "Closing" then
- DoorOpen(1,true)
- end
- end
- end)
- -- BUTTON CONTROL --
- for i,l in pairs(Car:GetChildren()) do
- if l.Name:sub(1,3) == "BTF" then
- l.ClickDetector.MouseClick:connect(function() ButtonControl("CR"..l.Name:sub(4),l) end)
- end
- if l.Name:sub(1,4) == "BTDO" then
- l.ClickDetector.MouseClick:connect(function() ButtonControl("DO",l) end)
- end
- if l.Name:sub(1,4) == "BTDC" then
- l.ClickDetector.MouseClick:connect(function() ButtonControl("DC",l) end)
- end
- if l.Name:sub(1,3) == "BTA" then
- l.ClickDetector.MouseClick:connect(function() ButtonControl("AL",l) end)
- end
- end
- for i,l in pairs(Floors:GetChildren()) do
- if l:FindFirstChild("CallButton") then
- l:FindFirstChild("CallButton").ClickDetector.MouseClick:connect(function()
- ButtonControl("CL"..l.Name:sub(6),l)
- end)
- end
- end
- Motor.Changed:connect(function()
- if EngineType == "B" then
- BV.velocity = Vector3.new(0,Motor.Value,0)
- end
- end)
- end))
- NumberValue75.Name = "ScriptCall"
- NumberValue75.Parent = Model1
- NumberValue76.Name = "TFloor"
- NumberValue76.Parent = Model1
- NumberValue76.Value = 1
- NumberValue77.Name = "TargetFloor"
- NumberValue77.Parent = Model1
- Model78.Name = "Car"
- Model78.Parent = Model1
- Part79.Name = "DoorSupport"
- Part79.Parent = Model78
- Part79.Material = Enum.Material.SmoothPlastic
- Part79.BrickColor = BrickColor.new("Dark stone grey")
- Part79.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part79.FormFactor = Enum.FormFactor.Custom
- Part79.Size = Vector3.new(1.00000715, 7.99999809, 0.400000036)
- Part79.CFrame = CFrame.new(-11.0719404, 5.20400381, -5.26013613, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part79.BackSurface = Enum.SurfaceType.Weld
- Part79.BottomSurface = Enum.SurfaceType.Weld
- Part79.TopSurface = Enum.SurfaceType.Weld
- Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part79.Position = Vector3.new(-11.0719404, 5.20400381, -5.26013613)
- Part79.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part79.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part80.Name = "DoorSupport"
- Part80.Parent = Model78
- Part80.Material = Enum.Material.SmoothPlastic
- Part80.BrickColor = BrickColor.new("Dark stone grey")
- Part80.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part80.FormFactor = Enum.FormFactor.Custom
- Part80.Size = Vector3.new(10.8000059, 2.60000062, 0.400000036)
- Part80.CFrame = CFrame.new(-6.17182493, 10.50387, -5.24538803, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part80.BackSurface = Enum.SurfaceType.Weld
- Part80.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part80.TopSurface = Enum.SurfaceType.Smooth
- Part80.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part80.Position = Vector3.new(-6.17182493, 10.50387, -5.24538803)
- Part80.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part80.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part81.Name = "ElevatorBorder"
- Part81.Parent = Model78
- Part81.Material = Enum.Material.SmoothPlastic
- Part81.BrickColor = BrickColor.new("Dark stone grey")
- Part81.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part81.FormFactor = Enum.FormFactor.Custom
- Part81.Size = Vector3.new(1.00000525, 1.20000005, 11.5999975)
- Part81.CFrame = CFrame.new(-1.26516199, 11.217082, -12.2393856, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part81.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part81.RightSurface = Enum.SurfaceType.Weld
- Part81.TopSurface = Enum.SurfaceType.Smooth
- Part81.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part81.Position = Vector3.new(-1.26516199, 11.217082, -12.2393856)
- Part81.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part81.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part82.Name = "ElevatorWalls"
- Part82.Parent = Model78
- Part82.BrickColor = BrickColor.new("Bright blue")
- Part82.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part82.FormFactor = Enum.FormFactor.Custom
- Part82.Size = Vector3.new(2.00000811, 8.1999979, 1)
- Part82.CFrame = CFrame.new(-9.57127571, 5.30530024, -5.95851898, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part82.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part82.BottomSurface = Enum.SurfaceType.Weld
- Part82.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part82.TopSurface = Enum.SurfaceType.Weld
- Part82.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part82.Position = Vector3.new(-9.57127571, 5.30530024, -5.95851898)
- Part82.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part82.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part83.Name = "ElevatorWalls"
- Part83.Parent = Model78
- Part83.BrickColor = BrickColor.new("Bright blue")
- Part83.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part83.FormFactor = Enum.FormFactor.Custom
- Part83.Size = Vector3.new(3.8000133, 1.19999814, 1)
- Part83.CFrame = CFrame.new(-8.67117023, 10.0052662, -5.94871283, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part83.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part83.BottomSurface = Enum.SurfaceType.Weld
- Part83.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part83.TopSurface = Enum.SurfaceType.Weld
- Part83.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part83.Position = Vector3.new(-8.67117023, 10.0052662, -5.94871283)
- Part83.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part83.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part84.Name = "ElevatorBorder"
- Part84.Parent = Model78
- Part84.Material = Enum.Material.SmoothPlastic
- Part84.BrickColor = BrickColor.new("Dark stone grey")
- Part84.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part84.FormFactor = Enum.FormFactor.Custom
- Part84.Size = Vector3.new(1.00000525, 1.20000005, 11.5999975)
- Part84.CFrame = CFrame.new(-11.0653963, 0.617350996, -12.2688799, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part84.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part84.LeftSurface = Enum.SurfaceType.Weld
- Part84.TopSurface = Enum.SurfaceType.Smooth
- Part84.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part84.Position = Vector3.new(-11.0653963, 0.617350996, -12.2688799)
- Part84.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part84.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part85.Name = "DoorSupport"
- Part85.Parent = Model78
- Part85.Material = Enum.Material.SmoothPlastic
- Part85.BrickColor = BrickColor.new("Dark stone grey")
- Part85.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part85.FormFactor = Enum.FormFactor.Custom
- Part85.Size = Vector3.new(3.20000744, 1.20000029, 0.400000036)
- Part85.CFrame = CFrame.new(-2.37204909, 0.603806019, -5.26063395, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part85.BackSurface = Enum.SurfaceType.Weld
- Part85.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part85.TopSurface = Enum.SurfaceType.Smooth
- Part85.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part85.Position = Vector3.new(-2.37204909, 0.603806019, -5.26063395)
- Part85.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part85.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part86.Name = "DoorSupport"
- Part86.Parent = Model78
- Part86.Material = Enum.Material.SmoothPlastic
- Part86.BrickColor = BrickColor.new("Dark stone grey")
- Part86.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part86.FormFactor = Enum.FormFactor.Custom
- Part86.Size = Vector3.new(1.00000715, 7.99999809, 0.400000036)
- Part86.CFrame = CFrame.new(-1.27194595, 5.20376492, -5.25082779, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part86.BackSurface = Enum.SurfaceType.Weld
- Part86.BottomSurface = Enum.SurfaceType.Weld
- Part86.TopSurface = Enum.SurfaceType.Weld
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part86.Position = Vector3.new(-1.27194595, 5.20376492, -5.25082779)
- Part86.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part86.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part87.Name = "ElevatorWalls"
- Part87.Parent = Model78
- Part87.Transparency = 0.5
- Part87.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part87.FormFactor = Enum.FormFactor.Custom
- Part87.Size = Vector3.new(1.00000787, 9.39999676, 13.5999947)
- Part87.CFrame = CFrame.new(-1.26528203, 5.91709805, -12.2494783, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part87.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part87.BottomSurface = Enum.SurfaceType.Weld
- Part87.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part87.TopSurface = Enum.SurfaceType.Weld
- Part87.Position = Vector3.new(-1.26528203, 5.91709805, -12.2494783)
- Part87.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part88.Name = "DoorSensor"
- Part88.Parent = Model78
- Part88.Material = Enum.Material.SmoothPlastic
- Part88.BrickColor = BrickColor.new("Black")
- Part88.Transparency = 1
- Part88.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part88.CanCollide = false
- Part88.FormFactor = Enum.FormFactor.Custom
- Part88.Size = Vector3.new(10.7999878, 11.799963, 0.200000003)
- Part88.CFrame = CFrame.new(-6.17221308, 5.90331507, -4.95414877, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part88.BackSurface = Enum.SurfaceType.Weld
- Part88.BottomSurface = Enum.SurfaceType.Smooth
- Part88.TopSurface = Enum.SurfaceType.Smooth
- Part88.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part88.Position = Vector3.new(-6.17221308, 5.90331507, -4.95414877)
- Part88.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part88.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part89.Name = "DoorIndDown"
- Part89.Parent = Model78
- Part89.Material = Enum.Material.SmoothPlastic
- Part89.BrickColor = BrickColor.new("Really black")
- Part89.Transparency = 1
- Part89.Rotation = Vector3.new(0.109999999, -0.049999997, 180)
- Part89.FormFactor = Enum.FormFactor.Custom
- Part89.Size = Vector3.new(0.200000003, 0.800000012, 0.800000012)
- Part89.CFrame = CFrame.new(-8.27114296, 7.00545502, -6.05404615, -0.999999523, -2.24495634e-05, -0.000949842099, 2.42585356e-05, -0.999998212, -0.00190452766, -0.000949797686, -0.00190454966, 0.999997735)
- Part89.BackSurface = Enum.SurfaceType.Weld
- Part89.BottomSurface = Enum.SurfaceType.Smooth
- Part89.RightSurface = Enum.SurfaceType.Weld
- Part89.TopSurface = Enum.SurfaceType.Smooth
- Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part89.Position = Vector3.new(-8.27114296, 7.00545502, -6.05404615)
- Part89.Orientation = Vector3.new(0.109999999, -0.049999997, 180)
- Part89.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh90.Parent = Part89
- BlockMesh90.Offset = Vector3.new(0.100000001, 0, 0.100000001)
- BlockMesh90.Scale = Vector3.new(0.100000001, 1, 1)
- BlockMesh90.Scale = Vector3.new(0.100000001, 1, 1)
- Decal91.Parent = Part89
- Decal91.Texture = "http://www.roblox.com/asset/?id=73327045"
- Decal91.Face = Enum.NormalId.Left
- Model92.Name = "DoorRight"
- Model92.Parent = Model78
- Part93.Name = "Door"
- Part93.Parent = Model92
- Part93.BrickColor = BrickColor.new("Black")
- Part93.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part93.FormFactor = Enum.FormFactor.Custom
- Part93.Size = Vector3.new(2.1999917, 8, 0.400000006)
- Part93.CFrame = CFrame.new(-7.27194309, 5.20391083, -5.25652695, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part93.BottomSurface = Enum.SurfaceType.Weld
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part93.Position = Vector3.new(-7.27194309, 5.20391083, -5.25652695)
- Part93.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part94.Name = "DoorSupport"
- Part94.Parent = Model78
- Part94.Material = Enum.Material.SmoothPlastic
- Part94.BrickColor = BrickColor.new("Dark stone grey")
- Part94.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part94.FormFactor = Enum.FormFactor.Custom
- Part94.Size = Vector3.new(3.20000744, 1.20000029, 0.400000036)
- Part94.CFrame = CFrame.new(-9.97204399, 0.603990018, -5.26785278, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part94.BackSurface = Enum.SurfaceType.Weld
- Part94.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.TopSurface = Enum.SurfaceType.Smooth
- Part94.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part94.Position = Vector3.new(-9.97204399, 0.603990018, -5.26785278)
- Part94.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part94.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part95.Name = "Roof"
- Part95.Parent = Model78
- Part95.BrickColor = BrickColor.new("Turquoise")
- Part95.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part95.FormFactor = Enum.FormFactor.Custom
- Part95.Size = Vector3.new(8.80000782, 1.20000005, 11.5999975)
- Part95.CFrame = CFrame.new(-6.16516018, 11.2172003, -12.2440376, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part95.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part95.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part95.Color = Color3.new(0.47451, 0.709804, 0.709804)
- Part95.Position = Vector3.new(-6.16516018, 11.2172003, -12.2440376)
- Part95.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part95.Color = Color3.new(0.47451, 0.709804, 0.709804)
- PointLight96.Parent = Part95
- PointLight96.Brightness = 4
- PointLight96.Range = 14
- Part97.Name = "ElevatorDoorFrame"
- Part97.Parent = Model78
- Part97.Material = Enum.Material.SmoothPlastic
- Part97.BrickColor = BrickColor.new("Dark stone grey")
- Part97.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part97.FormFactor = Enum.FormFactor.Custom
- Part97.Size = Vector3.new(0.200000003, 7.99999809, 1)
- Part97.CFrame = CFrame.new(-8.47127819, 5.20527506, -5.95766497, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part97.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.BottomSurface = Enum.SurfaceType.Weld
- Part97.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part97.RightSurface = Enum.SurfaceType.Weld
- Part97.TopSurface = Enum.SurfaceType.Weld
- Part97.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part97.Position = Vector3.new(-8.47127819, 5.20527506, -5.95766497)
- Part97.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part97.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part98.Name = "ElevatorDoorPlate"
- Part98.Parent = Model78
- Part98.Material = Enum.Material.SmoothPlastic
- Part98.BrickColor = BrickColor.new("Dark stone grey")
- Part98.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part98.FormFactor = Enum.FormFactor.Custom
- Part98.Size = Vector3.new(10.800005, 1.20000029, 1)
- Part98.CFrame = CFrame.new(-6.17114401, 11.205204, -5.94405079, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part98.BackSurface = Enum.SurfaceType.Weld
- Part98.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.TopSurface = Enum.SurfaceType.Smooth
- Part98.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part98.Position = Vector3.new(-6.17114401, 11.205204, -5.94405079)
- Part98.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part98.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part99.Name = "ElevatorDoorFrame"
- Part99.Parent = Model78
- Part99.Material = Enum.Material.SmoothPlastic
- Part99.BrickColor = BrickColor.new("Dark stone grey")
- Part99.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part99.FormFactor = Enum.FormFactor.Custom
- Part99.Size = Vector3.new(4.80000067, 0.200000003, 1)
- Part99.CFrame = CFrame.new(-6.17118692, 9.30520153, -5.94767189, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part99.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part99.LeftSurface = Enum.SurfaceType.Weld
- Part99.TopSurface = Enum.SurfaceType.Weld
- Part99.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part99.Position = Vector3.new(-6.17118692, 9.30520153, -5.94767189)
- Part99.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part99.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part100.Name = "ElevatorDoorPlate"
- Part100.Parent = Model78
- Part100.Material = Enum.Material.SmoothPlastic
- Part100.BrickColor = BrickColor.new("Dark stone grey")
- Part100.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part100.FormFactor = Enum.FormFactor.Custom
- Part100.Size = Vector3.new(10.800005, 1.20000029, 1)
- Part100.CFrame = CFrame.new(-6.15917587, 11.2291899, -18.5440254, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part100.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.FrontSurface = Enum.SurfaceType.Weld
- Part100.TopSurface = Enum.SurfaceType.Smooth
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part100.Position = Vector3.new(-6.15917587, 11.2291899, -18.5440254)
- Part100.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part101.Name = "Level"
- Part101.Parent = Model78
- Part101.Material = Enum.Material.SmoothPlastic
- Part101.BrickColor = BrickColor.new("Dark stone grey")
- Part101.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part101.FormFactor = Enum.FormFactor.Custom
- Part101.Size = Vector3.new(4.40000725, 1.20000029, 0.400000036)
- Part101.CFrame = CFrame.new(-6.17204714, 0.603899002, -5.26424217, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part101.BackSurface = Enum.SurfaceType.Weld
- Part101.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part101.TopSurface = Enum.SurfaceType.Smooth
- Part101.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part101.Position = Vector3.new(-6.17204714, 0.603899002, -5.26424217)
- Part101.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part101.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Decal102.Parent = Part101
- Decal102.Texture = "http://www.roblox.com/asset/?id=144881146"
- Decal102.Face = Enum.NormalId.Top
- Part103.Name = "ElevatorWalls"
- Part103.Parent = Model78
- Part103.Transparency = 0.5
- Part103.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part103.FormFactor = Enum.FormFactor.Custom
- Part103.Size = Vector3.new(1.00000787, 9.39999676, 13.5999947)
- Part103.CFrame = CFrame.new(-11.0652761, 5.91733313, -12.2587862, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part103.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part103.BottomSurface = Enum.SurfaceType.Weld
- Part103.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part103.TopSurface = Enum.SurfaceType.Weld
- Part103.Position = Vector3.new(-11.0652761, 5.91733313, -12.2587862)
- Part103.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part104.Name = "ElevatorDoorPlate"
- Part104.Parent = Model78
- Part104.Material = Enum.Material.Wood
- Part104.BrickColor = BrickColor.new("Dark stone grey")
- Part104.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part104.FormFactor = Enum.FormFactor.Custom
- Part104.Size = Vector3.new(10.800005, 1.20000029, 1)
- Part104.CFrame = CFrame.new(-6.15941477, 0.629229009, -18.5642128, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part104.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part104.FrontSurface = Enum.SurfaceType.Weld
- Part104.TopSurface = Enum.SurfaceType.Smooth
- Part104.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part104.Position = Vector3.new(-6.15941477, 0.629229009, -18.5642128)
- Part104.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part104.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part105.Name = "ElevatorWalls"
- Part105.Parent = Model78
- Part105.Transparency = 0.5
- Part105.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part105.FormFactor = Enum.FormFactor.Custom
- Part105.Size = Vector3.new(8.80000973, 9.3999958, 1)
- Part105.CFrame = CFrame.new(-6.15929508, 5.92921209, -18.5541191, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part105.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.BottomSurface = Enum.SurfaceType.Weld
- Part105.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.TopSurface = Enum.SurfaceType.Weld
- Part105.Position = Vector3.new(-6.15929508, 5.92921209, -18.5541191)
- Part105.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Model106.Name = "DoorLeft"
- Model106.Parent = Model78
- Part107.Name = "Door"
- Part107.Parent = Model106
- Part107.BrickColor = BrickColor.new("Black")
- Part107.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part107.FormFactor = Enum.FormFactor.Custom
- Part107.Size = Vector3.new(2.1999917, 8, 0.400000006)
- Part107.CFrame = CFrame.new(-5.07194424, 5.2038579, -5.25443697, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part107.BottomSurface = Enum.SurfaceType.Weld
- Part107.TopSurface = Enum.SurfaceType.Smooth
- Part107.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part107.Position = Vector3.new(-5.07194424, 5.2038579, -5.25443697)
- Part107.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part107.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part108.Name = "ElevatorBorder"
- Part108.Parent = Model78
- Part108.Material = Enum.Material.SmoothPlastic
- Part108.BrickColor = BrickColor.new("Dark stone grey")
- Part108.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part108.FormFactor = Enum.FormFactor.Custom
- Part108.Size = Vector3.new(1.00000525, 1.20000005, 11.5999975)
- Part108.CFrame = CFrame.new(-11.0651579, 11.2173157, -12.2486916, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part108.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part108.LeftSurface = Enum.SurfaceType.Weld
- Part108.TopSurface = Enum.SurfaceType.Smooth
- Part108.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part108.Position = Vector3.new(-11.0651579, 11.2173157, -12.2486916)
- Part108.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part108.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part109.Name = "Platform"
- Part109.Parent = Model78
- Part109.Material = Enum.Material.Wood
- Part109.BrickColor = BrickColor.new("Sand blue")
- Part109.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part109.FormFactor = Enum.FormFactor.Custom
- Part109.Size = Vector3.new(8.80000782, 1.20000005, 11.5999975)
- Part109.CFrame = CFrame.new(-6.16539812, 0.617229998, -12.264226, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part109.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Part109.Position = Vector3.new(-6.16539812, 0.617229998, -12.264226)
- Part109.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part109.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Sound110.Name = "Alarm"
- Sound110.Parent = Part109
- Sound110.SoundId = "http://www.roblox.com/asset/?id=141279377"
- Sound111.Name = "Beep"
- Sound111.Parent = Part109
- Sound111.SoundId = "http://www.roblox.com/asset/?id=157954122"
- BodyGyro112.Parent = Part109
- BodyGyro112.maxTorque = Vector3.new(40000000, 0, 40000000)
- BodyGyro112.P = 5000
- BodyGyro112.D = 100
- BodyGyro112.MaxTorque = Vector3.new(40000000, 0, 40000000)
- BodyPosition113.Parent = Part109
- BodyPosition113.P = 0
- BodyPosition113.D = 0
- BodyPosition113.position = Vector3.new(-27.7700005, 49.7480011, 3.50200009)
- BodyPosition113.Position = Vector3.new(-27.7700005, 49.7480011, 3.50200009)
- BodyVelocity114.Parent = Part109
- BodyVelocity114.Velocity = Vector3.new(0, 0, 0)
- BodyVelocity114.P = 2000
- BodyVelocity114.velocity = Vector3.new(0, 0, 0)
- Sound115.Name = "FloorPassChime"
- Sound115.Parent = Part109
- Sound115.Pitch = 3
- Sound115.SoundId = "rbxasset://sounds/electronicpingshort.wav"
- Sound116.Name = "Motor"
- Sound116.Parent = Part109
- Sound116.Pitch = 0.5
- Sound116.SoundId = "http://www.roblox.com/asset/?id=148093107"
- Sound116.Volume = 0
- Sound116.Looped = true
- Sound117.Name = "Chime"
- Sound117.Parent = Part109
- Sound117.SoundId = "rbxasset://sounds/electronicpingshort.wav"
- Part118.Name = "DoorIndUp"
- Part118.Parent = Model78
- Part118.Material = Enum.Material.SmoothPlastic
- Part118.BrickColor = BrickColor.new("Really black")
- Part118.Transparency = 1
- Part118.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part118.FormFactor = Enum.FormFactor.Custom
- Part118.Size = Vector3.new(0.200000003, 0.800000012, 0.800000012)
- Part118.CFrame = CFrame.new(-8.27112484, 7.80545378, -6.05252314, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part118.BackSurface = Enum.SurfaceType.Weld
- Part118.BottomSurface = Enum.SurfaceType.Smooth
- Part118.RightSurface = Enum.SurfaceType.Weld
- Part118.TopSurface = Enum.SurfaceType.Smooth
- Part118.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part118.Position = Vector3.new(-8.27112484, 7.80545378, -6.05252314)
- Part118.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part118.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- BlockMesh119.Parent = Part118
- BlockMesh119.Offset = Vector3.new(0.100000001, 0, -0.100000001)
- BlockMesh119.Scale = Vector3.new(0.100000001, 1, 1)
- BlockMesh119.Scale = Vector3.new(0.100000001, 1, 1)
- Decal120.Parent = Part118
- Decal120.Texture = "http://www.roblox.com/asset/?id=73327045"
- Decal120.Face = Enum.NormalId.Left
- IntValue121.Name = "Reverse"
- IntValue121.Parent = Part118
- Part122.Name = "ElevatorDoorFrame"
- Part122.Parent = Model78
- Part122.Material = Enum.Material.SmoothPlastic
- Part122.BrickColor = BrickColor.new("Dark stone grey")
- Part122.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part122.FormFactor = Enum.FormFactor.Custom
- Part122.Size = Vector3.new(0.200000003, 7.99999809, 1)
- Part122.CFrame = CFrame.new(-3.87128091, 5.205163, -5.95329714, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part122.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part122.BottomSurface = Enum.SurfaceType.Weld
- Part122.LeftSurface = Enum.SurfaceType.Weld
- Part122.TopSurface = Enum.SurfaceType.Weld
- Part122.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part122.Position = Vector3.new(-3.87128091, 5.205163, -5.95329714)
- Part122.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part122.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part123.Name = "ElevatorDoorPlate"
- Part123.Parent = Model78
- Part123.Material = Enum.Material.Wood
- Part123.BrickColor = BrickColor.new("Dark stone grey")
- Part123.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part123.FormFactor = Enum.FormFactor.Custom
- Part123.Size = Vector3.new(10.800005, 1.20000029, 1)
- Part123.CFrame = CFrame.new(-6.17138195, 0.605230987, -5.96424103, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part123.BackSurface = Enum.SurfaceType.Weld
- Part123.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.TopSurface = Enum.SurfaceType.Smooth
- Part123.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part123.Position = Vector3.new(-6.17138195, 0.605230987, -5.96424103)
- Part123.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part123.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part124.Name = "ElevatorBorder"
- Part124.Parent = Model78
- Part124.Material = Enum.Material.SmoothPlastic
- Part124.BrickColor = BrickColor.new("Dark stone grey")
- Part124.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part124.FormFactor = Enum.FormFactor.Custom
- Part124.Size = Vector3.new(1.00000525, 1.20000005, 11.5999975)
- Part124.CFrame = CFrame.new(-1.26540101, 0.617112994, -12.259572, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part124.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part124.RightSurface = Enum.SurfaceType.Weld
- Part124.TopSurface = Enum.SurfaceType.Smooth
- Part124.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part124.Position = Vector3.new(-1.26540101, 0.617112994, -12.259572)
- Part124.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part124.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part125.Name = "ElevatorWalls"
- Part125.Parent = Model78
- Part125.BrickColor = BrickColor.new("Bright blue")
- Part125.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part125.FormFactor = Enum.FormFactor.Custom
- Part125.Size = Vector3.new(2.00000811, 8.1999979, 1)
- Part125.CFrame = CFrame.new(-2.7712779, 5.30513477, -5.95206118, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part125.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.BottomSurface = Enum.SurfaceType.Weld
- Part125.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.TopSurface = Enum.SurfaceType.Weld
- Part125.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part125.Position = Vector3.new(-2.7712779, 5.30513477, -5.95206118)
- Part125.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part125.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part126.Name = "ScreenBorder"
- Part126.Parent = Model78
- Part126.BrickColor = BrickColor.new("Bright blue")
- Part126.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part126.FormFactor = Enum.FormFactor.Custom
- Part126.Size = Vector3.new(0.200000003, 1.19999814, 1)
- Part126.CFrame = CFrame.new(-6.67117119, 10.0052099, -5.94681406, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part126.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part126.BottomSurface = Enum.SurfaceType.Weld
- Part126.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part126.TopSurface = Enum.SurfaceType.Weld
- Part126.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part126.Position = Vector3.new(-6.67117119, 10.0052099, -5.94681406)
- Part126.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part126.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part127.Name = "ScreenBorder"
- Part127.Parent = Model78
- Part127.BrickColor = BrickColor.new("Bright blue")
- Part127.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part127.FormFactor = Enum.FormFactor.Custom
- Part127.Size = Vector3.new(1.20000005, 0.200000003, 1)
- Part127.CFrame = CFrame.new(-5.97118282, 9.50520039, -5.94710207, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part127.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.BottomSurface = Enum.SurfaceType.Weld
- Part127.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.TopSurface = Enum.SurfaceType.Weld
- Part127.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part127.Position = Vector3.new(-5.97118282, 9.50520039, -5.94710207)
- Part127.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part127.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part128.Name = "BTDC"
- Part128.Parent = Model78
- Part128.Material = Enum.Material.SmoothPlastic
- Part128.BrickColor = BrickColor.new("Black")
- Part128.Transparency = 1
- Part128.Rotation = Vector3.new(-178.539993, -89.9399948, -178.649994)
- Part128.FormFactor = Enum.FormFactor.Custom
- Part128.Size = Vector3.new(0.200000003, 0.400000036, 0.400000036)
- Part128.CFrame = CFrame.new(-9.77073765, 3.8064549, -6.56156397, -0.000949842099, 2.24495634e-05, -0.999999523, -0.00190452766, 0.999998212, 2.42585356e-05, 0.999997735, 0.00190454966, -0.000949797686)
- Part128.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.RightSurface = Enum.SurfaceType.Weld
- Part128.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part128.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part128.Position = Vector3.new(-9.77073765, 3.8064549, -6.56156397)
- Part128.Orientation = Vector3.new(0, -90.0499954, -0.109999999)
- Part128.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Decal129.Name = "Texture"
- Decal129.Parent = Part128
- Decal129.Texture = "rbxassetid://41808037"
- Decal129.Face = Enum.NormalId.Left
- BlockMesh130.Parent = Part128
- BlockMesh130.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh130.Scale = Vector3.new(0.0500000007, 1, 1)
- BlockMesh130.Scale = Vector3.new(0.0500000007, 1, 1)
- ClickDetector131.Parent = Part128
- Decal132.Name = "FloorNumberL"
- Decal132.Parent = Part128
- Decal132.Texture = "rbxassetid://41808037"
- Decal132.Face = Enum.NormalId.Left
- Decal133.Name = "FloorNumberR"
- Decal133.Parent = Part128
- Decal133.Texture = "rbxassetid://41808037"
- Decal133.Face = Enum.NormalId.Left
- Part134.Name = "BTAL"
- Part134.Parent = Model78
- Part134.Material = Enum.Material.SmoothPlastic
- Part134.BrickColor = BrickColor.new("Black")
- Part134.Transparency = 1
- Part134.Rotation = Vector3.new(-178.539993, -89.9399948, -178.649994)
- Part134.FormFactor = Enum.FormFactor.Custom
- Part134.Size = Vector3.new(0.200000003, 0.400000036, 0.400000036)
- Part134.CFrame = CFrame.new(-9.37073803, 3.80644488, -6.56118488, -0.000949842099, 2.24495634e-05, -0.999999523, -0.00190452766, 0.999998212, 2.42585356e-05, 0.999997735, 0.00190454966, -0.000949797686)
- Part134.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.RightSurface = Enum.SurfaceType.Weld
- Part134.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part134.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part134.Position = Vector3.new(-9.37073803, 3.80644488, -6.56118488)
- Part134.Orientation = Vector3.new(0, -90.0499954, -0.109999999)
- Part134.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Decal135.Name = "Texture"
- Decal135.Parent = Part134
- Decal135.Texture = "rbxassetid://41808037"
- Decal135.Face = Enum.NormalId.Left
- BlockMesh136.Parent = Part134
- BlockMesh136.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh136.Scale = Vector3.new(0.0500000007, 1, 1)
- BlockMesh136.Scale = Vector3.new(0.0500000007, 1, 1)
- ClickDetector137.Parent = Part134
- Decal138.Name = "FloorNumberL"
- Decal138.Parent = Part134
- Decal138.Texture = "rbxassetid://41808037"
- Decal138.Face = Enum.NormalId.Left
- Decal139.Name = "FloorNumberR"
- Decal139.Parent = Part134
- Decal139.Texture = "rbxassetid://41808037"
- Decal139.Face = Enum.NormalId.Left
- Part140.Name = "Screen"
- Part140.Parent = Model78
- Part140.Material = Enum.Material.SmoothPlastic
- Part140.BrickColor = BrickColor.new("Black")
- Part140.Transparency = 1
- Part140.Rotation = Vector3.new(-178.539993, -89.9399948, -178.649994)
- Part140.FormFactor = Enum.FormFactor.Custom
- Part140.Size = Vector3.new(0.200000003, 0.800000012, 1.20000005)
- Part140.CFrame = CFrame.new(-5.97079086, 10.0059643, -6.34614801, -0.000949842099, 2.24495634e-05, -0.999999523, -0.00190452766, 0.999998212, 2.42585356e-05, 0.999997735, 0.00190454966, -0.000949797686)
- Part140.BackSurface = Enum.SurfaceType.Weld
- Part140.BottomSurface = Enum.SurfaceType.Weld
- Part140.FrontSurface = Enum.SurfaceType.Weld
- Part140.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part140.RightSurface = Enum.SurfaceType.Weld
- Part140.TopSurface = Enum.SurfaceType.Weld
- Part140.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part140.Position = Vector3.new(-5.97079086, 10.0059643, -6.34614801)
- Part140.Orientation = Vector3.new(0, -90.0499954, -0.109999999)
- Part140.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SurfaceGui141.Parent = Part140
- SurfaceGui141.Face = Enum.NormalId.Left
- SurfaceGui141.CanvasSize = Vector2.new(100, 50)
- Frame142.Parent = SurfaceGui141
- Frame142.Size = UDim2.new(1, 0, 1, 0)
- Frame142.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame142.BorderColor3 = Color3.new(0.509804, 0.796078, 1)
- Frame142.ClipsDescendants = true
- TextLabel143.Name = "Indicator"
- TextLabel143.Parent = Frame142
- TextLabel143.Transparency = 1
- TextLabel143.Size = UDim2.new(0, 50, 0, 35)
- TextLabel143.Text = "1"
- TextLabel143.Position = UDim2.new(0, 50, 0, 1)
- TextLabel143.BackgroundColor3 = Color3.new(0.541176, 1, 0.0196078)
- TextLabel143.BackgroundTransparency = 1
- TextLabel143.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextLabel143.ZIndex = 2
- TextLabel143.Font = Enum.Font.SourceSans
- TextLabel143.FontSize = Enum.FontSize.Size48
- TextLabel143.TextColor3 = Color3.new(0, 1, 0)
- TextLabel143.TextStrokeColor3 = Color3.new(0, 0.352941, 0)
- TextLabel143.TextStrokeTransparency = 0
- ImageLabel144.Name = "Arrow"
- ImageLabel144.Parent = Frame142
- ImageLabel144.Transparency = 1
- ImageLabel144.Size = UDim2.new(0, 16, 0, 35)
- ImageLabel144.Position = UDim2.new(0, 1, 0, 1)
- ImageLabel144.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel144.BackgroundTransparency = 1
- ImageLabel144.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- ImageLabel144.BorderSizePixel = 2
- ImageLabel144.Image = "rbxassetid://0"
- TextBox145.Parent = Frame142
- TextBox145.Transparency = 1
- TextBox145.Size = UDim2.new(0, 100, 0, 13)
- TextBox145.Text = "OTIS SPACE"
- TextBox145.Position = UDim2.new(0, 0, 0.699999988, 0)
- TextBox145.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox145.BackgroundTransparency = 1
- TextBox145.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- TextBox145.Font = Enum.Font.Arial
- TextBox145.FontSize = Enum.FontSize.Size12
- TextBox145.TextColor3 = Color3.new(0, 1, 0)
- TextBox145.TextStrokeColor3 = Color3.new(0, 0.352941, 0)
- TextBox145.TextWrapped = true
- Part146.Name = "ScreenBorder"
- Part146.Parent = Model78
- Part146.BrickColor = BrickColor.new("Bright blue")
- Part146.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part146.FormFactor = Enum.FormFactor.Custom
- Part146.Size = Vector3.new(0.200000003, 1.19999814, 1)
- Part146.CFrame = CFrame.new(-5.27117109, 10.0051861, -5.94548416, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part146.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.BottomSurface = Enum.SurfaceType.Weld
- Part146.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part146.TopSurface = Enum.SurfaceType.Weld
- Part146.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part146.Position = Vector3.new(-5.27117109, 10.0051861, -5.94548416)
- Part146.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part146.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part147.Name = "BTF2"
- Part147.Parent = Model78
- Part147.Material = Enum.Material.SmoothPlastic
- Part147.BrickColor = BrickColor.new("Black")
- Part147.Transparency = 1
- Part147.Rotation = Vector3.new(-178.539993, -89.9399948, -178.649994)
- Part147.FormFactor = Enum.FormFactor.Custom
- Part147.Size = Vector3.new(0.200000003, 0.400000036, 0.400000036)
- Part147.CFrame = CFrame.new(-9.77069759, 5.60645008, -6.55813599, -0.000949842099, 2.24495634e-05, -0.999999523, -0.00190452766, 0.999998212, 2.42585356e-05, 0.999997735, 0.00190454966, -0.000949797686)
- Part147.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.RightSurface = Enum.SurfaceType.Weld
- Part147.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part147.Position = Vector3.new(-9.77069759, 5.60645008, -6.55813599)
- Part147.Orientation = Vector3.new(0, -90.0499954, -0.109999999)
- Part147.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Decal148.Name = "Texture"
- Decal148.Parent = Part147
- Decal148.Texture = "rbxassetid://41808037"
- Decal148.Face = Enum.NormalId.Left
- BlockMesh149.Parent = Part147
- BlockMesh149.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh149.Scale = Vector3.new(0.0500000007, 1, 1)
- BlockMesh149.Scale = Vector3.new(0.0500000007, 1, 1)
- ClickDetector150.Parent = Part147
- Decal151.Name = "FloorNumberL"
- Decal151.Parent = Part147
- Decal151.Texture = "rbxassetid://41808037"
- Decal151.Face = Enum.NormalId.Left
- Decal152.Name = "FloorNumberR"
- Decal152.Parent = Part147
- Decal152.Texture = "rbxassetid://41808037"
- Decal152.Face = Enum.NormalId.Left
- Part153.Name = "BTF1"
- Part153.Parent = Model78
- Part153.Material = Enum.Material.SmoothPlastic
- Part153.BrickColor = BrickColor.new("Black")
- Part153.Transparency = 1
- Part153.Rotation = Vector3.new(-178.539993, -89.9399948, -178.649994)
- Part153.FormFactor = Enum.FormFactor.Custom
- Part153.Size = Vector3.new(0.200000003, 0.400000036, 0.400000036)
- Part153.CFrame = CFrame.new(-9.37069798, 5.60644007, -6.55775595, -0.000949842099, 2.24495634e-05, -0.999999523, -0.00190452766, 0.999998212, 2.42585356e-05, 0.999997735, 0.00190454966, -0.000949797686)
- Part153.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.RightSurface = Enum.SurfaceType.Weld
- Part153.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part153.Position = Vector3.new(-9.37069798, 5.60644007, -6.55775595)
- Part153.Orientation = Vector3.new(0, -90.0499954, -0.109999999)
- Part153.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Decal154.Name = "Texture"
- Decal154.Parent = Part153
- Decal154.Texture = "rbxassetid://41808037"
- Decal154.Face = Enum.NormalId.Left
- BlockMesh155.Parent = Part153
- BlockMesh155.Offset = Vector3.new(0.100000001, 0, 0)
- BlockMesh155.Scale = Vector3.new(0.0500000007, 1, 1)
- BlockMesh155.Scale = Vector3.new(0.0500000007, 1, 1)
- ClickDetector156.Parent = Part153
- Decal157.Name = "FloorNumberL"
- Decal157.Parent = Part153
- Decal157.Texture = "rbxassetid://41808037"
- Decal157.Face = Enum.NormalId.Left
- Decal158.Name = "FloorNumberR"
- Decal158.Parent = Part153
- Decal158.Texture = "rbxassetid://41808037"
- Decal158.Face = Enum.NormalId.Left
- Part159.Name = "ElevatorWalls"
- Part159.Parent = Model78
- Part159.BrickColor = BrickColor.new("Bright blue")
- Part159.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part159.FormFactor = Enum.FormFactor.Custom
- Part159.Size = Vector3.new(3.40001321, 1.19999814, 1)
- Part159.CFrame = CFrame.new(-3.47117209, 10.0051355, -5.94377518, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part159.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.BottomSurface = Enum.SurfaceType.Weld
- Part159.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.TopSurface = Enum.SurfaceType.Weld
- Part159.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part159.Position = Vector3.new(-3.47117209, 10.0051355, -5.94377518)
- Part159.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part159.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part160.Name = "ScreenBorder"
- Part160.Parent = Model78
- Part160.BrickColor = BrickColor.new("Bright blue")
- Part160.Rotation = Vector3.new(-179.889999, 0.049999997, -180)
- Part160.FormFactor = Enum.FormFactor.Custom
- Part160.Size = Vector3.new(1.20000005, 0.200000003, 1)
- Part160.CFrame = CFrame.new(-5.97115993, 10.5051899, -5.94519615, -0.999999523, 2.24495634e-05, 0.000949842099, 2.42585356e-05, 0.999998212, 0.00190452766, -0.000949797686, 0.00190454966, -0.999997735)
- Part160.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part160.BottomSurface = Enum.SurfaceType.Weld
- Part160.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part160.TopSurface = Enum.SurfaceType.Weld
- Part160.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Part160.Position = Vector3.new(-5.97115993, 10.5051899, -5.94519615)
- Part160.Orientation = Vector3.new(-0.109999999, 179.949997, 0)
- Part160.Color = Color3.new(0.0509804, 0.411765, 0.67451)
- Script161.Name = "Teknikk Gen4 V2.1"
- Script161.Parent = Model1
- table.insert(cors,sandbox(Script161,function()
- print("Teknikk Gen4 V2.1 Multi API")
- Floor = script.Parent.Floor
- Motor = script.Parent.Motor
- Car = script.Parent.Car
- IgnoreSensor = false
- DoorState = "Closed"
- DoorStateRear = "Closed"
- DoorSpeed = 0
- DoorL = 43
- DoorC = 0.05
- DoorP = 0
- DoorPR = 0
- DoorTimer = 5
- NudgeTimer = 30
- DoorOpenTime = 0
- DoorNudge = false
- DoorTimerReset = false
- DoorTimerResetRear = false
- ConfigMode = false
- EngineAPI = "B" -- DO NOT CHANGE TO CFRAME UNLESS YOU WANT IT MESSED UP
- EngineDynamicSpeed = false
- if EngineAPI == "C" then
- MotorStartSpeed = 0.15
- MotorStopSpeed = 0.1
- MotorSpeed = 0.2
- LevelOffset = 2.5
- elseif EngineAPI == "B" then
- BP = Car.Platform.BodyPosition
- BV = Car.Platform.BodyVelocity
- MotorStartSpeed = 0.05
- MotorStopSpeed = 0.05
- MotorSpeed = 13 -- Change this to adjust the Movement speed
- LevelOffset = 5
- end
- local MoveDirection = "None"
- local TargetFloor = 0
- local TotalFloors = 0
- local CallQuene = {}
- local FireLock = false
- local Alarm = false
- local Moving = false
- local Busy = false
- local Locked = false
- local Fire = false
- local Light = true
- local OpenWhenIdle = false
- local Chime = false
- local FloorPassChime = true
- local ClassicLevel = false
- local CardLock = true
- local DoorSensors = true
- local DoorSensorHold = true
- local CardNumber = {
- [0]=0,
- [301]=3,
- [302]=3,
- [303]=3,
- [304]=3,
- [305]=3,
- [306]=3,
- [307]=3,
- [401]=4,
- [402]=4,
- [403]=4,
- [404]=4,
- [405]=4,
- [406]=4,
- [407]=4
- }
- local UnlockedFloor = 9001
- local LockedFloors = {11,13,15}
- local LightLock = {"Player1","Heisteknikk"}
- local CarCF = {}
- local TCar = script.Parent.Car
- local TFloors = script.Parent.Floors
- local TFloorsG = script.Parent.Floors:GetChildren()
- local TCarG = script.Parent.Car:GetChildren()
- local TDoorL = script.Parent.Car.DoorLeft:GetChildren()
- local TDoorR = script.Parent.Car.DoorRight:GetChildren()
- for i1=1,#TCarG do
- table.insert(CarCF,TCarG[i1])
- end
- for i2=1,#TDoorL do
- table.insert(CarCF,TDoorL[i2])
- end
- for i3=1,#TDoorR do
- table.insert(CarCF,TDoorR[i3])
- end
- local BtnULit = "http://www.roblox.com/asset/?id=146686839"
- local BtnLit = "http://www.roblox.com/asset/?id=146686848"
- local IndDirUp = "http://www.roblox.com/asset/?id=73327045"
- local IndDirDown = "http://www.roblox.com/asset/?id=73327045"
- local IndDirULit = "http://www.roblox.com/asset/?id=73327064"
- local DirIndLit = "http://www.roblox.com/asset/?id=73327064"
- local DirIndULit = "http://www.roblox.com/asset/?id=73327045"
- function ProcessCall(xFloor, xDest)
- if Busy == false and xFloor ~= xDest then
- if xDest > xFloor then
- script.Parent.TFloor.Value = xDest
- Start("Up",xDest)
- end
- if xDest < xFloor then
- script.Parent.TFloor.Value = xDest
- Start("Down",xDest)
- end
- end
- end
- function Start(xDirection,xDest)
- Busy = true
- Car.Platform.Motor.Pitch = 0
- Car.Platform.Motor:Play()
- if DoorState ~= "Closed" or DoorStateRear ~= "Closed" then
- repeat
- wait()
- print("Door 1: "..DoorState.."; Door 2: "..DoorStateRear)
- until DoorState == "Closed" and DoorStateRear == "Closed"
- end
- Moving = true
- if EngineAPI == "B" and EngineDynamicSpeed then
- print("Calculating Dynamic Speed...")
- local GetDist = (TFloors:FindFirstChild("Floor"..xDest).Level.Position.Y - Car.Platform.Position.Y)
- print("Calculated Speed")
- print(math.abs(GetDist/50*28))
- MotorSpeed = math.abs(GetDist/50*28)
- end
- if EngineAPI == "B" then
- BP.P = 0
- BP.D = 0
- BV.P = 5000
- Car.Platform.Anchored = false
- end
- coroutine.resume(coroutine.create(function()
- for i=0.1, 1, 0.05 do
- Car.Platform.Motor.Pitch = i
- wait(0.1)
- end
- end))
- if xDirection == "Up" then
- script.Parent.Direction.Value = "U"
- MoveDirection = "Up"
- CallDirection = "Up"
- Motor.Value = 0.000001
- script.StartMotor.Value = true
- if EngineAPI == "C" then
- for i = 0.02, MotorSpeed, 0.02 do
- Motor.Value = i
- wait(MotorStartSpeed)
- end
- end
- if EngineAPI == "B" then
- for i = 0, MotorSpeed, 1 do
- Motor.Value = i
- wait(MotorStartSpeed)
- end
- end
- end
- if xDirection == "Down" then
- script.Parent.Direction.Value = "D"
- MoveDirection = "Down"
- CallDirection = "Down"
- Motor.Value = -0.000001
- script.StartMotor.Value = true
- if EngineAPI == "C" then
- for i = 0, MotorSpeed, 0.02 do
- Motor.Value = -i
- wait(MotorStartSpeed)
- end
- end
- if EngineAPI == "B" then
- for i = 0, MotorSpeed, 1 do
- Motor.Value = -i
- wait(MotorStartSpeed)
- end
- end
- end
- end
- function Stop(TF)
- local HaveAStop = false
- for i=1, #CallQuene do
- if CallQuene[i] == TF then
- HaveAStop = true
- end
- end
- if HaveAStop then
- script.Parent.Direction.Value = "N"
- Btn(TF,0)
- if EngineAPI == "C" then
- if MoveDirection == "Up" then
- for i = MotorSpeed, 0, -0.05 do
- Motor.Value = i
- wait(MotorStopSpeed)
- end
- end
- if MoveDirection == "Down" then
- for i = MotorSpeed, 0, -0.05 do
- Motor.Value = -i
- wait(MotorStopSpeed)
- end
- end
- end
- coroutine.resume(coroutine.create(function()
- for i=0.5, 0.1, -0.05 do
- Car.Platform.Motor.Pitch = i
- wait(0.1)
- end
- end))
- if EngineAPI == "B" then
- local FYpos = TFloors:FindFirstChild("Floor"..TF).Level.Position.Y
- BP.position = Vector3.new(Car.Platform.BodyPosition.position.X,FYpos,Car.Platform.BodyPosition.position.Z)
- BP.P = 10000
- BP.D = 4000
- BV.P = 0
- BV.velocity = Vector3.new(0,0,0)
- end
- local Dir = MoveDirection
- Quene(TF,"Remove")
- if Floor.Value == TotalFloors then
- MoveDirection = "Down"
- end
- if Floor.Value == 1 then
- MoveDirection = "Up"
- end
- Moving = false
- if ClassicLevel and EngineAPI == "C" then
- DoorRun(1)
- end
- repeat
- if EngineAPI == "C" then
- for i, v in ipairs(CarCF) do
- if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("CornerWedgePart") then
- if v:FindFirstChild("Reverse")~=nil then
- if Dir == "Up" then
- v.CFrame = v.CFrame * CFrame.new(0, -0.01, 0)
- else
- v.CFrame = v.CFrame * CFrame.new(0, 0.01, 0)
- end
- else
- if Dir == "Up" then
- v.CFrame = v.CFrame * CFrame.new(0, 0.01, 0)
- else
- v.CFrame = v.CFrame * CFrame.new(0, -0.01, 0)
- end
- end
- elseif v:IsA("Model") then
- local z = v:GetChildren()
- for a, s in ipairs(z) do
- if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("CornerWedgePart") then
- if v:FindFirstChild("Reverse")~=nil then
- if Dir == "Up" then
- s.CFrame = s.CFrame * CFrame.new(0, -0.01, 0)
- else
- s.CFrame = s.CFrame * CFrame.new(0, 0.01, 0)
- end
- else
- if Dir == "Up" then
- s.CFrame = s.CFrame * CFrame.new(0, 0.01, 0)
- else
- s.CFrame = s.CFrame * CFrame.new(0, -0.01, 0)
- end
- end
- end
- end
- end
- end
- end
- wait()
- until math.abs(TFloors:FindFirstChild("Floor"..TF).Level.Position.Y - Car.Platform.Position.Y) < 0.1
- Car.Platform.Motor:Stop()
- wait(0.5)
- Motor.Value = 0
- if EngineAPI == "B" then
- Car.Platform.Anchored = true
- wait(0.5)
- end
- TargetFloor = 0
- script.Parent.TargetFloor.Value = 0
- if not ClassicLevel or EngineAPI == "B" then
- DoorRun(1)
- end
- print("Waiting 5 before Reset")
- Busy = false
- wait(5)
- Quene(0,"Check")
- --local Number = nil
- --repeat Number = math.random(1,4) until Number ~= Floor.Value
- --script.Parent.ScriptCall.Value = Number
- end
- end
- function DoorRun(xm)
- if Debug then print("DoorRun("..xm..") executed") end
- if xm == 1 then
- if DoorState == "Closed" then
- coroutine.resume(coroutine.create(function() DoorOpen(Floor.Value,false) end))
- end
- if DoorStateRear == "Closed" then
- coroutine.resume(coroutine.create(function() RearDoorOpen(Floor.Value,false) end)) -- REAR DOOR
- end
- end
- if xm == 2 then
- if DoorState == "Open" then
- coroutine.resume(coroutine.create(function() DoorClose(Floor.Value) end))-- MAIN DOOR
- end
- if DoorStateRear == "Open" then
- coroutine.resume(coroutine.create(function() RearDoorClose(Floor.Value) end)) -- REAR DOOR
- end
- end
- if xm == 3 then
- if DoorState == "Closing" then
- coroutine.resume(coroutine.create(function() DoorReOpen(Floor.Value,true) end))-- MAIN DOOR
- end
- if DoorStateRear == "Closing" then
- coroutine.resume(coroutine.create(function() RearDoorReOpen(Floor.Value,true) end))-- MAIN DOOR
- end
- end
- end
- function DoorOpen(F,ReOpen)
- if F ~= Floor.Value and Moving == true then return end -- IF NOT OF FLOOR DO NOT Open
- if DoorNudge == true then return end -- NO OPEN ON NUDGE
- if DoorState == "Closed" then -- open when closed and reopen if closing
- if TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeft") == nil then print("No Main Door detected") return end
- DoorState = "Opening"
- local DoorCarLeft = Car.DoorLeft:GetChildren()
- local DoorCarRight = Car.DoorRight:GetChildren()
- local DoorFloorLeft = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeft"):GetChildren()
- local DoorFloorRight = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorRight"):GetChildren()
- if EngineAPI == "B" then
- for C1 = 1, #DoorCarLeft do DoorCarLeft[C1].Anchored = true end
- for C2 = 1, #DoorCarRight do DoorCarRight[C2].Anchored = true end
- end
- for i=DoorP, DoorL do
- DoorP = DoorP + 1
- for R=1, #DoorFloorRight do
- DoorFloorRight[R].CFrame = DoorFloorRight[R].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for L=1, #DoorFloorLeft do
- DoorFloorLeft[L].CFrame = DoorFloorLeft[L].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for CR=1, #DoorCarRight do
- DoorCarRight[CR].CFrame = DoorCarRight[CR].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for CL=1, #DoorCarLeft do
- DoorCarLeft[CL].CFrame = DoorCarLeft[CL].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- wait(DoorSpeed)
- end
- if DoorState == "CancelReopen" then DoorState = "OkReopen" return end
- DoorState = "Open"
- SetCarDirInd(1)
- SetFloorDirInd(1)
- if ChimeAfterDoor then coroutine.resume(coroutine.create(function() DoChime() end)) end
- -- CREATE DOOR TIMER
- coroutine.resume(coroutine.create(function()
- local CTime = 0
- repeat
- wait(1)
- CTime = CTime + 1
- if DoorTimerReset == true then
- print("Timer reset due to sensor touched or Open clicked")
- CTime = 0
- DoorTimerReset = false
- end
- until CTime > DoorTimer or DoorState ~= "Open"
- if CTime > DoorTimer then
- DoorClose(Floor.Value)
- elseif DoorState ~= "Open" then
- print("Door was closed before timer ended :)")
- end
- end))
- DoorCheck() -- NUDGE TIMER
- end
- end
- function DoorReOpen(F)
- if F ~= Floor.Value and Moving == true then return end -- IF NOT OF FLOOR DO NOT Open
- if DoorNudge == true then return end -- NO OPEN ON NUDGE
- if DoorState == "Closing" and DoorNudge == false then -- open when closed and reopen if closing
- if TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeft") == nil then print("No Main Door detected") return end
- DoorState = "CancelReopen"
- repeat wait() until DoorState == "OkReopen"
- wait(0.2)
- DoorState = "Opening"
- local DoorCarLeft = Car.DoorLeft:GetChildren()
- local DoorCarRight = Car.DoorRight:GetChildren()
- local DoorFloorLeft = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeft"):GetChildren()
- local DoorFloorRight = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorRight"):GetChildren()
- if EngineAPI == "B" then
- for C1 = 1, #DoorCarLeft do DoorCarLeft[C1].Anchored = true end
- for C2 = 1, #DoorCarRight do DoorCarRight[C2].Anchored = true end
- end
- for i=DoorP, DoorL do
- DoorP = DoorP + 1
- for R=1, #DoorFloorRight do
- DoorFloorRight[R].CFrame = DoorFloorRight[R].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for L=1, #DoorFloorLeft do
- DoorFloorLeft[L].CFrame = DoorFloorLeft[L].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for CR=1, #DoorCarRight do
- DoorCarRight[CR].CFrame = DoorCarRight[CR].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for CL=1, #DoorCarLeft do
- DoorCarLeft[CL].CFrame = DoorCarLeft[CL].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- wait(DoorSpeed)
- end
- if DoorState == "CancelReopen" then DoorState = "OkReopen" print("Grr, need to reopen...") return end
- DoorState = "Open"
- SetCarDirInd(1)
- SetFloorDirInd(1)
- if ChimeAfterDoor then coroutine.resume(coroutine.create(function() DoChime() end)) end
- -- CREATE DOOR TIMER
- coroutine.resume(coroutine.create(function()
- local CTime = 0
- repeat
- wait(1)
- CTime = CTime + 1
- if DoorTimerReset == true or DoorHold == true then
- print("Timer reset due to sensor touched or Open clicked")
- CTime = 0
- DoorTimerReset = false
- end
- until CTime > DoorTimer or DoorState ~= "Open"
- if CTime > DoorTimer then
- DoorClose(Floor.Value)
- elseif DoorState ~= "Open" then
- print("Door was closed before timer ended :)")
- end
- end))
- DoorCheck() -- NUDGE TIMER
- end
- end
- function DoorClose(F,Nudge)
- if DoorHold == true then return end
- if F ~= Floor.Value and Moving == true then return end -- IF NOT OF FLOOR DO NOT Open
- if Floor.Value == 1 and FireLock then return end
- if DoorState == "Open" or DoorState ~= "Closed" and DoorState == "Opening" and Nudge == true then
- if TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeft") == nil then print("No Main Door detected") return end
- if Nudge == true then
- DoorNudge = true
- coroutine.resume(coroutine.create(function()
- while DoorState ~= "Closed" do
- Car.Platform.Chime:Play()
- wait(0.3)
- end
- end))
- end
- repeat wait() until DoorState == "Open"
- SetCarDirInd(0)
- SetFloorDirInd(0)
- DoorState = "Closing"
- local DoorCarLeft = Car.DoorLeft:GetChildren()
- local DoorCarRight = Car.DoorRight:GetChildren()
- local DoorFloorLeft = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeft"):GetChildren()
- local DoorFloorRight = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorRight"):GetChildren()
- for i=0, DoorL do
- if DoorState == "CancelReopen" then DoorState = "OkReopen" return end
- DoorP = DoorP - 1
- for R=1, #DoorFloorRight do
- DoorFloorRight[R].CFrame = DoorFloorRight[R].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for L=1, #DoorFloorLeft do
- DoorFloorLeft[L].CFrame = DoorFloorLeft[L].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for CR=1, #DoorCarRight do
- DoorCarRight[CR].CFrame = DoorCarRight[CR].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for CL=1, #DoorCarLeft do
- DoorCarLeft[CL].CFrame = DoorCarLeft[CL].CFrame * CFrame.new(DoorC, 0, 0)
- end
- if Nudge == true then
- wait(0.1)
- else
- wait(DoorSpeed)
- end
- end
- if DoorState == "CancelReopen" then DoorState = "OkReopen" return end
- if DoorState == "Closing" then
- if Nudge == true then DoorNudge = false end
- if EngineAPI == "B" then
- for C1 = 1, #DoorCarLeft do DoorCarLeft[C1].Anchored = false end
- for C2 = 1, #DoorCarRight do DoorCarRight[C2].Anchored = false end
- end
- DoorState = "Closed"
- Quene(0,"Check")
- end
- end
- end
- function RearDoorOpen(F,ReOpen)
- if F ~= Floor.Value and Moving == true then return end -- IF NOT OF FLOOR DO NOT Open
- if DoorNudge == true then return end -- NO OPEN ON NUDGE
- if DoorStateRear == "Closed" then -- open when closed and reopen if closing
- if TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeftRear") == nil then print("No Rear Door detected") return end
- DoorStateRear = "Opening"
- local DoorCarLeftRear = Car.DoorLeftRear:GetChildren()
- local DoorCarRightRear = Car.DoorRightRear:GetChildren()
- local DoorFloorLeftRear = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeftRear"):GetChildren()
- local DoorFloorRightRear = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorRightRear"):GetChildren()
- if EngineAPI == "B" then
- for C1 = 1, #DoorCarLeftRear do DoorCarLeftRear[C1].Anchored = true end
- for C2 = 1, #DoorCarRightRear do DoorCarRightRear[C2].Anchored = true end
- end
- for i=DoorPR, DoorL do
- DoorPR = DoorPR + 1
- for R=1, #DoorFloorRightRear do
- DoorFloorRightRear[R].CFrame = DoorFloorRightRear[R].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for L=1, #DoorFloorLeftRear do
- DoorFloorLeftRear[L].CFrame = DoorFloorLeftRear[L].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for CR=1, #DoorCarRightRear do
- DoorCarRightRear[CR].CFrame = DoorCarRightRear[CR].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for CL=1, #DoorCarLeftRear do
- DoorCarLeftRear[CL].CFrame = DoorCarLeftRear[CL].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- wait(DoorSpeed)
- end
- if DoorStateRear == "CancelReopen" then DoorStateRear = "OkReopen" return end
- DoorStateRear = "Open"
- SetCarDirInd(1,true)
- SetFloorDirInd(1)
- if ChimeAfterDoor then coroutine.resume(coroutine.create(function() DoChime() end)) end
- -- CREATE DOOR TIMER
- coroutine.resume(coroutine.create(function()
- local CTimeRear = 0
- repeat
- wait(1)
- CTimeRear = CTimeRear + 1
- if DoorTimerRearReset == true then
- print("Timer reset due to sensor touched or Open clicked")
- CTimeRear = 0
- DoorTimerRearReset = false
- end
- until CTimeRear > DoorTimer or DoorStateRear ~= "Open"
- if CTimeRear > DoorTimer then
- RearDoorClose(Floor.Value)
- elseif DoorStateRear ~= "Open" then
- print("Door was closed before timer ended :)")
- end
- end))
- DoorCheck() -- NUDGE TIMER
- end
- end
- function RearDoorReOpen(F)
- if F ~= Floor.Value and Moving == true then return end -- IF NOT OF FLOOR DO NOT Open
- if DoorNudge == true then return end -- NO OPEN ON NUDGE
- if DoorStateRear == "Closing" and DoorNudge == false then -- open when closed and reopen if closing
- if TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeftRear") == nil then print("No Rear Door detected") return end
- DoorStateRear = "CancelReopen"
- repeat wait() until DoorStateRear == "OkReopen"
- wait(0.2)
- DoorStateRear = "Opening"
- local DoorCarLeftRear = Car.DoorLeftRear:GetChildren()
- local DoorCarRightRear = Car.DoorRightRear:GetChildren()
- local DoorFloorLeftRear = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeftRear"):GetChildren()
- local DoorFloorRightRear = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorRightRear"):GetChildren()
- if EngineAPI == "B" then
- for C1 = 1, #DoorCarLeftRear do DoorCarLeftRear[C1].Anchored = true end
- for C2 = 1, #DoorCarRightRear do DoorCarRightRear[C2].Anchored = true end
- end
- for i=DoorPR, DoorL do
- DoorPR = DoorPR + 1
- for R=1, #DoorFloorRightRear do
- DoorFloorRightRear[R].CFrame = DoorFloorRightRear[R].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for L=1, #DoorFloorLeftRear do
- DoorFloorLeftRear[L].CFrame = DoorFloorLeftRear[L].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for CR=1, #DoorCarRightRear do
- DoorCarRightRear[CR].CFrame = DoorCarRightRear[CR].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for CL=1, #DoorCarLeftRear do
- DoorCarLeftRear[CL].CFrame = DoorCarLeftRear[CL].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- wait(DoorSpeed)
- end
- if DoorStateRear == "CancelReopen" then DoorStateRear = "OkReopen" print("Grr, need to reopen...") return end
- DoorStateRear = "Open"
- SetCarDirInd(1,true)
- SetFloorDirInd(1)
- if ChimeAfterDoor then coroutine.resume(coroutine.create(function() DoChime() end)) end
- -- CREATE DOOR TIMER
- coroutine.resume(coroutine.create(function()
- local CTimeRear = 0
- repeat
- wait(1)
- CTimeRear = CTimeRear + 1
- if DoorTimerResetRear == true or DoorHold == true then
- print("Timer reset due to sensor touched or Open clicked")
- CTimeRear = 0
- DoorTimerResetRear = false
- end
- until CTimeRear > DoorTimer or DoorStateRear ~= "Open"
- if CTimeRear > DoorTimer then
- RearDoorClose(Floor.Value)
- elseif DoorStateRear ~= "Open" then
- print("Door was closed before timer ended :)")
- end
- end))
- DoorCheck() -- NUDGE TIMER
- end
- end
- function RearDoorClose(F,Nudge)
- if DoorHold == true then return end
- if F ~= Floor.Value and Moving == true then return end -- IF NOT OF FLOOR DO NOT Open
- if Floor.Value == 1 and FireLock then return end
- if DoorStateRear == "Open" or DoorStateRear ~= "Closed" and DoorStateRear == "Opening" and Nudge == true then
- if TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeftRear") == nil then print("No Rear Door detected") return end
- if Nudge == true then
- DoorNudge = true
- coroutine.resume(coroutine.create(function()
- while DoorStateRear ~= "Closed" do
- Car.Platform.Chime:Play()
- wait(0.3)
- end
- end))
- end
- repeat wait() until DoorStateRear == "Open"
- SetCarDirInd(0,true)
- SetFloorDirInd(0)
- DoorStateRear = "Closing"
- local DoorCarLeftRear = Car.DoorLeftRear:GetChildren()
- local DoorCarRightRear = Car.DoorRightRear:GetChildren()
- local DoorFloorLeftRear = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorLeftRear"):GetChildren()
- local DoorFloorRightRear = TFloors:FindFirstChild("Floor"..F):FindFirstChild("DoorRightRear"):GetChildren()
- for i=0, DoorL do
- if DoorStateRear == "CancelReopen" then DoorStateRear = "OkReopen" return end
- DoorPR = DoorPR - 1
- for R=1, #DoorFloorRightRear do
- DoorFloorRightRear[R].CFrame = DoorFloorRightRear[R].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for L=1, #DoorFloorLeftRear do
- DoorFloorLeftRear[L].CFrame = DoorFloorLeftRear[L].CFrame * CFrame.new(DoorC, 0, 0)
- end
- for CR=1, #DoorCarRightRear do
- DoorCarRightRear[CR].CFrame = DoorCarRightRear[CR].CFrame * CFrame.new(-DoorC, 0, 0)
- end
- for CL=1, #DoorCarLeftRear do
- DoorCarLeftRear[CL].CFrame = DoorCarLeftRear[CL].CFrame * CFrame.new(DoorC, 0, 0)
- end
- if Nudge == true then
- wait(0.1)
- else
- wait(DoorSpeed)
- end
- end
- if DoorStateRear == "CancelReopen" then DoorStateRear = "OkReopen" return end
- if DoorStateRear == "Closing" then
- if Nudge == true then DoorNudge = false end
- if EngineAPI == "B" then
- for C1 = 1, #DoorCarLeftRear do DoorCarLeftRear[C1].Anchored = false end
- for C2 = 1, #DoorCarRightRear do DoorCarRightRear[C2].Anchored = false end
- end
- DoorStateRear = "Closed"
- Quene(0,"Check")
- end
- end
- end
- Running = false
- function DoorCheck()
- if Running then return end
- if FireLock then return end
- if DoorOpenTime == 0 then
- coroutine.resume(coroutine.create (function()
- Running = true
- while DoorOpenTime ~= NudgeTimer do
- if DoorState == "Closed" or FireLock or DoorHold then break end
- DoorOpenTime = DoorOpenTime + 1
- print("Nudge timer: "..DoorOpenTime)
- wait(1)
- end
- if DoorState ~= "Closed" or DoorStateRear ~= "Closed" then
- coroutine.resume(coroutine.create(function()
- repeat wait() until DoorState == "Open" or DoorState == "Closed"
- if DoorState == "Closed" then
- return -- No takk
- elseif DoorState == "Open" then
- DoorClose(Floor.Value,true)
- end
- end))
- DoorOpenTime = 0
- Running = false
- end
- DoorOpenTime = 0
- Running = false
- end))
- end
- end
- if DoorSensors then
- Car.DoorSensor.Touched:connect(function (Player)
- if Player == nil then return end
- if Player.Parent == nil then return end
- if Player.Parent:FindFirstChild("Humanoid") then
- coroutine.resume(coroutine.create(function() if not Moving and DoorState == "Closing" then DoorTimerReset= true DoorRun(3) end end))
- end
- end)
- if Car:FindFirstChild("DoorSensorRear") then
- Car.DoorSensorRear.Touched:connect(function (Player)
- if Player == nil then return end
- if Player.Parent == nil then return end
- if Player.Parent:FindFirstChild("Humanoid") then
- coroutine.resume(coroutine.create(function() if not Moving and DoorStateRear == "Closing" then DoorTimerResetRear = true DoorRun(3) end end))
- end
- end)
- end
- end
- function Btn(xFloor,xMode,Type)
- local xCar = TCar:FindFirstChild("BTF"..xFloor)
- local xCall = TFloors:FindFirstChild("Floor"..xFloor):FindFirstChild("CallButton")
- local xCall2 = TFloors:FindFirstChild("Floor"..xFloor):FindFirstChild("CallButtonRear")
- --local xDual = script.Parent.Parent.Parent.HallButtons:FindFirstChild("b"..xFloor)
- if xMode == 1 then
- if xCar ~= nil and Type == "Car" then
- xCar.Texture.Texture = BtnLit
- end
- if xCall ~= nil and Type == "Call" then
- xCall.Texture.Texture = BtnLit
- end
- if xCall2 ~= nil and Type == "Call" then
- xCall2.Texture.Texture = BtnLit
- end
- end
- if xMode == 0 then
- if xCar ~= nil then
- xCar.Texture.Texture = BtnULit
- end
- if xCall ~= nil then
- xCall.Texture.Texture = BtnULit
- end
- if xCall2 ~= nil then
- xCall2.Texture.Texture = BtnULit
- end
- if xDual ~= nil then
- xDual.Texture.Texture = BtnULit
- end
- end
- end
- local Chime = TCar.Platform.Chime
- function SetCarDirInd(F,Rear)
- if Rear == true then
- if TCar:FindFirstChild("DoorIndUpRear") and TCar:FindFirstChild("DoorIndDownRear") then
- if F == 1 then
- if MoveDirection == "Up" then
- TCar.DoorIndUpRear.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- elseif MoveDirection == "Down" then
- TCar.DoorIndDownRear.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- wait(0.8)
- Chime.Pitch = 0.8
- Chime:Play()
- elseif Floor.Value == TotalFloors then
- TCar.DoorIndDownRear.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- wait(0.8)
- Chime.Pitch = 0.8
- Chime:Play()
- elseif Floor.Value == 1 then
- TCar.DoorIndUpRear.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- else
- TCar.DoorIndUpRear.Decal.Texture = DirIndLit
- TCar.DoorIndDownRear.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- end
- end
- if F == 0 then
- TCar.DoorIndUpRear.Decal.Texture = DirIndULit
- TCar.DoorIndDownRear.Decal.Texture = DirIndULit
- end
- end
- else
- if TCar:FindFirstChild("DoorIndUp") and TCar:FindFirstChild("DoorIndDown") then
- if F == 1 then
- if MoveDirection == "Up" then
- TCar.DoorIndUp.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- elseif MoveDirection == "Down" then
- TCar.DoorIndDown.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- wait(0.8)
- Chime.Pitch = 0.8
- Chime:Play()
- elseif Floor.Value == TotalFloors then
- TCar.DoorIndDown.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- wait(0.8)
- Chime.Pitch = 0.8
- Chime:Play()
- elseif Floor.Value == 1 then
- TCar.DoorIndUp.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- else
- TCar.DoorIndUp.Decal.Texture = DirIndLit
- TCar.DoorIndDown.Decal.Texture = DirIndLit
- Chime.Pitch = 1
- Chime:Play()
- end
- end
- if F == 0 then
- TCar.DoorIndUp.Decal.Texture = DirIndULit
- TCar.DoorIndDown.Decal.Texture = DirIndULit
- end
- end
- end
- end
- function SetFloorDirInd(F)
- if F == 1 then
- if MoveDirection == "Up" or Floor.Value == 1 then
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1").Decal.Texture = DirIndLit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2").Decal.Texture = DirIndLit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1Rear").Decal.Texture = DirIndLit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2Rear").Decal.Texture = DirIndLit
- end
- elseif MoveDirection == "Down" or Floor.Value == TotalFloors then
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1").Decal.Texture = DirIndLit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2").Decal.Texture = DirIndLit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1Rear").Decal.Texture = DirIndLit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2Rear").Decal.Texture = DirIndLit
- end
- else
- end
- end
- if F == 0 then
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp1Rear").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndUp2Rear").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown1Rear").Decal.Texture = DirIndULit
- end
- if TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2Rear") then
- TFloors:FindFirstChild("Floor"..Floor.Value):FindFirstChild("DirIndDown2Rear").Decal.Texture = DirIndULit
- end
- end
- end
- function Quene(xFloor,Mode,isCall)
- if Mode == "Check" then
- for i = 1, #CallQuene do
- if CallQuene[i] ~= nil then
- ProcessCall(Floor.Value, CallQuene[i])
- end
- end
- end
- if Mode == "Add" then
- if Fire then return end
- Btn(xFloor,1,isCall)
- local IgnoreCall = false
- local IsCalled = false
- if isCall == "Car" then
- if CardLock then
- for i = 1, #LockedFloors do
- if LockedFloors[i] == xFloor then
- if UnlockedFloor == LockedFloors[i] or UnlockedFloor == 0 then
- print("Ignoring lock")
- else
- print("Floor Locked...")
- IgnoreCall = true
- end
- end
- end
- end
- end
- for i = 1, #CallQuene do
- if CallQuene[i] == xFloor then
- print("Call exist, Not adding floor: "..CallQuene[i])
- IgnoreCall = true
- IsCalled = true
- end
- end
- if xFloor == Floor.Value and not Busy and not Moving then
- DoorRun(1)
- wait(0.2)
- Btn(xFloor,0)
- end
- if not IgnoreCall and xFloor ~= Floor.Value and not Locked or not IgnoreCall and xFloor ~= Floor.Value and xFloor == 1 then
- table.insert(CallQuene,xFloor)
- print("Floor added, Value: "..xFloor)
- Btn(xFloor,1,isCall)
- if not Busy then Quene(0,"Check") end
- else
- if xFloor == Floor.Value and not Locked or IgnoreCall and IsCalled == false then
- wait(0.2)
- Btn(xFloor,0)
- end
- if Locked then
- wait(0.2)
- Btn(xFloor,0)
- end
- end
- end
- if Mode == "Remove" then
- for i = 1, #CallQuene do
- if CallQuene[i] == xFloor then
- print("Removed: "..CallQuene[i])
- table.remove(CallQuene,i)
- end
- end
- Btn(xFloor,"Off")
- end
- end
- function DoAlarm()
- if not Alarm then
- Alarm = true
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=157771891"
- TCar.Platform.Alarm.Looped = true
- TCar.Platform.Alarm.Pitch = 2
- wait(0.5)
- TCar.Platform.Alarm:Play()
- wait(5)
- TCar.Platform.Alarm.Looped = false
- TCar.Platform.Alarm:Stop()
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=12721064"
- TCar.Platform.Alarm.Looped = false
- wait(1)
- TCar.Platform.Alarm:Play()
- TCar.Platform.Alarm.Pitch = 1
- wait(3)
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=12721071"
- TCar.Platform.Alarm.Looped = false
- TCar.Platform.Alarm.Pitch = 1
- for i=1,3 do
- TCar.Platform.Alarm:Play()
- wait(2)
- end
- --[[
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=142628192"
- TCar.Platform.Alarm.Looped = false
- TCar.Platform.Alarm.Pitch = 1
- wait(0.5)
- TCar.Platform.Alarm:Play()
- wait(25)
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=130772180"
- TCar.Platform.Alarm.Looped = false
- TCar.Platform.Alarm.Pitch = 1
- wait(0.5)
- TCar.Platform.Alarm:Play()
- wait(1)
- ]]--
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=138254180"
- TCar.Platform.Alarm.Looped = false
- TCar.Platform.Alarm.Pitch = 1
- wait(0.5)
- TCar.Platform.Alarm:Play()
- wait(3)
- TCar.Platform.Alarm.SoundId = "http://www.roblox.com/asset/?id=138187085"
- TCar.Platform.Alarm.Looped = false
- TCar.Platform.Alarm.Pitch = 1
- wait(0.5)
- TCar.Platform.Alarm:Play()
- wait(1)
- Alarm = false
- end
- end
- x = script.Parent.Floors:GetChildren()
- cs = Car:GetChildren()
- if TCar:FindFirstChild("CardReader") ~= nil then
- TCar:FindFirstChild("CardReader").Touched:connect(function (Card)
- local Accepted = false
- if Card.Parent.Name ~= "ConfigKey" and Card.Parent:FindFirstChild("CardNumber") ~= nil and CardLock then
- for i,l in pairs(CardNumber) do
- if Card.Parent.CardNumber.Value == i then
- TCar.CardReader.BrickColor = BrickColor.new("Bright green")
- UnlockedFloor = l
- --CardLock = false
- wait(5)
- UnlockedFloor = 99999
- --CardLock = true
- TCar.CardReader.BrickColor = BrickColor.new("New Yeller")
- Accepted = true
- end
- wait()
- end
- if not Accepted then
- TCar.CardReader.BrickColor = BrickColor.new("Really red")
- wait(1)
- TCar.CardReader.BrickColor = BrickColor.new("New Yeller")
- end
- end
- end)
- end
- for i = 1, #TCarG do
- if TCarG[i].Name:sub(1,2) == "BT" then
- TCarG[i].ClickDetector.MouseClick:connect(function() TCar.Platform.Beep:Play() end)
- end
- if TCarG[i].Name:sub(1,3) == "BTF" then
- TCarG[i].ClickDetector.MouseClick:connect(function() if ConfigMode then DoCfg(tonumber(TCarG[i].Name:sub(4))) end end)
- end
- if TCarG[i].Name:sub(1,4) == "BTDO" then
- local BO = false
- TCarG[i].ClickDetector.MouseClick:connect(function()
- if not ConfigMode then
- if not BO then
- Bo = true
- TCarG[i].Texture.Texture = BtnLit
- if not Moving and DoorState == "Closed" or DoorStateRear == "Closed" then DoorRun(1)
- end
- if DoorState == "Closing" or DoorStateRear == "Closing" then DoorRun(3) end
- wait(0.2)
- TCarG[i].Texture.Texture = BtnULit
- Bo = false
- end
- end
- end)
- end
- if TCarG[i].Name:sub(1,4) == "BTDC" then
- local BC = false
- TCarG[i].ClickDetector.MouseClick:connect(function()
- if not ConfigMode then
- if not BC then
- BC = true
- TCarG[i].Texture.Texture = BtnLit
- DoorRun(2)
- wait(0.2)
- TCarG[i].Texture.Texture = BtnULit
- BC = false
- end
- end
- end)
- end
- if TCarG[i].Name:sub(1,3) == "BTF" then
- TCarG[i].ClickDetector.MouseClick:connect(function()
- if not ConfigMode then
- Quene(tonumber(TCarG[i].Name:sub(4)),"Add","Car")
- end end)
- end
- if TCarG[i].Name:sub(1,4) == "BTAL" then
- TCarG[i].ClickDetector.MouseClick:connect(function() if not ConfigMode then DoAlarm() end end)
- end
- end
- for i = 1, #TFloorsG do
- TotalFloors = TotalFloors + 1
- if TFloorsG[i]:FindFirstChild("CallButton") then
- TFloorsG[i].CallButton.ClickDetector.MouseClick:connect(function() if not ConfigMode then Quene(tonumber(TFloorsG[i].Name:sub(6)),"Add","Call") end end)
- TFloorsG[i].CallButton.Texture.Texture = BtnULit
- end
- if TFloorsG[i]:FindFirstChild("CallButtonRear") then
- TFloorsG[i].CallButtonRear.ClickDetector.MouseClick:connect(function() if not ConfigMode then Quene(tonumber(TFloorsG[i].Name:sub(6)),"Add","Call") end end)
- TFloorsG[i].CallButtonRear.Texture.Texture = BtnULit
- end
- end
- script.Parent.ScriptCall.Changed:connect(function ()
- if script.Parent.ScriptCall.Value ~= 0 then
- Quene(script.Parent.ScriptCall.Value,"Add",true)
- script.Parent.ScriptCall.Value = 0
- end
- end)
- script.Parent.FireMode.Changed:connect(function ()
- if script.Parent.FireMode.Value == true then
- FireLock = true
- Locked = true
- wait(1)
- Quene(1,"Add","Call")
- else
- Fire = false
- FireLock = false
- Locked = false
- DoorRun(2)
- end
- end)
- Floor.Changed:connect(function()
- if FloorPassChime then
- Car.Platform.FloorPassChime:Play()
- end
- end)
- print("Floor served: "..TotalFloors)
- local Motor = script.Parent.Motor
- local Running = false
- Motor.Changed:connect(function()
- if EngineAPI == "C" then
- if not Running then
- Running = true
- if Motor.Value ~= 0 then
- repeat
- for i, v in ipairs(CarCF) do
- if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("CornerWedgePart") then
- if v:FindFirstChild("Reverse")~=nil then
- v.CFrame = v.CFrame * CFrame.new(0, -Motor.Value, 0)
- else
- v.CFrame = v.CFrame * CFrame.new(0, Motor.Value, 0)
- end
- elseif v:IsA("Model") then
- local z = v:GetChildren()
- for a, s in ipairs(z) do
- if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("CornerWedgePart") then
- if v:FindFirstChild("Reverse")~=nil then
- s.CFrame = s.CFrame * CFrame.new(0, -Motor.Value, 0)
- else
- s.CFrame = s.CFrame * CFrame.new(0, Motor.Value, 0)
- end
- end
- end
- end
- end
- wait()
- until Motor.Value == 0
- end
- Running = false
- end
- end
- if EngineAPI == "B" then
- BV.velocity = Vector3.new(0,Motor.Value,0)
- end
- end)
- local Landing = false
- Motor.Changed:connect(function()
- if not Landing then
- Landing = true
- while Motor.Value ~= 0 do
- for i = 1, #TFloorsG do
- if math.abs(TFloorsG[i].Level.Position.Y - Car.Platform.Position.Y) < LevelOffset then
- if Floor.Value ~= tonumber(TFloorsG[i].Name:sub(6,7)) then
- Floor.Value = tonumber(TFloorsG[i].Name:sub(6,7))
- Stop(tonumber(TFloorsG[i].Name:sub(6,7)))
- end
- end
- end
- wait()
- end
- Landing = false
- end
- end)
- if EngineAPI == "C" then
- for i,l in pairs(CarCF) do
- if l:IsA("Part") or l:IsA("WedgePart") or l:IsA("CornerWedgePart") then
- if l.Name ~= "Seat" then
- l.Anchored = true
- end
- end
- end
- end
- if EngineAPI == "B" then
- BP.position = Car.Platform.Position
- for i,l in pairs(CarCF) do
- if l:IsA("Part") or l:IsA("WedgePart") or l:IsA("CornerWedgePart") then
- l.Anchored = false
- end
- end
- Car.Platform.Anchored = true
- end
- ButtonTextures = {
- ["DO"]=144878365,
- ["DC"]=144878349,
- ["AL"]=144878970,
- ["S0"]=144877405,
- ["S1"]=144877410,
- ["S2"]=144877413,
- ["S3"]=144877418,
- ["S4"]=144877421,
- ["S5"]=144877426,
- ["S6"]=144877430,
- ["S7"]=144877436,
- ["S8"]=144877442,
- ["S9"]=144877449,
- ["L1"]=146946090,
- ["L2"]=146946097,
- ["L3"]=146946110,
- ["L4"]=146946116,
- ["L5"]=146946126,
- ["L6"]=146946135,
- ["L7"]=146946148,
- ["L8"]=146946189,
- ["L9"]=146946196,
- ["R0"]=146947263,
- ["R1"]=146947269,
- ["R2"]=146947282,
- ["R3"]=146947294,
- ["R4"]=146947304,
- ["R5"]=146947310,
- ["R6"]=146947315,
- ["R7"]=146947323,
- ["R8"]=146947333,
- ["R9"]=146947343
- }
- ButtonTextures1 = {
- [0]=144877405,
- [1]=144877410,
- [2]=144877413,
- [3]=144877418,
- [4]=144877421,
- [5]=144877426,
- [6]=144877430,
- [7]=144877436,
- [8]=144877442,
- [9]=144877449
- }
- for i = 1, #TCarG do
- if TCarG[i].Name:sub(1,4) == "BTAL" then
- TCarG[i].FloorNumberL.Texture = "http://www.roblox.com/asset/?id=0"
- TCarG[i].FloorNumberR.Texture = "http://www.roblox.com/asset/?id=" .. ButtonTextures["AL"]
- end
- if TCarG[i].Name:sub(1,4) == "BTDO" then
- TCarG[i].FloorNumberL.Texture = "http://www.roblox.com/asset/?id=0"
- TCarG[i].FloorNumberR.Texture = "http://www.roblox.com/asset/?id=" .. ButtonTextures["DO"]
- end
- if TCarG[i].Name:sub(1,4) == "BTDC" then
- TCarG[i].FloorNumberL.Texture = "http://www.roblox.com/asset/?id=0"
- TCarG[i].FloorNumberR.Texture = "http://www.roblox.com/asset/?id=" .. ButtonTextures["DC"]
- end
- if TCarG[i].Name:sub(1,3) == "BTF" then
- if tonumber(TCarG[i].Name:sub(4)) < 10 then
- TCarG[i].FloorNumberL.Texture = "http://www.roblox.com/asset/?id=0"
- TCarG[i].FloorNumberR.Texture = "http://www.roblox.com/asset/?id=" .. ButtonTextures["S"..TCarG[i].Name:sub(4)]
- end
- if tonumber(TCarG[i].Name:sub(4)) > 9 then
- TCarG[i].FloorNumberL.Texture = "http://www.roblox.com/asset/?id=" .. ButtonTextures["L"..TCarG[i].Name:sub(4,4)]
- TCarG[i].FloorNumberR.Texture = "http://www.roblox.com/asset/?id=" .. ButtonTextures["R"..TCarG[i].Name:sub(5,5)]
- end
- end
- if TCarG[i].Name:sub(1,2) == "BT" then
- if TCarG[i]:FindFirstChild("Texture") then
- TCarG[i].Texture.Texture = BtnULit
- end
- end
- end
- end))
- BoolValue162.Name = "DoOpen"
- BoolValue162.Parent = Script161
- BoolValue163.Name = "DoClose"
- BoolValue163.Parent = Script161
- NumberValue164.Name = "Floor"
- NumberValue164.Parent = Script161
- BoolValue165.Name = "ReOpen"
- BoolValue165.Parent = Script161
- BoolValue166.Name = "StartMotor"
- BoolValue166.Parent = Script161
- BoolValue167.Name = "DoChime"
- BoolValue167.Parent = Script161
- Script168.Name = "Floor Indicator OUTSIDE"
- Script168.Parent = Model1
- table.insert(cors,sandbox(Script168,function()
- CurrentFloor = 1
- NextFloor = 0
- CurrentDirection = "N"
- Floor = script.Parent.Floor
- Direction = script.Parent.Direction
- Screen = script.Parent.Floors.Floor1.FloorIndicator.SurfaceGui.Frame
- Indicator = Screen.Indicator
- InUse = false
- function ChangeFloor()
- if InUse then return end
- InUse = true
- NextFloor = Floor.Value
- CurrentDirection = Direction.Value
- if CurrentDirection == "U" then
- for i=0,1, 0.1 do
- Indicator.Position = UDim2.new(0,50, i, 0)
- wait()
- end
- end
- if CurrentDirection == "D" then
- for i=0,-1, -0.1 do
- Indicator.Position = UDim2.new(0, 50, i, 0)
- wait()
- end
- end
- Indicator.Text = Floor.Value
- if CurrentDirection == "U" then
- for i=-1,0, 0.1 do
- Indicator.Position = UDim2.new(0, 50, i, 0)
- wait()
- end
- end
- if CurrentDirection == "D" then
- for i=1,0, -0.1 do
- Indicator.Position = UDim2.new(0, 50, i, 0)
- wait()
- end
- end
- InUse = false
- end
- script.Parent.Floor.Changed:connect(ChangeFloor)
- Hyd = false
- Direction.Changed:connect(function()
- if Hyd then return end
- if Direction.Value == "US" or Direction.Value == "DS" then
- Hyd = true
- script.Parent.Car.Platform.Motor:Play()
- repeat
- wait()
- until Direction.Value == "NS"
- script.Parent.Car.Platform.Motor:Stop()
- Hyd = false
- end
- end)
- ArrowTx = {
- [1]=146678603,
- [2]=146678613,
- [3]=146678618,
- [4]=146678637,
- [5]=146678647,
- [6]=146678656,
- [7]=146678671
- }
- Scroll = false
- ArrowInd = script.Parent.Floors.Floor1.FloorIndicator.SurfaceGui.Frame.Arrow
- Direction.Changed:connect(function()
- if Scroll then return end
- Scroll = true
- if Direction.Value == "U" then
- ArrowInd.Rotation = 0
- repeat
- for i=1,7 do
- ArrowInd.Image = "http://www.roblox.com/asset/?id="..ArrowTx[i]
- wait()
- end
- until Direction.Value == "N"
- end
- if Direction.Value == "D" then
- ArrowInd.Rotation = 180
- repeat
- for i=1,7 do
- ArrowInd.Image = "http://www.roblox.com/asset/?id="..ArrowTx[i]
- wait()
- end
- until Direction.Value == "N"
- end
- ArrowInd.Image = "http://www.roblox.com/asset/?id=0"
- Scroll = false
- end)
- end))
- Model169.Name = "Panel1"
- Model169.Parent = Model1
- Part170.Parent = Model169
- Part170.Material = Enum.Material.SmoothPlastic
- Part170.BrickColor = BrickColor.new("Turquoise")
- Part170.Reflectance = 0.5
- Part170.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part170.Anchored = true
- Part170.FormFactor = Enum.FormFactor.Custom
- Part170.Size = Vector3.new(0.600000024, 1.20000005, 0.200000003)
- Part170.CFrame = CFrame.new(-2.97238207, 4.80141592, -4.09521484, -0.999999881, -8.6680393e-06, 0.000472167943, -7.76876459e-06, 0.999998212, 0.00190453453, -0.000472183601, 0.00190453057, -0.999998093)
- Part170.Color = Color3.new(0.47451, 0.709804, 0.709804)
- Part170.Position = Vector3.new(-2.97238207, 4.80141592, -4.09521484)
- Part170.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part170.Color = Color3.new(0.47451, 0.709804, 0.709804)
- Model171.Name = "Panel2"
- Model171.Parent = Model1
- Part172.Parent = Model171
- Part172.Material = Enum.Material.SmoothPlastic
- Part172.BrickColor = BrickColor.new("Turquoise")
- Part172.Reflectance = 0.5
- Part172.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part172.Anchored = true
- Part172.FormFactor = Enum.FormFactor.Custom
- Part172.Size = Vector3.new(0.600000024, 1.20000005, 0.200000003)
- Part172.CFrame = CFrame.new(-2.9725039, 16.6002312, -4.07269287, -0.999999881, -8.6680393e-06, 0.000472167943, -7.76876459e-06, 0.999998212, 0.00190453453, -0.000472183601, 0.00190453057, -0.999998093)
- Part172.Color = Color3.new(0.47451, 0.709804, 0.709804)
- Part172.Position = Vector3.new(-2.9725039, 16.6002312, -4.07269287)
- Part172.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part172.Color = Color3.new(0.47451, 0.709804, 0.709804)
- Model173.Name = "shaft"
- Model173.Parent = Model1
- Part174.Parent = Model173
- Part174.Material = Enum.Material.SmoothPlastic
- Part174.Transparency = 0.5
- Part174.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part174.Anchored = true
- Part174.FormFactor = Enum.FormFactor.Custom
- Part174.Size = Vector3.new(0.600004315, 23.6000023, 15)
- Part174.CFrame = CFrame.new(-11.8689957, 11.8142595, -11.53333, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part174.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part174.Position = Vector3.new(-11.8689957, 11.8142595, -11.53333)
- Part174.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part175.Parent = Model173
- Part175.Material = Enum.Material.SmoothPlastic
- Part175.Transparency = 0.5
- Part175.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part175.Anchored = true
- Part175.FormFactor = Enum.FormFactor.Custom
- Part175.Size = Vector3.new(12.0000048, 23.6000023, 0.399999619)
- Part175.CFrame = CFrame.new(-6.16532278, 11.82897, -19.2305946, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part175.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.Position = Vector3.new(-6.16532278, 11.82897, -19.2305946)
- Part175.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part176.Parent = Model173
- Part176.Material = Enum.Material.SmoothPlastic
- Part176.Transparency = 0.5
- Part176.Rotation = Vector3.new(-179.889999, 0.0299999993, 180)
- Part176.Anchored = true
- Part176.FormFactor = Enum.FormFactor.Custom
- Part176.Size = Vector3.new(0.600004315, 23.6000023, 15)
- Part176.CFrame = CFrame.new(-0.468973994, 11.8143339, -11.5278959, -0.999999285, -8.8644174e-06, 0.000472242158, -7.96494805e-06, 0.999998212, 0.00190463546, -0.000472258194, 0.00190463255, -0.999997497)
- Part176.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part176.Position = Vector3.new(-0.468973994, 11.8143339, -11.5278959)
- Part176.Orientation = Vector3.new(-0.109999999, 179.970001, 0)
- Part177.Parent = mas
- Part177.Material = Enum.Material.Sand
- Part177.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part177.Anchored = true
- Part177.Size = Vector3.new(12, 1, 20)
- Part177.CFrame = CFrame.new(-6.17725468, 13.481041, 5.97255325, 0.999999881, -4.45525671e-07, -0.000470032159, -4.45525671e-07, 0.999998212, -0.00189572212, 0.000470032159, 0.00189572212, 0.999998093)
- Part177.BottomSurface = Enum.SurfaceType.Smooth
- Part177.TopSurface = Enum.SurfaceType.Smooth
- Part177.Position = Vector3.new(-6.17725468, 13.481041, 5.97255325)
- Part177.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part178.Parent = mas
- Part178.Material = Enum.Material.Sand
- Part178.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part178.Anchored = true
- Part178.Size = Vector3.new(1, 11, 20)
- Part178.CFrame = CFrame.new(-0.67725718, 18.4810352, 5.98461866, 0.999999881, -4.45525671e-07, -0.000470032159, -4.45525671e-07, 0.999998212, -0.00189572212, 0.000470032159, 0.00189572212, 0.999998093)
- Part178.BottomSurface = Enum.SurfaceType.Smooth
- Part178.TopSurface = Enum.SurfaceType.Smooth
- Part178.Position = Vector3.new(-0.67725718, 18.4810352, 5.98461866)
- Part178.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part179.Parent = mas
- Part179.Material = Enum.Material.Sand
- Part179.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part179.Anchored = true
- Part179.Size = Vector3.new(12, 11, 1)
- Part179.CFrame = CFrame.new(-6.18172073, 18.463026, 15.4820156, 0.999999881, -4.45525671e-07, -0.000470032159, -4.45525671e-07, 0.999998212, -0.00189572212, 0.000470032159, 0.00189572212, 0.999998093)
- Part179.BottomSurface = Enum.SurfaceType.Smooth
- Part179.TopSurface = Enum.SurfaceType.Smooth
- Part179.Position = Vector3.new(-6.18172073, 18.463026, 15.4820156)
- Part179.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part180.Parent = mas
- Part180.Material = Enum.Material.Sand
- Part180.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part180.Anchored = true
- Part180.Size = Vector3.new(1, 11, 19)
- Part180.CFrame = CFrame.new(-11.6774931, 18.4800892, 6.47944832, 0.999999881, -4.45525671e-07, -0.000470032159, -4.45525671e-07, 0.999998212, -0.00189572212, 0.000470032159, 0.00189572212, 0.999998093)
- Part180.BottomSurface = Enum.SurfaceType.Smooth
- Part180.TopSurface = Enum.SurfaceType.Smooth
- Part180.Position = Vector3.new(-11.6774931, 18.4800892, 6.47944832)
- Part180.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part181.Parent = mas
- Part181.Material = Enum.Material.Sand
- Part181.Rotation = Vector3.new(0.109999999, -0.0299999993, 0)
- Part181.Anchored = true
- Part181.Size = Vector3.new(12, 1, 20)
- Part181.CFrame = CFrame.new(-6.17725468, 23.481041, 5.97255325, 0.999999881, -4.45525671e-07, -0.000470032159, -4.45525671e-07, 0.999998212, -0.00189572212, 0.000470032159, 0.00189572212, 0.999998093)
- Part181.BottomSurface = Enum.SurfaceType.Smooth
- Part181.TopSurface = Enum.SurfaceType.Smooth
- Part181.Position = Vector3.new(-6.17725468, 23.481041, 5.97255325)
- Part181.Orientation = Vector3.new(0.109999999, -0.0299999993, 0)
- Model182.Name = "Drooling Zombie"
- Model182.Parent = mas
- Part183.Name = "HumanoidRootPart"
- Part183.Parent = Model182
- Part183.Material = Enum.Material.WoodPlanks
- Part183.BrickColor = BrickColor.new("Earth green")
- Part183.Transparency = 1
- Part183.FormFactor = Enum.FormFactor.Symmetric
- Part183.Size = Vector3.new(2, 2, 1)
- Part183.CFrame = CFrame.new(-7.10006714, 16.9719219, 11.8000183, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part183.BottomSurface = Enum.SurfaceType.Smooth
- Part183.TopSurface = Enum.SurfaceType.Smooth
- Part183.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part183.Position = Vector3.new(-7.10006714, 16.9719219, 11.8000183)
- Part183.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Motor6D184.Name = "Root Hip"
- Motor6D184.Parent = Part183
- Motor6D184.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D184.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D184.Part0 = Part183
- Motor6D184.Part1 = Part185
- Motor6D184.MaxVelocity = 0.10000000149012
- Part185.Name = "Torso"
- Part185.Parent = Model182
- Part185.Material = Enum.Material.WoodPlanks
- Part185.BrickColor = BrickColor.new("Earth green")
- Part185.FormFactor = Enum.FormFactor.Symmetric
- Part185.Size = Vector3.new(2, 2, 1)
- Part185.CFrame = CFrame.new(-7.10006714, 16.9719219, 11.8000183, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part185.BottomSurface = Enum.SurfaceType.Smooth
- Part185.TopSurface = Enum.SurfaceType.Smooth
- Part185.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part185.Position = Vector3.new(-7.10006714, 16.9719219, 11.8000183)
- Part185.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Motor6D186.Name = "Left Hip"
- Motor6D186.Parent = Part185
- Motor6D186.C0 = CFrame.new(-1, -1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D186.C1 = CFrame.new(-0.5, 1, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D186.Part0 = Part185
- Motor6D186.Part1 = Part192
- Motor6D186.MaxVelocity = 0.10000000149012
- Motor6D187.Name = "Right Hip"
- Motor6D187.Parent = Part185
- Motor6D187.C0 = CFrame.new(1, -1, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D187.C1 = CFrame.new(0.5, 1, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D187.Part0 = Part185
- Motor6D187.Part1 = Part193
- Motor6D187.MaxVelocity = 0.10000000149012
- Motor6D188.Name = "Left Shoulder"
- Motor6D188.Parent = Part185
- Motor6D188.C0 = CFrame.new(-1, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D188.C1 = CFrame.new(0.5, 0.5, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
- Motor6D188.Part0 = Part185
- Motor6D188.Part1 = Part194
- Motor6D188.MaxVelocity = 0.10000000149012
- Motor6D189.Name = "Right Shoulder"
- Motor6D189.Parent = Part185
- Motor6D189.C0 = CFrame.new(1, 0.5, 0, -4.37113883e-08, 0, 1, -0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D189.C1 = CFrame.new(-0.5, 0.5, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
- Motor6D189.Part0 = Part185
- Motor6D189.Part1 = Part195
- Motor6D189.MaxVelocity = 0.10000000149012
- Motor6D190.Name = "Neck"
- Motor6D190.Parent = Part185
- Motor6D190.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D190.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Motor6D190.Part0 = Part185
- Motor6D190.Part1 = Part196
- Motor6D190.MaxVelocity = 0.10000000149012
- BodyForce191.Name = "RepulsionForce"
- BodyForce191.Parent = Part185
- BodyForce191.force = Vector3.new(0, 0, 0)
- Part192.Name = "Left Leg"
- Part192.Parent = Model182
- Part192.Material = Enum.Material.WoodPlanks
- Part192.BrickColor = BrickColor.new("Earth green")
- Part192.CanCollide = false
- Part192.FormFactor = Enum.FormFactor.Symmetric
- Part192.Size = Vector3.new(1, 2, 1)
- Part192.CFrame = CFrame.new(-7.60006714, 14.9719219, 11.8000183, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part192.BottomSurface = Enum.SurfaceType.Smooth
- Part192.TopSurface = Enum.SurfaceType.Smooth
- Part192.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part192.Position = Vector3.new(-7.60006714, 14.9719219, 11.8000183)
- Part192.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part193.Name = "Right Leg"
- Part193.Parent = Model182
- Part193.Material = Enum.Material.WoodPlanks
- Part193.BrickColor = BrickColor.new("Earth green")
- Part193.CanCollide = false
- Part193.FormFactor = Enum.FormFactor.Symmetric
- Part193.Size = Vector3.new(1, 2, 1)
- Part193.CFrame = CFrame.new(-6.60006714, 14.9719219, 11.8000183, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part193.BottomSurface = Enum.SurfaceType.Smooth
- Part193.TopSurface = Enum.SurfaceType.Smooth
- Part193.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part193.Position = Vector3.new(-6.60006714, 14.9719219, 11.8000183)
- Part193.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part194.Name = "Left Arm"
- Part194.Parent = Model182
- Part194.Material = Enum.Material.WoodPlanks
- Part194.BrickColor = BrickColor.new("Earth green")
- Part194.CanCollide = false
- Part194.FormFactor = Enum.FormFactor.Symmetric
- Part194.Size = Vector3.new(1, 2, 1)
- Part194.CFrame = CFrame.new(-8.60006714, 16.9719219, 11.8000183, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part194.BottomSurface = Enum.SurfaceType.Smooth
- Part194.TopSurface = Enum.SurfaceType.Smooth
- Part194.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part194.Position = Vector3.new(-8.60006714, 16.9719219, 11.8000183)
- Part194.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part195.Name = "Right Arm"
- Part195.Parent = Model182
- Part195.Material = Enum.Material.WoodPlanks
- Part195.BrickColor = BrickColor.new("Earth green")
- Part195.CanCollide = false
- Part195.FormFactor = Enum.FormFactor.Symmetric
- Part195.Size = Vector3.new(1, 2, 1)
- Part195.CFrame = CFrame.new(-5.60006714, 16.9719219, 11.8000183, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
- Part195.BottomSurface = Enum.SurfaceType.Smooth
- Part195.TopSurface = Enum.SurfaceType.Smooth
- Part195.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part195.Position = Vector3.new(-5.60006714, 16.9719219, 11.8000183)
- Part195.Color = Color3.new(0.152941, 0.27451, 0.176471)
- Part196.Name = "Head"
- Part196.Parent = Model182
- Part196.Material = Enum.Material.WoodPlanks
- Part196.BrickColor = BrickColor.new("Camo")
- Part196.FormFactor = Enum.FormFactor.Symmetric
- Part196.Size = Vector3.new(2, 1, 1)
- Part196.CFrame = CFrame.new(-7.10006714, 18.4719219, 11.8000183, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part196.BottomSurface = Enum.SurfaceType.Smooth
- Part196.TopSurface = Enum.SurfaceType.Smooth
- Part196.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Part196.Position = Vector3.new(-7.10006714, 18.4719219, 11.8000183)
- Part196.Color = Color3.new(0.227451, 0.490196, 0.0823529)
- Decal197.Name = "Face"
- Decal197.Parent = Part196
- Decal197.Texture = "http://www.roblox.com/asset/?id=7074882"
- SpecialMesh198.Parent = Part196
- SpecialMesh198.Scale = Vector3.new(1.25, 1.25, 1.25)
- SpecialMesh198.Scale = Vector3.new(1.25, 1.25, 1.25)
- Humanoid199.Parent = Model182
- Humanoid199.RightLeg = Part193
- Humanoid199.LeftLeg = Part192
- Humanoid199.Torso = Part183
- Humanoid199.WalkSpeed = 10
- Script200.Name = "Animate"
- Script200.Parent = Model182
- table.insert(cors,sandbox(Script200,function()
- function waitForChild(parent, childName)
- local child = parent:findFirstChild(childName)
- if child then return child end
- while true do
- child = parent.ChildAdded:wait()
- if child.Name==childName then return child end
- end
- end
- local Figure = script.Parent
- local Torso = waitForChild(Figure, "Torso")
- local RightShoulder = waitForChild(Torso, "Right Shoulder")
- local LeftShoulder = waitForChild(Torso, "Left Shoulder")
- local RightHip = waitForChild(Torso, "Right Hip")
- local LeftHip = waitForChild(Torso, "Left Hip")
- local Neck = waitForChild(Torso, "Neck")
- local Humanoid = waitForChild(Figure, "Humanoid")
- local pose = "Standing"
- local currentAnim = ""
- local currentAnimTrack = nil
- local currentAnimKeyframeHandler = nil
- local currentAnimSpeed = 1.0
- local animTable = {}
- local animNames = {
- idle = {
- { id = "http://www.roblox.com/asset/?id=125750544", weight = 9 },
- { id = "http://www.roblox.com/asset/?id=125750618", weight = 1 }
- },
- walk = {
- { id = "http://www.roblox.com/asset/?id=125749145", weight = 10 }
- },
- run = {
- { id = "run.xml", weight = 10 }
- },
- jump = {
- { id = "http://www.roblox.com/asset/?id=125750702", weight = 10 }
- },
- fall = {
- { id = "http://www.roblox.com/asset/?id=125750759", weight = 10 }
- },
- climb = {
- { id = "http://www.roblox.com/asset/?id=125750800", weight = 10 }
- },
- toolnone = {
- { id = "http://www.roblox.com/asset/?id=125750867", weight = 10 }
- },
- toolslash = {
- { id = "http://www.roblox.com/asset/?id=129967390", weight = 10 }
- -- { id = "slash.xml", weight = 10 }
- },
- toollunge = {
- { id = "http://www.roblox.com/asset/?id=129967478", weight = 10 }
- },
- wave = {
- { id = "http://www.roblox.com/asset/?id=128777973", weight = 10 }
- },
- point = {
- { id = "http://www.roblox.com/asset/?id=128853357", weight = 10 }
- },
- dance = {
- { id = "http://www.roblox.com/asset/?id=130018893", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546839", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=132546884", weight = 10 }
- },
- dance2 = {
- { id = "http://www.roblox.com/asset/?id=160934142", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934298", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934376", weight = 10 }
- },
- dance3 = {
- { id = "http://www.roblox.com/asset/?id=160934458", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934530", weight = 10 },
- { id = "http://www.roblox.com/asset/?id=160934593", weight = 10 }
- },
- laugh = {
- { id = "http://www.roblox.com/asset/?id=129423131", weight = 10 }
- },
- cheer = {
- { id = "http://www.roblox.com/asset/?id=129423030", weight = 10 }
- },
- }
- -- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote
- local emoteNames = { wave = false, point = false, dance = true, dance2 = true, dance3 = true, laugh = false, cheer = false}
- math.randomseed(tick())
- function configureAnimationSet(name, fileList)
- if (animTable[name] ~= nil) then
- for _, connection in pairs(animTable[name].connections) do
- connection:disconnect()
- end
- end
- animTable[name] = {}
- animTable[name].count = 0
- animTable[name].totalWeight = 0
- animTable[name].connections = {}
- -- check for config values
- local config = script:FindFirstChild(name)
- if (config ~= nil) then
- -- print("Loading anims " .. name)
- table.insert(animTable[name].connections, config.ChildAdded:connect(function(child) configureAnimationSet(name, fileList) end))
- table.insert(animTable[name].connections, config.ChildRemoved:connect(function(child) configureAnimationSet(name, fileList) end))
- local idx = 1
- for _, childPart in pairs(config:GetChildren()) do
- if (childPart:IsA("Animation")) then
- table.insert(animTable[name].connections, childPart.Changed:connect(function(property) configureAnimationSet(name, fileList) end))
- animTable[name][idx] = {}
- animTable[name][idx].anim = childPart
- local weightObject = childPart:FindFirstChild("Weight")
- if (weightObject == nil) then
- animTable[name][idx].weight = 1
- else
- animTable[name][idx].weight = weightObject.Value
- end
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + animTable[name][idx].weight
- -- print(name .. " [" .. idx .. "] " .. animTable[name][idx].anim.AnimationId .. " (" .. animTable[name][idx].weight .. ")")
- idx = idx + 1
- end
- end
- end
- -- fallback to defaults
- if (animTable[name].count <= 0) then
- for idx, anim in pairs(fileList) do
- animTable[name][idx] = {}
- animTable[name][idx].anim = Instance.new("Animation")
- animTable[name][idx].anim.Name = name
- animTable[name][idx].anim.AnimationId = anim.id
- animTable[name][idx].weight = anim.weight
- animTable[name].count = animTable[name].count + 1
- animTable[name].totalWeight = animTable[name].totalWeight + anim.weight
- -- print(name .. " [" .. idx .. "] " .. anim.id .. " (" .. anim.weight .. ")")
- end
- end
- end
- -- Setup animation objects
- function scriptChildModified(child)
- local fileList = animNames[child.Name]
- if (fileList ~= nil) then
- configureAnimationSet(child.Name, fileList)
- end
- end
- script.ChildAdded:connect(scriptChildModified)
- script.ChildRemoved:connect(scriptChildModified)
- for name, fileList in pairs(animNames) do
- configureAnimationSet(name, fileList)
- end
- -- ANIMATION
- -- declarations
- local toolAnim = "None"
- local toolAnimTime = 0
- local jumpAnimTime = 0
- local jumpAnimDuration = 0.3
- local toolTransitionTime = 0.1
- local fallTransitionTime = 0.3
- local jumpMaxLimbVelocity = 0.75
- -- functions
- function stopAllAnimations()
- local oldAnim = currentAnim
- -- return to idle if finishing an emote
- if (emoteNames[oldAnim] ~= nil and emoteNames[oldAnim] == false) then
- oldAnim = "idle"
- end
- currentAnim = ""
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop()
- currentAnimTrack:Destroy()
- currentAnimTrack = nil
- end
- return oldAnim
- end
- function setAnimationSpeed(speed)
- if speed ~= currentAnimSpeed then
- currentAnimSpeed = speed
- currentAnimTrack:AdjustSpeed(currentAnimSpeed)
- end
- end
- function keyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopAllAnimations()
- local animSpeed = currentAnimSpeed
- playAnimation(repeatAnim, 0.0, Humanoid)
- setAnimationSpeed(animSpeed)
- end
- end
- -- Preload animations
- function playAnimation(animName, transitionTime, humanoid)
- local idleFromEmote = (animName == "idle" and emoteNames[currentAnim] ~= nil)
- if (animName ~= currentAnim and not idleFromEmote) then
- if (currentAnimTrack ~= nil) then
- currentAnimTrack:Stop(transitionTime)
- currentAnimTrack:Destroy()
- end
- currentAnimSpeed = 1.0
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- currentAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- currentAnimTrack:Play(transitionTime)
- currentAnim = animName
- -- set up keyframe name triggers
- if (currentAnimKeyframeHandler ~= nil) then
- currentAnimKeyframeHandler:disconnect()
- end
- currentAnimKeyframeHandler = currentAnimTrack.KeyframeReached:connect(keyFrameReachedFunc)
- end
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- local toolAnimName = ""
- local toolAnimTrack = nil
- local currentToolAnimKeyframeHandler = nil
- function toolKeyFrameReachedFunc(frameName)
- if (frameName == "End") then
- -- print("Keyframe : ".. frameName)
- local repeatAnim = stopToolAnimations()
- playToolAnimation(repeatAnim, 0.0, Humanoid)
- end
- end
- function playToolAnimation(animName, transitionTime, humanoid)
- if (animName ~= toolAnimName) then
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- transitionTime = 0
- end
- local roll = math.random(1, animTable[animName].totalWeight)
- local origRoll = roll
- local idx = 1
- while (roll > animTable[animName][idx].weight) do
- roll = roll - animTable[animName][idx].weight
- idx = idx + 1
- end
- -- print(animName .. " * " .. idx .. " [" .. origRoll .. "]")
- local anim = animTable[animName][idx].anim
- -- load it to the humanoid; get AnimationTrack
- toolAnimTrack = humanoid:LoadAnimation(anim)
- -- play the animation
- toolAnimTrack:Play(transitionTime)
- toolAnimName = animName
- currentToolAnimKeyframeHandler = toolAnimTrack.KeyframeReached:connect(toolKeyFrameReachedFunc)
- end
- end
- function stopToolAnimations()
- local oldAnim = toolAnimName
- if (currentToolAnimKeyframeHandler ~= nil) then
- currentToolAnimKeyframeHandler:disconnect()
- end
- toolAnimName = ""
- if (toolAnimTrack ~= nil) then
- toolAnimTrack:Stop()
- toolAnimTrack:Destroy()
- toolAnimTrack = nil
- end
- return oldAnim
- end
- -------------------------------------------------------------------------------------------
- -------------------------------------------------------------------------------------------
- function onRunning(speed)
- if speed>0.01 then
- playAnimation("walk", 0.1, Humanoid)
- pose = "Running"
- else
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- end
- end
- function onDied()
- pose = "Dead"
- end
- function onJumping()
- playAnimation("jump", 0.1, Humanoid)
- jumpAnimTime = jumpAnimDuration
- pose = "Jumping"
- end
- function onClimbing(speed)
- playAnimation("climb", 0.1, Humanoid)
- setAnimationSpeed(speed / 12.0)
- pose = "Climbing"
- end
- function onGettingUp()
- pose = "GettingUp"
- end
- function onFreeFall()
- if (jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- end
- pose = "FreeFall"
- end
- function onFallingDown()
- pose = "FallingDown"
- end
- function onSeated()
- pose = "Seated"
- end
- function onPlatformStanding()
- pose = "PlatformStanding"
- end
- function onSwimming(speed)
- if speed>0 then
- pose = "Running"
- else
- pose = "Standing"
- end
- end
- function getTool()
- for _, kid in ipairs(Figure:GetChildren()) do
- if kid.className == "Tool" then return kid end
- end
- return nil
- end
- function getToolAnim(tool)
- for _, c in ipairs(tool:GetChildren()) do
- if c.Name == "toolanim" and c.className == "StringValue" then
- return c
- end
- end
- return nil
- end
- function animateTool()
- if (toolAnim == "None") then
- playToolAnimation("toolnone", toolTransitionTime, Humanoid)
- return
- end
- if (toolAnim == "Slash") then
- playToolAnimation("toolslash", 0, Humanoid)
- return
- end
- if (toolAnim == "Lunge") then
- playToolAnimation("toollunge", 0, Humanoid)
- return
- end
- end
- function moveSit()
- RightShoulder.MaxVelocity = 0.15
- LeftShoulder.MaxVelocity = 0.15
- RightShoulder:SetDesiredAngle(3.14 /2)
- LeftShoulder:SetDesiredAngle(-3.14 /2)
- RightHip:SetDesiredAngle(3.14 /2)
- LeftHip:SetDesiredAngle(-3.14 /2)
- end
- local lastTick = 0
- function move(time)
- local amplitude = 1
- local frequency = 1
- local deltaTime = time - lastTick
- lastTick = time
- local climbFudge = 0
- local setAngles = false
- if (jumpAnimTime > 0) then
- jumpAnimTime = jumpAnimTime - deltaTime
- end
- if (pose == "FreeFall" and jumpAnimTime <= 0) then
- playAnimation("fall", fallTransitionTime, Humanoid)
- elseif (pose == "Seated") then
- stopAllAnimations()
- moveSit()
- return
- elseif (pose == "Running") then
- playAnimation("walk", 0.1, Humanoid)
- elseif (pose == "Dead" or pose == "GettingUp" or pose == "FallingDown" or pose == "Seated" or pose == "PlatformStanding") then
- -- print("Wha " .. pose)
- amplitude = 0.1
- frequency = 1
- setAngles = true
- end
- if (setAngles) then
- desiredAngle = amplitude * math.sin(time * frequency)
- RightShoulder:SetDesiredAngle(desiredAngle + climbFudge)
- LeftShoulder:SetDesiredAngle(desiredAngle - climbFudge)
- RightHip:SetDesiredAngle(-desiredAngle)
- LeftHip:SetDesiredAngle(-desiredAngle)
- end
- -- Tool Animation handling
- local tool = getTool()
- if tool then
- animStringValueObject = getToolAnim(tool)
- if animStringValueObject then
- toolAnim = animStringValueObject.Value
- -- message recieved, delete StringValue
- animStringValueObject.Parent = nil
- toolAnimTime = time + .3
- end
- if time > toolAnimTime then
- toolAnimTime = 0
- toolAnim = "None"
- end
- animateTool()
- else
- stopToolAnimations()
- toolAnim = "None"
- toolAnimTime = 0
- end
- end
- -- connect events
- Humanoid.Died:connect(onDied)
- Humanoid.Running:connect(onRunning)
- Humanoid.Jumping:connect(onJumping)
- Humanoid.Climbing:connect(onClimbing)
- Humanoid.GettingUp:connect(onGettingUp)
- Humanoid.FreeFalling:connect(onFreeFall)
- Humanoid.FallingDown:connect(onFallingDown)
- Humanoid.Seated:connect(onSeated)
- Humanoid.PlatformStanding:connect(onPlatformStanding)
- Humanoid.Swimming:connect(onSwimming)
- -- main program
- local runService = game:service("RunService");
- -- initialize to idle
- playAnimation("idle", 0.1, Humanoid)
- pose = "Standing"
- while Figure.Parent~=nil do
- local _, time = wait(0.1)
- move(time)
- end
- end))
- StringValue201.Name = "climb"
- StringValue201.Parent = Script200
- Animation202.Name = "ClimbAnim"
- Animation202.Parent = StringValue201
- Animation202.AnimationId = "http://www.roblox.com/asset/?id=125750800"
- StringValue203.Name = "fall"
- StringValue203.Parent = Script200
- Animation204.Name = "FallAnim"
- Animation204.Parent = StringValue203
- Animation204.AnimationId = "http://www.roblox.com/asset/?id=125750759"
- StringValue205.Name = "idle"
- StringValue205.Parent = Script200
- Animation206.Name = "Animation1"
- Animation206.Parent = StringValue205
- Animation206.AnimationId = "http://www.roblox.com/asset/?id=125750544"
- NumberValue207.Name = "Weight"
- NumberValue207.Parent = Animation206
- NumberValue207.Value = 9
- Animation208.Name = "Animation2"
- Animation208.Parent = StringValue205
- Animation208.AnimationId = "http://www.roblox.com/asset/?id=125750618"
- NumberValue209.Name = "Weight"
- NumberValue209.Parent = Animation208
- NumberValue209.Value = 1
- StringValue210.Name = "jump"
- StringValue210.Parent = Script200
- Animation211.Name = "JumpAnim"
- Animation211.Parent = StringValue210
- Animation211.AnimationId = "http://www.roblox.com/asset/?id=125750702"
- StringValue212.Name = "run"
- StringValue212.Parent = Script200
- Animation213.Name = "RunAnim"
- Animation213.Parent = StringValue212
- Animation213.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- StringValue214.Name = "toolnone"
- StringValue214.Parent = Script200
- Animation215.Name = "ToolNoneAnim"
- Animation215.Parent = StringValue214
- Animation215.AnimationId = "http://www.roblox.com/asset/?id=125750867"
- StringValue216.Name = "walk"
- StringValue216.Parent = Script200
- Animation217.Name = "WalkAnim"
- Animation217.Parent = StringValue216
- Animation217.AnimationId = "http://www.roblox.com/asset/?id=125749145"
- Script218.Parent = Model182
- table.insert(cors,sandbox(Script218,function()
- local zombie = script.Parent
- for _, script in pairs(zombie.ModuleScripts:GetChildren()) do
- if not game.ServerStorage:FindFirstChild(script.Name) then
- script:Clone().Parent = game.ServerStorage
- end
- end
- local AI = require(game.ServerStorage.ROBLOX_ZombieAI).new(zombie)
- local DestroyService = require(game.ServerStorage.ROBLOX_DestroyService)
- local function clearParts(parent)
- for _, part in pairs(parent:GetChildren()) do
- clearParts(part)
- end
- local delay
- if parent:IsA("Part") then
- delay = math.random(5,10)
- else
- delay = 11
- end
- DestroyService:AddItem(parent, delay)
- end
- zombie.Humanoid.Died:connect(function()
- AI.Stop()
- math.randomseed(tick())
- clearParts(zombie)
- script.Disabled = true
- end)
- local lastMoan = os.time()
- math.randomseed(os.time())
- while true do
- local animationTrack = zombie.Humanoid:LoadAnimation(zombie.Animations.Arms)
- animationTrack:Play()
- -- local now = os.time()
- -- if now - lastMoan > 5 then
- -- if math.random() > .3 then
- -- zombie.Moan:Play()
- ---- print("playing moan")
- -- lastMoan = now
- -- end
- -- end
- wait(2)
- end
- end))
- BillboardGui219.Parent = Model182
- BillboardGui219.Size = UDim2.new(0, 100, 0, 30)
- BillboardGui219.StudsOffset = Vector3.new(0, 5, 0)
- TextLabel220.Parent = BillboardGui219
- TextLabel220.Size = UDim2.new(1, 0, 1, 0)
- TextLabel220.Text = "Idle"
- TextLabel220.Visible = false
- TextLabel220.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel220.Font = Enum.Font.SourceSansBold
- TextLabel220.FontSize = Enum.FontSize.Size24
- Configuration221.Name = "ModuleScripts"
- Configuration221.Parent = Model182
- Configuration222.Name = "Configurations"
- Configuration222.Parent = Model182
- IntValue223.Name = "Damage"
- IntValue223.Parent = Configuration222
- IntValue223.Value = 30
- BoolValue224.Name = "Debug"
- BoolValue224.Parent = Configuration222
- IntValue225.Name = "FieldOfView"
- IntValue225.Parent = Configuration222
- IntValue225.Value = 180
- IntValue226.Name = "AggroRange"
- IntValue226.Parent = Configuration222
- IntValue226.Value = 200
- Configuration227.Name = "Animations"
- Configuration227.Parent = Model182
- Animation228.Name = "Attack"
- Animation228.Parent = Configuration227
- Animation228.AnimationId = "http://www.roblox.com/asset/?id=180416148"
- Animation229.Name = "Arms"
- Animation229.Parent = Configuration227
- Animation229.AnimationId = "http://www.roblox.com/asset/?id=183294396"
- CharacterMesh230.Name = "Zombie Left Arm"
- CharacterMesh230.Parent = Model182
- CharacterMesh230.MeshId = 37683097
- CharacterMesh230.BodyPart = Enum.BodyPart.LeftArm
- CharacterMesh230.OverlayTextureId = 37686282
- CharacterMesh231.Name = "Zombie Left Leg"
- CharacterMesh231.Parent = Model182
- CharacterMesh231.MeshId = 37683150
- CharacterMesh231.BodyPart = Enum.BodyPart.LeftLeg
- CharacterMesh231.OverlayTextureId = 37687646
- CharacterMesh232.Name = "Zombie Right Arm"
- CharacterMesh232.Parent = Model182
- CharacterMesh232.MeshId = 37683174
- CharacterMesh232.BodyPart = Enum.BodyPart.RightArm
- CharacterMesh232.OverlayTextureId = 37686282
- CharacterMesh233.Name = "Zombie Right Leg"
- CharacterMesh233.Parent = Model182
- CharacterMesh233.MeshId = 37683227
- CharacterMesh233.BodyPart = Enum.BodyPart.RightLeg
- CharacterMesh233.OverlayTextureId = 37687646
- CharacterMesh234.Name = "Zombie torso"
- CharacterMesh234.Parent = Model182
- CharacterMesh234.MeshId = 37683263
- CharacterMesh234.BodyPart = Enum.BodyPart.Torso
- CharacterMesh234.OverlayTextureId = 37686282
- Sound235.Name = "Moan"
- Sound235.Parent = Model182
- Sound235.Pitch = 0.15000000596046
- Sound235.SoundId = "http://www.roblox.com/asset/?id=12222242"
- Sound235.Volume = 0.050000000745058
- BodyColors236.Parent = Model182
- BodyColors236.HeadColor = BrickColor.new("Camo")
- BodyColors236.LeftArmColor = BrickColor.new("Earth green")
- BodyColors236.LeftLegColor = BrickColor.new("Earth green")
- BodyColors236.RightArmColor = BrickColor.new("Earth green")
- BodyColors236.RightLegColor = BrickColor.new("Earth green")
- BodyColors236.TorsoColor = BrickColor.new("Earth green")
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = workspace
- pcall(function() v:MakeJoints() end)
- end
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement