Advertisement
billwa

yaf

Nov 22nd, 2016
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 56.82 KB | None | 0 0
  1.  
  2. local tec9 = Instance.new("Tool", game.Players.LocalPlayer.Backpack)
  3. local part = Instance.new("Part", tec9)
  4. local mesh = Instance.new("BlockMesh", part)
  5. local weld = Instance.new("Weld", part)
  6. local part_2 = Instance.new("Part", tec9)
  7. local mesh_2 = Instance.new("SpecialMesh", part_2)
  8. local weld_2 = Instance.new("Weld", part_2)
  9. local part_3 = Instance.new("Part", tec9)
  10. local mesh_3 = Instance.new("CylinderMesh", part_3)
  11. local weld_3 = Instance.new("Weld", part_3)
  12. local part_4 = Instance.new("Part", tec9)
  13. local mesh_4 = Instance.new("SpecialMesh", part_4)
  14. local weld_4 = Instance.new("Weld", part_4)
  15. local part_5 = Instance.new("Part", tec9)
  16. local mesh_5 = Instance.new("BlockMesh", part_5)
  17. local weld_5 = Instance.new("Weld", part_5)
  18. local part_6 = Instance.new("Part", tec9)
  19. local mesh_6 = Instance.new("BlockMesh", part_6)
  20. local weld_6 = Instance.new("Weld", part_6)
  21. local part_7 = Instance.new("Part", tec9)
  22. local mesh_7 = Instance.new("BlockMesh", part_7)
  23. local weld_7 = Instance.new("Weld", part_7)
  24. local part_8 = Instance.new("Part", tec9)
  25. local mesh_8 = Instance.new("CylinderMesh", part_8)
  26. local weld_8 = Instance.new("Weld", part_8)
  27. local part_9 = Instance.new("Part", tec9)
  28. local mesh_9 = Instance.new("SpecialMesh", part_9)
  29. local weld_9 = Instance.new("Weld", part_9)
  30. local part_10 = Instance.new("Part", tec9)
  31. local mesh_10 = Instance.new("BlockMesh", part_10)
  32. local weld_10 = Instance.new("Weld", part_10)
  33. local part_11 = Instance.new("Part", tec9)
  34. local mesh_11 = Instance.new("SpecialMesh", part_11)
  35. local weld_11 = Instance.new("Weld", part_11)
  36. local mag = Instance.new("Part", tec9)
  37. local mesh_12 = Instance.new("BlockMesh", mag)
  38. local weld_12 = Instance.new("Weld", mag)
  39. local part_12 = Instance.new("Part", tec9)
  40. local mesh_13 = Instance.new("SpecialMesh", part_12)
  41. local weld_13 = Instance.new("Weld", part_12)
  42. local part_13 = Instance.new("Part", tec9)
  43. local mesh_14 = Instance.new("BlockMesh", part_13)
  44. local weld_14 = Instance.new("Weld", part_13)
  45. local part_14 = Instance.new("Part", tec9)
  46. local mesh_15 = Instance.new("SpecialMesh", part_14)
  47. local weld_15 = Instance.new("Weld", part_14)
  48. local part_15 = Instance.new("Part", tec9)
  49. local mesh_16 = Instance.new("CylinderMesh", part_15)
  50. local weld_16 = Instance.new("Weld", part_15)
  51. local part_16 = Instance.new("Part", tec9)
  52. local mesh_17 = Instance.new("SpecialMesh", part_16)
  53. local weld_17 = Instance.new("Weld", part_16)
  54. local part_17 = Instance.new("Part", tec9)
  55. local mesh_18 = Instance.new("CylinderMesh", part_17)
  56. local weld_18 = Instance.new("Weld", part_17)
  57. local part_18 = Instance.new("Part", tec9)
  58. local mesh_19 = Instance.new("CylinderMesh", part_18)
  59. local weld_19 = Instance.new("Weld", part_18)
  60. local part_19 = Instance.new("Part", tec9)
  61. local mesh_20 = Instance.new("CylinderMesh", part_19)
  62. local weld_20 = Instance.new("Weld", part_19)
  63. local part_20 = Instance.new("Part", tec9)
  64. local mesh_21 = Instance.new("CylinderMesh", part_20)
  65. local weld_21 = Instance.new("Weld", part_20)
  66. local part_21 = Instance.new("Part", tec9)
  67. local mesh_22 = Instance.new("CylinderMesh", part_21)
  68. local weld_22 = Instance.new("Weld", part_21)
  69. local part_22 = Instance.new("Part", tec9)
  70. local mesh_23 = Instance.new("CylinderMesh", part_22)
  71. local weld_23 = Instance.new("Weld", part_22)
  72. local part_23 = Instance.new("Part", tec9)
  73. local mesh_24 = Instance.new("CylinderMesh", part_23)
  74. local weld_24 = Instance.new("Weld", part_23)
  75. local part_24 = Instance.new("Part", tec9)
  76. local mesh_25 = Instance.new("CylinderMesh", part_24)
  77. local weld_25 = Instance.new("Weld", part_24)
  78. local part_25 = Instance.new("Part", tec9)
  79. local mesh_26 = Instance.new("CylinderMesh", part_25)
  80. local weld_26 = Instance.new("Weld", part_25)
  81. local part_26 = Instance.new("Part", tec9)
  82. local mesh_27 = Instance.new("CylinderMesh", part_26)
  83. local weld_27 = Instance.new("Weld", part_26)
  84. local part_27 = Instance.new("Part", tec9)
  85. local mesh_28 = Instance.new("BlockMesh", part_27)
  86. local weld_28 = Instance.new("Weld", part_27)
  87. local part_28 = Instance.new("Part", tec9)
  88. local mesh_29 = Instance.new("BlockMesh", part_28)
  89. local weld_29 = Instance.new("Weld", part_28)
  90. local part_29 = Instance.new("Part", tec9)
  91. local mesh_30 = Instance.new("BlockMesh", part_29)
  92. local weld_30 = Instance.new("Weld", part_29)
  93. local part_30 = Instance.new("Part", tec9)
  94. local mesh_31 = Instance.new("BlockMesh", part_30)
  95. local weld_31 = Instance.new("Weld", part_30)
  96. local part_31 = Instance.new("Part", tec9)
  97. local mesh_32 = Instance.new("BlockMesh", part_31)
  98. local weld_32 = Instance.new("Weld", part_31)
  99. local part_32 = Instance.new("Part", tec9)
  100. local mesh_33 = Instance.new("BlockMesh", part_32)
  101. local weld_33 = Instance.new("Weld", part_32)
  102. local part_33 = Instance.new("Part", tec9)
  103. local mesh_34 = Instance.new("BlockMesh", part_33)
  104. local weld_34 = Instance.new("Weld", part_33)
  105. local part_34 = Instance.new("Part", tec9)
  106. local mesh_35 = Instance.new("SpecialMesh", part_34)
  107. local weld_35 = Instance.new("Weld", part_34)
  108. local part_35 = Instance.new("Part", tec9)
  109. local mesh_36 = Instance.new("SpecialMesh", part_35)
  110. local weld_36 = Instance.new("Weld", part_35)
  111. local part_36 = Instance.new("Part", tec9)
  112. local mesh_37 = Instance.new("CylinderMesh", part_36)
  113. local weld_37 = Instance.new("Weld", part_36)
  114. local smokepart = Instance.new("Part", tec9)
  115. local mesh_38 = Instance.new("CylinderMesh", smokepart)
  116. local weld_38 = Instance.new("Weld", smokepart)
  117. local handle = Instance.new("Part", tec9)
  118. local mesh_39 = Instance.new("BlockMesh", handle)
  119. local reload = Instance.new("Sound", handle)
  120. local shoot = Instance.new("Sound", handle)
  121. local weld_39 = Instance.new("Weld", handle)
  122. local aimpart = Instance.new("Part", tec9)
  123. local mesh_40 = Instance.new("BlockMesh", aimpart)
  124. local weldall = NewScript([[local prev
  125. local parts = script.Parent:GetChildren()
  126.  
  127. for i = 1,#parts do
  128.     if (parts[i].className == "Part") or (parts[i].className == "Seat") then   --  Change or add to the parts here depending on the objects in the model.
  129.         if (prev ~= nil)then
  130.             local weld = Instance.new("Weld")
  131.             weld.Part0 = prev
  132.             weld.Part1 = parts[i]
  133.             weld.C0 = prev.CFrame:inverse()
  134.             weld.C1 = parts[i].CFrame:inverse()
  135.             weld.Parent = prev
  136.         end
  137.         prev = parts[i]
  138.     end
  139. end
  140.  
  141.  -- This welds all parts in the model together.
  142.  
  143.  -- I use this for Cframeing.]], tec9)local gunscript = NewLocalScript([[wait(0.5)
  144. --Made by YouTubes--
  145. --Edit settings below--
  146. local Tool = script.Parent
  147. local Settings = {
  148.     Range = 500
  149.     ,Spread = 10
  150.     ,Damage = {10, 15}
  151.     ,HeadShotDamage = {17, 21}
  152.     ,Bullets = 1
  153.     ,FireRate = 0.1
  154.     ,Automatic = true
  155.     ,AntiTK = false
  156.     ,ImpactDuration = 3
  157.     --Reload
  158.     ,ReloadKey = "R"
  159.     ,ReloadTime = 3
  160.     ,Ammo = 30
  161.     ,IncludeChamberedBullet = false
  162.     --Gui
  163.     ,GuiPos = Vector2.new(script.Gui.Frame.Position.X.Scale, script.Gui.Frame.Position.Y.Scale)
  164.     --Arms
  165.     ,OneHanded = false
  166.     ,FakeArms = true
  167.     ,FakeArmTransparency = 0.5
  168.     ,RightPos = CFrame.new(-0.75, 0.5, 0.5) * CFrame.Angles(math.rad(-90), 0, 0)
  169.     ,LeftPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
  170.     ,AimPart = Tool.AimPart
  171.     ,AimPartOffset = CFrame.new()
  172.     ,AimGripOffset = Vector3.new(0, 0, 0)
  173.     ,LeftAimPos = CFrame.new(1, 0.5, 0.5) * CFrame.Angles(math.rad(-100), math.rad(45), 0)
  174.     ,AimAnim = {
  175.         Enabled = false
  176.         ,Frames = 50
  177.         ,Time = 0.1
  178.     }
  179.     ,ChangeFOV = {true, 65}
  180.     ,SpreadReduction = 5
  181.     --Weld
  182.     ,Weld = true
  183.     --Mouse
  184.     ,Icons = {
  185.         Idle = "rbxassetid://70288585"
  186.         ,Fire1 = "rbxassetid://70288578"
  187.         ,Fire2 = "rbxassetid://70288572"
  188.         ,Fire3 = "rbxassetid://70288578"
  189.         ,Reload = "rbxassetid://70288599"
  190.         ,Aim = "rbxasset://textures/Blank.png"
  191.     }
  192.     ,FireMouseAnimTime = 0.15
  193.     --Recoil
  194.     ,Recoil = math.rad(1)
  195.     --Smoke
  196.     ,Smoke = true
  197.     ,SmokePart = Tool.SmokePart
  198.     ,Smokes = {{script.Smoke, 6, 0.1}, {script.Smoke1, 0.1}, {script.Smoke1, 0.1}}
  199.     --Sprint
  200.     ,Sprint = true
  201.     ,SprintSpeed = 20
  202.     ,SprintKey = "0"
  203.     ,SprintSpreadIncrease = 40
  204.     ,SprintArmOffset = CFrame.new(0.25, 0.125, 0.25) * CFrame.Angles(math.rad(-30), math.rad(35), 0)
  205.     --Other
  206.     ,DropHats = false
  207. }
  208.  
  209. --Do not edit below this lign--
  210.  
  211. local Orig_Spread = Settings.Spread
  212. local Orig_Grip = Tool.GripPos
  213.  
  214. local Player = game.Players.LocalPlayer
  215. local Character = Player.Character
  216.  
  217. local Camera = Workspace.CurrentCamera
  218.  
  219. local Ammo, StoredAmmo = script.Ammo, script.StoredAmmo
  220.  
  221. local Gui, CanUpdateGui = nil, true
  222.  
  223. local Sprinting, Equipped
  224.  
  225. function Update_Gui()
  226.     if Gui and CanUpdateGui then
  227.         Gui.Frame.AmmoDisplay.Text = Ammo.Value .. "|" .. StoredAmmo.Value
  228.     end
  229. end
  230.  
  231. local Welded
  232. if Settings.Weld then
  233.     Delay(0, function()
  234.         local weldC0s = {}
  235.         for i, v in pairs(Tool:GetChildren()) do
  236.             if v:IsA("BasePart") and v ~= Tool.Handle then
  237.                 table.insert(weldC0s, {v, Tool.Handle.CFrame:toObjectSpace(v.CFrame)})
  238.                 v.Anchored = false
  239.             end
  240.         end
  241.         Tool.Handle.Anchored = false
  242.         local welds = {}
  243.         Tool.Equipped:connect(function()
  244.             for i, v in ipairs(welds) do
  245.                 v.Part1 = nil
  246.                 v:Destroy()
  247.             end
  248.             for i, v in ipairs(weldC0s) do
  249.                 if v[1] and v[2] then
  250.                     local w = Instance.new("Weld", Tool.Handle)
  251.                     w.Part0 = Tool.Handle
  252.                     w.Part1 = v[1]
  253.                     w.C0 = v[2]
  254.                     table.insert(welds, w)
  255.                 end
  256.             end
  257.         end)
  258.         wait()
  259.         Welded = true
  260.     end)
  261. end
  262.  
  263. local Left_Weld, Right_Weld
  264.  
  265. Ammo.Changed:connect(Update_Gui)
  266. StoredAmmo.Changed:connect(Update_Gui)
  267.  
  268. Settings.Range = math.min(Settings.Range, 999)
  269.  
  270. local Ignore_Model = Workspace:FindFirstChild("Ray_Ignore") or Instance.new("Model", Workspace)
  271. Ignore_Model.Name = "Ray_Ignore"
  272.  
  273. local Ray_Ignore = {Character, Ignore_Model, Camera}
  274.  
  275. Character.Humanoid.Died:connect(function()
  276.     Tool.Parent = Player.Backpack
  277. end)
  278.  
  279. function Fire(Mouse)
  280.     local Spread = CFrame.Angles(math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10), math.rad(math.random(-Settings.Spread, Settings.Spread)/10))
  281.     local Ray = Ray.new(Character.Head.Position, (CFrame.new(Character.Head.Position, Mouse.Hit.p) * Spread).lookVector.unit * Settings.Range)
  282.     local Hit, Pos = Workspace:FindPartOnRayWithIgnoreList(Ray, Ray_Ignore)
  283.     if Hit and Hit.Parent:FindFirstChild("Humanoid") then
  284.         local Hit_Player = game.Players:GetPlayerFromCharacter(Hit.Parent)
  285.         if Settings.AntiTK and not Hit_Player.Neutral and Hit_Player.TeamColor == Player.TeamColor then
  286.             return
  287.         end
  288.         local Humanoid = Hit.Parent.Humanoid
  289.         local c = Instance.new("ObjectValue")
  290.         c.Name = "creator"
  291.         c.Value = Player
  292.         game.Debris:AddItem(c, 3)
  293.         c.Parent = Humanoid
  294.         if Hit.Name == "Head" then
  295.             Humanoid.Health = Humanoid.Health - math.random(Settings.HeadShotDamage[1], Settings.HeadShotDamage[2])
  296.         else
  297.             Humanoid.Health = Humanoid.Health - math.random(Settings.Damage[1], Settings.Damage[2])
  298.         end
  299.     elseif Hit then
  300.         local Hit_Part = Instance.new("Part", Ignore_Model)
  301.         Hit_Part.FormFactor = "Custom"
  302.         Hit_Part.TopSurface = 0
  303.         Hit_Part.BottomSurface = 0
  304.         Hit_Part.Anchored = true
  305.         Hit_Part.CanCollide = false
  306.         Hit_Part.Size = Vector3.new()
  307.         Hit_Part.CFrame = CFrame.new(Pos) * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  308.         Hit_Part.BrickColor = BrickColor.new("Black")
  309.         game.Debris:AddItem(Hit_Part, Settings.ImpactDuration)
  310.         if not Hit.Anchored then
  311.             local w = Instance.new("Weld", Hit_Part)
  312.             w.Part0 = Hit
  313.             w.Part1 = Hit_Part
  314.             w.C0 = Hit.CFrame:toObjectSpace(Hit_Part.CFrame)
  315.             Hit_Part.Anchored = false
  316.         end
  317.         if Hit.Parent:IsA("Hat") and Settings.DropHats then
  318.             Hit.Parent.Parent = workspace
  319.             game.Debris:AddItem(Hit, 3)
  320.         end
  321.     end
  322. end
  323.  
  324. local Can_Shoot = true
  325. local Reloading = false
  326.  
  327. local First_Person = false
  328.  
  329. local Mouse_Held
  330.  
  331. Tool.Equipped:connect(function(Mouse)
  332.     Equipped = true
  333.     if Settings.Weld and not Welded then
  334.         wait()
  335.         Tool.Parent = Player.Backpack
  336.     end
  337.     Character = Player.Character
  338.     if Gui then
  339.         return
  340.     end
  341.     Ray_Ignore = {Character, Ignore_Model, Camera}
  342.     Mouse.Icon = Settings.Icons.Idle
  343.     Gui = script.Gui:Clone()
  344.     Gui.Parent = Player.PlayerGui
  345.     Gui.Frame.Position = UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, 1.1, Gui.Frame.Position.Y.Offset)
  346.     Gui.Frame:TweenPosition(UDim2.new(Settings.GuiPos.X, Gui.Frame.Position.X.Offset, Settings.GuiPos.Y, Gui.Frame.Position.Y.Offset), "Out", "Bounce", 1)
  347.     CanUpdateGui = true
  348.     Update_Gui()
  349.     Mouse.Button1Down:connect(function()
  350.         if Can_Shoot and Ammo.Value > 0 and Character.Humanoid.Health > 0 then
  351.             Mouse_Held = true
  352.             while true do
  353.                 Can_Shoot = false
  354.                 Delay(0, function()
  355.                     local t = math.min(Settings.FireMouseAnimTime/3, Settings.FireRate/3)
  356.                     if not Aiming then
  357.                         Mouse.Icon = Settings.Icons.Fire1
  358.                     end
  359.                     wait(t)
  360.                     if not Aiming then
  361.                         if Reloading then return end
  362.                         Mouse.Icon = Settings.Icons.Fire2
  363.                     end
  364.                     wait(t)
  365.                     if not Aiming then
  366.                         if Reloading then return end
  367.                         Mouse.Icon = Settings.Icons.Fire3
  368.                     end
  369.                     wait(t)
  370.                     if not Aiming then
  371.                         if Reloading then return end
  372.                         Mouse.Icon = Settings.Icons.Idle
  373.                     end
  374.                 end)
  375.                 if Settings.Smoke then
  376.                     for i, v in pairs(Settings.Smokes) do
  377.                         local s = v[1]:Clone()
  378.                         s.Parent = Settings.SmokePart
  379.                         s.Enabled = true
  380.                         game.Debris:AddItem(s, v[2])
  381.                         if v[3] then
  382.                             Delay(v[3], function()
  383.                                 s.Enabled = false
  384.                             end)
  385.                         end
  386.                     end
  387.                 end
  388.                 for _ = 1, Settings.Bullets do
  389.                     Fire(Mouse)
  390.                 end
  391.                 Camera.CoordinateFrame = CFrame.new(Camera.Focus.p) * (Camera.CoordinateFrame - Camera.CoordinateFrame.p) * CFrame.Angles(math.abs(Settings.Recoil), 0, 0) * CFrame.new(0, 0, (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude)
  392.                 if Tool.Handle:FindFirstChild("Shoot") then
  393.                     Tool.Handle.Shoot:Play()
  394.                 end
  395.                 Ammo.Value = Ammo.Value - 1
  396.                 wait(Settings.FireRate)
  397.                 if not Settings.Automatic or Ammo.Value <= 0 or Character.Humanoid.Health <= 0 or not Mouse_Held then
  398.                     break
  399.                 end
  400.             end
  401.             Can_Shoot = true
  402.         elseif Can_Shoot and Character.Humanoid.Health > 0 and Tool.Handle:FindFirstChild("Click") then
  403.             Tool.Handle.Click:Play()
  404.         end
  405.     end)
  406.     Mouse.Button1Up:connect(function()
  407.         Mouse_Held = false
  408.     end)
  409.     Mouse.KeyDown:connect(function(Key)
  410.         if Key:upper() == Settings.ReloadKey:upper() and Can_Shoot and StoredAmmo.Value > 0 and not Aiming then
  411.             if Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo + 1 or not Settings.IncludeChamberedBullet and Ammo.Value == Settings.Ammo then
  412.                 return
  413.             end
  414.             Can_Shoot = false
  415.             Reloading = true
  416.             local TextLabel = Gui.Frame.AmmoDisplay
  417.             Delay(0, function()
  418.                 CanUpdateGui = false
  419.                 TextLabel.Text = "Reloading."
  420.                 wait(Settings.ReloadTime/3)
  421.                 if TextLabel then
  422.                     TextLabel.Text = "Reloading.."
  423.                 end
  424.                 wait(Settings.ReloadTime/3)
  425.                 if TextLabel then
  426.                     TextLabel.Text = "Reloading..."
  427.                 end
  428.             end)
  429.             if Tool.Handle:FindFirstChild("Reload") then
  430.                 Tool.Handle.Reload:Play()
  431.             end
  432.             Mouse.Icon = Settings.Icons.Reload
  433.             wait(Settings.ReloadTime)
  434.             Mouse.Icon = Settings.Icons.Idle
  435.             CanUpdateGui = true
  436.             local m = Settings.Ammo
  437.             if Ammo.Value > 0 and Settings.IncludeChamberedBullet then
  438.                 m = m + 1
  439.             end
  440.             if (StoredAmmo.Value - (m - Ammo.Value)) <= 0 then
  441.                 Ammo.Value = Ammo.Value + StoredAmmo.Value
  442.                 StoredAmmo.Value = 0
  443.             else
  444.                 StoredAmmo.Value = StoredAmmo.Value - (m - Ammo.Value)
  445.                 Ammo.Value = m
  446.             end
  447.             Can_Shoot = true
  448.             Reloading = false
  449.         elseif Key:upper() == Settings.SprintKey:upper() and Settings.Sprint and not Aiming then
  450.             Sprinting = true
  451.             Character.Humanoid.WalkSpeed = Settings.SprintSpeed
  452.             Settings.Spread = Settings.Spread + Settings.SprintSpreadIncrease
  453.         end
  454.     end)
  455.     Mouse.KeyUp:connect(function(Key)
  456.         if Key:upper() == Settings.SprintKey:upper() and Sprinting then
  457.             Sprinting = false
  458.             Character.Humanoid.WalkSpeed = 16
  459.             Settings.Spread = Settings.Spread - Settings.SprintSpreadIncrease
  460.             Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  461.         end
  462.     end)
  463.     Mouse.Button2Down:connect(function()
  464.         if not Reloading and not Sprinting and not Aiming and (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 then
  465.             Aiming = true
  466.             Mouse.Icon = Settings.Icons.Aim
  467.             if Settings.AimAnim.Enabled then
  468.                 Right_Weld.C1 = CFrame.new()
  469.                 Right_Weld.C0 = CFrame.new()
  470.                 Delay(0, function()
  471.                     Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame))
  472.                 end)
  473.                 Delay(0, function()
  474.                     Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftAimPos)
  475.                 end)
  476.                 Delay(0, function()
  477.                     if Settings.ChangeFOV[1] then
  478.                         Camera.FieldOfView = 70
  479.                         local Cam_Dif, T_F = 70 - Settings.ChangeFOV[2], Settings.AimAnim.Time * Settings.AimAnim.Frames
  480.                         for i = 1, T_F do
  481.                             local FOV = 70 - Cam_Dif/T_F * i
  482.                             Camera.FieldOfView = FOV
  483.                             wait(Settings.AimAnim.Time/Settings.AimAnim.Frames)
  484.                             if not Aiming then
  485.                                 return
  486.                             end
  487.                         end
  488.                         Camera.FieldOfView = Settings.ChangeFOV[2]
  489.                     end
  490.                 end)
  491.             else
  492.                 Right_Weld.C1 = CFrame.new()
  493.                 Right_Weld.C0 = CFrame.new()
  494.                 Right_Weld.C1 = Character.Head.CFrame:toObjectSpace(Settings.AimPart.CFrame)
  495.                 Left_Weld.C1 = Settings.LeftAimPos
  496.                 if Settings.ChangeFOV[1] then
  497.                     Camera.FieldOfView = Settings.ChangeFOV[2]
  498.                 end
  499.             end
  500.             Tool.GripPos = Orig_Grip + Settings.AimGripOffset
  501.             Settings.Spread = Settings.Spread - Settings.SpreadReduction
  502.         end
  503.     end)
  504.     Mouse.Button2Up:connect(function()
  505.         if Aiming then
  506.             Mouse.Icon = Settings.Icons.Idle
  507.             Tool.GripPos = Orig_Grip
  508.             if Settings.AimAnim.Enabled then
  509.                 Delay(0, function()
  510.                     Tween_C0(Right_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Right_Weld.C0, CFrame.new(0, -1.5, 0))
  511.                 end)
  512.                 Delay(0, function()
  513.                     Tween_C1(Left_Weld, Settings.AimAnim.Frames, Settings.AimAnim.Time, Left_Weld.C1, Settings.LeftPos)
  514.                 end)
  515.             else
  516.                 Right_Weld.C1 = Settings.RightPos
  517.                 Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  518.                 Left_Weld.C1 = Settings.LeftPos
  519.             end
  520.             if Settings.ChangeFOV[1] then
  521.                 Camera.FieldOfView = 70
  522.             end
  523.             Settings.Spread = Settings.Spread + Settings.SpreadReduction
  524.             Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  525.             Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  526.             wait(0.25)
  527.             Aiming = false
  528.         end
  529.     end)
  530.     wait()
  531.     Camera.Changed:connect(function()
  532.         if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  533.             Mouse.TargetFilter = workspace
  534.             Character.Torso.Neck.C1 = CFrame.new()
  535.             Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  536.         end
  537.     end)
  538.     Mouse.Idle:connect(function()
  539.         if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude < 1 and Equipped then
  540.             Mouse.TargetFilter = workspace
  541.             Character.Torso.Neck.C1 = CFrame.new()
  542.             Character.Torso.Neck.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.asin((Mouse.Hit.p - Mouse.Origin.p).unit.y), 0, 0)
  543.         end
  544.     end)
  545.     while wait() and Equipped do
  546.         if Sprinting then
  547.             Right_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  548.             Left_Weld.C0 = CFrame.new(0, -1.5, 0) * Settings.SprintArmOffset
  549.         elseif not Aiming then
  550.             Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  551.         end
  552.         if (Camera.Focus.p - Camera.CoordinateFrame.p).magnitude > 1 and Equipped then
  553.             Mouse.TargetFilter = nil
  554.             Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  555.             Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  556.         end
  557.     end
  558. end)
  559.  
  560. local Arms_Made
  561. local Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model
  562.  
  563. Tool.Equipped:connect(function(Mouse)
  564.     if Character and not Arms_Made then
  565.         Arms_Made = true
  566.         local Torso = Character.Torso
  567.         Torso["Right Shoulder"].Part1 = nil
  568.         Left_Weld = Instance.new("Weld", Torso)
  569.         Left_Weld.Name = "Left_Weld"
  570.         Left_Weld.Part0 = Character.Head
  571.         Left_Weld.C0 = CFrame.new(0, -1.5, 0)
  572.         if not Settings.OneHanded then
  573.             Torso["Left Shoulder"].Part1 = nil
  574.             Left_Weld.Part1 = Character["Left Arm"]
  575.         end
  576.         Right_Weld = Instance.new("Weld", Torso)
  577.         Right_Weld.Name = "Right_Weld"
  578.         Right_Weld.Part0 = Character.Head
  579.         Right_Weld.Part1 = Character["Right Arm"]
  580.         Right_Weld.C0 = CFrame.new(0, -1.5, 0)
  581.         Left_Weld.C1 = Settings.LeftPos
  582.         Right_Weld.C1 = Settings.RightPos
  583.     end
  584.     if Settings.FakeArms and not Fake_Arm_Right then
  585.         Fake_Arm_Right, Fake_Arm_Left = Character["Right Arm"]:Clone(), Character["Left Arm"]:Clone()
  586.         Fake_Arm_Right.FormFactor, Fake_Arm_Left.FormFactor = "Custom", "Custom"
  587.         Fake_Arm_Right.Size, Fake_Arm_Left.Size = Vector3.new(), Vector3.new()
  588.         local fakeArms = {Fake_Arm_Right, Fake_Arm_Left}
  589.         for i = 1, 2 do
  590.             local w = Instance.new("Weld", fakeArms[i])
  591.             w.Part0 = Character[fakeArms[i].Name]
  592.             w.Part1 = fakeArms[i]
  593.             fakeArms[i].Transparency = Settings.FakeArmTransparency
  594.         end
  595.         Fake_Arm_Model = Instance.new("Model", Camera)
  596.         Fake_Arm_Right.Parent = Fake_Arm_Model
  597.         if not Settings.OneHanded then
  598.             Fake_Arm_Left.Parent = Fake_Arm_Model
  599.         end
  600.         Fake_Arm_Model.Name = "FakeArms"
  601.         if Settings.CharacterMeshes then
  602.             for i, v in pairs(Character:GetChildren()) do
  603.                 if v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.LeftArm or v:IsA("CharacterMesh") and v.BodyPart == Enum.BodyPart.RightArm then
  604.                     v:Clone().Parent = Fake_Arm_Model
  605.                 end
  606.             end
  607.         end
  608.         if Character:FindFirstChild("Shirt") then
  609.             Instance.new("Humanoid", Fake_Arm_Model)
  610.             Character.Shirt:Clone().Parent = Fake_Arm_Model
  611.         else
  612.             local Arm_Mesh = Instance.new("SpecialMesh", Fake_Arm_Right)
  613.             Arm_Mesh.MeshType, Arm_Mesh.Scale = "Brick", Vector3.new(5, 10, 5)
  614.             local Arm_Mesh2 = Instance.new("SpecialMesh", Fake_Arm_Left)
  615.             Arm_Mesh2.MeshType, Arm_Mesh2.Scale = "Brick", Vector3.new(5, 10, 5)
  616.         end
  617.     end
  618. end)
  619.  
  620. Tool.Unequipped:connect(function()
  621.     Equipped = false
  622.     Tool.GripPos = Orig_Grip
  623.     Aiming = false
  624.     Settings.Spread = Orig_Spread
  625.     if Settings.ChangeFOV[1] then
  626.         Camera.FieldOfView = 70
  627.     end
  628.     if Gui then
  629.         Gui:Destroy()
  630.         Gui = nil
  631.     end
  632.     for i, v in pairs(Tool.Handle:GetChildren()) do
  633.         if v:IsA("Sound") then
  634.             v:Stop()
  635.         end
  636.     end
  637.     if Fake_Arm_Right and Fake_Arm_Left and Fake_Arm_Model then
  638.         Fake_Arm_Model:Destroy()
  639.         Fake_Arm_Right, Fake_Arm_Left, Fake_Arm_Model = nil, nil, nil
  640.     end
  641.     if Character and Left_Weld and Right_Weld then
  642.         Arms_Made = false
  643.         local Torso = Character.Torso
  644.         Torso["Right Shoulder"].Part1, Torso["Left Shoulder"].Part1 = Character["Right Arm"], Character["Left Arm"]
  645.         Left_Weld:Destroy()
  646.         Right_Weld:Destroy()
  647.     end
  648.     Sprinting = false
  649.     Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  650.     Character.Torso.Neck.C1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  651.     Character.Humanoid.WalkSpeed = 16
  652. end)
  653. ]], tec9)local ammo = Instance.new("NumberValue", gunscript)
  654. local storedammo = Instance.new("NumberValue", gunscript)
  655. local gui = Instance.new("ScreenGui", gunscript)
  656. local frame = Instance.new("Frame", gui)
  657. local ammodisplay = Instance.new("TextLabel", frame)
  658. local smoke = Instance.new("Smoke", gunscript)
  659. local smoke1 = Instance.new("Smoke", gunscript)
  660.  
  661. tec9.Grip = CFrame.new(0, -0.2, 0) * CFrame.Angles(-0, 0.30064716935158, 0)
  662. tec9.ToolTip = "Tec 9"
  663. tec9.GripForward = Vector3.new(-0.296, 0, -0.955)
  664. tec9.Name = "tec9"
  665. tec9.GripRight = Vector3.new(0.955, 0, -0.296)
  666. tec9.GripPos = Vector3.new(0, -0.2, 0)
  667.  
  668. part.Anchored = true
  669. part.Friction = 0.3
  670. part.CanCollide = false
  671. part.TopSurface = Enum.SurfaceType.Smooth
  672. part.Size = Vector3.new(0.361, 0.354, 0.354)
  673. part.CFrame = CFrame.new(36.143, 1.373, -156.083) * CFrame.Angles(-1.5708003044128, -0.00011360710050212, 3.1415917873383)
  674. part.CustomPhysicalProperties = PhysicalProperties.new()
  675. part.BrickColor = BrickColor.new("Black")
  676. part.BottomSurface = Enum.SurfaceType.Smooth
  677.  
  678. mesh.Scale = Vector3.new(0.405, 0.709, 0.811)
  679.  
  680. weld.Part1 = part_2
  681. weld.Part0 = part
  682. weld.C1 = CFrame.new(97.855, 122.903, 25.261) * CFrame.Angles(-1.5707923173904, 9.4191096877694e-007, -0.00011360710777808)
  683. weld.C0 = CFrame.new(-97.855, 123.083, -25.085) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  684.  
  685. part_2.Anchored = true
  686. part_2.Friction = 0.3
  687. part_2.CanCollide = false
  688. part_2.TopSurface = Enum.SurfaceType.Smooth
  689. part_2.Size = Vector3.new(1.221, 1.195, 1.195)
  690. part_2.CFrame = CFrame.new(36.143, 1.549, -155.904) * CFrame.Angles(1.5707923173904, 0.00011360710050212, 9.4236276027004e-007)
  691. part_2.CustomPhysicalProperties = PhysicalProperties.new()
  692. part_2.BrickColor = BrickColor.new("Black")
  693. part_2.BottomSurface = Enum.SurfaceType.Smooth
  694.  
  695. mesh_2.Scale = Vector3.new(0.12, 0.15, 0.03)
  696. mesh_2.MeshType = Enum.MeshType.Wedge
  697.  
  698. weld_2.Part1 = part_3
  699. weld_2.Part0 = part_2
  700. weld_2.C1 = CFrame.new(97.855, 123.746, 25.364) * CFrame.Angles(-1.5707924365997, 1.0133895784747e-006, -0.00011375611939002)
  701. weld_2.C0 = CFrame.new(97.855, 122.903, 25.261) * CFrame.Angles(-1.5707923173904, 9.4191096877694e-007, -0.00011360710777808)
  702.  
  703. part_3.Anchored = true
  704. part_3.Friction = 0.3
  705. part_3.CanCollide = false
  706. part_3.TopSurface = Enum.SurfaceType.Smooth
  707. part_3.Size = Vector3.new(1.221, 1.912, 1.195)
  708. part_3.CFrame = CFrame.new(36.143, 1.652, -156.746) * CFrame.Angles(1.5707924365997, 0.00011375612666598, 1.0138369361812e-006)
  709. part_3.CustomPhysicalProperties = PhysicalProperties.new()
  710. part_3.BrickColor = BrickColor.new("Black")
  711. part_3.BottomSurface = Enum.SurfaceType.Smooth
  712.  
  713. mesh_3.Scale = Vector3.new(0.156, 0.975, 0.24)
  714.  
  715. weld_3.Part1 = part_4
  716. weld_3.Part0 = part_3
  717. weld_3.C1 = CFrame.new(-98.208, 25.152, 123.113) * CFrame.Angles(-6.012778612785e-006, -0.0029103588312864, 3.1412711143494)
  718. weld_3.C0 = CFrame.new(97.855, 123.746, 25.364) * CFrame.Angles(-1.5707924365997, 1.0133895784747e-006, -0.00011375611939002)
  719.  
  720. part_4.Anchored = true
  721. part_4.Friction = 0.3
  722. part_4.CanCollide = false
  723. part_4.TopSurface = Enum.SurfaceType.Smooth
  724. part_4.Size = Vector3.new(1.221, 1.195, 1.195)
  725. part_4.CFrame = CFrame.new(36.143, 1.42, -156.399) * CFrame.Angles(-5.0767162065313e-006, -0.0029103606939316, -3.1412711143494)
  726. part_4.CustomPhysicalProperties = PhysicalProperties.new()
  727. part_4.BrickColor = BrickColor.new("Dark stone grey")
  728. part_4.BottomSurface = Enum.SurfaceType.Smooth
  729.  
  730. mesh_4.Scale = Vector3.new(0.09, 0.09, 0.06)
  731. mesh_4.MeshType = Enum.MeshType.Wedge
  732.  
  733. weld_4.Part1 = part_5
  734. weld_4.Part0 = part_4
  735. weld_4.C1 = CFrame.new(-97.855, -123.639, 25.124) * CFrame.Angles(1.5707926750183, -1.009198626889e-006, 3.1414790153503)
  736. weld_4.C0 = CFrame.new(-98.208, 25.152, 123.113) * CFrame.Angles(-6.012778612785e-006, -0.0029103588312864, 3.1412711143494)
  737.  
  738. part_5.Anchored = true
  739. part_5.Friction = 0.3
  740. part_5.CanCollide = false
  741. part_5.TopSurface = Enum.SurfaceType.Smooth
  742. part_5.Size = Vector3.new(1.221, 0.478, 1.195)
  743. part_5.CFrame = CFrame.new(36.143, 1.413, -156.639) * CFrame.Angles(1.5707926750183, 0.00011357729817973, -3.1415915489197)
  744. part_5.CustomPhysicalProperties = PhysicalProperties.new()
  745. part_5.BrickColor = BrickColor.new("Black")
  746. part_5.BottomSurface = Enum.SurfaceType.Smooth
  747.  
  748. mesh_5.Scale = Vector3.new(0.12, 0.06, 0.21)
  749.  
  750. weld_5.Part1 = part_6
  751. weld_5.Part0 = part_5
  752. weld_5.C1 = CFrame.new(123.513, -97.855, 25.257) * CFrame.Angles(-1.5709099769592, 1.5707963705063, 0)
  753. weld_5.C0 = CFrame.new(-97.855, -123.639, 25.124) * CFrame.Angles(1.5707926750183, -1.009198626889e-006, 3.1414790153503)
  754.  
  755. part_6.Anchored = true
  756. part_6.Friction = 0.3
  757. part_6.CanCollide = false
  758. part_6.TopSurface = Enum.SurfaceType.Smooth
  759. part_6.Size = Vector3.new(1.135, 0.354, 0.354)
  760. part_6.CFrame = CFrame.new(36.143, 1.546, -156.513) * CFrame.Angles(1.5707923173904, 0.00011360710050212, 1.5707973241806)
  761. part_6.CustomPhysicalProperties = PhysicalProperties.new()
  762. part_6.BrickColor = BrickColor.new("Black")
  763. part_6.BottomSurface = Enum.SurfaceType.Smooth
  764.  
  765. mesh_6.Scale = Vector3.new(1, 0.405, 0.608)
  766.  
  767. weld_6.Part1 = part_7
  768. weld_6.Part0 = part_6
  769. weld_6.C1 = CFrame.new(97.855, -25.221, 122.903) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  770. weld_6.C0 = CFrame.new(123.513, -97.855, 25.257) * CFrame.Angles(-1.5709099769592, 1.5707963705063, 0)
  771.  
  772. part_7.Anchored = true
  773. part_7.Friction = 0.3
  774. part_7.CanCollide = false
  775. part_7.TopSurface = Enum.SurfaceType.Smooth
  776. part_7.Size = Vector3.new(1.221, 0.478, 1.195)
  777. part_7.CFrame = CFrame.new(36.143, 1.51, -155.904) * CFrame.Angles(-4.0569157135906e-006, -9.4237185521706e-007, 0.00011360710050212)
  778. part_7.CustomPhysicalProperties = PhysicalProperties.new()
  779. part_7.BrickColor = BrickColor.new("Black")
  780. part_7.BottomSurface = Enum.SurfaceType.Smooth
  781.  
  782. mesh_7.Scale = Vector3.new(0.12, 0.09, 0.15)
  783.  
  784. weld_7.Part1 = part_8
  785. weld_7.Part0 = part_7
  786. weld_7.C1 = CFrame.new(-48.033, -97.856, 116.224) * CFrame.Angles(4.275408173271e-006, -0.19199343025684, -1.5708930492401)
  787. weld_7.C0 = CFrame.new(97.855, -25.221, 122.903) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  788.  
  789. part_8.Anchored = true
  790. part_8.Friction = 0.3
  791. part_8.CanCollide = false
  792. part_8.TopSurface = Enum.SurfaceType.Smooth
  793. part_8.Size = Vector3.new(1.221, 0.478, 1.195)
  794. part_8.CFrame = CFrame.new(36.143, 1.264, -156.254) * CFrame.Angles(-0.19199341535568, -2.2742036890122e-005, 1.5708913803101)
  795. part_8.CustomPhysicalProperties = PhysicalProperties.new()
  796. part_8.BrickColor = BrickColor.new("Black")
  797. part_8.BottomSurface = Enum.SurfaceType.Smooth
  798.  
  799. mesh_8.Scale = Vector3.new(0.12, 0.3, 0.12)
  800.  
  801. weld_8.Part1 = part_9
  802. weld_8.Part0 = part_8
  803. weld_8.C1 = CFrame.new(97.855, 122.939, 25.279) * CFrame.Angles(-1.5707923173904, 9.4191096877694e-007, -0.00011360710777808)
  804. weld_8.C0 = CFrame.new(-48.033, -97.856, 116.224) * CFrame.Angles(4.275408173271e-006, -0.19199343025684, -1.5708930492401)
  805.  
  806. part_9.Anchored = true
  807. part_9.Friction = 0.3
  808. part_9.CanCollide = false
  809. part_9.TopSurface = Enum.SurfaceType.Smooth
  810. part_9.Size = Vector3.new(1.221, 1.195, 1.195)
  811. part_9.CFrame = CFrame.new(36.143, 1.567, -155.94) * CFrame.Angles(1.5707923173904, 0.00011360710050212, 9.4236276027004e-007)
  812. part_9.CustomPhysicalProperties = PhysicalProperties.new()
  813. part_9.BrickColor = BrickColor.new("Black")
  814. part_9.BottomSurface = Enum.SurfaceType.Smooth
  815.  
  816. mesh_9.Scale = Vector3.new(0.12, 0.03, 0.06)
  817. mesh_9.MeshType = Enum.MeshType.Wedge
  818.  
  819. weld_9.Part1 = part_10
  820. weld_9.Part0 = part_9
  821. weld_9.C1 = CFrame.new(97.855, -122.968, -25.074) * CFrame.Angles(1.5708000659943, 1.0410963113827e-006, -0.00011357730545569)
  822. weld_9.C0 = CFrame.new(97.855, 122.939, 25.279) * CFrame.Angles(-1.5707923173904, 9.4191096877694e-007, -0.00011360710777808)
  823.  
  824. part_10.Anchored = true
  825. part_10.Friction = 0.3
  826. part_10.CanCollide = false
  827. part_10.TopSurface = Enum.SurfaceType.Smooth
  828. part_10.Size = Vector3.new(1.221, 0.478, 1.195)
  829. part_10.CFrame = CFrame.new(36.143, 1.363, -155.968) * CFrame.Angles(-1.5708000659943, -0.00011357729817973, -1.041527639245e-006)
  830. part_10.CustomPhysicalProperties = PhysicalProperties.new()
  831. part_10.BrickColor = BrickColor.new("Black")
  832. part_10.BottomSurface = Enum.SurfaceType.Smooth
  833.  
  834. mesh_10.Scale = Vector3.new(0.12, 0.09, 0.15)
  835.  
  836. weld_10.Part1 = part_11
  837. weld_10.Part0 = part_10
  838. weld_10.C1 = CFrame.new(-97.855, 25.114, 123.656) * CFrame.Angles(-4.057022579218e-006, -9.4191096877694e-007, 3.1414790153503)
  839. weld_10.C0 = CFrame.new(97.855, -122.968, -25.074) * CFrame.Angles(1.5708000659943, 1.0410963113827e-006, -0.00011357730545569)
  840.  
  841. part_11.Anchored = true
  842. part_11.Friction = 0.3
  843. part_11.CanCollide = false
  844. part_11.TopSurface = Enum.SurfaceType.Smooth
  845. part_11.Size = Vector3.new(1.221, 1.195, 1.195)
  846. part_11.CFrame = CFrame.new(36.143, 1.402, -156.657) * CFrame.Angles(-4.0569157135906e-006, -9.4237185521706e-007, -3.1414790153503)
  847. part_11.CustomPhysicalProperties = PhysicalProperties.new()
  848. part_11.BrickColor = BrickColor.new("Black")
  849. part_11.BottomSurface = Enum.SurfaceType.Smooth
  850.  
  851. mesh_11.Scale = Vector3.new(0.12, 0.06, 0.03)
  852. mesh_11.MeshType = Enum.MeshType.Wedge
  853.  
  854. weld_11.Part1 = mag
  855. weld_11.Part0 = part_11
  856. weld_11.C1 = CFrame.new(97.855, -24.429, 123.782) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  857. weld_11.C0 = CFrame.new(-97.855, 25.114, 123.656) * CFrame.Angles(-4.057022579218e-006, -9.4191096877694e-007, 3.1414790153503)
  858.  
  859. mag.Anchored = true
  860. mag.Friction = 0.3
  861. mag.CanCollide = false
  862. mag.TopSurface = Enum.SurfaceType.Smooth
  863. mag.Size = Vector3.new(1.221, 1.434, 1.195)
  864. mag.Name = "Mag"
  865. mag.CFrame = CFrame.new(36.143, 0.717, -156.782) * CFrame.Angles(-4.0569157135906e-006, -9.4237185521706e-007, 0.00011360710050212)
  866. mag.CustomPhysicalProperties = PhysicalProperties.new()
  867. mag.BrickColor = BrickColor.new("Black")
  868. mag.BottomSurface = Enum.SurfaceType.Smooth
  869.  
  870. mesh_12.Scale = Vector3.new(0.102, 1.01, 0.24)
  871.  
  872. weld_12.Part1 = part_12
  873. weld_12.Part0 = mag
  874. weld_12.C1 = CFrame.new(-97.855, 122.921, -25.153) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  875. weld_12.C0 = CFrame.new(97.855, -24.429, 123.782) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  876.  
  877. part_12.Anchored = true
  878. part_12.Friction = 0.3
  879. part_12.CanCollide = false
  880. part_12.TopSurface = Enum.SurfaceType.Smooth
  881. part_12.Size = Vector3.new(1.221, 1.195, 1.195)
  882. part_12.CFrame = CFrame.new(36.143, 1.442, -155.922) * CFrame.Angles(-1.5708003044128, -0.00011360710050212, 3.1415917873383)
  883. part_12.CustomPhysicalProperties = PhysicalProperties.new()
  884. part_12.BrickColor = BrickColor.new("Black")
  885. part_12.BottomSurface = Enum.SurfaceType.Smooth
  886.  
  887. mesh_13.Scale = Vector3.new(0.12, 0.06, 0.06)
  888. mesh_13.MeshType = Enum.MeshType.Wedge
  889.  
  890. weld_13.Part1 = part_13
  891. weld_13.Part0 = part_12
  892. weld_13.C1 = CFrame.new(-97.771, -24.934, -123.466) * CFrame.Angles(3.1415886878967, 0.00068945449311286, 3.1415221691132)
  893. weld_13.C0 = CFrame.new(-97.855, 122.921, -25.153) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  894.  
  895. part_13.Anchored = true
  896. part_13.Friction = 0.3
  897. part_13.CanCollide = false
  898. part_13.TopSurface = Enum.SurfaceType.Smooth
  899. part_13.Size = Vector3.new(1.221, 0.478, 1.195)
  900. part_13.CFrame = CFrame.new(36.143, 1.226, -156.398) * CFrame.Angles(3.1415886878967, -0.00068945420207456, 3.1415221691132)
  901. part_13.CustomPhysicalProperties = PhysicalProperties.new()
  902. part_13.BrickColor = BrickColor.new("Black")
  903. part_13.BottomSurface = Enum.SurfaceType.Smooth
  904.  
  905. mesh_14.Scale = Vector3.new(0.12, 0.06, 0.42)
  906.  
  907. weld_14.Part1 = part_14
  908. weld_14.Part0 = part_13
  909. weld_14.C1 = CFrame.new(-97.855, 25.121, 123.309) * CFrame.Angles(-3.9974215724214e-006, -1.1281744036751e-006, 3.1414790153503)
  910. weld_14.C0 = CFrame.new(-97.771, -24.934, -123.466) * CFrame.Angles(3.1415886878967, 0.00068945449311286, 3.1415221691132)
  911.  
  912. part_14.Anchored = true
  913. part_14.Friction = 0.3
  914. part_14.CanCollide = false
  915. part_14.TopSurface = Enum.SurfaceType.Smooth
  916. part_14.Size = Vector3.new(1.221, 1.195, 1.195)
  917. part_14.CFrame = CFrame.new(36.143, 1.409, -156.309) * CFrame.Angles(-3.9972933336685e-006, -1.1286290373391e-006, -3.1414790153503)
  918. part_14.CustomPhysicalProperties = PhysicalProperties.new()
  919. part_14.BrickColor = BrickColor.new("Black")
  920. part_14.BottomSurface = Enum.SurfaceType.Smooth
  921.  
  922. mesh_15.Scale = Vector3.new(0.12, 0.09, 0.06)
  923. mesh_15.MeshType = Enum.MeshType.Wedge
  924.  
  925. weld_15.Part1 = part_15
  926. weld_15.Part0 = part_14
  927. weld_15.C1 = CFrame.new(72.095, -71.005, 123.692) * CFrame.Angles(3.9844812818046e-006, -1.2127426316511e-006, -0.5237050652504)
  928. weld_15.C0 = CFrame.new(-97.855, 25.121, 123.309) * CFrame.Angles(-3.9974215724214e-006, -1.1281744036751e-006, 3.1414790153503)
  929.  
  930. part_15.Anchored = true
  931. part_15.Friction = 0.3
  932. part_15.CanCollide = false
  933. part_15.TopSurface = Enum.SurfaceType.Smooth
  934. part_15.Size = Vector3.new(1.221, 0.478, 1.195)
  935. part_15.CFrame = CFrame.new(36.058, 1.734, -156.693) * CFrame.Angles(-4.0569329939899e-006, -9.4240596126838e-007, 0.5237050652504)
  936. part_15.CustomPhysicalProperties = PhysicalProperties.new()
  937. part_15.BrickColor = BrickColor.new("Black")
  938. part_15.BottomSurface = Enum.SurfaceType.Smooth
  939.  
  940. mesh_16.Scale = Vector3.new(0.045, 0.21, 0.06)
  941.  
  942. weld_16.Part1 = part_16
  943. weld_16.Part0 = part_15
  944. weld_16.C1 = CFrame.new(-97.855, 122.886, -25.182) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  945. weld_16.C0 = CFrame.new(72.095, -71.005, 123.692) * CFrame.Angles(3.9844812818046e-006, -1.2127426316511e-006, -0.5237050652504)
  946.  
  947. part_16.Anchored = true
  948. part_16.Friction = 0.3
  949. part_16.CanCollide = false
  950. part_16.TopSurface = Enum.SurfaceType.Smooth
  951. part_16.Size = Vector3.new(1.221, 1.195, 1.195)
  952. part_16.CFrame = CFrame.new(36.143, 1.47, -155.886) * CFrame.Angles(-1.5708003044128, -0.00011360710050212, 3.1415917873383)
  953. part_16.CustomPhysicalProperties = PhysicalProperties.new()
  954. part_16.BrickColor = BrickColor.new("Black")
  955. part_16.BottomSurface = Enum.SurfaceType.Smooth
  956.  
  957. mesh_17.Scale = Vector3.new(0.12, 0.12, 0.03)
  958. mesh_17.MeshType = Enum.MeshType.Wedge
  959.  
  960. weld_17.Part1 = part_17
  961. weld_17.Part0 = part_16
  962. weld_17.C1 = CFrame.new(97.771, -124.766, -25.364) * CFrame.Angles(1.5708001852036, -0.00067062757443637, -0.00011363418161636)
  963. weld_17.C0 = CFrame.new(-97.855, 122.886, -25.182) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  964.  
  965. part_17.Anchored = true
  966. part_17.Friction = 0.3
  967. part_17.CanCollide = false
  968. part_17.TopSurface = Enum.SurfaceType.Smooth
  969. part_17.Size = Vector3.new(1.221, 0.478, 1.195)
  970. part_17.CFrame = CFrame.new(36.142, 1.652, -157.701) * CFrame.Angles(-1.5708001852036, -0.00011363679368515, 0.00067062710877508)
  971. part_17.CustomPhysicalProperties = PhysicalProperties.new()
  972. part_17.BrickColor = BrickColor.new("Dark stone grey")
  973. part_17.BottomSurface = Enum.SurfaceType.Smooth
  974.  
  975. mesh_18.Scale = Vector3.new(0.072, 0.39, 0.18)
  976.  
  977. weld_18.Part1 = part_18
  978. weld_18.Part0 = part_17
  979. weld_18.C1 = CFrame.new(25.346, -124.766, 97.775) * CFrame.Angles(1.57146692276, 4.1015600800165e-006, 1.5708599090576)
  980. weld_18.C0 = CFrame.new(97.771, -124.766, -25.364) * CFrame.Angles(1.5708001852036, -0.00067062757443637, -0.00011363418161636)
  981.  
  982. part_18.Anchored = true
  983. part_18.Friction = 0.3
  984. part_18.CanCollide = false
  985. part_18.TopSurface = Enum.SurfaceType.Smooth
  986. part_18.Size = Vector3.new(1.221, 0.478, 1.195)
  987. part_18.CFrame = CFrame.new(36.143, 1.652, -157.7) * CFrame.Angles(3.0470411777496, 1.5701057910919, 1.6653438806534)
  988. part_18.CustomPhysicalProperties = PhysicalProperties.new()
  989. part_18.BrickColor = BrickColor.new("Black")
  990. part_18.BottomSurface = Enum.SurfaceType.Smooth
  991.  
  992. mesh_19.Scale = Vector3.new(0.09, 0.39, 0.18)
  993.  
  994. weld_19.Part1 = part_19
  995. weld_19.Part0 = part_18
  996. weld_19.C1 = CFrame.new(-97.855, 25.364, 124.607) * CFrame.Angles(-4.0521867958887e-006, -8.5250451320462e-007, 3.1414790153503)
  997. weld_19.C0 = CFrame.new(25.346, -124.766, 97.775) * CFrame.Angles(1.57146692276, 4.1015600800165e-006, 1.5708599090576)
  998.  
  999. part_19.Anchored = true
  1000. part_19.Friction = 0.3
  1001. part_19.CanCollide = false
  1002. part_19.TopSurface = Enum.SurfaceType.Smooth
  1003. part_19.Size = Vector3.new(1.221, 0.478, 1.195)
  1004. part_19.CFrame = CFrame.new(36.143, 1.652, -157.607) * CFrame.Angles(-4.052089934703e-006, -8.5296545648816e-007, -3.1414790153503)
  1005. part_19.CustomPhysicalProperties = PhysicalProperties.new()
  1006. part_19.BrickColor = BrickColor.new("Dark stone grey")
  1007. part_19.BottomSurface = Enum.SurfaceType.Smooth
  1008.  
  1009. mesh_20.Scale = Vector3.new(0.072, 0.39, 0.12)
  1010.  
  1011. weld_20.Part1 = part_20
  1012. weld_20.Part0 = part_19
  1013. weld_20.C1 = CFrame.new(-25.362, -97.855, 124.607) * CFrame.Angles(9.4197940825325e-007, -4.0570071178081e-006, -1.5708932876587)
  1014. weld_20.C0 = CFrame.new(-97.855, 25.364, 124.607) * CFrame.Angles(-4.0521867958887e-006, -8.5250451320462e-007, 3.1414790153503)
  1015.  
  1016. part_20.Anchored = true
  1017. part_20.Friction = 0.3
  1018. part_20.CanCollide = false
  1019. part_20.TopSurface = Enum.SurfaceType.Smooth
  1020. part_20.Size = Vector3.new(1.221, 0.478, 1.195)
  1021. part_20.CFrame = CFrame.new(36.143, 1.652, -157.607) * CFrame.Angles(-4.0569157135906e-006, -9.4237282155518e-007, 1.5708932876587)
  1022. part_20.CustomPhysicalProperties = PhysicalProperties.new()
  1023. part_20.BrickColor = BrickColor.new("Dark stone grey")
  1024. part_20.BottomSurface = Enum.SurfaceType.Smooth
  1025.  
  1026. mesh_21.Scale = Vector3.new(0.072, 0.39, 0.12)
  1027.  
  1028. weld_21.Part1 = part_21
  1029. weld_21.Part0 = part_20
  1030. weld_21.C1 = CFrame.new(-25.362, -97.855, 124.427) * CFrame.Angles(9.4197935140983e-007, -4.052367330587e-006, -1.5708932876587)
  1031. weld_21.C0 = CFrame.new(-25.362, -97.855, 124.607) * CFrame.Angles(9.4197940825325e-007, -4.0570071178081e-006, -1.5708932876587)
  1032.  
  1033. part_21.Anchored = true
  1034. part_21.Friction = 0.3
  1035. part_21.CanCollide = false
  1036. part_21.TopSurface = Enum.SurfaceType.Smooth
  1037. part_21.Size = Vector3.new(1.221, 0.478, 1.195)
  1038. part_21.CFrame = CFrame.new(36.143, 1.652, -157.428) * CFrame.Angles(-4.0522759263695e-006, -9.4237230996441e-007, 1.5708932876587)
  1039. part_21.CustomPhysicalProperties = PhysicalProperties.new()
  1040. part_21.BrickColor = BrickColor.new("Dark stone grey")
  1041. part_21.BottomSurface = Enum.SurfaceType.Smooth
  1042.  
  1043. mesh_22.Scale = Vector3.new(0.072, 0.39, 0.12)
  1044.  
  1045. weld_22.Part1 = part_22
  1046. weld_22.Part0 = part_21
  1047. weld_22.C1 = CFrame.new(-25.362, -97.855, 124.248) * CFrame.Angles(9.2707841758966e-007, -4.0615313992021e-006, -1.5708932876587)
  1048. weld_22.C0 = CFrame.new(-25.362, -97.855, 124.427) * CFrame.Angles(9.4197935140983e-007, -4.052367330587e-006, -1.5708932876587)
  1049.  
  1050. part_22.Anchored = true
  1051. part_22.Friction = 0.3
  1052. part_22.CanCollide = false
  1053. part_22.TopSurface = Enum.SurfaceType.Smooth
  1054. part_22.Size = Vector3.new(1.221, 0.478, 1.195)
  1055. part_22.CFrame = CFrame.new(36.143, 1.652, -157.248) * CFrame.Angles(-4.0614413592266e-006, -9.2747228563894e-007, 1.5708932876587)
  1056. part_22.CustomPhysicalProperties = PhysicalProperties.new()
  1057. part_22.BrickColor = BrickColor.new("Dark stone grey")
  1058. part_22.BottomSurface = Enum.SurfaceType.Smooth
  1059.  
  1060. mesh_23.Scale = Vector3.new(0.072, 0.39, 0.12)
  1061.  
  1062. weld_23.Part1 = part_23
  1063. weld_23.Part0 = part_22
  1064. weld_23.C1 = CFrame.new(97.855, -25.364, 124.427) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  1065. weld_23.C0 = CFrame.new(-25.362, -97.855, 124.248) * CFrame.Angles(9.2707841758966e-007, -4.0615313992021e-006, -1.5708932876587)
  1066.  
  1067. part_23.Anchored = true
  1068. part_23.Friction = 0.3
  1069. part_23.CanCollide = false
  1070. part_23.TopSurface = Enum.SurfaceType.Smooth
  1071. part_23.Size = Vector3.new(1.221, 0.478, 1.195)
  1072. part_23.CFrame = CFrame.new(36.143, 1.652, -157.428) * CFrame.Angles(-4.0569157135906e-006, -9.4237185521706e-007, 0.00011360710050212)
  1073. part_23.CustomPhysicalProperties = PhysicalProperties.new()
  1074. part_23.BrickColor = BrickColor.new("Dark stone grey")
  1075. part_23.BottomSurface = Enum.SurfaceType.Smooth
  1076.  
  1077. mesh_24.Scale = Vector3.new(0.072, 0.39, 0.12)
  1078.  
  1079. weld_24.Part1 = part_24
  1080. weld_24.Part0 = part_23
  1081. weld_24.C1 = CFrame.new(97.855, -25.364, 124.248) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  1082. weld_24.C0 = CFrame.new(97.855, -25.364, 124.427) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  1083.  
  1084. part_24.Anchored = true
  1085. part_24.Friction = 0.3
  1086. part_24.CanCollide = false
  1087. part_24.TopSurface = Enum.SurfaceType.Smooth
  1088. part_24.Size = Vector3.new(1.221, 0.478, 1.195)
  1089. part_24.CFrame = CFrame.new(36.143, 1.652, -157.248) * CFrame.Angles(-4.0569157135906e-006, -9.4237185521706e-007, 0.00011360710050212)
  1090. part_24.CustomPhysicalProperties = PhysicalProperties.new()
  1091. part_24.BrickColor = BrickColor.new("Dark stone grey")
  1092. part_24.BottomSurface = Enum.SurfaceType.Smooth
  1093.  
  1094. mesh_25.Scale = Vector3.new(0.072, 0.39, 0.12)
  1095.  
  1096. weld_25.Part1 = part_25
  1097. weld_25.Part0 = part_24
  1098. weld_25.C1 = CFrame.new(-25.362, -97.855, 124.069) * CFrame.Angles(9.2475170276884e-007, -4.1538651203155e-006, -1.5708932876587)
  1099. weld_25.C0 = CFrame.new(97.855, -25.364, 124.248) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  1100.  
  1101. part_25.Anchored = true
  1102. part_25.Friction = 0.3
  1103. part_25.CanCollide = false
  1104. part_25.TopSurface = Enum.SurfaceType.Smooth
  1105. part_25.Size = Vector3.new(1.221, 0.478, 1.195)
  1106. part_25.CFrame = CFrame.new(36.143, 1.652, -157.069) * CFrame.Angles(-4.1537755350873e-006, -9.2515455207831e-007, 1.5708932876587)
  1107. part_25.CustomPhysicalProperties = PhysicalProperties.new()
  1108. part_25.BrickColor = BrickColor.new("Dark stone grey")
  1109. part_25.BottomSurface = Enum.SurfaceType.Smooth
  1110.  
  1111. mesh_26.Scale = Vector3.new(0.072, 0.39, 0.12)
  1112.  
  1113. weld_26.Part1 = part_26
  1114. weld_26.Part0 = part_25
  1115. weld_26.C1 = CFrame.new(97.855, -25.364, 124.069) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  1116. weld_26.C0 = CFrame.new(-25.362, -97.855, 124.069) * CFrame.Angles(9.2475170276884e-007, -4.1538651203155e-006, -1.5708932876587)
  1117.  
  1118. part_26.Anchored = true
  1119. part_26.Friction = 0.3
  1120. part_26.CanCollide = false
  1121. part_26.TopSurface = Enum.SurfaceType.Smooth
  1122. part_26.Size = Vector3.new(1.221, 0.478, 1.195)
  1123. part_26.CFrame = CFrame.new(36.143, 1.652, -157.069) * CFrame.Angles(-4.0569157135906e-006, -9.4237185521706e-007, 0.00011360710050212)
  1124. part_26.CustomPhysicalProperties = PhysicalProperties.new()
  1125. part_26.BrickColor = BrickColor.new("Dark stone grey")
  1126. part_26.BottomSurface = Enum.SurfaceType.Smooth
  1127.  
  1128. mesh_27.Scale = Vector3.new(0.072, 0.39, 0.12)
  1129.  
  1130. weld_27.Part1 = part_27
  1131. weld_27.Part0 = part_26
  1132. weld_27.C1 = CFrame.new(123.441, -97.855, 25.304) * CFrame.Angles(-1.5709100961685, 1.5707963705063, 0)
  1133. weld_27.C0 = CFrame.new(97.855, -25.364, 124.069) * CFrame.Angles(4.057022579218e-006, 9.4191096877694e-007, -0.00011360710777808)
  1134.  
  1135. part_27.Anchored = true
  1136. part_27.Friction = 0.3
  1137. part_27.CanCollide = false
  1138. part_27.TopSurface = Enum.SurfaceType.Smooth
  1139. part_27.Size = Vector3.new(1.282, 0.354, 0.354)
  1140. part_27.CFrame = CFrame.new(36.143, 1.592, -156.442) * CFrame.Angles(1.5707924365997, 0.00011375612666598, 1.5707973241806)
  1141. part_27.CustomPhysicalProperties = PhysicalProperties.new()
  1142. part_27.BrickColor = BrickColor.new("Black")
  1143. part_27.BottomSurface = Enum.SurfaceType.Smooth
  1144.  
  1145. mesh_28.Scale = Vector3.new(1, 0.522, 0.304)
  1146.  
  1147. weld_28.Part1 = part_28
  1148. weld_28.Part0 = part_27
  1149. weld_28.C1 = CFrame.new(123.782, -97.855, 25.049) * CFrame.Angles(-1.5709099769592, 1.5707963705063, 0)
  1150. weld_28.C0 = CFrame.new(123.441, -97.855, 25.304) * CFrame.Angles(-1.5709100961685, 1.5707963705063, 0)
  1151.  
  1152. part_28.Anchored = true
  1153. part_28.Friction = 0.3
  1154. part_28.CanCollide = false
  1155. part_28.TopSurface = Enum.SurfaceType.Smooth
  1156. part_28.Size = Vector3.new(0.366, 0.354, 0.354)
  1157. part_28.CFrame = CFrame.new(36.143, 1.338, -156.782) * CFrame.Angles(1.5707923173904, 0.00011360710050212, 1.5707973241806)
  1158. part_28.CustomPhysicalProperties = PhysicalProperties.new()
  1159. part_28.BrickColor = BrickColor.new("Black")
  1160. part_28.BottomSurface = Enum.SurfaceType.Smooth
  1161.  
  1162. mesh_29.Scale = Vector3.new(1, 0.405, 0.709)
  1163.  
  1164. weld_29.Part1 = part_29
  1165. weld_29.Part0 = part_28
  1166. weld_29.C1 = CFrame.new(97.855, -49.78, 115.322) * CFrame.Angles(0.20944617688656, 1.0757878499135e-006, -0.00011357730545569)
  1167. weld_29.C0 = CFrame.new(123.782, -97.855, 25.049) * CFrame.Angles(-1.5709099769592, 1.5707963705063, 0)
  1168.  
  1169. part_29.Anchored = true
  1170. part_29.Friction = 0.3
  1171. part_29.CanCollide = false
  1172. part_29.TopSurface = Enum.SurfaceType.Smooth
  1173. part_29.Size = Vector3.new(1.221, 0.478, 1.195)
  1174. part_29.CFrame = CFrame.new(36.143, 1.004, -156.152) * CFrame.Angles(-0.2094461619854, -2.4667066099937e-005, 0.00011087153689004)
  1175. part_29.CustomPhysicalProperties = PhysicalProperties.new()
  1176. part_29.BrickColor = BrickColor.new("Black")
  1177. part_29.BottomSurface = Enum.SurfaceType.Smooth
  1178.  
  1179. mesh_30.Scale = Vector3.new(0.12, 1.23, 0.15)
  1180.  
  1181. weld_30.Part1 = part_30
  1182. weld_30.Part0 = part_29
  1183. weld_30.C1 = CFrame.new(97.855, -47.496, 116.075) * CFrame.Angles(0.19199270009995, 1.0993036312357e-006, -0.00011357730545569)
  1184. weld_30.C0 = CFrame.new(97.855, -49.78, 115.322) * CFrame.Angles(0.20944617688656, 1.0757878499135e-006, -0.00011357730545569)
  1185.  
  1186. part_30.Anchored = true
  1187. part_30.Friction = 0.3
  1188. part_30.CanCollide = false
  1189. part_30.TopSurface = Enum.SurfaceType.Smooth
  1190. part_30.Size = Vector3.new(1.221, 0.478, 1.195)
  1191. part_30.CFrame = CFrame.new(36.143, 0.763, -156.005) * CFrame.Angles(-0.19199271500111, -2.2751401047572e-005, 0.00011128066398669)
  1192. part_30.CustomPhysicalProperties = PhysicalProperties.new()
  1193. part_30.BrickColor = BrickColor.new("Black")
  1194. part_30.BottomSurface = Enum.SurfaceType.Smooth
  1195.  
  1196. mesh_31.Scale = Vector3.new(0.12, 0.12, 0.306)
  1197.  
  1198. weld_31.Part1 = part_31
  1199. weld_31.Part0 = part_30
  1200. weld_31.C1 = CFrame.new(-97.855, 123.405, -25.221) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  1201. weld_31.C0 = CFrame.new(97.855, -47.496, 116.075) * CFrame.Angles(0.19199270009995, 1.0993036312357e-006, -0.00011357730545569)
  1202.  
  1203. part_31.Anchored = true
  1204. part_31.Friction = 0.3
  1205. part_31.CanCollide = false
  1206. part_31.TopSurface = Enum.SurfaceType.Smooth
  1207. part_31.Size = Vector3.new(0.361, 0.681, 0.354)
  1208. part_31.CFrame = CFrame.new(36.143, 1.51, -156.406) * CFrame.Angles(-1.5708003044128, -0.00011360710050212, 3.1415917873383)
  1209. part_31.CustomPhysicalProperties = PhysicalProperties.new()
  1210. part_31.BrickColor = BrickColor.new("Black")
  1211. part_31.BottomSurface = Enum.SurfaceType.Smooth
  1212.  
  1213. mesh_32.Scale = Vector3.new(0.405, 1, 0.405)
  1214.  
  1215. weld_32.Part1 = part_32
  1216. weld_32.Part0 = part_31
  1217. weld_32.C1 = CFrame.new(97.855, -55.898, 112.41) * CFrame.Angles(0.26180651783943, 1.0734595434769e-006, -0.00011357730545569)
  1218. weld_32.C0 = CFrame.new(-97.855, 123.405, -25.221) * CFrame.Angles(-1.5708003044128, -9.4191096877694e-007, 3.1414790153503)
  1219.  
  1220. part_32.Anchored = true
  1221. part_32.Friction = 0.3
  1222. part_32.CanCollide = false
  1223. part_32.TopSurface = Enum.SurfaceType.Smooth
  1224. part_32.Size = Vector3.new(1.221, 0.956, 1.195)
  1225. part_32.CFrame = CFrame.new(36.143, 1.187, -156.047) * CFrame.Angles(-0.26180651783943, -3.0433633583016e-005, 0.00010942920926027)
  1226. part_32.CustomPhysicalProperties = PhysicalProperties.new()
  1227. part_32.BrickColor = BrickColor.new("Black")
  1228. part_32.BottomSurface = Enum.SurfaceType.Smooth
  1229.  
  1230. mesh_33.Scale = Vector3.new(0.12, 0.915, 0.24)
  1231.  
  1232. weld_33.Part1 = part_33
  1233. weld_33.Part0 = part_32
  1234. weld_33.C1 = CFrame.new(97.855, -47.938, 116.087) * CFrame.Angles(0.19199270009995, 1.0764863418444e-006, -0.00011357730545569)
  1235. weld_33.C0 = CFrame.new(97.855, -55.898, 112.41) * CFrame.Angles(0.26180651783943, 1.0734595434769e-006, -0.00011357730545569)
  1236.  
  1237. part_33.Anchored = true
  1238. part_33.Friction = 0.3
  1239. part_33.CanCollide = false
  1240. part_33.TopSurface = Enum.SurfaceType.Smooth
  1241. part_33.Size = Vector3.new(1.221, 0.956, 1.195)
  1242. part_33.CFrame = CFrame.new(36.143, 1.195, -156.101) * CFrame.Angles(-0.19199272990227, -2.2729005650035e-005, 0.0001112850222853)
  1243. part_33.CustomPhysicalProperties = PhysicalProperties.new()
  1244. part_33.BrickColor = BrickColor.new("Black")
  1245. part_33.BottomSurface = Enum.SurfaceType.Smooth
  1246.  
  1247. mesh_34.Scale = Vector3.new(0.12, 0.915, 0.24)
  1248.  
  1249. weld_34.Part1 = part_34
  1250. weld_34.Part0 = part_33
  1251. weld_34.C1 = CFrame.new(97.94, -25.006, 123.316) * CFrame.Angles(4.0089012145472e-006, 0.00069162424188107, -0.00011381851800252)
  1252. weld_34.C0 = CFrame.new(97.855, -47.938, 116.087) * CFrame.Angles(0.19199270009995, 1.0764863418444e-006, -0.00011357730545569)
  1253.  
  1254. part_34.Anchored = true
  1255. part_34.Friction = 0.3
  1256. part_34.CanCollide = false
  1257. part_34.TopSurface = Enum.SurfaceType.Smooth
  1258. part_34.Size = Vector3.new(1.221, 1.195, 1.195)
  1259. part_34.CFrame = CFrame.new(36.143, 1.295, -156.384) * CFrame.Angles(-3.9301826291194e-006, -0.00069162470754236, 0.0001138157749665)
  1260. part_34.CustomPhysicalProperties = PhysicalProperties.new()
  1261. part_34.BrickColor = BrickColor.new("Dark stone grey")
  1262. part_34.BottomSurface = Enum.SurfaceType.Smooth
  1263.  
  1264. mesh_35.Scale = Vector3.new(0.09, 0.09, 0.06)
  1265. mesh_35.MeshType = Enum.MeshType.Wedge
  1266.  
  1267. weld_35.Part1 = part_35
  1268. weld_35.Part0 = part_34
  1269. weld_35.C1 = CFrame.new(97.855, 25.114, -123.621) * CFrame.Angles(-3.1415886878967, 9.4191096877694e-007, -0.00011360710777808)
  1270. weld_35.C0 = CFrame.new(97.94, -25.006, 123.316) * CFrame.Angles(4.0089012145472e-006, 0.00069162424188107, -0.00011381851800252)
  1271.  
  1272. part_35.Anchored = true
  1273. part_35.Friction = 0.3
  1274. part_35.CanCollide = false
  1275. part_35.TopSurface = Enum.SurfaceType.Smooth
  1276. part_35.Size = Vector3.new(1.221, 1.195, 1.195)
  1277. part_35.CFrame = CFrame.new(36.143, 1.402, -156.621) * CFrame.Angles(3.1415886878967, 9.4237185521706e-007, -0.00011360710050212)
  1278. part_35.CustomPhysicalProperties = PhysicalProperties.new()
  1279. part_35.BrickColor = BrickColor.new("Black")
  1280. part_35.BottomSurface = Enum.SurfaceType.Smooth
  1281.  
  1282. mesh_36.Scale = Vector3.new(0.12, 0.06, 0.03)
  1283. mesh_36.MeshType = Enum.MeshType.Wedge
  1284.  
  1285. weld_36.Part1 = part_36
  1286. weld_36.Part0 = part_35
  1287. weld_36.C1 = CFrame.new(-97.96, 123.486, -25.414) * CFrame.Angles(-1.5708001852036, -0.00034632478491403, 3.1414790153503)
  1288. weld_36.C0 = CFrame.new(97.855, 25.114, -123.621) * CFrame.Angles(-3.1415886878967, 9.4191096877694e-007, -0.00011360710777808)
  1289.  
  1290. part_36.Anchored = true
  1291. part_36.Friction = 0.3
  1292. part_36.CanCollide = false
  1293. part_36.TopSurface = Enum.SurfaceType.Smooth
  1294. part_36.Size = Vector3.new(1.221, 0.478, 1.195)
  1295. part_36.CFrame = CFrame.new(36.08, 1.702, -156.52) * CFrame.Angles(-1.5708001852036, -0.00011360715870978, 3.1412463188171)
  1296. part_36.CustomPhysicalProperties = PhysicalProperties.new()
  1297. part_36.BrickColor = BrickColor.new("Really black")
  1298. part_36.BottomSurface = Enum.SurfaceType.Smooth
  1299.  
  1300. mesh_37.Scale = Vector3.new(0.039, 0.81, 0.06)
  1301.  
  1302. weld_37.Part1 = smokepart
  1303. weld_37.Part0 = part_36
  1304. weld_37.C1 = CFrame.new(25.347, -125.198, 97.325) * CFrame.Angles(1.5749682188034, 4.824919415114e-007, 1.5706913471222)
  1305. weld_37.C0 = CFrame.new(-97.96, 123.486, -25.414) * CFrame.Angles(-1.5708001852036, -0.00034632478491403, 3.1414790153503)
  1306.  
  1307. smokepart.Friction = 0.3
  1308. smokepart.CanCollide = false
  1309. smokepart.Transparency = 1
  1310. smokepart.TopSurface = Enum.SurfaceType.Smooth
  1311. smokepart.Material = Enum.Material.SmoothPlastic
  1312. smokepart.Size = Vector3.new(0.361, 0.354, 0.354)
  1313. smokepart.Name = "SmokePart"
  1314. smokepart.CFrame = CFrame.new(36.151, 1.636, -157.791) * CFrame.Angles(-3.116438627243, 1.5666244029999, 1.5456416606903)
  1315. smokepart.CustomPhysicalProperties = PhysicalProperties.new()
  1316. smokepart.BrickColor = BrickColor.new("Dark stone grey")
  1317. smokepart.BottomSurface = Enum.SurfaceType.Smooth
  1318.  
  1319. mesh_38.Scale = Vector3.new(0.202, 0.025, 0.657)
  1320.  
  1321. weld_38.Part1 = handle
  1322. weld_38.Part0 = smokepart
  1323. weld_38.C1 = CFrame.new(126.395, -25.039, 93.84) * CFrame.Angles(4.3374866436352e-006, 0.26179566979408, -0.00012152710405644)
  1324. weld_38.C0 = CFrame.new(25.347, -125.198, 97.325) * CFrame.Angles(1.5749682188034, 4.824919415114e-007, 1.5706913471222)
  1325.  
  1326. handle.Friction = 0.3
  1327. handle.CanCollide = false
  1328. handle.TopSurface = Enum.SurfaceType.Smooth
  1329. handle.Material = Enum.Material.SmoothPlastic
  1330. handle.Size = Vector3.new(0.361, 0.354, 0.354)
  1331. handle.Name = "Handle"
  1332. handle.CFrame = CFrame.new(36.196, 1.327, -156.356) * CFrame.Angles(2.8072103305021e-005, -0.26179563999176, 0.00012465177860577)
  1333. handle.CustomPhysicalProperties = PhysicalProperties.new()
  1334. handle.BottomSurface = Enum.SurfaceType.Smooth
  1335.  
  1336. mesh_39.Scale = Vector3.new(0.076, 0.126, 0.253)
  1337.  
  1338. reload.EmitterSize = 0
  1339. reload.Name = "Reload"
  1340. reload.Volume = 1
  1341. reload.SoundId = "http://www.roblox.com/asset/?id=159385334"
  1342.  
  1343. shoot.EmitterSize = 0
  1344. shoot.PlaybackSpeed = 1.2
  1345. shoot.Name = "Shoot"
  1346. shoot.Volume = 1
  1347. shoot.SoundId = "http://www.roblox.com/asset/?id=132456115"
  1348.  
  1349. weld_39.Part1 = aimpart
  1350. weld_39.Part0 = handle
  1351. weld_39.C1 = CFrame.new(97.822, -25.487, 122.279) * CFrame.Angles(2.1091605617585e-007, 5.9604651880818e-008, -0.00012188089021947)
  1352. weld_39.C0 = CFrame.new(126.395, -25.039, 93.84) * CFrame.Angles(4.3374866436352e-006, 0.26179563999176, -0.00012152710405644)
  1353.  
  1354. aimpart.Friction = 0.3
  1355. aimpart.CanCollide = false
  1356. aimpart.Transparency = 1
  1357. aimpart.TopSurface = Enum.SurfaceType.Smooth
  1358. aimpart.Material = Enum.Material.SmoothPlastic
  1359. aimpart.Size = Vector3.new(0.361, 0.354, 0.354)
  1360. aimpart.Name = "AimPart"
  1361. aimpart.CFrame = CFrame.new(36.175, 1.775, -155.279) * CFrame.Angles(-2.1091361190884e-007, -5.9604644775391e-008, 0.00012188089021947)
  1362. aimpart.CustomPhysicalProperties = PhysicalProperties.new()
  1363. aimpart.BottomSurface = Enum.SurfaceType.Smooth
  1364.  
  1365. mesh_40.Scale = Vector3.new(0.076, 0.101, 0.253)
  1366.  
  1367. weldall.Name = WeldAll
  1368.  
  1369. gunscript.Name = Gun_Script
  1370.  
  1371. ammo.Name = "Ammo"
  1372. ammo.Value = 30
  1373.  
  1374. storedammo.Name = "StoredAmmo"
  1375. storedammo.Value = 300
  1376.  
  1377. gui.Name = "Gui"
  1378.  
  1379. frame.Size = UDim2.new(0, 100, 0, 100)
  1380. frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1381. frame.Position = UDim2.new(1, -200, 1, -100)
  1382. frame.BorderSizePixel = 0
  1383. frame.BackgroundTransparency = 1
  1384. frame.BackgroundColor3 = Color3.new(1, 1, 1)
  1385.  
  1386. ammodisplay.TextStrokeTransparency = 0.5
  1387. ammodisplay.BackgroundColor3 = Color3.new(0.639216, 0.635294, 0.647059)
  1388. ammodisplay.BackgroundTransparency = 1
  1389. ammodisplay.Size = UDim2.new(1, 0, 1, 0)
  1390. ammodisplay.TextColor3 = Color3.new(0.917647, 0.917647, 0.917647)
  1391. ammodisplay.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  1392. ammodisplay.Text = ""
  1393. ammodisplay.TextSize = 24
  1394. ammodisplay.Name = "AmmoDisplay"
  1395. ammodisplay.TextXAlignment = Enum.TextXAlignment.Right
  1396. ammodisplay.FontSize = Enum.FontSize.Size24
  1397.  
  1398. smoke.Enabled = false
  1399. smoke.Color = Color3.new(0.372549, 0.372549, 0.372549)
  1400. smoke.Opacity = 0.1
  1401. smoke.RiseVelocity = 10
  1402. smoke.Size = 0.25
  1403.  
  1404. smoke1.Enabled = false
  1405. smoke1.Color = Color3.new(1, 0.6, 0.2)
  1406. smoke1.Name = "Smoke1"
  1407. smoke1.Opacity = 0.4
  1408. smoke1.RiseVelocity = 3
  1409. smoke1.Size = 0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement