Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"))
- Tool0 = Instance.new("Tool")
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- Part3 = Instance.new("Part")
- CylinderMesh4 = Instance.new("CylinderMesh")
- Part5 = Instance.new("Part")
- BlockMesh6 = Instance.new("BlockMesh")
- Part7 = Instance.new("Part")
- BlockMesh8 = Instance.new("BlockMesh")
- Part9 = Instance.new("Part")
- SpecialMesh10 = Instance.new("SpecialMesh")
- Part11 = Instance.new("Part")
- BlockMesh12 = Instance.new("BlockMesh")
- Part13 = Instance.new("Part")
- SpecialMesh14 = Instance.new("SpecialMesh")
- Part15 = Instance.new("Part")
- SpecialMesh16 = Instance.new("SpecialMesh")
- Part17 = Instance.new("Part")
- BlockMesh18 = Instance.new("BlockMesh")
- Part19 = Instance.new("Part")
- CylinderMesh20 = Instance.new("CylinderMesh")
- Part21 = Instance.new("Part")
- BlockMesh22 = Instance.new("BlockMesh")
- Part23 = Instance.new("Part")
- CylinderMesh24 = Instance.new("CylinderMesh")
- Part25 = Instance.new("Part")
- BlockMesh26 = Instance.new("BlockMesh")
- Part27 = Instance.new("Part")
- CylinderMesh28 = Instance.new("CylinderMesh")
- Part29 = Instance.new("Part")
- SpecialMesh30 = Instance.new("SpecialMesh")
- Part31 = Instance.new("Part")
- BlockMesh32 = Instance.new("BlockMesh")
- Part33 = Instance.new("Part")
- CylinderMesh34 = Instance.new("CylinderMesh")
- Part35 = Instance.new("Part")
- BlockMesh36 = Instance.new("BlockMesh")
- Part37 = Instance.new("Part")
- SpecialMesh38 = Instance.new("SpecialMesh")
- Part39 = Instance.new("Part")
- BlockMesh40 = Instance.new("BlockMesh")
- Part41 = Instance.new("Part")
- SpecialMesh42 = Instance.new("SpecialMesh")
- Part43 = Instance.new("Part")
- CylinderMesh44 = Instance.new("CylinderMesh")
- Decal45 = Instance.new("Decal")
- BillboardGui46 = Instance.new("BillboardGui")
- Script47 = Instance.new("Script")
- ImageLabel48 = Instance.new("ImageLabel")
- Part49 = Instance.new("Part")
- BlockMesh50 = Instance.new("BlockMesh")
- Part51 = Instance.new("Part")
- SpecialMesh52 = Instance.new("SpecialMesh")
- Part53 = Instance.new("Part")
- BlockMesh54 = Instance.new("BlockMesh")
- Part55 = Instance.new("Part")
- SpecialMesh56 = Instance.new("SpecialMesh")
- Part57 = Instance.new("Part")
- CylinderMesh58 = Instance.new("CylinderMesh")
- Part59 = Instance.new("Part")
- CylinderMesh60 = Instance.new("CylinderMesh")
- Part61 = Instance.new("Part")
- SpecialMesh62 = Instance.new("SpecialMesh")
- Part63 = Instance.new("Part")
- SpecialMesh64 = Instance.new("SpecialMesh")
- Part65 = Instance.new("Part")
- BlockMesh66 = Instance.new("BlockMesh")
- Part67 = Instance.new("Part")
- BlockMesh68 = Instance.new("BlockMesh")
- Part69 = Instance.new("Part")
- SpecialMesh70 = Instance.new("SpecialMesh")
- Part71 = Instance.new("Part")
- BlockMesh72 = Instance.new("BlockMesh")
- Part73 = Instance.new("Part")
- SpecialMesh74 = Instance.new("SpecialMesh")
- Part75 = Instance.new("Part")
- CylinderMesh76 = Instance.new("CylinderMesh")
- Part77 = Instance.new("Part")
- CylinderMesh78 = Instance.new("CylinderMesh")
- Part79 = Instance.new("Part")
- SpecialMesh80 = Instance.new("SpecialMesh")
- Part81 = Instance.new("Part")
- BlockMesh82 = Instance.new("BlockMesh")
- Part83 = Instance.new("Part")
- BlockMesh84 = Instance.new("BlockMesh")
- Part85 = Instance.new("Part")
- SpecialMesh86 = Instance.new("SpecialMesh")
- Part87 = Instance.new("Part")
- CylinderMesh88 = Instance.new("CylinderMesh")
- Part89 = Instance.new("Part")
- SpecialMesh90 = Instance.new("SpecialMesh")
- Part91 = Instance.new("Part")
- BlockMesh92 = Instance.new("BlockMesh")
- Part93 = Instance.new("Part")
- CylinderMesh94 = Instance.new("CylinderMesh")
- Part95 = Instance.new("Part")
- SpecialMesh96 = Instance.new("SpecialMesh")
- Part97 = Instance.new("Part")
- BlockMesh98 = Instance.new("BlockMesh")
- BoolValue99 = Instance.new("BoolValue")
- IntValue100 = Instance.new("IntValue")
- IntValue101 = Instance.new("IntValue")
- Script102 = Instance.new("Script")
- Script103 = Instance.new("Script")
- LocalScript104 = Instance.new("LocalScript")
- LocalScript105 = Instance.new("LocalScript")
- LocalScript106 = Instance.new("LocalScript")
- ScreenGui107 = Instance.new("ScreenGui")
- Frame108 = Instance.new("Frame")
- Frame109 = Instance.new("Frame")
- Frame110 = Instance.new("Frame")
- Frame111 = Instance.new("Frame")
- TextButton112 = Instance.new("TextButton")
- TextButton113 = Instance.new("TextButton")
- LocalScript114 = Instance.new("LocalScript")
- LocalScript115 = Instance.new("LocalScript")
- Sound116 = Instance.new("Sound")
- Sound117 = Instance.new("Sound")
- Tool0.Name = "1911"
- Tool0.Parent = mas
- Part1.Parent = Tool0
- Part1.Material = Enum.Material.SmoothPlastic
- Part1.BrickColor = BrickColor.new("Black")
- Part1.Rotation = Vector3.new(-90, 0, -180)
- Part1.CanCollide = false
- Part1.Size = Vector3.new(1, 1.20000005, 1)
- Part1.CFrame = CFrame.new(0.410000026, 17.4000015, 22.460001, -1, 0, 0, 0, 0, 1, 0, 1, -0)
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.TopSurface = Enum.SurfaceType.Smooth
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part1.Position = Vector3.new(0.410000026, 17.4000015, 22.460001)
- Part1.Orientation = Vector3.new(-90, -180, 0)
- Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh2.Parent = Part1
- SpecialMesh2.Scale = Vector3.new(0.088888891, 0.0222222228, 0.0222222228)
- SpecialMesh2.MeshType = Enum.MeshType.Wedge
- SpecialMesh2.Scale = Vector3.new(0.088888891, 0.0222222228, 0.0222222228)
- Part3.Parent = Tool0
- Part3.Material = Enum.Material.SmoothPlastic
- Part3.BrickColor = BrickColor.new("Black")
- Part3.Rotation = Vector3.new(169.649994, 0, 90)
- Part3.CanCollide = false
- Part3.FormFactor = Enum.FormFactor.Plate
- Part3.Size = Vector3.new(1, 0.400000006, 1)
- Part3.CFrame = CFrame.new(0.337000012, 17.0910015, 22.7990017, -7.64189608e-05, -1, 3.88694352e-05, -0.983727336, 6.81918464e-05, -0.179667696, 0.179667681, -5.19669447e-05, -0.983727336)
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part3.Position = Vector3.new(0.337000012, 17.0910015, 22.7990017)
- Part3.Orientation = Vector3.new(10.3499994, 180, -90)
- Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh4.Parent = Part3
- CylinderMesh4.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh4.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- CylinderMesh4.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- Part5.Parent = Tool0
- Part5.Material = Enum.Material.SmoothPlastic
- Part5.CanCollide = false
- Part5.Size = Vector3.new(1, 1.20000005, 1)
- Part5.CFrame = CFrame.new(0.410000026, 17.3270016, 22.5910015, 1, 3.05342728e-05, -8.61165972e-05, -3.05316462e-05, 1, 3.05028461e-05, 8.61175286e-05, -3.05002159e-05, 1)
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.Position = Vector3.new(0.410000026, 17.3270016, 22.5910015)
- BlockMesh6.Parent = Part5
- BlockMesh6.Offset = Vector3.new(0, 0.0444444455, 0)
- BlockMesh6.Scale = Vector3.new(0.0444444455, 0.13333334, 0.0399999991)
- BlockMesh6.Scale = Vector3.new(0.0444444455, 0.13333334, 0.0399999991)
- Part7.Parent = Tool0
- Part7.Material = Enum.Material.SmoothPlastic
- Part7.BrickColor = BrickColor.new("Black")
- Part7.Rotation = Vector3.new(90, 0, 180)
- Part7.CanCollide = false
- Part7.Size = Vector3.new(1, 1.20000005, 1)
- Part7.CFrame = CFrame.new(0.410000026, 17.3620014, 22.4340019, -1, -5.43565875e-06, -1.56287498e-08, 1.56288404e-08, -1.62980616e-08, -1, 5.43565875e-06, -1, 1.62981468e-08)
- Part7.BottomSurface = Enum.SurfaceType.Smooth
- Part7.TopSurface = Enum.SurfaceType.Smooth
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part7.Position = Vector3.new(0.410000026, 17.3620014, 22.4340019)
- Part7.Orientation = Vector3.new(90, -180, 0)
- Part7.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh8.Parent = Part7
- BlockMesh8.Scale = Vector3.new(0.088888891, 0.0222222228, 0.13333334)
- BlockMesh8.Scale = Vector3.new(0.088888891, 0.0222222228, 0.13333334)
- Part9.Parent = Tool0
- Part9.Material = Enum.Material.SmoothPlastic
- Part9.Rotation = Vector3.new(90, 0, 180)
- Part9.CanCollide = false
- Part9.Size = Vector3.new(1, 1.20000005, 1)
- Part9.CFrame = CFrame.new(0.410000026, 17.3220005, 22.5580006, -1, -5.43565875e-06, -1.56287498e-08, 1.56288404e-08, -1.62980616e-08, -1, 5.43565875e-06, -1, 1.62981468e-08)
- Part9.BottomSurface = Enum.SurfaceType.Smooth
- Part9.TopSurface = Enum.SurfaceType.Smooth
- Part9.Position = Vector3.new(0.410000026, 17.3220005, 22.5580006)
- Part9.Orientation = Vector3.new(90, -180, 0)
- SpecialMesh10.Parent = Part9
- SpecialMesh10.Scale = Vector3.new(0.0444444455, 0.0222222228, 0.0444444455)
- SpecialMesh10.MeshType = Enum.MeshType.Wedge
- SpecialMesh10.Scale = Vector3.new(0.0444444455, 0.0222222228, 0.0444444455)
- Part11.Parent = Tool0
- Part11.Material = Enum.Material.SmoothPlastic
- Part11.BrickColor = BrickColor.new("Black")
- Part11.CanCollide = false
- Part11.Size = Vector3.new(1, 1.20000005, 1)
- Part11.CFrame = CFrame.new(0.410000026, 17.3260002, 22.6130009, 1, 3.05342728e-05, -8.61165972e-05, -3.05316462e-05, 1, 3.05028461e-05, 8.61175286e-05, -3.05002159e-05, 1)
- Part11.BottomSurface = Enum.SurfaceType.Smooth
- Part11.TopSurface = Enum.SurfaceType.Smooth
- Part11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part11.Position = Vector3.new(0.410000026, 17.3260002, 22.6130009)
- Part11.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh12.Parent = Part11
- BlockMesh12.Offset = Vector3.new(0, 0.0444444455, 0)
- BlockMesh12.Scale = Vector3.new(0.088888891, 0.13333334, 0.0488888882)
- BlockMesh12.Scale = Vector3.new(0.088888891, 0.13333334, 0.0488888882)
- Part13.Parent = Tool0
- Part13.Material = Enum.Material.SmoothPlastic
- Part13.BrickColor = BrickColor.new("Black")
- Part13.Rotation = Vector3.new(-90, 0, -180)
- Part13.CanCollide = false
- Part13.FormFactor = Enum.FormFactor.Plate
- Part13.Size = Vector3.new(1, 0.400000006, 1)
- Part13.CFrame = CFrame.new(0.410000026, 17.3780003, 22.9140015, -1, 5.43565875e-06, 1.56287498e-08, 1.56288404e-08, 1.62980616e-08, 1, 5.43565875e-06, 1, -1.62981468e-08)
- Part13.BottomSurface = Enum.SurfaceType.Smooth
- Part13.TopSurface = Enum.SurfaceType.Smooth
- Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part13.Position = Vector3.new(0.410000026, 17.3780003, 22.9140015)
- Part13.Orientation = Vector3.new(-90, -180, 0)
- Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh14.Parent = Part13
- SpecialMesh14.Scale = Vector3.new(0.13333334, 0.25777778, 0.155555561)
- SpecialMesh14.MeshType = Enum.MeshType.Wedge
- SpecialMesh14.Scale = Vector3.new(0.13333334, 0.25777778, 0.155555561)
- Part15.Parent = Tool0
- Part15.Material = Enum.Material.SmoothPlastic
- Part15.BrickColor = BrickColor.new("Black")
- Part15.Rotation = Vector3.new(-90, 0, 0)
- Part15.CanCollide = false
- Part15.Size = Vector3.new(1, 1.20000005, 1)
- Part15.CFrame = CFrame.new(0.410000026, 17.4000015, 22.4070015, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part15.BottomSurface = Enum.SurfaceType.Smooth
- Part15.TopSurface = Enum.SurfaceType.Smooth
- Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part15.Position = Vector3.new(0.410000026, 17.4000015, 22.4070015)
- Part15.Orientation = Vector3.new(-90, 0, 0)
- Part15.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh16.Parent = Part15
- SpecialMesh16.Scale = Vector3.new(0.088888891, 0.0222222228, 0.0222222228)
- SpecialMesh16.MeshType = Enum.MeshType.Wedge
- SpecialMesh16.Scale = Vector3.new(0.088888891, 0.0222222228, 0.0222222228)
- Part17.Parent = Tool0
- Part17.Material = Enum.Material.SmoothPlastic
- Part17.BrickColor = BrickColor.new("Black")
- Part17.Rotation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part17.CanCollide = false
- Part17.Size = Vector3.new(1, 1.20000005, 1)
- Part17.CFrame = CFrame.new(0.41200003, 17.3060017, 22.7590008, 0.99999994, -0.000393312075, -6.08367445e-05, 0.000397841708, 0.983718395, 0.179716244, -1.0838342e-05, -0.179716244, 0.983718514)
- Part17.BottomSurface = Enum.SurfaceType.Smooth
- Part17.TopSurface = Enum.SurfaceType.Smooth
- Part17.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part17.Position = Vector3.new(0.41200003, 17.3060017, 22.7590008)
- Part17.Orientation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part17.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh18.Parent = Part17
- BlockMesh18.Offset = Vector3.new(-0.00222222228, 0, 0)
- BlockMesh18.Scale = Vector3.new(0.13333334, 0.4911111, 0.244444445)
- BlockMesh18.Scale = Vector3.new(0.13333334, 0.4911111, 0.244444445)
- Part19.Parent = Tool0
- Part19.Material = Enum.Material.SmoothPlastic
- Part19.BrickColor = BrickColor.new("Black")
- Part19.Rotation = Vector3.new(169.649994, 0, 90)
- Part19.CanCollide = false
- Part19.FormFactor = Enum.FormFactor.Plate
- Part19.Size = Vector3.new(1, 0.400000006, 1)
- Part19.CFrame = CFrame.new(0.488000035, 17.3980007, 22.7430019, -7.64189608e-05, -1, 3.88694352e-05, -0.983727336, 6.81918464e-05, -0.179667696, 0.179667681, -5.19669447e-05, -0.983727336)
- Part19.BottomSurface = Enum.SurfaceType.Smooth
- Part19.TopSurface = Enum.SurfaceType.Smooth
- Part19.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part19.Position = Vector3.new(0.488000035, 17.3980007, 22.7430019)
- Part19.Orientation = Vector3.new(10.3499994, 180, -90)
- Part19.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh20.Parent = Part19
- CylinderMesh20.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh20.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- CylinderMesh20.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- Part21.Parent = Tool0
- Part21.Material = Enum.Material.SmoothPlastic
- Part21.BrickColor = BrickColor.new("Black")
- Part21.CanCollide = false
- Part21.Size = Vector3.new(1, 1.20000005, 1)
- Part21.CFrame = CFrame.new(0.410000026, 17.2870007, 22.5700016, 1, 3.05342728e-05, -8.61165972e-05, -3.05316462e-05, 1, 3.05028461e-05, 8.61175286e-05, -3.05002159e-05, 1)
- Part21.BottomSurface = Enum.SurfaceType.Smooth
- Part21.TopSurface = Enum.SurfaceType.Smooth
- Part21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part21.Position = Vector3.new(0.410000026, 17.2870007, 22.5700016)
- Part21.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh22.Parent = Part21
- BlockMesh22.Scale = Vector3.new(0.088888891, 0.0222222228, 0.244444445)
- BlockMesh22.Scale = Vector3.new(0.088888891, 0.0222222228, 0.244444445)
- Part23.Parent = Tool0
- Part23.Material = Enum.Material.SmoothPlastic
- Part23.BrickColor = BrickColor.new("Black")
- Part23.Rotation = Vector3.new(-180, 0, 90)
- Part23.CanCollide = false
- Part23.FormFactor = Enum.FormFactor.Plate
- Part23.Size = Vector3.new(1, 0.400000006, 1)
- Part23.CFrame = CFrame.new(0.356000006, 17.3220005, 22.6130009, 1.56289275e-08, -1, -5.43565875e-06, -1, -1.56290181e-08, 1.62982392e-08, -1.62983245e-08, 5.43565875e-06, -1)
- Part23.BottomSurface = Enum.SurfaceType.Smooth
- Part23.TopSurface = Enum.SurfaceType.Smooth
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part23.Position = Vector3.new(0.356000006, 17.3220005, 22.6130009)
- Part23.Orientation = Vector3.new(0, -180, -90)
- Part23.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh24.Parent = Part23
- CylinderMesh24.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh24.Scale = Vector3.new(0.088888891, 0.0444444455, 0.0444444455)
- CylinderMesh24.Scale = Vector3.new(0.088888891, 0.0444444455, 0.0444444455)
- Part25.Parent = Tool0
- Part25.Material = Enum.Material.Wood
- Part25.BrickColor = BrickColor.new("Reddish brown")
- Part25.Rotation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part25.CanCollide = false
- Part25.Size = Vector3.new(1, 1.20000005, 1)
- Part25.CFrame = CFrame.new(0.545000017, 17.25, 22.7680016, 0.99999994, -0.000398818927, -5.11921172e-08, 0.000392334769, 0.983718395, 0.179716274, -7.16238937e-05, -0.179716244, 0.983718514)
- Part25.BottomSurface = Enum.SurfaceType.Smooth
- Part25.TopSurface = Enum.SurfaceType.Smooth
- Part25.Color = Color3.new(0.411765, 0.25098, 0.156863)
- Part25.Position = Vector3.new(0.545000017, 17.25, 22.7680016)
- Part25.Orientation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part25.Color = Color3.new(0.411765, 0.25098, 0.156863)
- BlockMesh26.Parent = Part25
- BlockMesh26.Offset = Vector3.new(-0.13555555, 0, 0)
- BlockMesh26.Scale = Vector3.new(0.160000011, 0.340000004, 0.222222224)
- BlockMesh26.Scale = Vector3.new(0.160000011, 0.340000004, 0.222222224)
- Part27.Parent = Tool0
- Part27.Material = Enum.Material.SmoothPlastic
- Part27.BrickColor = BrickColor.new("Black")
- Part27.Rotation = Vector3.new(169.649994, 0, 89.9700012)
- Part27.CanCollide = false
- Part27.FormFactor = Enum.FormFactor.Plate
- Part27.Size = Vector3.new(1, 0.400000006, 1)
- Part27.CFrame = CFrame.new(0.337000012, 17.3980007, 22.7430019, 0.000439326192, -0.999999881, 4.33244131e-05, -0.983719587, -0.000439959578, -0.179709956, 0.179709971, 3.63322142e-05, -0.983719647)
- Part27.BottomSurface = Enum.SurfaceType.Smooth
- Part27.TopSurface = Enum.SurfaceType.Smooth
- Part27.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part27.Position = Vector3.new(0.337000012, 17.3980007, 22.7430019)
- Part27.Orientation = Vector3.new(10.3499994, 180, -90.0299988)
- Part27.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh28.Parent = Part27
- CylinderMesh28.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh28.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- CylinderMesh28.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- Part29.Parent = Tool0
- Part29.Material = Enum.Material.SmoothPlastic
- Part29.Rotation = Vector3.new(-90, 0, 0)
- Part29.CanCollide = false
- Part29.Size = Vector3.new(1, 1.20000005, 1)
- Part29.CFrame = CFrame.new(0.410000026, 17.3910007, 22.5580006, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part29.BottomSurface = Enum.SurfaceType.Smooth
- Part29.TopSurface = Enum.SurfaceType.Smooth
- Part29.Position = Vector3.new(0.410000026, 17.3910007, 22.5580006)
- Part29.Orientation = Vector3.new(-90, 0, 0)
- SpecialMesh30.Parent = Part29
- SpecialMesh30.Scale = Vector3.new(0.0444444455, 0.0222222228, 0.0444444455)
- SpecialMesh30.MeshType = Enum.MeshType.Wedge
- SpecialMesh30.Scale = Vector3.new(0.0444444455, 0.0222222228, 0.0444444455)
- Part31.Parent = Tool0
- Part31.Material = Enum.Material.SmoothPlastic
- Part31.BrickColor = BrickColor.new("Black")
- Part31.CanCollide = false
- Part31.Size = Vector3.new(1, 1.20000005, 1)
- Part31.CFrame = CFrame.new(0.410000026, 17.7130013, 22.8130016, 1, 3.05342728e-05, -8.61165972e-05, -3.05316462e-05, 1, 3.05028461e-05, 8.61175286e-05, -3.05002159e-05, 1)
- Part31.BottomSurface = Enum.SurfaceType.Smooth
- Part31.TopSurface = Enum.SurfaceType.Smooth
- Part31.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part31.Position = Vector3.new(0.410000026, 17.7130013, 22.8130016)
- Part31.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh32.Parent = Part31
- BlockMesh32.Offset = Vector3.new(0, -0.0666666701, 0)
- BlockMesh32.Scale = Vector3.new(0.088888891, 0.0444444455, 0.0933333263)
- BlockMesh32.Scale = Vector3.new(0.088888891, 0.0444444455, 0.0933333263)
- Part33.Parent = Tool0
- Part33.Material = Enum.Material.SmoothPlastic
- Part33.Rotation = Vector3.new(-90, 0, 0)
- Part33.CanCollide = false
- Part33.FormFactor = Enum.FormFactor.Plate
- Part33.Size = Vector3.new(1, 0.400000006, 1)
- Part33.CFrame = CFrame.new(0.410000026, 17.7390003, 22.5310001, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part33.BottomSurface = Enum.SurfaceType.Smooth
- Part33.TopSurface = Enum.SurfaceType.Smooth
- Part33.Position = Vector3.new(0.410000026, 17.7390003, 22.5310001)
- Part33.Orientation = Vector3.new(-90, 0, 0)
- CylinderMesh34.Parent = Part33
- CylinderMesh34.Offset = Vector3.new(0.00222222228, 0, -0.131111115)
- CylinderMesh34.Scale = Vector3.new(0.13333334, 0.444444448, 0.13333334)
- CylinderMesh34.Scale = Vector3.new(0.13333334, 0.444444448, 0.13333334)
- Part35.Parent = Tool0
- Part35.Material = Enum.Material.SmoothPlastic
- Part35.BrickColor = BrickColor.new("Black")
- Part35.CanCollide = false
- Part35.Size = Vector3.new(1, 1.20000005, 1)
- Part35.CFrame = CFrame.new(0.443000019, 17.6860008, 22.8360004, 1, 1.56289275e-08, 5.43565875e-06, -1.56288404e-08, 1, -1.62982392e-08, -5.43565875e-06, 1.62981539e-08, 1)
- Part35.BottomSurface = Enum.SurfaceType.Smooth
- Part35.TopSurface = Enum.SurfaceType.Smooth
- Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part35.Position = Vector3.new(0.443000019, 17.6860008, 22.8360004)
- Part35.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh36.Parent = Part35
- BlockMesh36.Scale = Vector3.new(0.0222222228, 0.0228888895, 0.0444444455)
- BlockMesh36.Scale = Vector3.new(0.0222222228, 0.0228888895, 0.0444444455)
- Part37.Parent = Tool0
- Part37.Material = Enum.Material.SmoothPlastic
- Part37.BrickColor = BrickColor.new("Black")
- Part37.CanCollide = false
- Part37.FormFactor = Enum.FormFactor.Plate
- Part37.Size = Vector3.new(1, 0.400000006, 1)
- Part37.CFrame = CFrame.new(0.443000019, 17.6860008, 22.7910004, 1, 1.56289275e-08, 5.43565875e-06, -1.56288404e-08, 1, -1.62982392e-08, -5.43565875e-06, 1.62981539e-08, 1)
- Part37.BottomSurface = Enum.SurfaceType.Smooth
- Part37.TopSurface = Enum.SurfaceType.Smooth
- Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part37.Position = Vector3.new(0.443000019, 17.6860008, 22.7910004)
- Part37.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh38.Parent = Part37
- SpecialMesh38.Scale = Vector3.new(0.0222222228, 0.0693333298, 0.0444444455)
- SpecialMesh38.MeshType = Enum.MeshType.Wedge
- SpecialMesh38.Scale = Vector3.new(0.0222222228, 0.0693333298, 0.0444444455)
- Part39.Parent = Tool0
- Part39.Material = Enum.Material.SmoothPlastic
- Part39.BrickColor = BrickColor.new("Black")
- Part39.Rotation = Vector3.new(10.3499994, 0, -0.0299999993)
- Part39.CanCollide = false
- Part39.Size = Vector3.new(1, 1.20000005, 1)
- Part39.CFrame = CFrame.new(0.41200003, 17.6040001, 22.9070015, 0.999999881, 0.000454128836, -6.63347018e-05, -0.000458657363, 0.983729482, -0.179655612, -1.6331398e-05, 0.179655612, 0.983729541)
- Part39.BottomSurface = Enum.SurfaceType.Smooth
- Part39.TopSurface = Enum.SurfaceType.Smooth
- Part39.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part39.Position = Vector3.new(0.41200003, 17.6040001, 22.9070015)
- Part39.Orientation = Vector3.new(10.3499994, 0, -0.0299999993)
- Part39.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh40.Parent = Part39
- BlockMesh40.Offset = Vector3.new(-0.00222222228, -0.088888891, 0)
- BlockMesh40.Scale = Vector3.new(0.0444444455, 0.177777782, 0.0444444455)
- BlockMesh40.Scale = Vector3.new(0.0444444455, 0.177777782, 0.0444444455)
- Part41.Parent = Tool0
- Part41.Material = Enum.Material.SmoothPlastic
- Part41.BrickColor = BrickColor.new("Black")
- Part41.Rotation = Vector3.new(-169.649994, 0, 0)
- Part41.CanCollide = false
- Part41.FormFactor = Enum.FormFactor.Plate
- Part41.Size = Vector3.new(1, 0.400000006, 1)
- Part41.CFrame = CFrame.new(0.410000026, 17.6020012, 22.9400005, 1, 3.76589524e-05, 8.3084371e-05, 2.21202517e-05, -0.983730733, 0.179648966, 8.84980473e-05, -0.179648951, -0.983730793)
- Part41.BottomSurface = Enum.SurfaceType.Smooth
- Part41.TopSurface = Enum.SurfaceType.Smooth
- Part41.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part41.Position = Vector3.new(0.410000026, 17.6020012, 22.9400005)
- Part41.Orientation = Vector3.new(-10.3499994, 180, 180)
- Part41.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh42.Parent = Part41
- SpecialMesh42.Scale = Vector3.new(0.0444444455, 0.0693333298, 0.0444444455)
- SpecialMesh42.MeshType = Enum.MeshType.Wedge
- SpecialMesh42.Scale = Vector3.new(0.0444444455, 0.0693333298, 0.0444444455)
- Part43.Name = "Barrel"
- Part43.Parent = Tool0
- Part43.Material = Enum.Material.SmoothPlastic
- Part43.BrickColor = BrickColor.new("Dark stone grey")
- Part43.Rotation = Vector3.new(-90, 0, 0)
- Part43.CanCollide = false
- Part43.FormFactor = Enum.FormFactor.Plate
- Part43.Size = Vector3.new(1, 0.400000006, 1)
- Part43.CFrame = CFrame.new(0.410000026, 17.6040001, 21.9450016, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part43.BottomSurface = Enum.SurfaceType.Smooth
- Part43.TopSurface = Enum.SurfaceType.Smooth
- Part43.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part43.Position = Vector3.new(0.410000026, 17.6040001, 21.9450016)
- Part43.Orientation = Vector3.new(-90, 0, 0)
- Part43.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh44.Parent = Part43
- CylinderMesh44.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh44.Scale = Vector3.new(0.355555564, 0.0444444455, 0.088888891)
- CylinderMesh44.Scale = Vector3.new(0.355555564, 0.0444444455, 0.088888891)
- Decal45.Parent = Part43
- Decal45.Texture = "http://www.roblox.com/asset/?id=83592305"
- Decal45.Face = Enum.NormalId.Top
- BillboardGui46.Name = "Light"
- BillboardGui46.Parent = Part43
- BillboardGui46.Size = UDim2.new(2, 0, 2, 0)
- BillboardGui46.Active = true
- Script47.Parent = BillboardGui46
- table.insert(cors,sandbox(Script47,function()
- script.Parent.Adornee = script.Parent.Parent
- end))
- ImageLabel48.Name = "Light"
- ImageLabel48.Parent = BillboardGui46
- ImageLabel48.Transparency = 1
- ImageLabel48.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel48.Visible = false
- ImageLabel48.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
- ImageLabel48.BackgroundTransparency = 1
- ImageLabel48.Image = "http://www.roblox.com/asset/?id=72945970"
- Part49.Parent = Tool0
- Part49.Material = Enum.Material.SmoothPlastic
- Part49.BrickColor = BrickColor.new("Black")
- Part49.CanCollide = false
- Part49.Size = Vector3.new(1, 1.20000005, 1)
- Part49.CFrame = CFrame.new(0.376000017, 17.6860008, 22.8360004, 1, 1.56289275e-08, 5.43565875e-06, -1.56288404e-08, 1, -1.62982392e-08, -5.43565875e-06, 1.62981539e-08, 1)
- Part49.BottomSurface = Enum.SurfaceType.Smooth
- Part49.TopSurface = Enum.SurfaceType.Smooth
- Part49.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part49.Position = Vector3.new(0.376000017, 17.6860008, 22.8360004)
- Part49.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh50.Parent = Part49
- BlockMesh50.Scale = Vector3.new(0.0222222228, 0.0228888895, 0.0444444455)
- BlockMesh50.Scale = Vector3.new(0.0222222228, 0.0228888895, 0.0444444455)
- Part51.Parent = Tool0
- Part51.Material = Enum.Material.SmoothPlastic
- Part51.BrickColor = BrickColor.new("Black")
- Part51.Rotation = Vector3.new(-90, 0, 90)
- Part51.CanCollide = false
- Part51.FormFactor = Enum.FormFactor.Plate
- Part51.Size = Vector3.new(1, 0.400000006, 1)
- Part51.CFrame = CFrame.new(0.357000023, 17.5380001, 22.0360012, 5.43565875e-06, -1, 1.56287534e-08, -1.62982321e-08, 1.56286628e-08, 1, -1, -5.43565875e-06, -1.62981468e-08)
- Part51.BottomSurface = Enum.SurfaceType.Smooth
- Part51.TopSurface = Enum.SurfaceType.Smooth
- Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part51.Position = Vector3.new(0.357000023, 17.5380001, 22.0360012)
- Part51.Orientation = Vector3.new(-90, 90, 0)
- Part51.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh52.Parent = Part51
- SpecialMesh52.Scale = Vector3.new(0.155555561, 0.0666666701, 0.111111112)
- SpecialMesh52.MeshType = Enum.MeshType.Wedge
- SpecialMesh52.Scale = Vector3.new(0.155555561, 0.0666666701, 0.111111112)
- Part53.Parent = Tool0
- Part53.Material = Enum.Material.SmoothPlastic
- Part53.BrickColor = BrickColor.new("Black")
- Part53.Rotation = Vector3.new(-180, 0, -180)
- Part53.CanCollide = false
- Part53.Size = Vector3.new(1, 1.20000005, 1)
- Part53.CFrame = CFrame.new(0.41200003, 17.6860008, 21.9980011, -1, 1.56289275e-08, -5.43565875e-06, 1.56288404e-08, 1, 1.62982392e-08, 5.43565875e-06, 1.62981539e-08, -1)
- Part53.BottomSurface = Enum.SurfaceType.Smooth
- Part53.TopSurface = Enum.SurfaceType.Smooth
- Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part53.Position = Vector3.new(0.41200003, 17.6860008, 21.9980011)
- Part53.Orientation = Vector3.new(0, -180, 0)
- Part53.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh54.Parent = Part53
- BlockMesh54.Scale = Vector3.new(0.0444444455, 0.0228888895, 0.0444444455)
- BlockMesh54.Scale = Vector3.new(0.0444444455, 0.0228888895, 0.0444444455)
- Part55.Parent = Tool0
- Part55.Material = Enum.Material.SmoothPlastic
- Part55.BrickColor = BrickColor.new("Black")
- Part55.Rotation = Vector3.new(-180, 0, -180)
- Part55.CanCollide = false
- Part55.FormFactor = Enum.FormFactor.Plate
- Part55.Size = Vector3.new(1, 0.400000006, 1)
- Part55.CFrame = CFrame.new(0.41200003, 17.6870003, 22.0420017, -1, 1.56289275e-08, -5.43565875e-06, 1.56288404e-08, 1, 1.62982392e-08, 5.43565875e-06, 1.62981539e-08, -1)
- Part55.BottomSurface = Enum.SurfaceType.Smooth
- Part55.TopSurface = Enum.SurfaceType.Smooth
- Part55.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part55.Position = Vector3.new(0.41200003, 17.6870003, 22.0420017)
- Part55.Orientation = Vector3.new(0, -180, 0)
- Part55.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh56.Parent = Part55
- SpecialMesh56.Scale = Vector3.new(0.0444444455, 0.0693333298, 0.0444444455)
- SpecialMesh56.MeshType = Enum.MeshType.Wedge
- SpecialMesh56.Scale = Vector3.new(0.0444444455, 0.0693333298, 0.0444444455)
- Part57.Parent = Tool0
- Part57.Material = Enum.Material.SmoothPlastic
- Part57.BrickColor = BrickColor.new("Black")
- Part57.Rotation = Vector3.new(-90, 0, 0)
- Part57.CanCollide = false
- Part57.FormFactor = Enum.FormFactor.Plate
- Part57.Size = Vector3.new(1, 0.800000012, 1)
- Part57.CFrame = CFrame.new(0.410000026, 17.6060009, 22.4920006, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part57.BottomSurface = Enum.SurfaceType.Smooth
- Part57.TopSurface = Enum.SurfaceType.Smooth
- Part57.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part57.Position = Vector3.new(0.410000026, 17.6060009, 22.4920006)
- Part57.Orientation = Vector3.new(-90, 0, 0)
- Part57.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh58.Parent = Part57
- CylinderMesh58.Scale = Vector3.new(0.13333334, 0.944444478, 0.13333334)
- CylinderMesh58.Scale = Vector3.new(0.13333334, 0.944444478, 0.13333334)
- Part59.Parent = Tool0
- Part59.Material = Enum.Material.SmoothPlastic
- Part59.BrickColor = BrickColor.new("Black")
- Part59.Rotation = Vector3.new(-90, 0, 0)
- Part59.CanCollide = false
- Part59.FormFactor = Enum.FormFactor.Plate
- Part59.Size = Vector3.new(1, 0.400000006, 1)
- Part59.CFrame = CFrame.new(0.410000026, 17.6040001, 22.0340004, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part59.BottomSurface = Enum.SurfaceType.Smooth
- Part59.TopSurface = Enum.SurfaceType.Smooth
- Part59.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part59.Position = Vector3.new(0.410000026, 17.6040001, 22.0340004)
- Part59.Orientation = Vector3.new(-90, 0, 0)
- Part59.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh60.Parent = Part59
- CylinderMesh60.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh60.Scale = Vector3.new(0.537777781, 0.400000036, 0.134444445)
- CylinderMesh60.Scale = Vector3.new(0.537777781, 0.400000036, 0.134444445)
- Part61.Parent = Tool0
- Part61.Material = Enum.Material.SmoothPlastic
- Part61.BrickColor = BrickColor.new("Black")
- Part61.Rotation = Vector3.new(-90, 0, -90)
- Part61.CanCollide = false
- Part61.FormFactor = Enum.FormFactor.Plate
- Part61.Size = Vector3.new(1, 0.400000006, 1)
- Part61.CFrame = CFrame.new(0.463000029, 17.5380001, 22.0360012, -5.43565875e-06, 1, 1.56287534e-08, 1.62982321e-08, -1.56286628e-08, 1, 1, 5.43565875e-06, -1.62981468e-08)
- Part61.BottomSurface = Enum.SurfaceType.Smooth
- Part61.TopSurface = Enum.SurfaceType.Smooth
- Part61.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part61.Position = Vector3.new(0.463000029, 17.5380001, 22.0360012)
- Part61.Orientation = Vector3.new(-90, -90, 0)
- Part61.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh62.Parent = Part61
- SpecialMesh62.Scale = Vector3.new(0.155555561, 0.0666666701, 0.111111112)
- SpecialMesh62.MeshType = Enum.MeshType.Wedge
- SpecialMesh62.Scale = Vector3.new(0.155555561, 0.0666666701, 0.111111112)
- Part63.Parent = Tool0
- Part63.Material = Enum.Material.SmoothPlastic
- Part63.BrickColor = BrickColor.new("Black")
- Part63.Rotation = Vector3.new(-180, 0, -180)
- Part63.CanCollide = false
- Part63.Size = Vector3.new(1, 1.20000005, 1)
- Part63.CFrame = CFrame.new(0.410000026, 17.5350018, 22.8910007, -1, 3.05327339e-05, 2.50823796e-05, 3.05335016e-05, 1, 3.0533447e-05, -2.50814483e-05, 3.0534211e-05, -1)
- Part63.BottomSurface = Enum.SurfaceType.Smooth
- Part63.TopSurface = Enum.SurfaceType.Smooth
- Part63.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part63.Position = Vector3.new(0.410000026, 17.5350018, 22.8910007)
- Part63.Orientation = Vector3.new(0, 180, 0)
- Part63.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh64.Parent = Part63
- SpecialMesh64.Scale = Vector3.new(0.13333334, 0.13333334, 0.0444444455)
- SpecialMesh64.MeshType = Enum.MeshType.Wedge
- SpecialMesh64.Scale = Vector3.new(0.13333334, 0.13333334, 0.0444444455)
- Part65.Parent = Tool0
- Part65.Material = Enum.Material.SmoothPlastic
- Part65.BrickColor = BrickColor.new("Black")
- Part65.Rotation = Vector3.new(-180, 0, -90)
- Part65.CanCollide = false
- Part65.Size = Vector3.new(1, 1.20000005, 1)
- Part65.CFrame = CFrame.new(0.410000026, 17.5280018, 22.4910011, -1.56289275e-08, 1, -5.43565875e-06, 1, 1.56290181e-08, 1.62982392e-08, 1.62983245e-08, -5.43565875e-06, -1)
- Part65.BottomSurface = Enum.SurfaceType.Smooth
- Part65.TopSurface = Enum.SurfaceType.Smooth
- Part65.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part65.Position = Vector3.new(0.410000026, 17.5280018, 22.4910011)
- Part65.Orientation = Vector3.new(0, -180, 90)
- Part65.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh66.Parent = Part65
- BlockMesh66.Scale = Vector3.new(0.155555561, 0.111111112, 0.75555557)
- BlockMesh66.Scale = Vector3.new(0.155555561, 0.111111112, 0.75555557)
- Part67.Parent = Tool0
- Part67.Material = Enum.Material.SmoothPlastic
- Part67.BrickColor = BrickColor.new("Black")
- Part67.CanCollide = false
- Part67.Size = Vector3.new(1, 1.20000005, 1)
- Part67.CFrame = CFrame.new(0.41200003, 17.7130013, 22.0220013, 1, 3.05342728e-05, -8.61165972e-05, -3.05316462e-05, 1, 3.05028461e-05, 8.61175286e-05, -3.05002159e-05, 1)
- Part67.BottomSurface = Enum.SurfaceType.Smooth
- Part67.TopSurface = Enum.SurfaceType.Smooth
- Part67.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part67.Position = Vector3.new(0.41200003, 17.7130013, 22.0220013)
- Part67.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh68.Parent = Part67
- BlockMesh68.Offset = Vector3.new(0, -0.0666666701, 0)
- BlockMesh68.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0933333263)
- BlockMesh68.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0933333263)
- Part69.Parent = Tool0
- Part69.Material = Enum.Material.SmoothPlastic
- Part69.BrickColor = BrickColor.new("Black")
- Part69.Rotation = Vector3.new(-169.649994, 0, -179.970001)
- Part69.CanCollide = false
- Part69.FormFactor = Enum.FormFactor.Plate
- Part69.Size = Vector3.new(1, 0.400000006, 1)
- Part69.CFrame = CFrame.new(0.410000026, 17.6300011, 22.9350014, -0.999999881, 0.000454105524, 6.63493774e-05, 0.000458636001, 0.983717382, 0.179721594, 1.63435379e-05, 0.179721609, -0.983717501)
- Part69.BottomSurface = Enum.SurfaceType.Smooth
- Part69.TopSurface = Enum.SurfaceType.Smooth
- Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part69.Position = Vector3.new(0.410000026, 17.6300011, 22.9350014)
- Part69.Orientation = Vector3.new(-10.3499994, 180, 0.0299999993)
- Part69.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh70.Parent = Part69
- SpecialMesh70.Scale = Vector3.new(0.0444444455, 0.0693333298, 0.088888891)
- SpecialMesh70.MeshType = Enum.MeshType.Wedge
- SpecialMesh70.Scale = Vector3.new(0.0444444455, 0.0693333298, 0.088888891)
- Part71.Parent = Tool0
- Part71.Material = Enum.Material.SmoothPlastic
- Part71.BrickColor = BrickColor.new("Black")
- Part71.Rotation = Vector3.new(-180, 0, -90)
- Part71.CanCollide = false
- Part71.Size = Vector3.new(1, 1.20000005, 1)
- Part71.CFrame = CFrame.new(0.410000026, 17.5560017, 22.0140018, -1.56289275e-08, 1, -5.43565875e-06, 1, 1.56290181e-08, 1.62982392e-08, 1.62983245e-08, -5.43565875e-06, -1)
- Part71.BottomSurface = Enum.SurfaceType.Smooth
- Part71.TopSurface = Enum.SurfaceType.Smooth
- Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part71.Position = Vector3.new(0.410000026, 17.5560017, 22.0140018)
- Part71.Orientation = Vector3.new(0, -180, 90)
- Part71.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh72.Parent = Part71
- BlockMesh72.Scale = Vector3.new(0.155555561, 0.0666666701, 0.111111112)
- BlockMesh72.Scale = Vector3.new(0.155555561, 0.0666666701, 0.111111112)
- Part73.Parent = Tool0
- Part73.Material = Enum.Material.SmoothPlastic
- Part73.BrickColor = BrickColor.new("Black")
- Part73.CanCollide = false
- Part73.FormFactor = Enum.FormFactor.Plate
- Part73.Size = Vector3.new(1, 0.400000006, 1)
- Part73.CFrame = CFrame.new(0.376000017, 17.6860008, 22.7910004, 1, 1.56289275e-08, 5.43565875e-06, -1.56288404e-08, 1, -1.62982392e-08, -5.43565875e-06, 1.62981539e-08, 1)
- Part73.BottomSurface = Enum.SurfaceType.Smooth
- Part73.TopSurface = Enum.SurfaceType.Smooth
- Part73.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part73.Position = Vector3.new(0.376000017, 17.6860008, 22.7910004)
- Part73.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh74.Parent = Part73
- SpecialMesh74.Scale = Vector3.new(0.0222222228, 0.0693333298, 0.0444444455)
- SpecialMesh74.MeshType = Enum.MeshType.Wedge
- SpecialMesh74.Scale = Vector3.new(0.0222222228, 0.0693333298, 0.0444444455)
- Part75.Parent = Tool0
- Part75.Material = Enum.Material.SmoothPlastic
- Part75.BrickColor = BrickColor.new("Black")
- Part75.Rotation = Vector3.new(-90, 0, 0)
- Part75.CanCollide = false
- Part75.FormFactor = Enum.FormFactor.Plate
- Part75.Size = Vector3.new(1, 0.400000006, 1)
- Part75.CFrame = CFrame.new(0.359000027, 17.4400005, 22.269001, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part75.BottomSurface = Enum.SurfaceType.Smooth
- Part75.TopSurface = Enum.SurfaceType.Smooth
- Part75.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part75.Position = Vector3.new(0.359000027, 17.4400005, 22.269001)
- Part75.Orientation = Vector3.new(-90, 0, 0)
- Part75.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh76.Parent = Part75
- CylinderMesh76.Offset = Vector3.new(0, 0, 0.0111111114)
- CylinderMesh76.Scale = Vector3.new(0.03111111, 0.777777791, 0.03111111)
- CylinderMesh76.Scale = Vector3.new(0.03111111, 0.777777791, 0.03111111)
- Part77.Parent = Tool0
- Part77.Material = Enum.Material.SmoothPlastic
- Part77.BrickColor = BrickColor.new("Black")
- Part77.Rotation = Vector3.new(-90, 0, 0)
- Part77.CanCollide = false
- Part77.FormFactor = Enum.FormFactor.Plate
- Part77.Size = Vector3.new(1, 0.400000006, 1)
- Part77.CFrame = CFrame.new(0.410000026, 17.4890003, 22.0420017, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part77.BottomSurface = Enum.SurfaceType.Smooth
- Part77.TopSurface = Enum.SurfaceType.Smooth
- Part77.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part77.Position = Vector3.new(0.410000026, 17.4890003, 22.0420017)
- Part77.Orientation = Vector3.new(-90, 0, 0)
- Part77.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh78.Parent = Part77
- CylinderMesh78.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh78.Scale = Vector3.new(0.177777782, 0.444444448, 0.088888891)
- CylinderMesh78.Scale = Vector3.new(0.177777782, 0.444444448, 0.088888891)
- Part79.Parent = Tool0
- Part79.Material = Enum.Material.SmoothPlastic
- Part79.BrickColor = BrickColor.new("Black")
- Part79.Rotation = Vector3.new(-180, 0, 0)
- Part79.CanCollide = false
- Part79.Size = Vector3.new(1, 1.20000005, 1)
- Part79.CFrame = CFrame.new(0.410000026, 17.4420013, 22.9760017, 1, -1.56289275e-08, -5.43565875e-06, -1.56288404e-08, -1, 1.62982392e-08, -5.43565875e-06, -1.62981539e-08, -1)
- Part79.BottomSurface = Enum.SurfaceType.Smooth
- Part79.TopSurface = Enum.SurfaceType.Smooth
- Part79.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part79.Position = Vector3.new(0.410000026, 17.4420013, 22.9760017)
- Part79.Orientation = Vector3.new(0, -180, -180)
- Part79.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh80.Parent = Part79
- SpecialMesh80.Scale = Vector3.new(0.13333334, 0.0222222228, 0.088888891)
- SpecialMesh80.MeshType = Enum.MeshType.Wedge
- SpecialMesh80.Scale = Vector3.new(0.13333334, 0.0222222228, 0.088888891)
- Part81.Parent = Tool0
- Part81.Material = Enum.Material.SmoothPlastic
- Part81.BrickColor = BrickColor.new("Black")
- Part81.Rotation = Vector3.new(-180, 0, -90)
- Part81.CanCollide = false
- Part81.Size = Vector3.new(1, 1.20000005, 1)
- Part81.CFrame = CFrame.new(0.410000026, 17.4549999, 22.5360012, -1.56289275e-08, 1, -5.43565875e-06, 1, 1.56290181e-08, 1.62982392e-08, 1.62983245e-08, -5.43565875e-06, -1)
- Part81.BottomSurface = Enum.SurfaceType.Smooth
- Part81.TopSurface = Enum.SurfaceType.Smooth
- Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part81.Position = Vector3.new(0.410000026, 17.4549999, 22.5360012)
- Part81.Orientation = Vector3.new(0, -180, 90)
- Part81.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh82.Parent = Part81
- BlockMesh82.Scale = Vector3.new(0.088888891, 0.111111112, 0.284000009)
- BlockMesh82.Scale = Vector3.new(0.088888891, 0.111111112, 0.284000009)
- Part83.Parent = Tool0
- Part83.Material = Enum.Material.SmoothPlastic
- Part83.BrickColor = BrickColor.new("Black")
- Part83.Rotation = Vector3.new(-180, 0, -90)
- Part83.CanCollide = false
- Part83.Size = Vector3.new(1, 1.20000005, 1)
- Part83.CFrame = CFrame.new(0.410000026, 17.4549999, 22.2920017, -1.56289275e-08, 1, -5.43565875e-06, 1, 1.56290181e-08, 1.62982392e-08, 1.62983245e-08, -5.43565875e-06, -1)
- Part83.BottomSurface = Enum.SurfaceType.Smooth
- Part83.TopSurface = Enum.SurfaceType.Smooth
- Part83.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part83.Position = Vector3.new(0.410000026, 17.4549999, 22.2920017)
- Part83.Orientation = Vector3.new(0, -180, 90)
- Part83.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh84.Parent = Part83
- BlockMesh84.Scale = Vector3.new(0.0399999991, 0.0806666687, 0.355555564)
- BlockMesh84.Scale = Vector3.new(0.0399999991, 0.0806666687, 0.355555564)
- Part85.Parent = Tool0
- Part85.Material = Enum.Material.SmoothPlastic
- Part85.BrickColor = BrickColor.new("Black")
- Part85.Rotation = Vector3.new(-180, 0, -180)
- Part85.CanCollide = false
- Part85.Size = Vector3.new(1, 1.20000005, 1)
- Part85.CFrame = CFrame.new(0.410000026, 17.4690018, 22.9140015, -1, 3.05318099e-05, 8.61175286e-05, 3.05344402e-05, 1, 3.05325157e-05, -8.61165972e-05, 3.05351459e-05, -1)
- Part85.BottomSurface = Enum.SurfaceType.Smooth
- Part85.TopSurface = Enum.SurfaceType.Smooth
- Part85.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part85.Position = Vector3.new(0.410000026, 17.4690018, 22.9140015)
- Part85.Orientation = Vector3.new(0, 180, 0)
- Part85.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh86.Parent = Part85
- SpecialMesh86.Scale = Vector3.new(0.13333334, 0.0222222228, 0.088888891)
- SpecialMesh86.MeshType = Enum.MeshType.Wedge
- SpecialMesh86.Scale = Vector3.new(0.13333334, 0.0222222228, 0.088888891)
- Part87.Parent = Tool0
- Part87.Material = Enum.Material.SmoothPlastic
- Part87.BrickColor = BrickColor.new("Black")
- Part87.Rotation = Vector3.new(-90, 0, 0)
- Part87.CanCollide = false
- Part87.FormFactor = Enum.FormFactor.Plate
- Part87.Size = Vector3.new(1, 0.400000006, 1)
- Part87.CFrame = CFrame.new(0.461000025, 17.4400005, 22.269001, 1, 3.7722486e-05, 1.59302758e-08, -1.46975134e-08, -3.26798181e-05, 1, 3.7722486e-05, -0.99999994, -3.26798217e-05)
- Part87.BottomSurface = Enum.SurfaceType.Smooth
- Part87.TopSurface = Enum.SurfaceType.Smooth
- Part87.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part87.Position = Vector3.new(0.461000025, 17.4400005, 22.269001)
- Part87.Orientation = Vector3.new(-90, 0, 0)
- Part87.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh88.Parent = Part87
- CylinderMesh88.Offset = Vector3.new(0, 0, 0.0111111114)
- CylinderMesh88.Scale = Vector3.new(0.03111111, 0.777777791, 0.03111111)
- CylinderMesh88.Scale = Vector3.new(0.03111111, 0.777777791, 0.03111111)
- Part89.Parent = Tool0
- Part89.Material = Enum.Material.SmoothPlastic
- Part89.BrickColor = BrickColor.new("Black")
- Part89.Rotation = Vector3.new(-90, 0, 0)
- Part89.CanCollide = false
- Part89.Size = Vector3.new(1, 1.20000005, 1)
- Part89.CFrame = CFrame.new(0.410000026, 17.2840004, 22.4340019, 1, -5.43565875e-06, 1.56287498e-08, -1.56288404e-08, -1.62980616e-08, 1, -5.43565875e-06, -1, -1.62981468e-08)
- Part89.BottomSurface = Enum.SurfaceType.Smooth
- Part89.TopSurface = Enum.SurfaceType.Smooth
- Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part89.Position = Vector3.new(0.410000026, 17.2840004, 22.4340019)
- Part89.Orientation = Vector3.new(-90, 0, 0)
- Part89.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh90.Parent = Part89
- SpecialMesh90.Scale = Vector3.new(0.088888891, 0.0222222228, 0.0222222228)
- SpecialMesh90.MeshType = Enum.MeshType.Wedge
- SpecialMesh90.Scale = Vector3.new(0.088888891, 0.0222222228, 0.0222222228)
- Part91.Parent = Tool0
- Part91.Material = Enum.Material.SmoothPlastic
- Part91.BrickColor = BrickColor.new("Black")
- Part91.Rotation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part91.CanCollide = false
- Part91.FormFactor = Enum.FormFactor.Plate
- Part91.Size = Vector3.new(1, 0.400000006, 1)
- Part91.CFrame = CFrame.new(0.41200003, 17.0100002, 22.7860012, 0.99999994, -0.000393312075, -6.08367445e-05, 0.000397841708, 0.983718395, 0.179716244, -1.0838342e-05, -0.179716244, 0.983718514)
- Part91.BottomSurface = Enum.SurfaceType.Smooth
- Part91.TopSurface = Enum.SurfaceType.Smooth
- Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part91.Position = Vector3.new(0.41200003, 17.0100002, 22.7860012)
- Part91.Orientation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part91.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh92.Parent = Part91
- BlockMesh92.Offset = Vector3.new(-0.00222222228, 0, 0)
- BlockMesh92.Scale = Vector3.new(0.088888891, 0.0377777778, 0.200000003)
- BlockMesh92.Scale = Vector3.new(0.088888891, 0.0377777778, 0.200000003)
- Part93.Parent = Tool0
- Part93.Material = Enum.Material.SmoothPlastic
- Part93.BrickColor = BrickColor.new("Black")
- Part93.Rotation = Vector3.new(169.649994, 0, 90)
- Part93.CanCollide = false
- Part93.FormFactor = Enum.FormFactor.Plate
- Part93.Size = Vector3.new(1, 0.400000006, 1)
- Part93.CFrame = CFrame.new(0.488000035, 17.0910015, 22.7990017, -7.64189608e-05, -1, 3.88694352e-05, -0.983727336, 6.81918464e-05, -0.179667696, 0.179667681, -5.19669447e-05, -0.983727336)
- Part93.BottomSurface = Enum.SurfaceType.Smooth
- Part93.TopSurface = Enum.SurfaceType.Smooth
- Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part93.Position = Vector3.new(0.488000035, 17.0910015, 22.7990017)
- Part93.Orientation = Vector3.new(10.3499994, 180, -90)
- Part93.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh94.Parent = Part93
- CylinderMesh94.Offset = Vector3.new(0, 0, 0.00155555562)
- CylinderMesh94.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- CylinderMesh94.Scale = Vector3.new(0.0444444455, 0.0444444455, 0.0666666701)
- Part95.Parent = Tool0
- Part95.Material = Enum.Material.SmoothPlastic
- Part95.BrickColor = BrickColor.new("Black")
- Part95.Rotation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part95.CanCollide = false
- Part95.Size = Vector3.new(1, 1.20000005, 1)
- Part95.CFrame = CFrame.new(0.41200003, 17.0420017, 22.9040012, 0.99999994, -0.000393312075, -6.08367445e-05, 0.000397841708, 0.983718395, 0.179716244, -1.0838342e-05, -0.179716244, 0.983718514)
- Part95.BottomSurface = Enum.SurfaceType.Smooth
- Part95.TopSurface = Enum.SurfaceType.Smooth
- Part95.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part95.Position = Vector3.new(0.41200003, 17.0420017, 22.9040012)
- Part95.Orientation = Vector3.new(-10.3499994, 0, 0.0199999996)
- Part95.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh96.Parent = Part95
- SpecialMesh96.MeshId = "http://www.roblox.com/asset/?id=3270017"
- SpecialMesh96.Scale = Vector3.new(0.088888891, 0.088888891, 0.088888891)
- SpecialMesh96.MeshType = Enum.MeshType.FileMesh
- SpecialMesh96.Scale = Vector3.new(0.088888891, 0.088888891, 0.088888891)
- Part97.Name = "Handle"
- Part97.Parent = Tool0
- Part97.Material = Enum.Material.SmoothPlastic
- Part97.BrickColor = BrickColor.new("Bright green")
- Part97.Transparency = 1
- Part97.Rotation = Vector3.new(0, 14.9399996, 0)
- Part97.CanCollide = false
- Part97.FormFactor = Enum.FormFactor.Custom
- Part97.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part97.CFrame = CFrame.new(0.387374878, 16.9749985, 22.633009, 0.96619755, 0, 0.257802635, 0, 1, 0, -0.257802635, 0, 0.96619755)
- Part97.BottomSurface = Enum.SurfaceType.Smooth
- Part97.TopSurface = Enum.SurfaceType.Smooth
- Part97.Color = Color3.new(0.294118, 0.592157, 0.294118)
- Part97.Position = Vector3.new(0.387374878, 16.9749985, 22.633009)
- Part97.Orientation = Vector3.new(0, 14.9399996, 0)
- Part97.Color = Color3.new(0.294118, 0.592157, 0.294118)
- BlockMesh98.Parent = Part97
- BlockMesh98.Scale = Vector3.new(0.239999995, 0.120000005, 0.119999997)
- BlockMesh98.Scale = Vector3.new(0.239999995, 0.120000005, 0.119999997)
- BoolValue99.Name = "AlertCarry"
- BoolValue99.Parent = Tool0
- IntValue100.Name = "Ammo"
- IntValue100.Parent = Tool0
- IntValue100.Value = 13
- IntValue101.Name = "MaxAmmo"
- IntValue101.Parent = Tool0
- IntValue101.Value = 13
- Script102.Name = "WeldArm"
- Script102.Parent = Tool0
- table.insert(cors,sandbox(Script102,function()
- Tool = script.Parent;
- local arms = nil
- local torso = nil
- local welds = {}
- function Equip(mouse)
- wait(0.01)
- arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
- torso = Tool.Parent:FindFirstChild("Torso")
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- local weld1 = Instance.new("Weld")
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(-0.25, -0.2, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(350), 0, math.rad(-90))
- welds[1] = weld1
- weld1.Name = "weld1"
- local weld2 = Instance.new("Weld")
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(-1, 0.3, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
- welds[2] = weld2
- weld2.Name = "weld2"
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Unequip(mouse)
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- welds[1].Parent = nil
- welds[2].Parent = nil
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- Tool.Equipped:connect(Equip)
- Tool.Unequipped:connect(Unequip)
- end))
- Script103.Name = "Welding"
- Script103.Parent = Tool0
- table.insert(cors,sandbox(Script103,function()
- function Weld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.className == "Part" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- LocalScript104.Name = "BackupWeld"
- LocalScript104.Parent = Tool0
- table.insert(cors,sandbox(LocalScript104,function()
- function Weld(x,y)
- local W = Instance.new("Weld")
- W.Part0 = x
- W.Part1 = y
- local CJ = CFrame.new(x.Position)
- local C0 = x.CFrame:inverse()*CJ
- local C1 = y.CFrame:inverse()*CJ
- W.C0 = C0
- W.C1 = C1
- W.Parent = x
- end
- function Get(A)
- if A.className == "Part" then
- Weld(script.Parent.Handle, A)
- A.Anchored = false
- else
- local C = A:GetChildren()
- for i=1, #C do
- Get(C[i])
- end
- end
- end
- function Finale()
- Get(script.Parent)
- end
- script.Parent.Equipped:connect(Finale)
- script.Parent.Unequipped:connect(Finale)
- Finale()
- end))
- LocalScript105.Name = "Crouch"
- LocalScript105.Parent = Tool0
- table.insert(cors,sandbox(LocalScript105,function()
- on = 0
- Tool = script.Parent
- welds = {}
- sh = {}
- arms = nil
- torso = nil
- f = nil
- function Crouch(ison)
- if arms == nil and torso == nil then
- arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")}
- torso = Tool.Parent:FindFirstChild("Torso")
- end
- if arms ~= nil and torso ~= nil then
- sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- if ison == 1 then
- sh[1].Part1 = nil
- sh[2].Part1 = nil
- local weld1 = Instance.new("Weld")
- weld1.Part0 = torso
- weld1.Parent = torso
- weld1.Part1 = arms[1]
- weld1.C1 = CFrame.new(-0.5, 0.75, 1)
- arms[1].Name = "LDave"
- arms[1].CanCollide = true
- welds[1] = weld1
- -------------------------------------------
- local weld2 = Instance.new("Weld")
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
- arms[2].Name = "RDave"
- arms[2].CanCollide = true
- welds[2] = weld2
- ---------------------------------
- local force = Instance.new("BodyForce")
- force.Parent = torso
- f = force
- wait(0.01)
- elseif ison == 0 then
- if arms then
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- f.Parent = nil
- arms[2].Name = "Right Leg"
- arms[1].Name = "Left Leg"
- welds[1].Parent = nil
- welds[2].Parent = nil
- end
- end
- --
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Key(key)
- if key then
- key = string.lower(key)
- if (key=="c") then
- if on == 1 then
- on = 0
- elseif on == 0 then
- on = 1
- end
- Crouch(on)
- end
- end
- end
- function Equip(mouse)
- mouse.KeyDown:connect(Key)
- end
- script.Parent.Equipped:connect(Equip)
- end))
- LocalScript106.Name = "GuiScript"
- LocalScript106.Parent = Tool0
- table.insert(cors,sandbox(LocalScript106,function()
- local Tool = script.Parent
- local vPlayer
- local Gui
- local Alt
- local Coords
- local Ammo
- local ready = false
- function setUpGui()
- if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
- return
- end
- Gui = script.ScreenGui:Clone()
- Alt = Gui.Stats.Alt
- Coords = Gui.Stats.Coords
- Ammo = Gui.Ammo.Bar
- Gui.Name = "GunDisplay"
- Gui.Parent = vPlayer.PlayerGui
- end
- function onEquippedLocal(mouse)
- vPlayer = game.Players.LocalPlayer
- setUpGui()
- ready = false
- end
- function onUnequippedLocal(mouse)
- if Gui then
- Gui:remove()
- end
- Gui = nil
- Alt = nil
- Coords = nil
- Ammo = nil
- vPlayer = nil
- end
- Tool.Equipped:connect(onEquippedLocal)
- Tool.Unequipped:connect(onUnequippedLocal)
- while true do
- wait()
- if Gui then
- Coords.Text = "Coords: " ..math.floor(game.Players.LocalPlayer.Character.Torso.Position.X).." , "..math.floor(game.Players.LocalPlayer.Character.Torso.Position.Z)
- Alt.Text = "Alt: " ..math.floor(game.Players.LocalPlayer.Character.Torso.Position.Y)
- Ammo.Size = UDim2.new((0.01*(script.Parent.Ammo.Value / script.Parent.MaxAmmo.Value)) * 100,0,1,0)
- end
- end
- end))
- ScreenGui107.Parent = LocalScript106
- Frame108.Name = "Ammo"
- Frame108.Parent = ScreenGui107
- Frame108.Size = UDim2.new(0.200000003, 0, 0.0500000007, 0)
- Frame108.Style = Enum.FrameStyle.RobloxRound
- Frame108.Position = UDim2.new(0.100000001, 0, 0.800000012, 0)
- Frame108.BackgroundColor3 = Color3.new(0.301961, 0.301961, 0.301961)
- Frame108.BorderColor3 = Color3.new(0.0313726, 0.0313726, 0.0313726)
- Frame109.Name = "Red"
- Frame109.Parent = Frame108
- Frame109.Size = UDim2.new(1, 0, 1, 0)
- Frame109.BackgroundColor3 = Color3.new(1, 0, 0)
- Frame109.BorderColor3 = Color3.new(0.0313726, 0.0313726, 0.0313726)
- Frame109.BorderSizePixel = 0
- Frame110.Name = "Bar"
- Frame110.Parent = Frame108
- Frame110.Size = UDim2.new(1, 0, 1, 0)
- Frame110.BackgroundColor3 = Color3.new(0, 0, 1)
- Frame110.BorderColor3 = Color3.new(0.0313726, 0.0313726, 0.0313726)
- Frame110.BorderSizePixel = 0
- Frame111.Name = "Stats"
- Frame111.Parent = ScreenGui107
- Frame111.Size = UDim2.new(0.200000003, 0, 0.100000001, 0)
- Frame111.Style = Enum.FrameStyle.RobloxRound
- Frame111.Position = UDim2.new(0.100000001, 0, 0.649999976, 0)
- Frame111.Visible = false
- Frame111.BorderColor3 = Color3.new(0.0313726, 0.0313726, 0.0313726)
- TextButton112.Name = "Coords"
- TextButton112.Parent = Frame111
- TextButton112.Transparency = 1
- TextButton112.Size = UDim2.new(1, 0, 0.5, 0)
- TextButton112.Text = "Coords: Nil, Nil"
- TextButton112.BackgroundTransparency = 1
- TextButton112.BorderColor3 = Color3.new(0.0313726, 0.0313726, 0.0313726)
- TextButton112.Font = Enum.Font.ArialBold
- TextButton112.FontSize = Enum.FontSize.Size18
- TextButton112.TextColor3 = Color3.new(1, 1, 1)
- TextButton113.Name = "Alt"
- TextButton113.Parent = Frame111
- TextButton113.Transparency = 1
- TextButton113.Size = UDim2.new(1, 0, 0.5, 0)
- TextButton113.Text = "Alt: Nil"
- TextButton113.Position = UDim2.new(0, 0, 0.5, 0)
- TextButton113.BackgroundTransparency = 1
- TextButton113.BorderColor3 = Color3.new(0.0313726, 0.0313726, 0.0313726)
- TextButton113.Font = Enum.Font.ArialBold
- TextButton113.FontSize = Enum.FontSize.Size18
- TextButton113.TextColor3 = Color3.new(1, 1, 1)
- LocalScript114.Name = "Local Gui"
- LocalScript114.Parent = Tool0
- table.insert(cors,sandbox(LocalScript114,function()
- local Tool = script.Parent;
- enabled = true
- function onButton1Down(mouse)
- if not enabled then
- return
- end
- enabled = true
- mouse.Icon = "http://www.roblox.com/asset/?id=70405991"
- --wait(.8)
- --mouse.Icon = "rbxasset://textures\\GunCursor.png"
- --enabled = true
- --mouse.Button1Up:connect(function() onButton1Up(mouse) end)
- end
- function onButton1Up(mouse)
- enabled = false
- Tool.Enabled = false
- mouse.Icon = "http://www.roblox.com/asset/?id=70405991"
- wait(.8)
- mouse.Icon = "http://www.roblox.com/asset/?id=70405991"
- enabled = true
- Tool.Enabled = true
- end
- function onEquippedLocal(mouse)
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "http://www.roblox.com/asset/?id=70405991"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() onButton1Up(mouse)end)
- end
- Tool.Equipped:connect(onEquippedLocal)
- end))
- LocalScript115.Name = "RBGunScript"
- LocalScript115.Parent = Tool0
- table.insert(cors,sandbox(LocalScript115,function()
- wait(1)
- local Tool = script.Parent;
- local pewsound
- local bangsound
- local cam
- local ggui
- local AlertCarry = Tool.AlertCarry
- --
- enabled = true
- automatichold = false
- dmged = false
- shotgun = false
- equipped = false
- overheated = false
- isZoom = false
- -----------------------------------------------------------------------------ONLY EDIT THESE VALUES!!!!!
- -----!Instructions!-----
- --Make sure you have a part in the gun named Barrel, it is where the laser will shoot from.--
- --Just place this script into any gun and edit the values below.--
- --Don't edit anything else or risk breaking it.--
- ------------------------
- Damage = 76
- SPS = 9 -- Shots Per Second, gives a limit of how fast the gun shoots.
- Recoil = 6 -- [1-10] [1 = Minigun, 10 = Sniper]
- WallShoot = false -- Shoots through walls.
- GH = false -- [True = RB can't hurt RB.] [False = RB can hurt RB.]
- BulletColor = "New Yeller" -- Any Brickcolor will work.
- --------------------------------------------------------------------------------------------------------
- local zm = Instance.new("Part")
- zm.Name = "ZoomZM"
- zm.Anchored = true
- zm.Transparency = 1
- zm.Size = Vector3.new(1,1,1)
- zm.CanCollide = false
- GunType = 0
- --[[local gui = Instance.new("ScreenGui")
- local bg = Instance.new("Frame",gui)
- local bar = Instance.new("Frame",bg)
- local bvl = Instance.new("ImageLabel", bg)
- bvl.Name = "Bevel"
- bvl.BackgroundTransparency = 1
- bvl.Image = "http://www.roblox.com/asset/?id=56852431"
- bvl.Size = UDim2.new(1,0,1,0)
- bg.Name = "Back"
- bar.Name = "Charge"
- bar.BackgroundColor3 = Color3.new(200/255,0/255,0/255)
- bg.BackgroundColor3 = Color3.new(200/255,200/255,200/255)
- bg.Size = UDim2.new(0,10,0,-100)
- bg.Position = UDim2.new(0,5,0,500)
- bar.Size = UDim2.new(0,4,-1,0)
- bar.Position = UDim2.new(0,3,1,0)
- ggui = gui:Clone()
- ggui.Name = "GunGui"
- ggui.Back.Charge.Size = UDim2.new(0,4,-(script.Charge.Value/100),0)]]
- GroupID = 5520
- function AntiGH(char1,char2)
- if GH then
- local plyr1 = game.Players:findFirstChild(char1.Name)
- local plyr2 = game.Players:findFirstChild(char2.Name)
- if plyr1 and plyr2 then
- if plyr1:IsInGroup(GroupID) and plyr2:IsInGroup(GroupID) then
- return false
- end
- end
- return true
- elseif not GH then
- return true
- end
- end
- MaxDist = 1000
- function RayCast(Start,End,Ignore)
- if WallShoot then
- ray1 = Ray.new(Start, End.unit * 999.999)
- local Part1, TempPos = Workspace:FindPartOnRay(ray1,Ignore)
- ray2 = Ray.new(TempPos, End.unit * 999.999)
- local Part2, EndPos = Workspace:FindPartOnRay(ray2,Part1)
- return Part1, Part2, EndPos
- elseif not WallShoot then
- ray = Ray.new(Start, End.unit * 999.999)
- return Workspace:FindPartOnRay(ray,Ignore)
- end
- end
- function DmgPlr(Part)
- if Part ~= nil then
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = game.Players:findFirstChild(script.Parent.Parent.Name)
- local hum = Part.Parent:findFirstChild("Humanoid")
- local hathum = Part.Parent.Parent:findFirstChild("Humanoid")
- local hat = Part.Parent
- if hathum ~= nil and hat:IsA("Hat") and AntiGH(hathum.Parent, script.Parent.Parent) then
- hathum:TakeDamage(Damage/3)
- Part.Parent = game.Workspace
- Part.CFrame = CFrame.new(Part.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))
- hat:Remove()
- c.Parent = hathum
- game.Debris:AddItem(c,1.5)
- elseif hum ~= nil and AntiGH(hum.Parent, script.Parent.Parent) then
- if Part.Name == "Head" then
- hum:TakeDamage(Damage*2)
- end
- hum:TakeDamage(Damage)
- c.Parent = hum
- game.Debris:AddItem(c,1.5)
- end
- end
- end
- function onButton1Down(mouse)
- if AlertCarry.Value == false then
- if script.Parent.Ammo.Value == 0 then
- else
- if GunType == 0 then
- if (not enabled) then return end
- enabled = false
- LaserShoot(mouse)
- script.Parent.Barrel.Light.Light.Visible = true
- script.Parent.Ammo.Value = script.Parent.Ammo.Value - 1
- wait(0.01)
- script.Parent.Barrel.Light.Light.Visible = false
- wait(1/SPS)
- enabled = true
- elseif GunType == 1 then
- automatichold = true
- while automatichold == true and script.Parent.Ammo.Value ~= 0 do wait()
- if (not enabled) then return end
- if AlertCarry.Value == false then
- enabled = false
- LaserShoot(mouse)
- script.Parent.Barrel.Light.Light.Visible = true
- script.Parent.Ammo.Value = script.Parent.Ammo.Value - 1
- wait(0.01)
- script.Parent.Barrel.Light.Light.Visible = false
- wait(1/SPS)
- enabled = true
- end
- end
- end
- end
- end
- end
- function LaserShoot(mouse)
- hit = mouse.Hit.p
- local StartPos = script.Parent.Barrel.CFrame.p
- local rv = (StartPos-hit).magnitude/(Recoil * 20)
- local rcl = Vector3.new(math.random(-rv,rv),math.random(-rv,rv),math.random(-rv,rv))
- aim = hit + rcl
- local P = Instance.new("Part")
- P.Name = "Bullet"
- P.formFactor = 3
- P.BrickColor = BrickColor.new(BulletColor)
- P.Size = Vector3.new(0.1,0.1,0.1)
- P.Anchored = true
- P.CanCollide = false
- P.Transparency = 1
- P.Parent = script.Parent.Parent
- local m = Instance.new("CylinderMesh")
- m.Name = "Mesh"
- m.Parent = P
- local c = Instance.new("ObjectValue")
- c.Name = "creator"
- c.Value = game.Players:findFirstChild(script.Parent.Parent.Name)
- script.Fire:Play()
- local SPos = script.Parent.Barrel.CFrame.p
- if WallShoot then
- local Part1, Part2, EndPos = RayCast(SPos, (aim-SPos).unit * 999, script.Parent.Parent)
- DmgPlr(Part1)
- DmgPlr(Part2)
- if Part1 and Part2 then
- local enddist = (EndPos-SPos).magnitude
- P.CFrame = CFrame.new(EndPos, SPos) * CFrame.new(0,0,-enddist/2) * CFrame.Angles(math.rad(90),0,0)
- m.Scale = Vector3.new(.2,enddist,.2)
- else
- P.CFrame = CFrame.new(EndPos, SPos) * CFrame.new(0,0,-MaxDist/2) * CFrame.Angles(math.rad(90),0,0)
- m.Scale = Vector3.new(.2,MaxDist,.2)
- end
- elseif not WallShoot then
- local Part, Pos = RayCast(SPos, (aim-SPos).unit * 999, script.Parent.Parent)
- DmgPlr(Part)
- if Part then
- local dist = (Pos-SPos).magnitude
- P.CFrame = CFrame.new(Pos, SPos) * CFrame.new(0,0,-dist/2) * CFrame.Angles(math.rad(90),0,0)
- m.Scale = Vector3.new(.1,dist,.1)
- else
- P.CFrame = CFrame.new(Pos, SPos) * CFrame.new(0,0,-MaxDist/2) * CFrame.Angles(math.rad(90),0,0)
- m.Scale = Vector3.new(.1,MaxDist,.1)
- end
- end
- game.Debris:AddItem(P,.1)
- end
- function onButton1Up(mouse)
- automatichold = false
- end
- function onEquippedLocal(mouse)
- mouse.Icon = ""
- mouse.KeyDown:connect(onKeyDown)
- end
- function defaultrifle()
- torso = Tool.Parent:FindFirstChild("Torso")
- if torso ~= nil then
- torso.weld1.C1 = CFrame.new(-0.25, -0.2, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(350), 0, math.rad(-90))
- torso.weld2.C1 = CFrame.new(-1, 0.3, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
- end
- end
- function defaultpistol()
- torso = Tool.Parent:FindFirstChild("Torso")
- if torso ~= nil then
- torso.weld1.C1 = CFrame.new(-0.25, -0.2, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(350), 0, math.rad(-90))
- torso.weld2.C1 = CFrame.new(-1, 0.3, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
- end
- end
- function holster()
- torso = Tool.Parent:FindFirstChild("Torso")
- if torso ~= nil then
- torso.weld1.C1 = CFrame.new(0.5,0,.5) * CFrame.fromEulerAnglesXYZ(math.rad(315), 0, math.rad(-40))
- torso.weld2.C1 = CFrame.new(-.8, -0.6, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-40), math.rad(-60), 0)
- end
- end
- function onKeyDown(key, mouse)
- if key:lower() == "r" then
- if script.Parent.Ammo.Value ~= script.Parent.MaxAmmo.Value then
- script.Reload:Play()
- enabled = false
- repeat wait(0.05) script.Parent.Ammo.Value = script.Parent.Ammo.Value + 3 until script.Parent.Ammo.Value >= script.Parent.MaxAmmo.Value
- script.Parent.Ammo.Value = script.Parent.MaxAmmo.Value
- enabled = true
- end
- end
- if key:lower() == "" then
- if GunType == 1 then
- GunType = 0
- Recoil = 10
- else
- GunType = 1
- Recoil = 8
- end
- end
- if key:lower() == "e" then
- if AlertCarry.Value == false then
- holster()
- AlertCarry.Value = true
- else
- defaultrifle()
- AlertCarry.Value = false
- end
- end
- end
- function onEquipped(mouse)
- equipped = true
- if mouse == nil then
- print("Mouse not found")
- return
- end
- mouse.Icon = "http://www.roblox.com/asset/?id=70405991"
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() onButton1Up(mouse) end)
- mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
- end
- function onUnequipped(mouse)
- equipped = false
- automatichold = false
- end
- script.Parent.Equipped:connect(onEquipped)
- script.Parent.Unequipped:connect(onUnequipped)
- end))
- Sound116.Name = "Reload"
- Sound116.Parent = LocalScript115
- Sound116.SoundId = "http://www.roblox.com/Asset/?id=10209894"
- Sound116.Volume = 1
- Sound117.Name = "Fire"
- Sound117.Parent = LocalScript115
- Sound117.SoundId = "rbxassetid://966405773"
- Sound117.Volume = 4
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement