Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m18a1 = Instance.new("Tool",game.Players.LocalPlayer.Backpack)
- m18a1.GripPos = Vector3.new(0.69999998807907,0,0)
- m18a1.Grip = CFrame.new(0.69999998807907,0,0) * CFrame.Angles(-2.7904105081689e-005, 0.19730991125107, -2.7904105081689e-005)
- m18a1.GripForward = Vector3.new(-0.19603215157986,-2.7362671971787e-005,-0.98059666156769)
- m18a1.Name = "M18A1"
- m18a1.GripRight = Vector3.new(0.98059666156769,-3.3374453778379e-005,-0.19603215157986)
- m18a1.GripUp = Vector3.new(2.7362671971787e-005,1,-3.3374453778379e-005)
- part8 = Instance.new("Part",m18a1)
- part8.FormFactor = Enum.FormFactor.Custom
- part8.CanCollide = false
- part8.TopSurface = Enum.SurfaceType.Smooth
- part8.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part8.Name = "Part8"
- part8.CFrame = CFrame.new(-0.52392613887787,-0.039335962384939,-33.345020294189) * CFrame.Angles(0.00096099119400606, 0.29559862613678, -3.1409907341003)
- part8.BrickColor = BrickColor.new("Brick yellow")
- part8.Friction = 0.30000001192093
- part8.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part8)
- mesh.Scale = Vector3.new(0.79999995231628,0.39999997615814,0.39999997615814)
- mesh.MeshType = Enum.MeshType.Wedge
- part9 = Instance.new("Part",m18a1)
- part9.FormFactor = Enum.FormFactor.Custom
- part9.CanCollide = false
- part9.TopSurface = Enum.SurfaceType.Smooth
- part9.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part9.Name = "Part9"
- part9.CFrame = CFrame.new(-0.65839833021164,0.06174898147583,-33.267738342285) * CFrame.Angles(0.00089086004300043, 0.29555663466454, -1.8320337533951)
- part9.BrickColor = BrickColor.new("Brick yellow")
- part9.Friction = 0.30000001192093
- part9.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part9)
- mesh.Scale = Vector3.new(0.59999996423721,0.59999996423721,0.79999995231628)
- mesh.MeshType = Enum.MeshType.Wedge
- weld = Instance.new("Weld",part9)
- weld.Part1 = Detector
- weld.Part0 = Part9
- weld.C1 = CFrame.new(-307.08624267578,-220.11706542969,-241.86853027344) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- weld.C0 = CFrame.new(240.10000610352,314.89999389648,220.80000305176) * CFrame.Angles(1.5707963705063, -0, 3.1415927410126)
- detector = Instance.new("Part",m18a1)
- detector.FormFactor = Enum.FormFactor.Custom
- detector.CanCollide = false
- detector.Transparency = 1
- detector.TopSurface = Enum.SurfaceType.Smooth
- detector.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- detector.Name = "Detector"
- detector.CFrame = CFrame.new(-0.31218618154526,-6.2715001106262,-32.647266387939) * CFrame.Angles(0.0029059308581054, -1.2752088308334, 1.5726896524429)
- detector.BrickColor = BrickColor.new("Brick yellow")
- detector.Friction = 0.30000001192093
- detector.BottomSurface = Enum.SurfaceType.Smooth
- weld = Instance.new("Weld",detector)
- weld.Part1 = Handle
- weld.Part0 = Detector
- weld.C1 = CFrame.new(241.8420715332,-220.41229248047,-313.47076416016) * CFrame.Angles(-0.00016526760009583, -1.3088983297348, -0.00016526639228687)
- weld.C0 = CFrame.new(-307.08624267578,-220.11706542969,-241.86853027344) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- handle = Instance.new("Part",m18a1)
- handle.FormFactor = Enum.FormFactor.Custom
- handle.TopSurface = Enum.SurfaceType.Smooth
- handle.Size = Vector3.new(1.4800000190735,0.63999998569489,0.20000000298023)
- handle.Name = "Handle"
- handle.CFrame = CFrame.new(-0.40367808938026,0.08956190943718,-32.927307128906) * CFrame.Angles(-1.5697077512741, -0.00063033407786861, 0.29559949040413)
- handle.BrickColor = BrickColor.new("Brick yellow")
- handle.Friction = 0.30000001192093
- handle.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",handle)
- mesh.Scale = Vector3.new(1,1,0.79999995231628)
- soundtt = Instance.new("Sound",handle)
- soundtt.Volume = 1
- soundtt.SoundId = "http://www.roblox.com/asset/?id=14863866"
- explosion = Instance.new("Sound",handle)
- explosion.Pitch = 0.60000002384186
- explosion.Name = "Explosion"
- explosion.Volume = 1
- explosion.SoundId = "http://www.roblox.com/asset/?id=2693351"
- weld = Instance.new("Weld",handle)
- weld.Part1 = Lazer1
- weld.Part0 = Handle
- weld.C1 = CFrame.new(314.97918701172,238.33633422852,-220.83198547363) * CFrame.Angles(1.5708268880844, -1.5707963705063, 0)
- weld.C0 = CFrame.new(241.8420715332,-220.41229248047,-313.47076416016) * CFrame.Angles(-0.00016526760009583, -1.3088983297348, -0.00016526639228687)
- lazer1 = Instance.new("Part",m18a1)
- lazer1.FormFactor = Enum.FormFactor.Custom
- lazer1.CanCollide = false
- lazer1.Transparency = 0.5
- lazer1.TopSurface = Enum.SurfaceType.Smooth
- lazer1.Size = Vector3.new(0.20000000298023,3.2000000476837,0.20000000298023)
- lazer1.Name = "Lazer1"
- lazer1.CFrame = CFrame.new(-1.1969976425171,-1.6313956975937,-33.126178741455) * CFrame.Angles(-3.1407160758972, -0.29562351107597, 0.26120275259018)
- lazer1.BrickColor = BrickColor.new("Really red")
- lazer1.Friction = 0.30000001192093
- lazer1.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",lazer1)
- mesh.Scale = Vector3.new(0.02000000141561,1,0.02000000141561)
- weld = Instance.new("Weld",lazer1)
- weld.Part1 = Lazer2
- weld.Part0 = Lazer1
- weld.C1 = CFrame.new(152.22325134277,363.53674316406,-220.82865905762) * CFrame.Angles(1.5707728862762, -1.0470349788666, 5.9588575851421e-008)
- weld.C0 = CFrame.new(314.97918701172,238.33633422852,-220.83198547363) * CFrame.Angles(1.5708268880844, -1.5707963705063, 0)
- lazer2 = Instance.new("Part",m18a1)
- lazer2.FormFactor = Enum.FormFactor.Custom
- lazer2.CanCollide = false
- lazer2.Transparency = 0.5
- lazer2.TopSurface = Enum.SurfaceType.Smooth
- lazer2.Size = Vector3.new(0.20000000298023,3.2000000476837,0.20000000298023)
- lazer2.Name = "Lazer2"
- lazer2.CFrame = CFrame.new(0.14822888374329,-1.6405953168869,-33.535858154297) * CFrame.Angles(-3.1406779289246, -0.2955627143383, -0.26251694560051)
- lazer2.BrickColor = BrickColor.new("Really red")
- lazer2.Friction = 0.30000001192093
- lazer2.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",lazer2)
- mesh.Scale = Vector3.new(0.02000000141561,1,0.02000000141561)
- weld = Instance.new("Weld",lazer2)
- weld.Part1 = Part1
- weld.Part0 = Lazer2
- weld.C1 = CFrame.new(-313.32623291016,-220.41725158691,-241.86851501465) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- weld.C0 = CFrame.new(152.22325134277,363.53674316406,-220.82865905762) * CFrame.Angles(1.5707728862762, -1.0470349788666, 5.9588575851421e-008)
- part1 = Instance.new("Part",m18a1)
- part1.FormFactor = Enum.FormFactor.Custom
- part1.CanCollide = false
- part1.TopSurface = Enum.SurfaceType.Smooth
- part1.Size = Vector3.new(0.20000000298023,0.63999998569489,0.60000002384186)
- part1.Name = "Part1"
- part1.CFrame = CFrame.new(-0.40304177999496,-0.031294584274292,-32.927612304688) * CFrame.Angles(0.0029059411026537, -1.2752088308334, 1.5726897716522)
- part1.BrickColor = BrickColor.new("Brick yellow")
- part1.Friction = 0.30000001192093
- part1.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part1)
- mesh.Scale = Vector3.new(0.39999997615814,1,1)
- weld = Instance.new("Weld",part1)
- weld.Part1 = Part10
- weld.Part0 = Part1
- weld.C1 = CFrame.new(-365.26913452148,-152.4084777832,220.82846069336) * CFrame.Angles(-1.5708103179932, 0.52355182170868, 0.00010924122034339)
- weld.C0 = CFrame.new(-313.32623291016,-220.41725158691,-241.86851501465) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- part10 = Instance.new("Part",m18a1)
- part10.FormFactor = Enum.FormFactor.Custom
- part10.CanCollide = false
- part10.TopSurface = Enum.SurfaceType.Smooth
- part10.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part10.Name = "Part10"
- part10.CFrame = CFrame.new(-0.37941136956215,0.051581270992756,-33.352794647217) * CFrame.Angles(0.00099739176221192, 0.29554191231728, 1.8330796957016)
- part10.BrickColor = BrickColor.new("Brick yellow")
- part10.Friction = 0.30000001192093
- part10.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part10)
- mesh.Scale = Vector3.new(0.59999996423721,0.59999996423721,0.79999995231628)
- mesh.MeshType = Enum.MeshType.Wedge
- weld = Instance.new("Weld",part10)
- weld.Part1 = Part11
- weld.Part0 = Part10
- weld.C1 = CFrame.new(-240.12208557129,-220.81774902344,-314.98477172852) * CFrame.Angles(3.0515249818563e-005, 9.1550406068563e-005, 3.0515249818563e-005)
- weld.C0 = CFrame.new(-365.26913452148,-152.4084777832,220.82846069336) * CFrame.Angles(-1.5708103179932, 0.52355182170868, 0.00010924122034339)
- part11 = Instance.new("Part",m18a1)
- part11.FormFactor = Enum.FormFactor.Custom
- part11.CanCollide = false
- part11.TopSurface = Enum.SurfaceType.Smooth
- part11.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part11.Name = "Part11"
- part11.CFrame = CFrame.new(-0.75669419765472,0.0875029489398,-33.258739471436) * CFrame.Angles(-0.74157255887985, -1.1789659261703, 0.86739975214005)
- part11.BrickColor = BrickColor.new("Brick yellow")
- part11.Friction = 0.30000001192093
- part11.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part11)
- mesh.Scale = Vector3.new(0.59999996423721,0.59999996423721,0.39999997615814)
- weld = Instance.new("Weld",part11)
- weld.Part1 = Part12
- weld.Part0 = Part11
- weld.C1 = CFrame.new(-365.2841796875,-220.84140014648,-152.28030395508) * CFrame.Angles(6.6741868067766e-006, 0.52363413572311, 9.2993352154735e-005)
- weld.C0 = CFrame.new(-240.12208557129,-220.81774902344,-314.98477172852) * CFrame.Angles(3.0515249818563e-005, 9.1550406068563e-005, 3.0515249818563e-005)
- part12 = Instance.new("Part",m18a1)
- part12.FormFactor = Enum.FormFactor.Custom
- part12.CanCollide = false
- part12.TopSurface = Enum.SurfaceType.Smooth
- part12.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part12.Name = "Part12"
- part12.CFrame = CFrame.new(-0.29175725579262,0.076054699718952,-33.400356292725) * CFrame.Angles(0.74588871002197, -1.1781665086746, 2.2764222621918)
- part12.BrickColor = BrickColor.new("Brick yellow")
- part12.Friction = 0.30000001192093
- part12.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part12)
- mesh.Scale = Vector3.new(0.59999996423721,0.59999996423721,0.39999997615814)
- weld = Instance.new("Weld",part12)
- weld.Part1 = Part13
- weld.Part0 = Part12
- weld.C1 = CFrame.new(152.22299194336,365.19671630859,-220.82865905762) * CFrame.Angles(1.5707728862762, -1.0470349788666, 5.9588575851421e-008)
- weld.C0 = CFrame.new(-365.2841796875,-220.84140014648,-152.28030395508) * CFrame.Angles(6.6741868067766e-006, 0.52363413572311, 9.2993352154735e-005)
- part13 = Instance.new("Part",m18a1)
- part13.FormFactor = Enum.FormFactor.Custom
- part13.CanCollide = false
- part13.TopSurface = Enum.SurfaceType.Smooth
- part13.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part13.Name = "Part13"
- part13.CFrame = CFrame.new(-0.26195627450943,-0.039912767708302,-33.409526824951) * CFrame.Angles(-3.1406779289246, -0.29556274414063, -0.26251688599586)
- part13.BrickColor = BrickColor.new("Brick yellow")
- part13.Friction = 0.30000001192093
- part13.BottomSurface = Enum.SurfaceType.Smooth
- decal = Instance.new("Decal",part13)
- decal.Face = Enum.NormalId.Top
- decal.Texture = "http://www.roblox.com/asset/?id=11665139"
- mesh = Instance.new("CylinderMesh",part13)
- mesh.Scale = Vector3.new(0.39999997615814,0.59999996423721,0.59999996423721)
- weld = Instance.new("Weld",part13)
- weld.Part1 = Part14
- weld.Part0 = Part13
- weld.C1 = CFrame.new(314.97918701172,239.99635314941,-220.83193969727) * CFrame.Angles(1.5708268880844, -1.5707963705063, 0)
- weld.C0 = CFrame.new(152.22299194336,365.19671630859,-220.82865905762) * CFrame.Angles(1.5707728862762, -1.0470349788666, 5.9588575851421e-008)
- part14 = Instance.new("Part",m18a1)
- part14.FormFactor = Enum.FormFactor.Custom
- part14.CanCollide = false
- part14.TopSurface = Enum.SurfaceType.Smooth
- part14.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part14.Name = "Part14"
- part14.CFrame = CFrame.new(-0.78521698713303,-0.029991140589118,-33.250179290771) * CFrame.Angles(-3.1407160758972, -0.2956235408783, 0.26120281219482)
- part14.BrickColor = BrickColor.new("Brick yellow")
- part14.Friction = 0.30000001192093
- part14.BottomSurface = Enum.SurfaceType.Smooth
- decal = Instance.new("Decal",part14)
- decal.Face = Enum.NormalId.Top
- decal.Texture = "http://www.roblox.com/asset/?id=11665139"
- mesh = Instance.new("CylinderMesh",part14)
- mesh.Scale = Vector3.new(0.39999997615814,0.59999996423721,0.59999996423721)
- weld = Instance.new("Weld",part14)
- weld.Part1 = Part15
- weld.Part0 = Part14
- weld.C1 = CFrame.new(313.42517089844,-242.3684387207,-220.10815429688) * CFrame.Angles(-1.5706536769867, -0.26175385713577, -3.1415367126465)
- weld.C0 = CFrame.new(314.97918701172,239.99635314941,-220.83193969727) * CFrame.Angles(1.5708268880844, -1.5707963705063, 0)
- part15 = Instance.new("Part",m18a1)
- part15.FormFactor = Enum.FormFactor.Custom
- part15.CanCollide = false
- part15.TopSurface = Enum.SurfaceType.Smooth
- part15.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part15.Name = "Part15"
- part15.CFrame = CFrame.new(-0.7812334895134,0.086429625749588,-32.456977844238) * CFrame.Angles(-3.1406452655792, -0.29568484425545, 1.5702964067459)
- part15.BrickColor = BrickColor.new("Brick yellow")
- part15.Friction = 0.30000001192093
- part15.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part15)
- mesh.Scale = Vector3.new(1.1999999284744,0.39999997615814,0.59999996423721)
- weld = Instance.new("Weld",part15)
- weld.Part1 = Part16
- weld.Part0 = Part15
- weld.C1 = CFrame.new(313.42523193359,-241.36848449707,-220.10809326172) * CFrame.Angles(-1.5706536769867, -0.26175385713577, -3.1415367126465)
- weld.C0 = CFrame.new(313.42517089844,-242.3684387207,-220.10815429688) * CFrame.Angles(-1.5706536769867, -0.26175385713577, -3.1415367126465)
- part16 = Instance.new("Part",m18a1)
- part16.FormFactor = Enum.FormFactor.Custom
- part16.CanCollide = false
- part16.TopSurface = Enum.SurfaceType.Smooth
- part16.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part16.Name = "Part16"
- part16.CFrame = CFrame.new(0.17533165216446,0.087266623973846,-32.748313903809) * CFrame.Angles(-3.1406452655792, -0.29568484425545, 1.5702964067459)
- part16.BrickColor = BrickColor.new("Brick yellow")
- part16.Friction = 0.30000001192093
- part16.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("CylinderMesh",part16)
- mesh.Scale = Vector3.new(1.1999999284744,0.39999997615814,0.59999996423721)
- weld = Instance.new("Weld",part16)
- weld.Part1 = Part17
- weld.Part0 = Part16
- weld.C1 = CFrame.new(245.78273010254,-293.41952514648,241.35409545898) * CFrame.Angles(-3.0722005367279, -0.25271198153496, -2.870920419693)
- weld.C0 = CFrame.new(313.42523193359,-241.36848449707,-220.10809326172) * CFrame.Angles(-1.5706536769867, -0.26175385713577, -3.1415367126465)
- part17 = Instance.new("Part",m18a1)
- part17.FormFactor = Enum.FormFactor.Custom
- part17.CanCollide = false
- part17.TopSurface = Enum.SurfaceType.Smooth
- part17.Size = Vector3.new(0.20000000298023,0.47999998927116,0.20000000298023)
- part17.Name = "Part17"
- part17.CFrame = CFrame.new(0.24446918070316,-0.012174159288406,-32.452857971191) * CFrame.Angles(-3.1385326385498, 1.2750945091248, 1.8305910825729)
- part17.BrickColor = BrickColor.new("Brick yellow")
- part17.Friction = 0.30000001192093
- part17.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part17)
- mesh.Scale = Vector3.new(0.27999997138977,1.5000001192093,0.099999994039536)
- weld = Instance.new("Weld",part17)
- weld.Part1 = Part18
- weld.Part0 = Part17
- weld.C1 = CFrame.new(-359.74572753906,-131.13130187988,-241.34532165527) * CFrame.Angles(0.069255776703358, 0.25273981690407, -0.2705400288105)
- weld.C0 = CFrame.new(245.78273010254,-293.41952514648,241.35409545898) * CFrame.Angles(-3.0722005367279, -0.25271198153496, -2.870920419693)
- part18 = Instance.new("Part",m18a1)
- part18.FormFactor = Enum.FormFactor.Custom
- part18.CanCollide = false
- part18.TopSurface = Enum.SurfaceType.Smooth
- part18.Size = Vector3.new(0.20000000298023,0.47999998927116,0.20000000298023)
- part18.Name = "Part18"
- part18.CFrame = CFrame.new(0.28416514396667,0.18459148705006,-32.463325500488) * CFrame.Angles(0.0030329674482346, -1.2752219438553, 1.8345861434937)
- part18.BrickColor = BrickColor.new("Brick yellow")
- part18.Friction = 0.30000001192093
- part18.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part18)
- mesh.Scale = Vector3.new(0.27999997138977,1.5000001192093,0.099999994039536)
- weld = Instance.new("Weld",part18)
- weld.Part1 = Part19
- weld.Part0 = Part18
- weld.C1 = CFrame.new(245.78276062012,-293.41961669922,242.35411071777) * CFrame.Angles(-3.0722005367279, -0.25271198153496, -2.870920419693)
- weld.C0 = CFrame.new(-359.74572753906,-131.13130187988,-241.34532165527) * CFrame.Angles(0.069255776703358, 0.25273981690407, -0.2705400288105)
- part19 = Instance.new("Part",m18a1)
- part19.FormFactor = Enum.FormFactor.Custom
- part19.CanCollide = false
- part19.TopSurface = Enum.SurfaceType.Smooth
- part19.Size = Vector3.new(0.20000000298023,0.47999998927116,0.20000000298023)
- part19.Name = "Part19"
- part19.CFrame = CFrame.new(-0.71061015129089,-0.014787390828133,-32.16047668457) * CFrame.Angles(-3.1385340690613, 1.2750822305679, 1.83058989048)
- part19.BrickColor = BrickColor.new("Brick yellow")
- part19.Friction = 0.30000001192093
- part19.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part19)
- mesh.Scale = Vector3.new(0.27999997138977,1.5000001192093,0.099999994039536)
- weld = Instance.new("Weld",part19)
- weld.Part1 = Part2
- weld.Part0 = Part19
- weld.C1 = CFrame.new(220.43910217285,313.31756591797,242.38061523438) * CFrame.Angles(2.8797779083252, -9.1209010861348e-005, 1.5708389282227)
- weld.C0 = CFrame.new(245.78276062012,-293.41961669922,242.35411071777) * CFrame.Angles(-3.0722005367279, -0.25271198153496, -2.870920419693)
- part2 = Instance.new("Part",m18a1)
- part2.FormFactor = Enum.FormFactor.Custom
- part2.CanCollide = false
- part2.TopSurface = Enum.SurfaceType.Smooth
- part2.Size = Vector3.new(0.63999998569489,0.20000000298023,0.43999999761581)
- part2.Name = "Part2"
- part2.CFrame = CFrame.new(-0.89786124229431,-0.035086307674646,-32.775436401367) * CFrame.Angles(-3.138721704483, 1.2751252651215, -0.0018317792564631)
- part2.BrickColor = BrickColor.new("Brick yellow")
- part2.Friction = 0.30000001192093
- part2.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part2)
- mesh.Scale = Vector3.new(1,0.39999997615814,1)
- mesh.MeshType = Enum.MeshType.Wedge
- weld = Instance.new("Weld",part2)
- weld.Part1 = Part20
- weld.Part0 = Part2
- weld.C1 = CFrame.new(-359.74572753906,-131.13122558594,-242.34530639648) * CFrame.Angles(0.069255776703358, 0.25273981690407, -0.2705400288105)
- weld.C0 = CFrame.new(220.43910217285,313.31756591797,242.38061523438) * CFrame.Angles(2.8797779083252, -9.1209010861348e-005, 1.5708389282227)
- part20 = Instance.new("Part",m18a1)
- part20.FormFactor = Enum.FormFactor.Custom
- part20.CanCollide = false
- part20.TopSurface = Enum.SurfaceType.Smooth
- part20.Size = Vector3.new(0.20000000298023,0.47999998927116,0.20000000298023)
- part20.Name = "Part20"
- part20.CFrame = CFrame.new(-0.67091393470764,0.18188390135765,-32.17094039917) * CFrame.Angles(0.0030313762836158, -1.2752095460892, 1.834587097168)
- part20.BrickColor = BrickColor.new("Brick yellow")
- part20.Friction = 0.30000001192093
- part20.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part20)
- mesh.Scale = Vector3.new(0.27999997138977,1.5000001192093,0.099999994039536)
- weld = Instance.new("Weld",part20)
- weld.Part1 = Part3
- weld.Part0 = Part20
- weld.C1 = CFrame.new(220.41482543945,-313.56005859375,-242.39950561523) * CFrame.Angles(-0.26181471347809, -5.6325770856347e-006, 1.5708501338959)
- weld.C0 = CFrame.new(-359.74572753906,-131.13122558594,-242.34530639648) * CFrame.Angles(0.069255776703358, 0.25273981690407, -0.2705400288105)
- part3 = Instance.new("Part",m18a1)
- part3.FormFactor = Enum.FormFactor.Custom
- part3.CanCollide = false
- part3.TopSurface = Enum.SurfaceType.Smooth
- part3.Size = Vector3.new(0.63999998569489,0.20000000298023,0.43999999761581)
- part3.Name = "Part3"
- part3.CFrame = CFrame.new(-0.89649665355682,0.20308607816696,-32.774139404297) * CFrame.Angles(0.0028699324466288, -1.2751982212067, 0.0018445280147716)
- part3.BrickColor = BrickColor.new("Brick yellow")
- part3.Friction = 0.30000001192093
- part3.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part3)
- mesh.Scale = Vector3.new(1,0.39999997615814,1)
- mesh.MeshType = Enum.MeshType.Wedge
- weld = Instance.new("Weld",part3)
- weld.Part1 = Part4
- weld.Part0 = Part3
- weld.C1 = CFrame.new(-220.39801025391,-313.59222412109,241.33312988281) * CFrame.Angles(-2.8797407150269, 4.2793595639523e-005, -1.5708614587784)
- weld.C0 = CFrame.new(220.41482543945,-313.56005859375,-242.39950561523) * CFrame.Angles(-0.26181471347809, -5.6325770856347e-006, 1.5708501338959)
- part4 = Instance.new("Part",m18a1)
- part4.FormFactor = Enum.FormFactor.Custom
- part4.CanCollide = false
- part4.TopSurface = Enum.SurfaceType.Smooth
- part4.Size = Vector3.new(0.63999998569489,0.20000000298023,0.43999999761581)
- part4.Name = "Part4"
- part4.CFrame = CFrame.new(0.098397076129913,0.20395551621914,-33.077136993408) * CFrame.Angles(-3.1385955810547, 1.2751315832138, 3.1395213603973)
- part4.BrickColor = BrickColor.new("Brick yellow")
- part4.Friction = 0.30000001192093
- part4.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part4)
- mesh.Scale = Vector3.new(1,0.39999997615814,1)
- mesh.MeshType = Enum.MeshType.Wedge
- weld = Instance.new("Weld",part4)
- weld.Part1 = Part5
- weld.Part0 = Part4
- weld.C1 = CFrame.new(-220.41857910156,313.33673095703,-241.33447265625) * CFrame.Angles(0.26186320185661, 4.2797251808224e-005, -1.5707757472992)
- weld.C0 = CFrame.new(-220.39801025391,-313.59222412109,241.33312988281) * CFrame.Angles(-2.8797407150269, 4.2793595639523e-005, -1.5708614587784)
- part5 = Instance.new("Part",m18a1)
- part5.FormFactor = Enum.FormFactor.Custom
- part5.CanCollide = false
- part5.TopSurface = Enum.SurfaceType.Smooth
- part5.Size = Vector3.new(0.63999998569489,0.20000000298023,0.43999999761581)
- part5.Name = "Part5"
- part5.CFrame = CFrame.new(0.09857551753521,-0.035999372601509,-33.077377319336) * CFrame.Angles(0.0030360035598278, -1.2751533985138, -3.1395668983459)
- part5.BrickColor = BrickColor.new("Brick yellow")
- part5.Friction = 0.30000001192093
- part5.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("SpecialMesh",part5)
- mesh.Scale = Vector3.new(1,0.39999997615814,1)
- mesh.MeshType = Enum.MeshType.Wedge
- weld = Instance.new("Weld",part5)
- weld.Part1 = Part6
- weld.Part0 = Part5
- weld.C1 = CFrame.new(-313.38623046875,-220.7772064209,-241.86848449707) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- weld.C0 = CFrame.new(-220.41857910156,313.33673095703,-241.33447265625) * CFrame.Angles(0.26186320185661, 4.2797251808224e-005, -1.5707757472992)
- part6 = Instance.new("Part",m18a1)
- part6.FormFactor = Enum.FormFactor.Custom
- part6.CanCollide = false
- part6.TopSurface = Enum.SurfaceType.Smooth
- part6.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part6.Name = "Part6"
- part6.CFrame = CFrame.new(-0.50318878889084,0.023061782121658,-33.270347595215) * CFrame.Angles(0.0029029711149633, -1.2751590013504, 1.5726914405823)
- part6.BrickColor = BrickColor.new("Brick yellow")
- part6.Friction = 0.30000001192093
- part6.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part6)
- mesh.Scale = Vector3.new(1,0.39999997615814,0.79999995231628)
- weld = Instance.new("Weld",part6)
- weld.Part1 = Part7
- weld.Part0 = Part6
- weld.C1 = CFrame.new(-313.42620849609,-220.85722351074,-241.86849975586) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- weld.C0 = CFrame.new(-313.38623046875,-220.7772064209,-241.86848449707) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- part7 = Instance.new("Part",m18a1)
- part7.FormFactor = Enum.FormFactor.Custom
- part7.CanCollide = false
- part7.TopSurface = Enum.SurfaceType.Smooth
- part7.Size = Vector3.new(0.20000000298023,0.20000000298023,0.20000000298023)
- part7.Name = "Part7"
- part7.CFrame = CFrame.new(-0.52594935894012,0.062286373227835,-33.347023010254) * CFrame.Angles(0.0029029711149633, -1.2751505374908, 1.5726914405823)
- part7.BrickColor = BrickColor.new("Brick yellow")
- part7.Friction = 0.30000001192093
- part7.BottomSurface = Enum.SurfaceType.Smooth
- mesh = Instance.new("BlockMesh",part7)
- mesh.Scale = Vector3.new(0.59999996423721,0.39999997615814,0.79999995231628)
- weld = Instance.new("Weld",part7)
- weld.Part1 = Part8
- weld.Part0 = Part7
- weld.C1 = CFrame.new(-241.85174560547,313.3264465332,220.87301635742) * CFrame.Angles(1.5710514783859, 1.3089270591736, 3.1413896083832)
- weld.C0 = CFrame.new(-313.42620849609,-220.85722351074,-241.86849975586) * CFrame.Angles(-3.5447796108201e-005, 0.26182407140732, 3.5447796108201e-005)
- Tool = m18a1
- local field = nil
- Tool = m18a1;
- 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(1, 0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0.2, math.rad(0))
- welds[1] = weld1
- local weld2 = Instance.new("Weld")
- weld2.Part0 = torso
- weld2.Parent = torso
- weld2.Part1 = arms[2]
- weld2.C1 = CFrame.new(-1, 0.2, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
- welds[2] = weld2
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function Unequip(mouse)
- if arms ~= nil and torso ~= nil then
- local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
- if sh ~= nil then
- local yes = true
- if yes then
- yes = false
- sh[1].Part1 = arms[1]
- sh[2].Part1 = arms[2]
- welds[1].Parent = nil
- welds[2].Parent = nil
- end
- else
- print("sh")
- end
- else
- print("arms")
- end
- end
- function RemovedTool()
- 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)
- function Heal()
- Tool.GripPos = Vector3.new(0.7, 2.8, 0)
- local minemodel = Instance.new("Model")
- minemodel.Parent = game.Workspace
- local minetool = Tool:Clone()
- minetool.Handle.Anchored = true
- minetool.Detector.Anchored = true
- minetool.Lazer1.Anchored = true
- minetool.Lazer2.Anchored = true
- minetool.Part1.Anchored = true
- minetool.Part2.Anchored = true
- minetool.Part3.Anchored = true
- minetool.Part4.Anchored = true
- minetool.Part5.Anchored = true
- minetool.Part6.Anchored = true
- minetool.Part7.Anchored = true
- minetool.Part8.Anchored = true
- minetool.Part9.Anchored = true
- minetool.Part10.Anchored = true
- minetool.Part11.Anchored = true
- minetool.Part12.Anchored = true
- minetool.Part13.Anchored = true
- minetool.Part14.Anchored = true
- minetool.Part15.Anchored = true
- minetool.Part16.Anchored = true
- minetool.Part17.Anchored = true
- minetool.Part18.Anchored = true
- minetool.Part19.Anchored = true
- minetool.Part20.Anchored = true
- minetool.Handle.Parent = minemodel
- minetool.Detector.Parent = minemodel
- pos = minemodel.Detector.CFrame
- minetool.Lazer1.Parent = Workspace
- minetool.Lazer2.Parent = Workspace
- minetool.Part1.Parent = minemodel
- minetool.Part2.Parent = minemodel
- minetool.Part3.Parent = minemodel
- minetool.Part4.Parent = minemodel
- minetool.Part5.Parent = minemodel
- minetool.Part6.Parent = minemodel
- minetool.Part7.Parent = minemodel
- minetool.Part8.Parent = minemodel
- minetool.Part9.Parent = minemodel
- minetool.Part10.Parent = minemodel
- minetool.Part11.Parent = minemodel
- minetool.Part12.Parent = minemodel
- minetool.Part13.Parent = minemodel
- minetool.Part14.Parent = minemodel
- minetool.Part15.Parent = minemodel
- minetool.Part16.Parent = minemodel
- minetool.Part17.Parent = minemodel
- minetool.Part18.Parent = minemodel
- minetool.Part19.Parent = minemodel
- minetool.Part20.Parent = minemodel
- minemodel.Detector.Size = minemodel.Detector.Size + Vector3.new(11.8, 0, 3.8)
- minemodel.Detector.CFrame = pos
- minetool:Remove()
- end
- local prev
- local parts = m18a1:GetChildren()
- for i = 1,#parts do
- if (parts[i].className == "Part") then
- if (prev ~= nil)then
- local weld = Instance.new("Weld")
- weld.Part0 = prev
- weld.Part1 = parts[i]
- weld.C0 = prev.CFrame:inverse()
- weld.C1 = parts[i].CFrame:inverse()
- weld.Parent = prev
- end
- prev = parts[i]
- end
- end
- Tool.Enabled = true
- function onActivated()
- if not Tool.Enabled then
- return
- end
- Tool.Enabled = false
- Heal()
- Unequip()
- Tool.Parent = nil
- end
- function onTouched(hit)
- local e = Instance.new("Explosion") -- IT DOES NOT HAVE TO BE "E" IT CAN BE ANY LETTER. I JUST LIKE USING THIS
- e.BlastRadius = 20 --THE RADIUS, THE BIGGER THE RADIUS, THE BIGGER IT IS
- e.BlastPressure = 100000 -- THE BLAST PRESSURE IS HOW POWERFUL IT IS. THE HIGHER, THE MORE DEADLY AND THE MORE UNANCHORED BRICKS WILL GO FLYING
- e.Parent = game.Workspace -- DO NOT TOUCH UNLESS YOU KNOW WHAT YOURE DOING
- e.Position = Lazer1.Position
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement