SHOW:
|
|
- or go back to the newest paste.
| 1 | ||
| 2 | local kohlaudiovisualizer = Instance.new("Part", workspace)
| |
| 3 | local pointlight = Instance.new("PointLight", kohlaudiovisualizer)
| |
| 4 | local sound = Instance.new("Sound", kohlaudiovisualizer)
| |
| 5 | local particleemitter = Instance.new("ParticleEmitter", kohlaudiovisualizer)
| |
| 6 | local parts = Instance.new("Folder", kohlaudiovisualizer)
| |
| 7 | local bar = Instance.new("Part", parts)
| |
| 8 | local mesh = Instance.new("SpecialMesh", bar)
| |
| 9 | local neonoutline = Instance.new("Part", parts)
| |
| 10 | local mesh_2 = Instance.new("SpecialMesh", neonoutline)
| |
| 11 | local ring = Instance.new("MeshPart", parts)
| |
| 12 | local N8 = Instance.new("Part", kohlaudiovisualizer)
| |
| 13 | local mesh_3 = Instance.new("SpecialMesh", N8)
| |
| 14 | local N7 = Instance.new("Part", kohlaudiovisualizer)
| |
| 15 | local mesh_4 = Instance.new("SpecialMesh", N7)
| |
| 16 | local mesh_5 = Instance.new("SpecialMesh", kohlaudiovisualizer)
| |
| 17 | local N9 = Instance.new("Part", kohlaudiovisualizer)
| |
| 18 | local mesh_6 = Instance.new("SpecialMesh", N9)
| |
| 19 | local N0 = Instance.new("Part", kohlaudiovisualizer)
| |
| 20 | local mesh_7 = Instance.new("SpecialMesh", N0)
| |
| 21 | local N1 = Instance.new("Part", kohlaudiovisualizer)
| |
| 22 | local mesh_8 = Instance.new("SpecialMesh", N1)
| |
| 23 | local N10 = Instance.new("Part", kohlaudiovisualizer)
| |
| 24 | local mesh_9 = Instance.new("SpecialMesh", N10)
| |
| 25 | local N11 = Instance.new("Part", kohlaudiovisualizer)
| |
| 26 | local mesh_10 = Instance.new("SpecialMesh", N11)
| |
| 27 | local N12 = Instance.new("Part", kohlaudiovisualizer)
| |
| 28 | local mesh_11 = Instance.new("SpecialMesh", N12)
| |
| 29 | local N13 = Instance.new("Part", kohlaudiovisualizer)
| |
| 30 | local mesh_12 = Instance.new("SpecialMesh", N13)
| |
| 31 | local N14 = Instance.new("Part", kohlaudiovisualizer)
| |
| 32 | local mesh_13 = Instance.new("SpecialMesh", N14)
| |
| 33 | local N15 = Instance.new("Part", kohlaudiovisualizer)
| |
| 34 | local mesh_14 = Instance.new("SpecialMesh", N15)
| |
| 35 | local N16 = Instance.new("Part", kohlaudiovisualizer)
| |
| 36 | local mesh_15 = Instance.new("SpecialMesh", N16)
| |
| 37 | local N17 = Instance.new("Part", kohlaudiovisualizer)
| |
| 38 | local mesh_16 = Instance.new("SpecialMesh", N17)
| |
| 39 | local N18 = Instance.new("Part", kohlaudiovisualizer)
| |
| 40 | local mesh_17 = Instance.new("SpecialMesh", N18)
| |
| 41 | local N19 = Instance.new("Part", kohlaudiovisualizer)
| |
| 42 | local mesh_18 = Instance.new("SpecialMesh", N19)
| |
| 43 | local N2 = Instance.new("Part", kohlaudiovisualizer)
| |
| 44 | local mesh_19 = Instance.new("SpecialMesh", N2)
| |
| 45 | local N20 = Instance.new("Part", kohlaudiovisualizer)
| |
| 46 | local mesh_20 = Instance.new("SpecialMesh", N20)
| |
| 47 | local N21 = Instance.new("Part", kohlaudiovisualizer)
| |
| 48 | local mesh_21 = Instance.new("SpecialMesh", N21)
| |
| 49 | local N22 = Instance.new("Part", kohlaudiovisualizer)
| |
| 50 | local mesh_22 = Instance.new("SpecialMesh", N22)
| |
| 51 | local N23 = Instance.new("Part", kohlaudiovisualizer)
| |
| 52 | local mesh_23 = Instance.new("SpecialMesh", N23)
| |
| 53 | local N24 = Instance.new("Part", kohlaudiovisualizer)
| |
| 54 | local mesh_24 = Instance.new("SpecialMesh", N24)
| |
| 55 | local N25 = Instance.new("Part", kohlaudiovisualizer)
| |
| 56 | local mesh_25 = Instance.new("SpecialMesh", N25)
| |
| 57 | local N26 = Instance.new("Part", kohlaudiovisualizer)
| |
| 58 | local mesh_26 = Instance.new("SpecialMesh", N26)
| |
| 59 | local N27 = Instance.new("Part", kohlaudiovisualizer)
| |
| 60 | local mesh_27 = Instance.new("SpecialMesh", N27)
| |
| 61 | local N28 = Instance.new("Part", kohlaudiovisualizer)
| |
| 62 | local mesh_28 = Instance.new("SpecialMesh", N28)
| |
| 63 | local N29 = Instance.new("Part", kohlaudiovisualizer)
| |
| 64 | local mesh_29 = Instance.new("SpecialMesh", N29)
| |
| 65 | local N3 = Instance.new("Part", kohlaudiovisualizer)
| |
| 66 | local mesh_30 = Instance.new("SpecialMesh", N3)
| |
| 67 | local N30 = Instance.new("Part", kohlaudiovisualizer)
| |
| 68 | local mesh_31 = Instance.new("SpecialMesh", N30)
| |
| 69 | local N31 = Instance.new("Part", kohlaudiovisualizer)
| |
| 70 | local mesh_32 = Instance.new("SpecialMesh", N31)
| |
| 71 | local N32 = Instance.new("Part", kohlaudiovisualizer)
| |
| 72 | local mesh_33 = Instance.new("SpecialMesh", N32)
| |
| 73 | local N33 = Instance.new("Part", kohlaudiovisualizer)
| |
| 74 | local mesh_34 = Instance.new("SpecialMesh", N33)
| |
| 75 | local N34 = Instance.new("Part", kohlaudiovisualizer)
| |
| 76 | local mesh_35 = Instance.new("SpecialMesh", N34)
| |
| 77 | local N35 = Instance.new("Part", kohlaudiovisualizer)
| |
| 78 | local mesh_36 = Instance.new("SpecialMesh", N35)
| |
| 79 | local N36 = Instance.new("Part", kohlaudiovisualizer)
| |
| 80 | local mesh_37 = Instance.new("SpecialMesh", N36)
| |
| 81 | local N37 = Instance.new("Part", kohlaudiovisualizer)
| |
| 82 | local mesh_38 = Instance.new("SpecialMesh", N37)
| |
| 83 | local N38 = Instance.new("Part", kohlaudiovisualizer)
| |
| 84 | local mesh_39 = Instance.new("SpecialMesh", N38)
| |
| 85 | local N39 = Instance.new("Part", kohlaudiovisualizer)
| |
| 86 | local mesh_40 = Instance.new("SpecialMesh", N39)
| |
| 87 | local N4 = Instance.new("Part", kohlaudiovisualizer)
| |
| 88 | local mesh_41 = Instance.new("SpecialMesh", N4)
| |
| 89 | local N40 = Instance.new("Part", kohlaudiovisualizer)
| |
| 90 | local mesh_42 = Instance.new("SpecialMesh", N40)
| |
| 91 | local N41 = Instance.new("Part", kohlaudiovisualizer)
| |
| 92 | local mesh_43 = Instance.new("SpecialMesh", N41)
| |
| 93 | local N42 = Instance.new("Part", kohlaudiovisualizer)
| |
| 94 | local mesh_44 = Instance.new("SpecialMesh", N42)
| |
| 95 | local N43 = Instance.new("Part", kohlaudiovisualizer)
| |
| 96 | local mesh_45 = Instance.new("SpecialMesh", N43)
| |
| 97 | local N44 = Instance.new("Part", kohlaudiovisualizer)
| |
| 98 | local mesh_46 = Instance.new("SpecialMesh", N44)
| |
| 99 | local N45 = Instance.new("Part", kohlaudiovisualizer)
| |
| 100 | local mesh_47 = Instance.new("SpecialMesh", N45)
| |
| 101 | local N46 = Instance.new("Part", kohlaudiovisualizer)
| |
| 102 | local mesh_48 = Instance.new("SpecialMesh", N46)
| |
| 103 | local N47 = Instance.new("Part", kohlaudiovisualizer)
| |
| 104 | local mesh_49 = Instance.new("SpecialMesh", N47)
| |
| 105 | local N5 = Instance.new("Part", kohlaudiovisualizer)
| |
| 106 | local mesh_50 = Instance.new("SpecialMesh", N5)
| |
| 107 | local N6 = Instance.new("Part", kohlaudiovisualizer)
| |
| 108 | local mesh_51 = Instance.new("SpecialMesh", N6)
| |
| 109 | local front = Instance.new("Decal", kohlaudiovisualizer)
| |
| 110 | local back = Instance.new("Decal", kohlaudiovisualizer)
| |
| 111 | ||
| 112 | kohlaudiovisualizer.Anchored = true | |
| 113 | kohlaudiovisualizer.Friction = 0.3 | |
| 114 | kohlaudiovisualizer.CanCollide = false | |
| 115 | kohlaudiovisualizer.TopSurface = Enum.SurfaceType.Smooth | |
| 116 | kohlaudiovisualizer.Material = Enum.Material.Granite | |
| 117 | kohlaudiovisualizer.Size = Vector3.new(0.5, 7.25, 7.25) | |
| 118 | kohlaudiovisualizer.Name = "KohlAudioVisualizer" | |
| 119 | kohlaudiovisualizer.CFrame = CFrame.new(7.7, 52, 4.3) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 120 | kohlaudiovisualizer.Locked = true | |
| 121 | kohlaudiovisualizer.BrickColor = BrickColor.new("Really black")
| |
| 122 | kohlaudiovisualizer.Shape = Enum.PartType.Cylinder | |
| 123 | kohlaudiovisualizer.BottomSurface = Enum.SurfaceType.Smooth | |
| 124 | ||
| 125 | pointlight.Color = Color3.new(1, 0, 0) | |
| 126 | pointlight.Brightness = 0 | |
| 127 | pointlight.Range = 12.5 | |
| 128 | ||
| 129 | sound.EmitterSize = 3000 | |
| 130 | sound.Looped = true | |
| 131 | sound.MaxDistance = 3500 | |
| 132 | sound.Volume = 2 | |
| 133 | ||
| 134 | particleemitter.VelocitySpread = 180 | |
| 135 | particleemitter.Lifetime = NumberRange.new(1) | |
| 136 | particleemitter.Speed = NumberRange.new(0) | |
| 137 | particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
| |
| 138 | particleemitter.Acceleration = Vector3.new(0, -2.5, 0) | |
| 139 | particleemitter.Rate = 0 | |
| 140 | particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.5, 0), NumberSequenceKeypoint.new(1, 1)})
| |
| 141 | particleemitter.LightEmission = 1 | |
| 142 | particleemitter.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0, 0)) | |
| 143 | particleemitter.Texture = "rbxassetid://253150996" | |
| 144 | ||
| 145 | parts.Name = "Parts" | |
| 146 | ||
| 147 | bar.Anchored = true | |
| 148 | bar.Friction = 0.3 | |
| 149 | bar.CanCollide = false | |
| 150 | bar.Transparency = 0.5 | |
| 151 | bar.TopSurface = Enum.SurfaceType.Smooth | |
| 152 | bar.Material = Enum.Material.Neon | |
| 153 | bar.Size = Vector3.new(100, 0.2, 0.25) | |
| 154 | bar.Name = "Bar" | |
| 155 | bar.CFrame = CFrame.new(7.7, 52, 4.3) * CFrame.Angles(0, 0, 1.5707963705063) | |
| 156 | bar.Locked = true | |
| 157 | bar.BrickColor = BrickColor.new("Really red")
| |
| 158 | bar.BottomSurface = Enum.SurfaceType.Smooth | |
| 159 | ||
| 160 | mesh.MeshType = Enum.MeshType.Sphere | |
| 161 | ||
| 162 | neonoutline.Anchored = true | |
| 163 | neonoutline.Friction = 0.3 | |
| 164 | neonoutline.CanCollide = false | |
| 165 | neonoutline.Material = Enum.Material.Neon | |
| 166 | neonoutline.Size = Vector3.new(0.314, 7.45, 7.45) | |
| 167 | neonoutline.Name = "NeonOutline" | |
| 168 | neonoutline.CFrame = CFrame.new(7.7, 52, 4.3) * CFrame.Angles(0, 1.5707963705063, 0) | |
| 169 | neonoutline.Locked = true | |
| 170 | neonoutline.BrickColor = BrickColor.new("Really red")
| |
| 171 | neonoutline.Shape = Enum.PartType.Cylinder | |
| 172 | ||
| 173 | mesh_2.MeshType = Enum.MeshType.Cylinder | |
| 174 | ||
| 175 | ring.Friction = 0.3 | |
| 176 | ring.CanCollide = false | |
| 177 | ring.Transparency = 1 | |
| 178 | ring.Material = Enum.Material.Neon | |
| 179 | ring.Size = Vector3.new(10, 0.2, 10) | |
| 180 | ring.BrickColor = BrickColor.new("Really red")
| |
| 181 | ring.CFrame = CFrame.new(7.7, 52, 4.3) * CFrame.Angles(1.5707963705063, 0, -0) | |
| 182 | ring.Locked = true | |
| 183 | ring.Name = "Ring" | |
| 184 | ring.Anchored = true | |
| 185 | ||
| 186 | N8.Anchored = true | |
| 187 | N8.Friction = 0.3 | |
| 188 | N8.CanCollide = false | |
| 189 | N8.TopSurface = Enum.SurfaceType.Smooth | |
| 190 | N8.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 191 | N8.Name = "8" | |
| 192 | N8.CFrame = CFrame.new(10.917, 53.843, 4.3) * CFrame.Angles(-0, 0, -1.0471987724304) | |
| 193 | N8.Locked = true | |
| 194 | N8.BrickColor = BrickColor.new("Black")
| |
| 195 | N8.BottomSurface = Enum.SurfaceType.Smooth | |
| 196 | ||
| 197 | mesh_3.Offset = Vector3.new(0, 0.1, 0) | |
| 198 | mesh_3.Scale = Vector3.new(1, 0.4, 1) | |
| 199 | mesh_3.MeshId = "rbxassetid://9856898" | |
| 200 | mesh_3.TextureId = "rbxassetid://2114473" | |
| 201 | mesh_3.VertexColor = Vector3.new(0, 0, 0) | |
| 202 | mesh_3.MeshType = Enum.MeshType.FileMesh | |
| 203 | ||
| 204 | N7.Anchored = true | |
| 205 | N7.Friction = 0.3 | |
| 206 | N7.CanCollide = false | |
| 207 | N7.TopSurface = Enum.SurfaceType.Smooth | |
| 208 | N7.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 209 | N7.Name = "7" | |
| 210 | N7.CFrame = CFrame.new(11.132, 53.407, 4.3) * CFrame.Angles(-0, 0, -1.178097486496) | |
| 211 | N7.Locked = true | |
| 212 | N7.BrickColor = BrickColor.new("Black")
| |
| 213 | N7.BottomSurface = Enum.SurfaceType.Smooth | |
| 214 | ||
| 215 | mesh_4.Offset = Vector3.new(0, 0.1, 0) | |
| 216 | mesh_4.Scale = Vector3.new(1, 0.4, 1) | |
| 217 | mesh_4.MeshId = "rbxassetid://9856898" | |
| 218 | mesh_4.TextureId = "rbxassetid://2114473" | |
| 219 | mesh_4.VertexColor = Vector3.new(0, 0, 0) | |
| 220 | mesh_4.MeshType = Enum.MeshType.FileMesh | |
| 221 | ||
| 222 | mesh_5.MeshType = Enum.MeshType.Cylinder | |
| 223 | ||
| 224 | N9.Anchored = true | |
| 225 | N9.Friction = 0.3 | |
| 226 | N9.CanCollide = false | |
| 227 | N9.TopSurface = Enum.SurfaceType.Smooth | |
| 228 | N9.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 229 | N9.Name = "9" | |
| 230 | N9.CFrame = CFrame.new(10.647, 54.247, 4.3) * CFrame.Angles(-0, 0, -0.91629713773727) | |
| 231 | N9.Locked = true | |
| 232 | N9.BrickColor = BrickColor.new("Black")
| |
| 233 | N9.BottomSurface = Enum.SurfaceType.Smooth | |
| 234 | ||
| 235 | mesh_6.Offset = Vector3.new(0, 0.1, 0) | |
| 236 | mesh_6.Scale = Vector3.new(1, 0.4, 1) | |
| 237 | mesh_6.MeshId = "rbxassetid://9856898" | |
| 238 | mesh_6.TextureId = "rbxassetid://2114473" | |
| 239 | mesh_6.VertexColor = Vector3.new(0, 0, 0) | |
| 240 | mesh_6.MeshType = Enum.MeshType.FileMesh | |
| 241 | ||
| 242 | N0.Anchored = true | |
| 243 | N0.Friction = 0.3 | |
| 244 | N0.CanCollide = false | |
| 245 | N0.TopSurface = Enum.SurfaceType.Smooth | |
| 246 | N0.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 247 | N0.Name = "0" | |
| 248 | N0.CFrame = CFrame.new(10.917, 50.128, 4.3) * CFrame.Angles(-0, 0, -2.0943961143494) | |
| 249 | N0.Locked = true | |
| 250 | N0.BrickColor = BrickColor.new("Black")
| |
| 251 | N0.BottomSurface = Enum.SurfaceType.Smooth | |
| 252 | ||
| 253 | mesh_7.Offset = Vector3.new(0, 0.1, 0) | |
| 254 | mesh_7.Scale = Vector3.new(1, 0.4, 1) | |
| 255 | mesh_7.MeshId = "rbxassetid://9856898" | |
| 256 | mesh_7.TextureId = "rbxassetid://2114473" | |
| 257 | mesh_7.VertexColor = Vector3.new(0, 0, 0) | |
| 258 | mesh_7.MeshType = Enum.MeshType.FileMesh | |
| 259 | ||
| 260 | N1.Anchored = true | |
| 261 | N1.Friction = 0.3 | |
| 262 | N1.CanCollide = false | |
| 263 | N1.TopSurface = Enum.SurfaceType.Smooth | |
| 264 | N1.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 265 | N1.Name = "1" | |
| 266 | N1.CFrame = CFrame.new(11.132, 50.564, 4.3) * CFrame.Angles(-0, 0, -1.9634948968887) | |
| 267 | N1.Locked = true | |
| 268 | N1.BrickColor = BrickColor.new("Black")
| |
| 269 | N1.BottomSurface = Enum.SurfaceType.Smooth | |
| 270 | ||
| 271 | mesh_8.Offset = Vector3.new(0, 0.1, 0) | |
| 272 | mesh_8.Scale = Vector3.new(1, 0.4, 1) | |
| 273 | mesh_8.MeshId = "rbxassetid://9856898" | |
| 274 | mesh_8.TextureId = "rbxassetid://2114473" | |
| 275 | mesh_8.VertexColor = Vector3.new(0, 0, 0) | |
| 276 | mesh_8.MeshType = Enum.MeshType.FileMesh | |
| 277 | ||
| 278 | N10.Anchored = true | |
| 279 | N10.Friction = 0.3 | |
| 280 | N10.CanCollide = false | |
| 281 | N10.TopSurface = Enum.SurfaceType.Smooth | |
| 282 | N10.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 283 | N10.Name = "10" | |
| 284 | N10.CFrame = CFrame.new(10.326, 54.612, 4.3) * CFrame.Angles(-0, 0, -0.78539746999741) | |
| 285 | N10.Locked = true | |
| 286 | N10.BrickColor = BrickColor.new("Black")
| |
| 287 | N10.BottomSurface = Enum.SurfaceType.Smooth | |
| 288 | ||
| 289 | mesh_9.Offset = Vector3.new(0, 0.1, 0) | |
| 290 | mesh_9.Scale = Vector3.new(1, 0.4, 1) | |
| 291 | mesh_9.MeshId = "rbxassetid://9856898" | |
| 292 | mesh_9.TextureId = "rbxassetid://2114473" | |
| 293 | mesh_9.VertexColor = Vector3.new(0, 0, 0) | |
| 294 | mesh_9.MeshType = Enum.MeshType.FileMesh | |
| 295 | ||
| 296 | N11.Anchored = true | |
| 297 | N11.Friction = 0.3 | |
| 298 | N11.CanCollide = false | |
| 299 | N11.TopSurface = Enum.SurfaceType.Smooth | |
| 300 | N11.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 301 | N11.Name = "11" | |
| 302 | N11.CFrame = CFrame.new(9.961, 54.932, 4.3) * CFrame.Angles(-0, 0, -0.65449917316437) | |
| 303 | N11.Locked = true | |
| 304 | N11.BrickColor = BrickColor.new("Black")
| |
| 305 | N11.BottomSurface = Enum.SurfaceType.Smooth | |
| 306 | ||
| 307 | mesh_10.Offset = Vector3.new(0, 0.1, 0) | |
| 308 | mesh_10.Scale = Vector3.new(1, 0.4, 1) | |
| 309 | mesh_10.MeshId = "rbxassetid://9856898" | |
| 310 | mesh_10.TextureId = "rbxassetid://2114473" | |
| 311 | mesh_10.VertexColor = Vector3.new(0, 0, 0) | |
| 312 | mesh_10.MeshType = Enum.MeshType.FileMesh | |
| 313 | ||
| 314 | N12.Anchored = true | |
| 315 | N12.Friction = 0.3 | |
| 316 | N12.CanCollide = false | |
| 317 | N12.TopSurface = Enum.SurfaceType.Smooth | |
| 318 | N12.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 319 | N12.Name = "12" | |
| 320 | N12.CFrame = CFrame.new(9.557, 55.202, 4.3) * CFrame.Angles(-0, 0, -0.52359986305237) | |
| 321 | N12.Locked = true | |
| 322 | N12.BrickColor = BrickColor.new("Black")
| |
| 323 | N12.BottomSurface = Enum.SurfaceType.Smooth | |
| 324 | ||
| 325 | mesh_11.Offset = Vector3.new(0, 0.1, 0) | |
| 326 | mesh_11.Scale = Vector3.new(1, 0.4, 1) | |
| 327 | mesh_11.MeshId = "rbxassetid://9856898" | |
| 328 | mesh_11.TextureId = "rbxassetid://2114473" | |
| 329 | mesh_11.VertexColor = Vector3.new(0, 0, 0) | |
| 330 | mesh_11.MeshType = Enum.MeshType.FileMesh | |
| 331 | ||
| 332 | N13.Anchored = true | |
| 333 | N13.Friction = 0.3 | |
| 334 | N13.CanCollide = false | |
| 335 | N13.TopSurface = Enum.SurfaceType.Smooth | |
| 336 | N13.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 337 | N13.Name = "13" | |
| 338 | N13.CFrame = CFrame.new(9.121, 55.417, 4.3) * CFrame.Angles(-0, 0, -0.39269852638245) | |
| 339 | N13.Locked = true | |
| 340 | N13.BrickColor = BrickColor.new("Black")
| |
| 341 | N13.BottomSurface = Enum.SurfaceType.Smooth | |
| 342 | ||
| 343 | mesh_12.Offset = Vector3.new(0, 0.1, 0) | |
| 344 | mesh_12.Scale = Vector3.new(1, 0.4, 1) | |
| 345 | mesh_12.MeshId = "rbxassetid://9856898" | |
| 346 | mesh_12.TextureId = "rbxassetid://2114473" | |
| 347 | mesh_12.VertexColor = Vector3.new(0, 0, 0) | |
| 348 | mesh_12.MeshType = Enum.MeshType.FileMesh | |
| 349 | ||
| 350 | N14.Anchored = true | |
| 351 | N14.Friction = 0.3 | |
| 352 | N14.CanCollide = false | |
| 353 | N14.TopSurface = Enum.SurfaceType.Smooth | |
| 354 | N14.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 355 | N14.Name = "14" | |
| 356 | N14.CFrame = CFrame.new(8.661, 55.573, 4.3) * CFrame.Angles(-0, 0, -0.26180025935173) | |
| 357 | N14.Locked = true | |
| 358 | N14.BrickColor = BrickColor.new("Black")
| |
| 359 | N14.BottomSurface = Enum.SurfaceType.Smooth | |
| 360 | ||
| 361 | mesh_13.Offset = Vector3.new(0, 0.1, 0) | |
| 362 | mesh_13.Scale = Vector3.new(1, 0.4, 1) | |
| 363 | mesh_13.MeshId = "rbxassetid://9856898" | |
| 364 | mesh_13.TextureId = "rbxassetid://2114473" | |
| 365 | mesh_13.VertexColor = Vector3.new(0, 0, 0) | |
| 366 | mesh_13.MeshType = Enum.MeshType.FileMesh | |
| 367 | ||
| 368 | N15.Anchored = true | |
| 369 | N15.Friction = 0.3 | |
| 370 | N15.CanCollide = false | |
| 371 | N15.TopSurface = Enum.SurfaceType.Smooth | |
| 372 | N15.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 373 | N15.Name = "15" | |
| 374 | N15.CFrame = CFrame.new(8.185, 55.668, 4.3) * CFrame.Angles(-0, 0, -0.13089948892593) | |
| 375 | N15.Locked = true | |
| 376 | N15.BrickColor = BrickColor.new("Black")
| |
| 377 | N15.BottomSurface = Enum.SurfaceType.Smooth | |
| 378 | ||
| 379 | mesh_14.Offset = Vector3.new(0, 0.1, 0) | |
| 380 | mesh_14.Scale = Vector3.new(1, 0.4, 1) | |
| 381 | mesh_14.MeshId = "rbxassetid://9856898" | |
| 382 | mesh_14.TextureId = "rbxassetid://2114473" | |
| 383 | mesh_14.VertexColor = Vector3.new(0, 0, 0) | |
| 384 | mesh_14.MeshType = Enum.MeshType.FileMesh | |
| 385 | ||
| 386 | N16.Anchored = true | |
| 387 | N16.Friction = 0.3 | |
| 388 | N16.CanCollide = false | |
| 389 | N16.TopSurface = Enum.SurfaceType.Smooth | |
| 390 | N16.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 391 | N16.Name = "16" | |
| 392 | N16.CFrame = CFrame.new(7.7, 55.7, 4.3) * CFrame.Angles(-0, 0, -0) | |
| 393 | N16.Locked = true | |
| 394 | N16.BrickColor = BrickColor.new("Black")
| |
| 395 | N16.BottomSurface = Enum.SurfaceType.Smooth | |
| 396 | ||
| 397 | mesh_15.Offset = Vector3.new(0, 0.1, 0) | |
| 398 | mesh_15.Scale = Vector3.new(1, 0.4, 1) | |
| 399 | mesh_15.MeshId = "rbxassetid://9856898" | |
| 400 | mesh_15.TextureId = "rbxassetid://2114473" | |
| 401 | mesh_15.VertexColor = Vector3.new(0, 0, 0) | |
| 402 | mesh_15.MeshType = Enum.MeshType.FileMesh | |
| 403 | ||
| 404 | N17.Anchored = true | |
| 405 | N17.Friction = 0.3 | |
| 406 | N17.CanCollide = false | |
| 407 | N17.TopSurface = Enum.SurfaceType.Smooth | |
| 408 | N17.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 409 | N17.Name = "17" | |
| 410 | N17.CFrame = CFrame.new(7.215, 55.668, 4.3) * CFrame.Angles(-0, 0, 0.13089948892593) | |
| 411 | N17.Locked = true | |
| 412 | N17.BrickColor = BrickColor.new("Black")
| |
| 413 | N17.BottomSurface = Enum.SurfaceType.Smooth | |
| 414 | ||
| 415 | mesh_16.Offset = Vector3.new(0, 0.1, 0) | |
| 416 | mesh_16.Scale = Vector3.new(1, 0.4, 1) | |
| 417 | mesh_16.MeshId = "rbxassetid://9856898" | |
| 418 | mesh_16.TextureId = "rbxassetid://2114473" | |
| 419 | mesh_16.VertexColor = Vector3.new(0, 0, 0) | |
| 420 | mesh_16.MeshType = Enum.MeshType.FileMesh | |
| 421 | ||
| 422 | N18.Anchored = true | |
| 423 | N18.Friction = 0.3 | |
| 424 | N18.CanCollide = false | |
| 425 | N18.TopSurface = Enum.SurfaceType.Smooth | |
| 426 | N18.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 427 | N18.Name = "18" | |
| 428 | N18.CFrame = CFrame.new(6.739, 55.573, 4.3) * CFrame.Angles(-0, 0, 0.26179832220078) | |
| 429 | N18.Locked = true | |
| 430 | N18.BrickColor = BrickColor.new("Black")
| |
| 431 | N18.BottomSurface = Enum.SurfaceType.Smooth | |
| 432 | ||
| 433 | mesh_17.Offset = Vector3.new(0, 0.1, 0) | |
| 434 | mesh_17.Scale = Vector3.new(1, 0.4, 1) | |
| 435 | mesh_17.MeshId = "rbxassetid://9856898" | |
| 436 | mesh_17.TextureId = "rbxassetid://2114473" | |
| 437 | mesh_17.VertexColor = Vector3.new(0, 0, 0) | |
| 438 | mesh_17.MeshType = Enum.MeshType.FileMesh | |
| 439 | ||
| 440 | N19.Anchored = true | |
| 441 | N19.Friction = 0.3 | |
| 442 | N19.CanCollide = false | |
| 443 | N19.TopSurface = Enum.SurfaceType.Smooth | |
| 444 | N19.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 445 | N19.Name = "19" | |
| 446 | N19.CFrame = CFrame.new(6.279, 55.417, 4.3) * CFrame.Angles(-0, 0, 0.39269888401031) | |
| 447 | N19.Locked = true | |
| 448 | N19.BrickColor = BrickColor.new("Black")
| |
| 449 | N19.BottomSurface = Enum.SurfaceType.Smooth | |
| 450 | ||
| 451 | mesh_18.Offset = Vector3.new(0, 0.1, 0) | |
| 452 | mesh_18.Scale = Vector3.new(1, 0.4, 1) | |
| 453 | mesh_18.MeshId = "rbxassetid://9856898" | |
| 454 | mesh_18.TextureId = "rbxassetid://2114473" | |
| 455 | mesh_18.VertexColor = Vector3.new(0, 0, 0) | |
| 456 | mesh_18.MeshType = Enum.MeshType.FileMesh | |
| 457 | ||
| 458 | N2.Anchored = true | |
| 459 | N2.Friction = 0.3 | |
| 460 | N2.CanCollide = false | |
| 461 | N2.TopSurface = Enum.SurfaceType.Smooth | |
| 462 | N2.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 463 | N2.Name = "2" | |
| 464 | N2.CFrame = CFrame.new(11.288, 51.024, 4.3) * CFrame.Angles(-0, 0, -1.832596540451) | |
| 465 | N2.Locked = true | |
| 466 | N2.BrickColor = BrickColor.new("Black")
| |
| 467 | N2.BottomSurface = Enum.SurfaceType.Smooth | |
| 468 | ||
| 469 | mesh_19.Offset = Vector3.new(0, 0.1, 0) | |
| 470 | mesh_19.Scale = Vector3.new(1, 0.4, 1) | |
| 471 | mesh_19.MeshId = "rbxassetid://9856898" | |
| 472 | mesh_19.TextureId = "rbxassetid://2114473" | |
| 473 | mesh_19.VertexColor = Vector3.new(0, 0, 0) | |
| 474 | mesh_19.MeshType = Enum.MeshType.FileMesh | |
| 475 | ||
| 476 | N20.Anchored = true | |
| 477 | N20.Friction = 0.3 | |
| 478 | N20.CanCollide = false | |
| 479 | N20.TopSurface = Enum.SurfaceType.Smooth | |
| 480 | N20.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 481 | N20.Name = "20" | |
| 482 | N20.CFrame = CFrame.new(5.843, 55.202, 4.3) * CFrame.Angles(-0, 0, 0.52359759807587) | |
| 483 | N20.Locked = true | |
| 484 | N20.BrickColor = BrickColor.new("Black")
| |
| 485 | N20.BottomSurface = Enum.SurfaceType.Smooth | |
| 486 | ||
| 487 | mesh_20.Offset = Vector3.new(0, 0.1, 0) | |
| 488 | mesh_20.Scale = Vector3.new(1, 0.4, 1) | |
| 489 | mesh_20.MeshId = "rbxassetid://9856898" | |
| 490 | mesh_20.TextureId = "rbxassetid://2114473" | |
| 491 | mesh_20.VertexColor = Vector3.new(0, 0, 0) | |
| 492 | mesh_20.MeshType = Enum.MeshType.FileMesh | |
| 493 | ||
| 494 | N21.Anchored = true | |
| 495 | N21.Friction = 0.3 | |
| 496 | N21.CanCollide = false | |
| 497 | N21.TopSurface = Enum.SurfaceType.Smooth | |
| 498 | N21.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 499 | N21.Name = "21" | |
| 500 | N21.CFrame = CFrame.new(5.439, 54.932, 4.3) * CFrame.Angles(-0, 0, 0.65449833869934) | |
| 501 | N21.Locked = true | |
| 502 | N21.BrickColor = BrickColor.new("Black")
| |
| 503 | N21.BottomSurface = Enum.SurfaceType.Smooth | |
| 504 | ||
| 505 | mesh_21.Offset = Vector3.new(0, 0.1, 0) | |
| 506 | mesh_21.Scale = Vector3.new(1, 0.4, 1) | |
| 507 | mesh_21.MeshId = "rbxassetid://9856898" | |
| 508 | mesh_21.TextureId = "rbxassetid://2114473" | |
| 509 | mesh_21.VertexColor = Vector3.new(0, 0, 0) | |
| 510 | mesh_21.MeshType = Enum.MeshType.FileMesh | |
| 511 | ||
| 512 | N22.Anchored = true | |
| 513 | N22.Friction = 0.3 | |
| 514 | N22.CanCollide = false | |
| 515 | N22.TopSurface = Enum.SurfaceType.Smooth | |
| 516 | N22.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 517 | N22.Name = "22" | |
| 518 | N22.CFrame = CFrame.new(5.074, 54.612, 4.3) * CFrame.Angles(-0, 0, 0.78539890050888) | |
| 519 | N22.Locked = true | |
| 520 | N22.BrickColor = BrickColor.new("Black")
| |
| 521 | N22.BottomSurface = Enum.SurfaceType.Smooth | |
| 522 | ||
| 523 | mesh_22.Offset = Vector3.new(0, 0.1, 0) | |
| 524 | mesh_22.Scale = Vector3.new(1, 0.4, 1) | |
| 525 | mesh_22.MeshId = "rbxassetid://9856898" | |
| 526 | mesh_22.TextureId = "rbxassetid://2114473" | |
| 527 | mesh_22.VertexColor = Vector3.new(0, 0, 0) | |
| 528 | mesh_22.MeshType = Enum.MeshType.FileMesh | |
| 529 | ||
| 530 | N23.Anchored = true | |
| 531 | N23.Friction = 0.3 | |
| 532 | N23.CanCollide = false | |
| 533 | N23.TopSurface = Enum.SurfaceType.Smooth | |
| 534 | N23.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 535 | N23.Name = "23" | |
| 536 | N23.CFrame = CFrame.new(4.753, 54.247, 4.3) * CFrame.Angles(-0, 0, 0.91629713773727) | |
| 537 | N23.Locked = true | |
| 538 | N23.BrickColor = BrickColor.new("Black")
| |
| 539 | N23.BottomSurface = Enum.SurfaceType.Smooth | |
| 540 | ||
| 541 | mesh_23.Offset = Vector3.new(0, 0.1, 0) | |
| 542 | mesh_23.Scale = Vector3.new(1, 0.4, 1) | |
| 543 | mesh_23.MeshId = "rbxassetid://9856898" | |
| 544 | mesh_23.TextureId = "rbxassetid://2114473" | |
| 545 | mesh_23.VertexColor = Vector3.new(0, 0, 0) | |
| 546 | mesh_23.MeshType = Enum.MeshType.FileMesh | |
| 547 | ||
| 548 | N24.Anchored = true | |
| 549 | N24.Friction = 0.3 | |
| 550 | N24.CanCollide = false | |
| 551 | N24.TopSurface = Enum.SurfaceType.Smooth | |
| 552 | N24.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 553 | N24.Name = "24" | |
| 554 | N24.CFrame = CFrame.new(4.483, 53.843, 4.3) * CFrame.Angles(-0, 0, 1.0471965074539) | |
| 555 | N24.Locked = true | |
| 556 | N24.BrickColor = BrickColor.new("Black")
| |
| 557 | N24.BottomSurface = Enum.SurfaceType.Smooth | |
| 558 | ||
| 559 | mesh_24.Offset = Vector3.new(0, 0.1, 0) | |
| 560 | mesh_24.Scale = Vector3.new(1, 0.4, 1) | |
| 561 | mesh_24.MeshId = "rbxassetid://9856898" | |
| 562 | mesh_24.TextureId = "rbxassetid://2114473" | |
| 563 | mesh_24.VertexColor = Vector3.new(0, 0, 0) | |
| 564 | mesh_24.MeshType = Enum.MeshType.FileMesh | |
| 565 | ||
| 566 | N25.Anchored = true | |
| 567 | N25.Friction = 0.3 | |
| 568 | N25.CanCollide = false | |
| 569 | N25.TopSurface = Enum.SurfaceType.Smooth | |
| 570 | N25.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 571 | N25.Name = "25" | |
| 572 | N25.CFrame = CFrame.new(4.269, 53.407, 4.3) * CFrame.Angles(-0, 0, 1.1780978441238) | |
| 573 | N25.Locked = true | |
| 574 | N25.BrickColor = BrickColor.new("Black")
| |
| 575 | N25.BottomSurface = Enum.SurfaceType.Smooth | |
| 576 | ||
| 577 | mesh_25.Offset = Vector3.new(0, 0.1, 0) | |
| 578 | mesh_25.Scale = Vector3.new(1, 0.4, 1) | |
| 579 | mesh_25.MeshId = "rbxassetid://9856898" | |
| 580 | mesh_25.TextureId = "rbxassetid://2114473" | |
| 581 | mesh_25.VertexColor = Vector3.new(0, 0, 0) | |
| 582 | mesh_25.MeshType = Enum.MeshType.FileMesh | |
| 583 | ||
| 584 | N26.Anchored = true | |
| 585 | N26.Friction = 0.3 | |
| 586 | N26.CanCollide = false | |
| 587 | N26.TopSurface = Enum.SurfaceType.Smooth | |
| 588 | N26.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 589 | N26.Name = "26" | |
| 590 | N26.CFrame = CFrame.new(4.112, 52.947, 4.3) * CFrame.Angles(-0, 0, 1.3089960813522) | |
| 591 | N26.Locked = true | |
| 592 | N26.BrickColor = BrickColor.new("Black")
| |
| 593 | N26.BottomSurface = Enum.SurfaceType.Smooth | |
| 594 | ||
| 595 | mesh_26.Offset = Vector3.new(0, 0.1, 0) | |
| 596 | mesh_26.Scale = Vector3.new(1, 0.4, 1) | |
| 597 | mesh_26.MeshId = "rbxassetid://9856898" | |
| 598 | mesh_26.TextureId = "rbxassetid://2114473" | |
| 599 | mesh_26.VertexColor = Vector3.new(0, 0, 0) | |
| 600 | mesh_26.MeshType = Enum.MeshType.FileMesh | |
| 601 | ||
| 602 | N27.Anchored = true | |
| 603 | N27.Friction = 0.3 | |
| 604 | N27.CanCollide = false | |
| 605 | N27.TopSurface = Enum.SurfaceType.Smooth | |
| 606 | N27.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 607 | N27.Name = "27" | |
| 608 | N27.CFrame = CFrame.new(4.018, 52.471, 4.3) * CFrame.Angles(-0, 0, 1.4398968219757) | |
| 609 | N27.Locked = true | |
| 610 | N27.BrickColor = BrickColor.new("Black")
| |
| 611 | N27.BottomSurface = Enum.SurfaceType.Smooth | |
| 612 | ||
| 613 | mesh_27.Offset = Vector3.new(0, 0.1, 0) | |
| 614 | mesh_27.Scale = Vector3.new(1, 0.4, 1) | |
| 615 | mesh_27.MeshId = "rbxassetid://9856898" | |
| 616 | mesh_27.TextureId = "rbxassetid://2114473" | |
| 617 | mesh_27.VertexColor = Vector3.new(0, 0, 0) | |
| 618 | mesh_27.MeshType = Enum.MeshType.FileMesh | |
| 619 | ||
| 620 | N28.Anchored = true | |
| 621 | N28.Friction = 0.3 | |
| 622 | N28.CanCollide = false | |
| 623 | N28.TopSurface = Enum.SurfaceType.Smooth | |
| 624 | N28.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 625 | N28.Name = "28" | |
| 626 | N28.CFrame = CFrame.new(3.986, 51.986, 4.3) * CFrame.Angles(0, 0, 1.5707963705063) | |
| 627 | N28.Locked = true | |
| 628 | N28.BrickColor = BrickColor.new("Black")
| |
| 629 | N28.BottomSurface = Enum.SurfaceType.Smooth | |
| 630 | ||
| 631 | mesh_28.Offset = Vector3.new(0, 0.1, 0) | |
| 632 | mesh_28.Scale = Vector3.new(1, 0.4, 1) | |
| 633 | mesh_28.MeshId = "rbxassetid://9856898" | |
| 634 | mesh_28.TextureId = "rbxassetid://2114473" | |
| 635 | mesh_28.VertexColor = Vector3.new(0, 0, 0) | |
| 636 | mesh_28.MeshType = Enum.MeshType.FileMesh | |
| 637 | ||
| 638 | N29.Anchored = true | |
| 639 | N29.Friction = 0.3 | |
| 640 | N29.CanCollide = false | |
| 641 | N29.TopSurface = Enum.SurfaceType.Smooth | |
| 642 | N29.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 643 | N29.Name = "29" | |
| 644 | N29.CFrame = CFrame.new(4.018, 51.501, 4.3) * CFrame.Angles(-0, 0, 1.7016948461533) | |
| 645 | N29.Locked = true | |
| 646 | N29.BrickColor = BrickColor.new("Black")
| |
| 647 | N29.BottomSurface = Enum.SurfaceType.Smooth | |
| 648 | ||
| 649 | mesh_29.Offset = Vector3.new(0, 0.1, 0) | |
| 650 | mesh_29.Scale = Vector3.new(1, 0.4, 1) | |
| 651 | mesh_29.MeshId = "rbxassetid://9856898" | |
| 652 | mesh_29.TextureId = "rbxassetid://2114473" | |
| 653 | mesh_29.VertexColor = Vector3.new(0, 0, 0) | |
| 654 | mesh_29.MeshType = Enum.MeshType.FileMesh | |
| 655 | ||
| 656 | N3.Anchored = true | |
| 657 | N3.Friction = 0.3 | |
| 658 | N3.CanCollide = false | |
| 659 | N3.TopSurface = Enum.SurfaceType.Smooth | |
| 660 | N3.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 661 | N3.Name = "3" | |
| 662 | N3.CFrame = CFrame.new(11.383, 51.501, 4.3) * CFrame.Angles(-0, 0, -1.7016957998276) | |
| 663 | N3.Locked = true | |
| 664 | N3.BrickColor = BrickColor.new("Black")
| |
| 665 | N3.BottomSurface = Enum.SurfaceType.Smooth | |
| 666 | ||
| 667 | mesh_30.Offset = Vector3.new(0, 0.1, 0) | |
| 668 | mesh_30.Scale = Vector3.new(1, 0.4, 1) | |
| 669 | mesh_30.MeshId = "rbxassetid://9856898" | |
| 670 | mesh_30.TextureId = "rbxassetid://2114473" | |
| 671 | mesh_30.VertexColor = Vector3.new(0, 0, 0) | |
| 672 | mesh_30.MeshType = Enum.MeshType.FileMesh | |
| 673 | ||
| 674 | N30.Anchored = true | |
| 675 | N30.Friction = 0.3 | |
| 676 | N30.CanCollide = false | |
| 677 | N30.TopSurface = Enum.SurfaceType.Smooth | |
| 678 | N30.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 679 | N30.Name = "30" | |
| 680 | N30.CFrame = CFrame.new(4.112, 51.025, 4.3) * CFrame.Angles(-0, 0, 1.8325946331024) | |
| 681 | N30.Locked = true | |
| 682 | N30.BrickColor = BrickColor.new("Black")
| |
| 683 | N30.BottomSurface = Enum.SurfaceType.Smooth | |
| 684 | ||
| 685 | mesh_31.Offset = Vector3.new(0, 0.1, 0) | |
| 686 | mesh_31.Scale = Vector3.new(1, 0.4, 1) | |
| 687 | mesh_31.MeshId = "rbxassetid://9856898" | |
| 688 | mesh_31.TextureId = "rbxassetid://2114473" | |
| 689 | mesh_31.VertexColor = Vector3.new(0, 0, 0) | |
| 690 | mesh_31.MeshType = Enum.MeshType.FileMesh | |
| 691 | ||
| 692 | N31.Anchored = true | |
| 693 | N31.Friction = 0.3 | |
| 694 | N31.CanCollide = false | |
| 695 | N31.TopSurface = Enum.SurfaceType.Smooth | |
| 696 | N31.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 697 | N31.Name = "31" | |
| 698 | N31.CFrame = CFrame.new(4.269, 50.564, 4.3) * CFrame.Angles(-0, 0, 1.9634952545166) | |
| 699 | N31.Locked = true | |
| 700 | N31.BrickColor = BrickColor.new("Black")
| |
| 701 | N31.BottomSurface = Enum.SurfaceType.Smooth | |
| 702 | ||
| 703 | mesh_32.Offset = Vector3.new(0, 0.1, 0) | |
| 704 | mesh_32.Scale = Vector3.new(1, 0.4, 1) | |
| 705 | mesh_32.MeshId = "rbxassetid://9856898" | |
| 706 | mesh_32.TextureId = "rbxassetid://2114473" | |
| 707 | mesh_32.VertexColor = Vector3.new(0, 0, 0) | |
| 708 | mesh_32.MeshType = Enum.MeshType.FileMesh | |
| 709 | ||
| 710 | N32.Anchored = true | |
| 711 | N32.Friction = 0.3 | |
| 712 | N32.CanCollide = false | |
| 713 | N32.TopSurface = Enum.SurfaceType.Smooth | |
| 714 | N32.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 715 | N32.Name = "32" | |
| 716 | N32.CFrame = CFrame.new(4.483, 50.129, 4.3) * CFrame.Angles(-0, 0, 2.0943939685822) | |
| 717 | N32.Locked = true | |
| 718 | N32.BrickColor = BrickColor.new("Black")
| |
| 719 | N32.BottomSurface = Enum.SurfaceType.Smooth | |
| 720 | ||
| 721 | mesh_33.Offset = Vector3.new(0, 0.1, 0) | |
| 722 | mesh_33.Scale = Vector3.new(1, 0.4, 1) | |
| 723 | mesh_33.MeshId = "rbxassetid://9856898" | |
| 724 | mesh_33.TextureId = "rbxassetid://2114473" | |
| 725 | mesh_33.VertexColor = Vector3.new(0, 0, 0) | |
| 726 | mesh_33.MeshType = Enum.MeshType.FileMesh | |
| 727 | ||
| 728 | N33.Anchored = true | |
| 729 | N33.Friction = 0.3 | |
| 730 | N33.CanCollide = false | |
| 731 | N33.TopSurface = Enum.SurfaceType.Smooth | |
| 732 | N33.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 733 | N33.Name = "33" | |
| 734 | N33.CFrame = CFrame.new(4.753, 49.725, 4.3) * CFrame.Angles(-0, 0, 2.2252945899963) | |
| 735 | N33.Locked = true | |
| 736 | N33.BrickColor = BrickColor.new("Black")
| |
| 737 | N33.BottomSurface = Enum.SurfaceType.Smooth | |
| 738 | ||
| 739 | mesh_34.Offset = Vector3.new(0, 0.1, 0) | |
| 740 | mesh_34.Scale = Vector3.new(1, 0.4, 1) | |
| 741 | mesh_34.MeshId = "rbxassetid://9856898" | |
| 742 | mesh_34.TextureId = "rbxassetid://2114473" | |
| 743 | mesh_34.VertexColor = Vector3.new(0, 0, 0) | |
| 744 | mesh_34.MeshType = Enum.MeshType.FileMesh | |
| 745 | ||
| 746 | N34.Anchored = true | |
| 747 | N34.Friction = 0.3 | |
| 748 | N34.CanCollide = false | |
| 749 | N34.TopSurface = Enum.SurfaceType.Smooth | |
| 750 | N34.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 751 | N34.Name = "34" | |
| 752 | N34.CFrame = CFrame.new(5.074, 49.36, 4.3) * CFrame.Angles(-0, 0, 2.356193780899) | |
| 753 | N34.Locked = true | |
| 754 | N34.BrickColor = BrickColor.new("Black")
| |
| 755 | N34.BottomSurface = Enum.SurfaceType.Smooth | |
| 756 | ||
| 757 | mesh_35.Offset = Vector3.new(0, 0.1, 0) | |
| 758 | mesh_35.Scale = Vector3.new(1, 0.4, 1) | |
| 759 | mesh_35.MeshId = "rbxassetid://9856898" | |
| 760 | mesh_35.TextureId = "rbxassetid://2114473" | |
| 761 | mesh_35.VertexColor = Vector3.new(0, 0, 0) | |
| 762 | mesh_35.MeshType = Enum.MeshType.FileMesh | |
| 763 | ||
| 764 | N35.Anchored = true | |
| 765 | N35.Friction = 0.3 | |
| 766 | N35.CanCollide = false | |
| 767 | N35.TopSurface = Enum.SurfaceType.Smooth | |
| 768 | N35.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 769 | N35.Name = "35" | |
| 770 | N35.CFrame = CFrame.new(5.439, 49.039, 4.3) * CFrame.Angles(-0, 0, 2.4870934486389) | |
| 771 | N35.Locked = true | |
| 772 | N35.BrickColor = BrickColor.new("Black")
| |
| 773 | N35.BottomSurface = Enum.SurfaceType.Smooth | |
| 774 | ||
| 775 | mesh_36.Offset = Vector3.new(0, 0.1, 0) | |
| 776 | mesh_36.Scale = Vector3.new(1, 0.4, 1) | |
| 777 | mesh_36.MeshId = "rbxassetid://9856898" | |
| 778 | mesh_36.TextureId = "rbxassetid://2114473" | |
| 779 | mesh_36.VertexColor = Vector3.new(0, 0, 0) | |
| 780 | mesh_36.MeshType = Enum.MeshType.FileMesh | |
| 781 | ||
| 782 | N36.Anchored = true | |
| 783 | N36.Friction = 0.3 | |
| 784 | N36.CanCollide = false | |
| 785 | N36.TopSurface = Enum.SurfaceType.Smooth | |
| 786 | N36.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 787 | N36.Name = "36" | |
| 788 | N36.CFrame = CFrame.new(5.843, 48.769, 4.3) * CFrame.Angles(-0, 0, 2.6179928779602) | |
| 789 | N36.Locked = true | |
| 790 | N36.BrickColor = BrickColor.new("Black")
| |
| 791 | N36.BottomSurface = Enum.SurfaceType.Smooth | |
| 792 | ||
| 793 | mesh_37.Offset = Vector3.new(0, 0.1, 0) | |
| 794 | mesh_37.Scale = Vector3.new(1, 0.4, 1) | |
| 795 | mesh_37.MeshId = "rbxassetid://9856898" | |
| 796 | mesh_37.TextureId = "rbxassetid://2114473" | |
| 797 | mesh_37.VertexColor = Vector3.new(0, 0, 0) | |
| 798 | mesh_37.MeshType = Enum.MeshType.FileMesh | |
| 799 | ||
| 800 | N37.Anchored = true | |
| 801 | N37.Friction = 0.3 | |
| 802 | N37.CanCollide = false | |
| 803 | N37.TopSurface = Enum.SurfaceType.Smooth | |
| 804 | N37.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 805 | N37.Name = "37" | |
| 806 | N37.CFrame = CFrame.new(6.279, 48.554, 4.3) * CFrame.Angles(-0, 0, 2.7488942146301) | |
| 807 | N37.Locked = true | |
| 808 | N37.BrickColor = BrickColor.new("Black")
| |
| 809 | N37.BottomSurface = Enum.SurfaceType.Smooth | |
| 810 | ||
| 811 | mesh_38.Offset = Vector3.new(0, 0.1, 0) | |
| 812 | mesh_38.Scale = Vector3.new(1, 0.4, 1) | |
| 813 | mesh_38.MeshId = "rbxassetid://9856898" | |
| 814 | mesh_38.TextureId = "rbxassetid://2114473" | |
| 815 | mesh_38.VertexColor = Vector3.new(0, 0, 0) | |
| 816 | mesh_38.MeshType = Enum.MeshType.FileMesh | |
| 817 | ||
| 818 | N38.Anchored = true | |
| 819 | N38.Friction = 0.3 | |
| 820 | N38.CanCollide = false | |
| 821 | N38.TopSurface = Enum.SurfaceType.Smooth | |
| 822 | N38.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 823 | N38.Name = "38" | |
| 824 | N38.CFrame = CFrame.new(6.739, 48.398, 4.3) * CFrame.Angles(-0, 0, 2.8797924518585) | |
| 825 | N38.Locked = true | |
| 826 | N38.BrickColor = BrickColor.new("Black")
| |
| 827 | N38.BottomSurface = Enum.SurfaceType.Smooth | |
| 828 | ||
| 829 | mesh_39.Offset = Vector3.new(0, 0.1, 0) | |
| 830 | mesh_39.Scale = Vector3.new(1, 0.4, 1) | |
| 831 | mesh_39.MeshId = "rbxassetid://9856898" | |
| 832 | mesh_39.TextureId = "rbxassetid://2114473" | |
| 833 | mesh_39.VertexColor = Vector3.new(0, 0, 0) | |
| 834 | mesh_39.MeshType = Enum.MeshType.FileMesh | |
| 835 | ||
| 836 | N39.Anchored = true | |
| 837 | N39.Friction = 0.3 | |
| 838 | N39.CanCollide = false | |
| 839 | N39.TopSurface = Enum.SurfaceType.Smooth | |
| 840 | N39.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 841 | N39.Name = "39" | |
| 842 | N39.CFrame = CFrame.new(7.215, 48.304, 4.3) * CFrame.Angles(-0, 0, 3.0106930732727) | |
| 843 | N39.Locked = true | |
| 844 | N39.BrickColor = BrickColor.new("Black")
| |
| 845 | N39.BottomSurface = Enum.SurfaceType.Smooth | |
| 846 | ||
| 847 | mesh_40.Offset = Vector3.new(0, 0.1, 0) | |
| 848 | mesh_40.Scale = Vector3.new(1, 0.4, 1) | |
| 849 | mesh_40.MeshId = "rbxassetid://9856898" | |
| 850 | mesh_40.TextureId = "rbxassetid://2114473" | |
| 851 | mesh_40.VertexColor = Vector3.new(0, 0, 0) | |
| 852 | mesh_40.MeshType = Enum.MeshType.FileMesh | |
| 853 | ||
| 854 | N4.Anchored = true | |
| 855 | N4.Friction = 0.3 | |
| 856 | N4.CanCollide = false | |
| 857 | N4.TopSurface = Enum.SurfaceType.Smooth | |
| 858 | N4.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 859 | N4.Name = "4" | |
| 860 | N4.CFrame = CFrame.new(11.414, 51.986, 4.3) * CFrame.Angles(-0, -0, -1.5707963705063) | |
| 861 | N4.Locked = true | |
| 862 | N4.BrickColor = BrickColor.new("Black")
| |
| 863 | N4.BottomSurface = Enum.SurfaceType.Smooth | |
| 864 | ||
| 865 | mesh_41.Offset = Vector3.new(0, 0.1, 0) | |
| 866 | mesh_41.Scale = Vector3.new(1, 0.4, 1) | |
| 867 | mesh_41.MeshId = "rbxassetid://9856898" | |
| 868 | mesh_41.TextureId = "rbxassetid://2114473" | |
| 869 | mesh_41.VertexColor = Vector3.new(0, 0, 0) | |
| 870 | mesh_41.MeshType = Enum.MeshType.FileMesh | |
| 871 | ||
| 872 | N40.Anchored = true | |
| 873 | N40.Friction = 0.3 | |
| 874 | N40.CanCollide = false | |
| 875 | N40.TopSurface = Enum.SurfaceType.Smooth | |
| 876 | N40.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 877 | N40.Name = "40" | |
| 878 | N40.CFrame = CFrame.new(8.185, 48.304, 4.3) * CFrame.Angles(-0, 0, -3.0106930732727) | |
| 879 | N40.Locked = true | |
| 880 | N40.BrickColor = BrickColor.new("Black")
| |
| 881 | N40.BottomSurface = Enum.SurfaceType.Smooth | |
| 882 | ||
| 883 | mesh_42.Offset = Vector3.new(0, 0.1, 0) | |
| 884 | mesh_42.Scale = Vector3.new(1, 0.4, 1) | |
| 885 | mesh_42.MeshId = "rbxassetid://9856898" | |
| 886 | mesh_42.TextureId = "rbxassetid://2114473" | |
| 887 | mesh_42.VertexColor = Vector3.new(0, 0, 0) | |
| 888 | mesh_42.MeshType = Enum.MeshType.FileMesh | |
| 889 | ||
| 890 | N41.Anchored = true | |
| 891 | N41.Friction = 0.3 | |
| 892 | N41.CanCollide = false | |
| 893 | N41.TopSurface = Enum.SurfaceType.Smooth | |
| 894 | N41.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 895 | N41.Name = "41" | |
| 896 | N41.CFrame = CFrame.new(8.661, 48.398, 4.3) * CFrame.Angles(-0, 0, -2.8797943592072) | |
| 897 | N41.Locked = true | |
| 898 | N41.BrickColor = BrickColor.new("Black")
| |
| 899 | N41.BottomSurface = Enum.SurfaceType.Smooth | |
| 900 | ||
| 901 | mesh_43.Offset = Vector3.new(0, 0.1, 0) | |
| 902 | mesh_43.Scale = Vector3.new(1, 0.4, 1) | |
| 903 | mesh_43.MeshId = "rbxassetid://9856898" | |
| 904 | mesh_43.TextureId = "rbxassetid://2114473" | |
| 905 | mesh_43.VertexColor = Vector3.new(0, 0, 0) | |
| 906 | mesh_43.MeshType = Enum.MeshType.FileMesh | |
| 907 | ||
| 908 | N42.Anchored = true | |
| 909 | N42.Friction = 0.3 | |
| 910 | N42.CanCollide = false | |
| 911 | N42.TopSurface = Enum.SurfaceType.Smooth | |
| 912 | N42.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 913 | N42.Name = "42" | |
| 914 | N42.CFrame = CFrame.new(9.121, 48.554, 4.3) * CFrame.Angles(-0, 0, -2.748893737793) | |
| 915 | N42.Locked = true | |
| 916 | N42.BrickColor = BrickColor.new("Black")
| |
| 917 | N42.BottomSurface = Enum.SurfaceType.Smooth | |
| 918 | ||
| 919 | mesh_44.Offset = Vector3.new(0, 0.1, 0) | |
| 920 | mesh_44.Scale = Vector3.new(1, 0.4, 1) | |
| 921 | mesh_44.MeshId = "rbxassetid://9856898" | |
| 922 | mesh_44.TextureId = "rbxassetid://2114473" | |
| 923 | mesh_44.VertexColor = Vector3.new(0, 0, 0) | |
| 924 | mesh_44.MeshType = Enum.MeshType.FileMesh | |
| 925 | ||
| 926 | N43.Anchored = true | |
| 927 | N43.Friction = 0.3 | |
| 928 | N43.CanCollide = false | |
| 929 | N43.TopSurface = Enum.SurfaceType.Smooth | |
| 930 | N43.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 931 | N43.Name = "43" | |
| 932 | N43.CFrame = CFrame.new(9.557, 48.769, 4.3) * CFrame.Angles(-0, 0, -2.6179950237274) | |
| 933 | N43.Locked = true | |
| 934 | N43.BrickColor = BrickColor.new("Black")
| |
| 935 | N43.BottomSurface = Enum.SurfaceType.Smooth | |
| 936 | ||
| 937 | mesh_45.Offset = Vector3.new(0, 0.1, 0) | |
| 938 | mesh_45.Scale = Vector3.new(1, 0.4, 1) | |
| 939 | mesh_45.MeshId = "rbxassetid://9856898" | |
| 940 | mesh_45.TextureId = "rbxassetid://2114473" | |
| 941 | mesh_45.VertexColor = Vector3.new(0, 0, 0) | |
| 942 | mesh_45.MeshType = Enum.MeshType.FileMesh | |
| 943 | ||
| 944 | N44.Anchored = true | |
| 945 | N44.Friction = 0.3 | |
| 946 | N44.CanCollide = false | |
| 947 | N44.TopSurface = Enum.SurfaceType.Smooth | |
| 948 | N44.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 949 | N44.Name = "44" | |
| 950 | N44.CFrame = CFrame.new(9.961, 49.039, 4.3) * CFrame.Angles(-0, 0, -2.4870934486389) | |
| 951 | N44.Locked = true | |
| 952 | N44.BrickColor = BrickColor.new("Black")
| |
| 953 | N44.BottomSurface = Enum.SurfaceType.Smooth | |
| 954 | ||
| 955 | mesh_46.Offset = Vector3.new(0, 0.1, 0) | |
| 956 | mesh_46.Scale = Vector3.new(1, 0.4, 1) | |
| 957 | mesh_46.MeshId = "rbxassetid://9856898" | |
| 958 | mesh_46.TextureId = "rbxassetid://2114473" | |
| 959 | mesh_46.VertexColor = Vector3.new(0, 0, 0) | |
| 960 | mesh_46.MeshType = Enum.MeshType.FileMesh | |
| 961 | ||
| 962 | N45.Anchored = true | |
| 963 | N45.Friction = 0.3 | |
| 964 | N45.CanCollide = false | |
| 965 | N45.TopSurface = Enum.SurfaceType.Smooth | |
| 966 | N45.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 967 | N45.Name = "45" | |
| 968 | N45.CFrame = CFrame.new(10.326, 49.36, 4.3) * CFrame.Angles(-0, 0, -2.356193780899) | |
| 969 | N45.Locked = true | |
| 970 | N45.BrickColor = BrickColor.new("Black")
| |
| 971 | N45.BottomSurface = Enum.SurfaceType.Smooth | |
| 972 | ||
| 973 | mesh_47.Offset = Vector3.new(0, 0.1, 0) | |
| 974 | mesh_47.Scale = Vector3.new(1, 0.4, 1) | |
| 975 | mesh_47.MeshId = "rbxassetid://9856898" | |
| 976 | mesh_47.TextureId = "rbxassetid://2114473" | |
| 977 | mesh_47.VertexColor = Vector3.new(0, 0, 0) | |
| 978 | mesh_47.MeshType = Enum.MeshType.FileMesh | |
| 979 | ||
| 980 | N46.Anchored = true | |
| 981 | N46.Friction = 0.3 | |
| 982 | N46.CanCollide = false | |
| 983 | N46.TopSurface = Enum.SurfaceType.Smooth | |
| 984 | N46.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 985 | N46.Name = "46" | |
| 986 | N46.CFrame = CFrame.new(10.647, 49.725, 4.3) * CFrame.Angles(-0, 0, -2.2252955436707) | |
| 987 | N46.Locked = true | |
| 988 | N46.BrickColor = BrickColor.new("Black")
| |
| 989 | N46.BottomSurface = Enum.SurfaceType.Smooth | |
| 990 | ||
| 991 | mesh_48.Offset = Vector3.new(0, 0.1, 0) | |
| 992 | mesh_48.Scale = Vector3.new(1, 0.4, 1) | |
| 993 | mesh_48.MeshId = "rbxassetid://9856898" | |
| 994 | mesh_48.TextureId = "rbxassetid://2114473" | |
| 995 | mesh_48.VertexColor = Vector3.new(0, 0, 0) | |
| 996 | mesh_48.MeshType = Enum.MeshType.FileMesh | |
| 997 | ||
| 998 | N47.Anchored = true | |
| 999 | N47.Friction = 0.3 | |
| 1000 | N47.CanCollide = false | |
| 1001 | N47.TopSurface = Enum.SurfaceType.Smooth | |
| 1002 | N47.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 1003 | N47.Name = "47" | |
| 1004 | N47.CFrame = CFrame.new(7.7, 48.272, 4.3) * CFrame.Angles(-0, 0, -3.1415927410126) | |
| 1005 | N47.Locked = true | |
| 1006 | N47.BrickColor = BrickColor.new("Black")
| |
| 1007 | N47.BottomSurface = Enum.SurfaceType.Smooth | |
| 1008 | ||
| 1009 | mesh_49.Offset = Vector3.new(0, 0.1, 0) | |
| 1010 | mesh_49.Scale = Vector3.new(1, 0.4, 1) | |
| 1011 | mesh_49.MeshId = "rbxassetid://9856898" | |
| 1012 | mesh_49.TextureId = "rbxassetid://2114473" | |
| 1013 | mesh_49.VertexColor = Vector3.new(0, 0, 0) | |
| 1014 | mesh_49.MeshType = Enum.MeshType.FileMesh | |
| 1015 | ||
| 1016 | N5.Anchored = true | |
| 1017 | N5.Friction = 0.3 | |
| 1018 | N5.CanCollide = false | |
| 1019 | N5.TopSurface = Enum.SurfaceType.Smooth | |
| 1020 | N5.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 1021 | N5.Name = "5" | |
| 1022 | N5.CFrame = CFrame.new(11.383, 52.47, 4.3) * CFrame.Angles(-0, 0, -1.4398968219757) | |
| 1023 | N5.Locked = true | |
| 1024 | N5.BrickColor = BrickColor.new("Black")
| |
| 1025 | N5.BottomSurface = Enum.SurfaceType.Smooth | |
| 1026 | ||
| 1027 | mesh_50.Offset = Vector3.new(0, 0.1, 0) | |
| 1028 | mesh_50.Scale = Vector3.new(1, 0.4, 1) | |
| 1029 | mesh_50.MeshId = "rbxassetid://9856898" | |
| 1030 | mesh_50.TextureId = "rbxassetid://2114473" | |
| 1031 | mesh_50.VertexColor = Vector3.new(0, 0, 0) | |
| 1032 | mesh_50.MeshType = Enum.MeshType.FileMesh | |
| 1033 | ||
| 1034 | N6.Anchored = true | |
| 1035 | N6.Friction = 0.3 | |
| 1036 | N6.CanCollide = false | |
| 1037 | N6.TopSurface = Enum.SurfaceType.Smooth | |
| 1038 | N6.Size = Vector3.new(0.5, 0.2, 0.5) | |
| 1039 | N6.Name = "6" | |
| 1040 | N6.CFrame = CFrame.new(11.288, 52.947, 4.3) * CFrame.Angles(-0, 0, -1.3089979887009) | |
| 1041 | N6.Locked = true | |
| 1042 | N6.BrickColor = BrickColor.new("Black")
| |
| 1043 | N6.BottomSurface = Enum.SurfaceType.Smooth | |
| 1044 | ||
| 1045 | mesh_51.Offset = Vector3.new(0, 0.1, 0) | |
| 1046 | mesh_51.Scale = Vector3.new(1, 0.4, 1) | |
| 1047 | mesh_51.MeshId = "rbxassetid://9856898" | |
| 1048 | mesh_51.TextureId = "rbxassetid://2114473" | |
| 1049 | mesh_51.VertexColor = Vector3.new(0, 0, 0) | |
| 1050 | mesh_51.MeshType = Enum.MeshType.FileMesh | |
| 1051 | ||
| 1052 | front.Name = "Front" | |
| 1053 | front.Face = Enum.NormalId.Left | |
| 1054 | front.Texture = "rbxassetid://131394739" | |
| 1055 | ||
| 1056 | back.Name = "Back" | |
| 1057 | back.Face = Enum.NormalId.Right | |
| 1058 | back.Texture = "rbxassetid://131394739" | |
| 1059 | ||
| 1060 | local Soundbar,Locked,Sound,Volume=workspace.KohlAudioVisualizer | |
| 1061 | Sound=Soundbar.Sound | |
| 1062 | Sound.SoundId = "rbxassetid://0" | |
| 1063 | - | Sound.SoundId = "rbxassetid://465560163" |
| 1063 | + | |
| 1064 | ||
| 1065 | local function Chat(plr,msg) | |
| 1066 | if msg:sub(1,6):lower()=='sound/' and (not Locked or plr.Name=='hyped_lollipop') then | |
| 1067 | local id=tonumber(msg:match'%d+') | |
| 1068 | if not id then return end | |
| 1069 | Sound:Stop() | |
| 1070 | Sound.SoundId='rbxassetid://'..msg:match'%d+' | |
| 1071 | Sound:Play() | |
| 1072 | elseif msg:lower()=='lock/' and plr.Name=='epicnoobyguy' then | |
| 1073 | Locked=not Locked | |
| 1074 | end | |
| 1075 | end | |
| 1076 | for i,p in next,game.Players:children() do | |
| 1077 | p.Chatted:connect(function(m) | |
| 1078 | Chat(p,m) | |
| 1079 | end) | |
| 1080 | end | |
| 1081 | game.Players.PlayerAdded:connect(function(p) | |
| 1082 | p.Chatted:connect(function(m) | |
| 1083 | Chat(p,m) | |
| 1084 | end) | |
| 1085 | end) | |
| 1086 | Sound.Playing = true | |
| 1087 | ||
| 1088 | local bloom = Instance.new("BloomEffect", game.Lighting)
| |
| 1089 | ||
| 1090 | bloom.Threshold = 0.85 | |
| 1091 | bloom.Intensity = 0.4 | |
| 1092 | bloom.Size = 15 | |
| 1093 | ||
| 1094 | local Height=8 -- Max height of the bars | |
| 1095 | local plr=game.Players.LocalPlayer | |
| 1096 | local Soundbar=workspace.KohlAudioVisualizer | |
| 1097 | local Sound=Soundbar.Sound | |
| 1098 | local Bars={} for i,v in next,Soundbar:children() do
| |
| 1099 | if v:IsA'BasePart' then | |
| 1100 | table.insert(Bars,v) | |
| 1101 | end | |
| 1102 | end Height=Height*2 | |
| 1103 | local nBars,Tweens=#Bars-1,{}
| |
| 1104 | ||
| 1105 | -- EASING FUNCTIONS -- | |
| 1106 | local function quadIn(t,b,c,d) t=t/d; return c*t*t+b; end; | |
| 1107 | local function quadOut(t,b,c,d) t=t/d; return -c*t*(t-2)+b; end; | |
| 1108 | local function Quad(obj,val,ease,d) | |
| 1109 | local t,f,con,nt,st,sd=tick() | |
| 1110 | Tweens[obj]=t -- Set identifier | |
| 1111 | st=obj.Scale.Y -- Start Value | |
| 1112 | sd=val-st -- Change in Value | |
| 1113 | f=ease=='In' and quadIn or quadOut -- Choose between Out/In | |
| 1114 | con=game:GetService'RunService'.RenderStepped:connect(function() nt=tick()-t | |
| 1115 | if Tweens[obj]~=t then -- Check for override | |
| 1116 | con:disconnect() | |
| 1117 | return | |
| 1118 | end | |
| 1119 | local nv=math.max(.2,f(math.min(d,nt),st,sd,d)) -- New Value | |
| 1120 | Soundbar.PointLight.Color=Color3.new(255/255,0/255,0/255):lerp(Color3.new(255/255,0/255,0/255),nv/Height) | |
| 1121 | Soundbar.PointLight.Brightness=nv | |
| 1122 | Soundbar.ParticleEmitter.Acceleration=Vector3.new(0,nv/2.5,0) | |
| 1123 | Soundbar.ParticleEmitter.Speed=NumberRange.new(nv) | |
| 1124 | Soundbar.ParticleEmitter.Rate=nv*25 | |
| 1125 | Soundbar.Mesh.Scale=Vector3.new(1,1,1):lerp(Vector3.new(1.05,1.05,1.05),nv/Height) | |
| 1126 | Soundbar.Parts.Bar.Rotation=Soundbar.Parts.Bar.Rotation+Vector3.new(0,0,nv/75) | |
| 1127 | obj.Offset=Vector3.new(0,nv/4,0) | |
| 1128 | obj.Scale=Vector3.new(1,nv,1):lerp(Vector3.new(1,nv,1),nv/Height) | |
| 1129 | game.Lighting.Bloom.Intensity=nv/6 | |
| 1130 | game.Lighting.FogColor=Color3.new(255/255,0/255,0/255):lerp(Color3.new(200/255,0/255,0/255),nv/Height) | |
| 1131 | obj.VertexColor=Vector3.new(0,0,0):lerp(Vector3.new(0,0,0),nv/Height) | |
| 1132 | if nt>d then -- Easing done? | |
| 1133 | con:disconnect() | |
| 1134 | if ease~='In' then | |
| 1135 | Quad(obj,.2,'Out',.3) -- Drop the bar | |
| 1136 | end | |
| 1137 | end | |
| 1138 | end) | |
| 1139 | end | |
| 1140 | ||
| 1141 | -- BAR MANIPULATION -- | |
| 1142 | local function CheckSet(N,S,D) -- Number, Scale, Direction | |
| 1143 | local nS=Soundbar[tostring(N)].Mesh.Scale.Y | |
| 1144 | if S>nS then | |
| 1145 | Set(N,nS+(S-nS)/3,D) | |
| 1146 | end | |
| 1147 | end | |
| 1148 | ||
| 1149 | function Set(N,S,D) -- Number, Scale, Direction | |
| 1150 | Quad(Soundbar[tostring(N)].Mesh,S,'Out',.1) -- Grabs the bar and tweens | |
| 1151 | if N>0 and D~=1 then -- Checks left for smaller bars to manipulate | |
| 1152 | CheckSet(N-1,S,-1) | |
| 1153 | end | |
| 1154 | if N<nBars and D~=-1 then -- Checks right... | |
| 1155 | CheckSet(N+1,S,1) | |
| 1156 | end | |
| 1157 | end | |
| 1158 | ||
| 1159 | -- RENDER LOOP -- | |
| 1160 | local MPL,PL,curr=0 curr=Sound.SoundId | |
| 1161 | game:service'RunService'.RenderStepped:connect(function() | |
| 1162 | PL=Sound.PlaybackLoudness | |
| 1163 | if Sound.IsPlaying and PL==PL then -- Sound is playing & PlaybackLoudness is not undefined | |
| 1164 | if curr~=Sound.SoundId then MPL=0 -- Reset the relative Max PlaybackLoudness on song change | |
| 1165 | curr=Sound.SoundId | |
| 1166 | end | |
| 1167 | MPL=math.max(PL,MPL) PL=PL/MPL -- Normalize PL based on relative Max PlaybackLoudness | |
| 1168 | if PL==PL then | |
| 1169 | Set(math.floor(PL*nBars),PL*Height) -- Modify bar relative to PlaybackLoudness | |
| 1170 | end | |
| 1171 | end | |
| 1172 | end) |