Advertisement
HenloMyDude

m4a1

Jan 25th, 2020
626
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.23 KB | None | 0 0
  1. ---------------------------------
  2. -- /--// SlayKillerX66 //--\ --
  3. ---------------------------------
  4.  
  5. warn'm4a1 by SlayKillerX66. non require by youngmacka123. skids yall can use this if u want since centurion is leaked on toolbox'
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  8. local RealPlayer = Player
  9. local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("E")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer warn'youngmacka123s non require of m4a1'
  10.  
  11. local Player = owner
  12. local Mouse = Player:GetMouse()
  13. local WALKSPEED = 13
  14. local g = game
  15. local plr = Player
  16. local C = plr.Character
  17. local H = C.Humanoid
  18. local cam = workspace.CurrentCamera
  19. ffc=function(a,b)return a:FindFirstChild(b)end
  20. H.WalkSpeed = WALKSPEED
  21. H.JumpPower = 50
  22. H.MaxHealth = 120
  23. H.Health = 120
  24.  
  25. local oW = H.WalkSpeed
  26. local haskit = true
  27. local healing = false
  28. local DebrisService = g:GetService('Debris')
  29. local LARM = C:WaitForChild("Left Arm")
  30. local RARM = C:WaitForChild("Right Arm")
  31. local LLEG = C:WaitForChild("Left Leg")
  32. local RLEG = C:WaitForChild("Right Leg")
  33. local Head = C.Head
  34. local Torso = C.Torso
  35. local Neck = Torso.Neck
  36. local Root = C.HumanoidRootPart
  37. local RootJ = Root.RootJoint
  38. local speed = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  39. local velocity = Root.Velocity.y
  40. local Animation = "Idle"
  41. local wep = 'primary'
  42. local a = 0
  43. local k = 0
  44.  
  45. --[[ Base Varibles ]]--
  46.  
  47. local cn = CFrame.new
  48. local aa = CFrame.Angles
  49. local ud = UDim2.new
  50. local c3 = Color3.new
  51. local sin = math.sin
  52. local sqrt = math.sqrt
  53. local rad = math.rad
  54. local cos = math.cos
  55. local acos = math.acos
  56. local abs = math.abs
  57. local asin = math.asin
  58. local atan = math.atan
  59. local atan2 = math.atan2
  60. local turn = true
  61. local sit = false
  62. local fist = false
  63. local running = false
  64. local emoting = false
  65. local attack = false
  66. local valid_blood = false
  67. local valid_hit = true
  68.  
  69. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  70. local RootCF = aa(-1.57, 0, 3.14)
  71. local RHCF = aa(0, 1.6, 0)
  72. local LHCF = aa(0, -1.6, 0)
  73.  
  74. --[[ ------------ ]]--
  75.  
  76. local function GetNearbyTorsos(FromPart,range,ignore) -- Detects both r15 and r6
  77. local Torsos = {}
  78. for x=1,#workspace:GetChildren() do
  79. local xj = workspace:GetChildren()
  80. local cc = range
  81. local fromPoint = FromPart
  82. if xj[x]:IsA('Model') and not (xj[x].Name == (ignore.Name)) then
  83. if xj[x]:FindFirstChild('Torso') then
  84. local perfectTorso = nil
  85. if (fromPoint.Position - xj[x]:FindFirstChild('Torso').Position).magnitude < cc then
  86. local perfectTorso = xj[x]:FindFirstChild('Torso')
  87. table.insert(Torsos, perfectTorso)
  88. end
  89. elseif xj[x]:FindFirstChild('UpperTorso') then
  90. local perfectTorso = nil
  91. if (fromPoint.Position - xj[x]:FindFirstChild('UpperTorso').Position).magnitude < cc then
  92. local perfectTorso = xj[x]:FindFirstChild('UpperTorso')
  93. table.insert(Torsos, perfectTorso)
  94. end
  95. end
  96. end
  97. end
  98. return Torsos
  99. end
  100. local function DamageFromList(list,takedamage,c,c)
  101. local EgibleParts = list
  102. if EgibleParts[1] ~= nil then
  103. for i=1,#EgibleParts do
  104. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  105. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(takedamage)
  106. end
  107. end
  108. end
  109. end
  110.  
  111. warn('Made by SlayKillerX66')
  112. warn('Not Finished YET')
  113. warn('Current Buttons: Z X C V Click')
  114.  
  115. CI = {
  116. Sound = {
  117. Create = function(id, parent, volume, pitch, play, name, loop, debre, time, position)
  118. spawn(function()
  119. local sound = Instance.new("Sound", parent or workspace)
  120. sound.Volume = volume or 0.5
  121. sound.Pitch = pitch or 1
  122. sound.SoundId = id or 0
  123. sound.TimePosition = position or 0
  124. sound.Looped = loop or false
  125. sound.Name = name or "Sound"
  126. if play == true then sound:play()end
  127. if debre == true then
  128. g:GetService("Debris"):AddItem(sound,time or 5)end
  129. return sound
  130. end)
  131. end}}
  132.  
  133. bat = Instance.new("Part")
  134. meshhd = Instance.new("SpecialMesh")
  135. bat.Anchored = false
  136. bat.CanCollide = false
  137. bat.Size = Vector3.new(0.5, 4.2, 0.4)
  138. bat.Name = "Bat"
  139. bat.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  140. bat.Material = Enum.Material.SmoothPlastic
  141. bat.Orientation = Vector3.new(-0.01, 90, -90)
  142. bat.Color = Color3.new(0.105882, 0.164706, 0.207843)
  143. bat.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  144. bat.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  145. bat.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  146. bat.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  147. bat.BrickColor = BrickColor.new("Black")
  148. bat.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  149. bat.Parent = C
  150. bat.CFrame = CFrame.new(-115.57, 0.27, -40.5) * CFrame.Angles(-1.571, 1.571, 0)
  151. meshhd.TextureId = "rbxassetid://54983107" -- 686120222
  152. meshhd.MeshType = Enum.MeshType.FileMesh
  153. meshhd.MeshId = "rbxassetid://686120220"
  154. meshhd.Parent = bat
  155.  
  156. m4a1=Instance.new("Model")
  157. mainpart=Instance.new("Part")part=Instance.new("Part")weld=Instance.new("Weld")
  158. part_2=Instance.new("Part")mesh=Instance.new("BlockMesh")
  159. weld_2=Instance.new("Weld")part_3=Instance.new("Part")
  160. mesh_2=Instance.new("BlockMesh")weld_3=Instance.new("Weld")
  161. part_4=Instance.new("Part")mesh_3=Instance.new("BlockMesh")
  162. weld_4=Instance.new("Weld")part_5=Instance.new("Part")
  163. weld_5=Instance.new("Weld")part_6=Instance.new("Part")
  164. weld_6=Instance.new("Weld")part_7=Instance.new("Part")
  165. weld_7=Instance.new("Weld")part_8=Instance.new("Part")
  166. mesh_4=Instance.new("SpecialMesh")weld_8=Instance.new("Weld")
  167. part_9=Instance.new("Part")weld_9=Instance.new("Weld")
  168. part_10=Instance.new("Part")mesh_5=Instance.new("BlockMesh")
  169. weld_10=Instance.new("Weld")part_11=Instance.new("Part")
  170. weld_11=Instance.new("Weld")part_12=Instance.new("Part")
  171. weld_12=Instance.new("Weld")part_13=Instance.new("Part")
  172. mesh_6=Instance.new("BlockMesh")weld_13=Instance.new("Weld")
  173. part_14=Instance.new("Part")weld_14=Instance.new("Weld")
  174. part_15=Instance.new("Part")weld_15=Instance.new("Weld")
  175. part_16=Instance.new("Part")weld_16=Instance.new("Weld")
  176. part_17=Instance.new("Part")weld_17=Instance.new("Weld")
  177. hole=Instance.new("Part")smoke=Instance.new("ParticleEmitter")
  178. flame=Instance.new("ParticleEmitter")flamelight=Instance.new("PointLight")
  179. weld_18=Instance.new("Weld")part_18=Instance.new("Part")
  180. weld_19=Instance.new("Weld")part_19=Instance.new("Part")
  181. weld_20=Instance.new("Weld")part_20=Instance.new("Part")
  182. weld_21=Instance.new("Weld")part_21=Instance.new("Part")
  183. weld_22=Instance.new("Weld")part_22=Instance.new("Part")
  184. weld_23=Instance.new("Weld")part_23=Instance.new("Part")
  185. mesh_7=Instance.new("SpecialMesh")weld_24=Instance.new("Weld")
  186. part_24=Instance.new("Part")weld_25=Instance.new("Weld")
  187. part_25=Instance.new("Part")weld_26=Instance.new("Weld")
  188. part_26=Instance.new("Part")mesh_8=Instance.new("SpecialMesh")
  189. weld_27=Instance.new("Weld")part_27=Instance.new("Part")
  190. weld_28=Instance.new("Weld")part_28=Instance.new("Part")
  191. mesh_9=Instance.new("BlockMesh")weld_29=Instance.new("Weld")
  192. part_29=Instance.new("Part")weld_30=Instance.new("Weld")
  193. part_30=Instance.new("Part")weld_31=Instance.new("Weld")
  194. part_31=Instance.new("Part")weld_32=Instance.new("Weld")
  195. part_32=Instance.new("Part")mesh_10=Instance.new("BlockMesh")
  196. weld_33=Instance.new("Weld")part_33=Instance.new("Part")
  197. mesh_11=Instance.new("BlockMesh")weld_34=Instance.new("Weld")
  198. part_34=Instance.new("Part")weld_35=Instance.new("Weld")
  199. part_35=Instance.new("Part")mesh_12=Instance.new("BlockMesh")
  200. weld_36=Instance.new("Weld")part_36=Instance.new("Part")
  201. weld_37=Instance.new("Weld")part_37=Instance.new("Part")
  202. weld_38=Instance.new("Weld")part_38=Instance.new("Part")
  203. mesh_13=Instance.new("BlockMesh")weld_39=Instance.new("Weld")
  204. part_39=Instance.new("Part")mesh_14=Instance.new("BlockMesh")
  205. weld_40=Instance.new("Weld")part_40=Instance.new("Part")
  206. mesh_15=Instance.new("SpecialMesh")weld_41=Instance.new("Weld")
  207. part_41=Instance.new("Part")weld_42=Instance.new("Weld")
  208. part_42=Instance.new("Part")weld_43=Instance.new("Weld")
  209. part_43=Instance.new("Part")weld_44=Instance.new("Weld")
  210. part_44=Instance.new("Part")weld_45=Instance.new("Weld")
  211. part_45=Instance.new("Part")weld_46=Instance.new("Weld")
  212. part_46=Instance.new("Part")weld_47=Instance.new("Weld")
  213. part_47=Instance.new("Part")weld_48=Instance.new("Weld")
  214. part_48=Instance.new("Part")mesh_16=Instance.new("SpecialMesh")
  215. weld_49=Instance.new("Weld")part_49=Instance.new("Part")
  216. mesh_17=Instance.new("BlockMesh")weld_50=Instance.new("Weld")
  217. part_50=Instance.new("Part")weld_51=Instance.new("Weld")
  218. part_51=Instance.new("Part")weld_52=Instance.new("Weld")
  219. part_52=Instance.new("Part")mesh_18=Instance.new("BlockMesh")
  220. weld_53=Instance.new("Weld")part_53=Instance.new("Part")
  221. weld_54=Instance.new("Weld")part_54=Instance.new("Part")
  222. mesh_19=Instance.new("BlockMesh")weld_55=Instance.new("Weld")
  223. part_55=Instance.new("Part")weld_56=Instance.new("Weld")
  224. part_56=Instance.new("Part")weld_57=Instance.new("Weld")
  225. part_57=Instance.new("Part")mesh_20=Instance.new("BlockMesh")
  226. weld_58=Instance.new("Weld")part_58=Instance.new("Part")
  227. mesh_21=Instance.new("BlockMesh")weld_59=Instance.new("Weld")
  228. part_59=Instance.new("Part")mesh_22=Instance.new("SpecialMesh")
  229. weld_60=Instance.new("Weld")part_60=Instance.new("Part")
  230. weld_61=Instance.new("Weld")part_61=Instance.new("Part")
  231. mesh_23=Instance.new("SpecialMesh")weld_62=Instance.new("Weld")
  232. part_62=Instance.new("Part")mesh_24=Instance.new("SpecialMesh")
  233. weld_63=Instance.new("Weld")part_63=Instance.new("Part")
  234. mesh_25=Instance.new("BlockMesh")weld_64=Instance.new("Weld")
  235. part_64=Instance.new("Part")mesh_26=Instance.new("BlockMesh")
  236. weld_65=Instance.new("Weld")part_65=Instance.new("Part")
  237. mesh_27=Instance.new("SpecialMesh")weld_66=Instance.new("Weld")
  238. part_66=Instance.new("Part")weld_67=Instance.new("Weld")
  239. part_67=Instance.new("Part")weld_68=Instance.new("Weld")
  240. part_68=Instance.new("Part")weld_69=Instance.new("Weld")
  241. part_69=Instance.new("Part")mesh_28=Instance.new("BlockMesh")
  242. weld_70=Instance.new("Weld")part_70=Instance.new("Part")
  243. weld_71=Instance.new("Weld")part_71=Instance.new("Part")
  244. weld_72=Instance.new("Weld")part_72=Instance.new("Part")
  245. weld_73=Instance.new("Weld")part_73=Instance.new("Part")
  246. weld_74=Instance.new("Weld")part_74=Instance.new("Part")
  247. weld_75=Instance.new("Weld")
  248. m4a1.Name = "M4A1"
  249. m4a1.Parent = C
  250. mainpart.CanCollide = false
  251. mainpart.Shape = Enum.PartType.Cylinder
  252. mainpart.Size = Vector3.new(0.194, 0.055, 0.055)
  253. mainpart.Name = "MainPart"
  254. mainpart.Material = Enum.Material.SmoothPlastic
  255. mainpart.Color = Color3.new(0.623529, 0.631373, 0.67451)
  256. mainpart.Orientation = Vector3.new(0, 90, 0)
  257. mainpart.BottomSurface = Enum.SurfaceType.Smooth
  258. mainpart.Velocity = Vector3.new(0, -730.031, 0)
  259. mainpart.BrickColor = BrickColor.new("Fossil")
  260. mainpart.TopSurface = Enum.SurfaceType.Smooth
  261. mainpart.Parent = m4a1
  262. mainpart.CFrame = CFrame.new(-133.557, 1.498, -16.892) * CFrame.Angles(0, 1.571, 0)
  263. part.CanCollide = false
  264. part.Shape = Enum.PartType.Cylinder
  265. part.Size = Vector3.new(1.235, 0.361, 0.361)
  266. part.Color = Color3.new(0.105882, 0.164706, 0.207843)
  267. part.Material = Enum.Material.SmoothPlastic
  268. part.BottomSurface = Enum.SurfaceType.Smooth
  269. part.BrickColor = BrickColor.new("Black")
  270. part.TopSurface = Enum.SurfaceType.Smooth
  271. part.Velocity = Vector3.new(0, -730.031, 0)
  272. part.Parent = m4a1
  273. part.CFrame = CFrame.new(-131.946, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
  274. weld.Part0 = mainpart
  275. weld.C1 = CFrame.new(-1.611, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
  276. weld.Part1 = part
  277. weld.Parent = part
  278. part_2.CanCollide = false
  279. part_2.Size = Vector3.new(0.294, 0.05, 0.078)
  280. part_2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  281. part_2.Material = Enum.Material.SmoothPlastic
  282. part_2.BottomSurface = Enum.SurfaceType.Smooth
  283. part_2.BrickColor = BrickColor.new("Black")
  284. part_2.TopSurface = Enum.SurfaceType.Smooth
  285. part_2.Velocity = Vector3.new(0, -730.031, 0)
  286. part_2.Parent = m4a1
  287. part_2.CFrame = CFrame.new(-133.212, 0.703, -16.888) * CFrame.Angles(0, 0, 0)
  288. mesh.Scale = Vector3.new(1, 0.864, 1)
  289. mesh.Parent = part_2
  290. weld_2.Part0 = mainpart
  291. weld_2.C1 = CFrame.new(-0.345, 0.795, -0.004) * CFrame.Angles(0, 1.571, 0)
  292. weld_2.Part1 = part_2
  293. weld_2.Parent = part_2
  294. part_3.CanCollide = false
  295. part_3.Size = Vector3.new(0.095, 0.05, 0.186)
  296. part_3.BottomSurface = Enum.SurfaceType.Smooth
  297. part_3.Orientation = Vector3.new(0, 0, 45.73)
  298. part_3.Material = Enum.Material.SmoothPlastic
  299. part_3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  300. part_3.BrickColor = BrickColor.new("Black")
  301. part_3.Velocity = Vector3.new(0, -730.031, 0)
  302. part_3.TopSurface = Enum.SurfaceType.Smooth
  303. part_3.Parent = m4a1
  304. part_3.CFrame = CFrame.new(-132.732, 1.44, -16.888) * CFrame.Angles(0, 0, 0.798)
  305. mesh_2.Scale = Vector3.new(1, 0.864, 1)
  306. mesh_2.Parent = part_3
  307. weld_3.Part0 = mainpart
  308. weld_3.C1 = CFrame.new(-0.534, 0.631, -0.004) * CFrame.Angles(1.571, 0.773, -1.571)
  309. weld_3.Part1 = part_3
  310. weld_3.Parent = part_3
  311. part_4.CanCollide = false
  312. part_4.Size = Vector3.new(0.216, 0.05, 0.082)
  313. part_4.BottomSurface = Enum.SurfaceType.Smooth
  314. part_4.Orientation = Vector3.new(0, 90, 0)
  315. part_4.Material = Enum.Material.SmoothPlastic
  316. part_4.Color = Color3.new(0.623529, 0.631373, 0.67451)
  317. part_4.BrickColor = BrickColor.new("Fossil")
  318. part_4.Velocity = Vector3.new(0, -730.031, 0)
  319. part_4.TopSurface = Enum.SurfaceType.Smooth
  320. part_4.Parent = m4a1
  321. part_4.CFrame = CFrame.new(-133.735, 1.34, -16.889) * CFrame.Angles(0, 1.571, 0)
  322. mesh_3.Scale = Vector3.new(1, 0.864, 1)
  323. mesh_3.Parent = part_4
  324. weld_4.Part0 = mainpart
  325. weld_4.C1 = CFrame.new(0.003, 0.158, 0.178) * CFrame.Angles(0, 0, 0)
  326. weld_4.Part1 = part_4
  327. weld_4.Parent = part_4
  328. part_5.CanCollide = false
  329. part_5.Size = Vector3.new(0.095, 0.098, 0.186)
  330. part_5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  331. part_5.Material = Enum.Material.SmoothPlastic
  332. part_5.BottomSurface = Enum.SurfaceType.Smooth
  333. part_5.BrickColor = BrickColor.new("Black")
  334. part_5.TopSurface = Enum.SurfaceType.Smooth
  335. part_5.Velocity = Vector3.new(0, -730.031, 0)
  336. part_5.Parent = m4a1
  337. part_5.CFrame = CFrame.new(-132.699, 1.331, -16.888) * CFrame.Angles(0, 0, 0)
  338. weld_5.Part0 = mainpart
  339. weld_5.C1 = CFrame.new(-0.859, 0.167, -0.004) * CFrame.Angles(0, 1.571, 0)
  340. weld_5.Part1 = part_5
  341. weld_5.Parent = part_5
  342. part_6.CanCollide = false
  343. part_6.Shape = Enum.PartType.Cylinder
  344. part_6.Size = Vector3.new(0.406, 0.1, 0.1)
  345. part_6.Color = Color3.new(0.623529, 0.631373, 0.67451)
  346. part_6.Orientation = Vector3.new(90, 0, 0)
  347. part_6.Material = Enum.Material.SmoothPlastic
  348. part_6.BrickColor = BrickColor.new("Fossil")
  349. part_6.BottomSurface = Enum.SurfaceType.Smooth
  350. part_6.Velocity = Vector3.new(0, -730.031, 0)
  351. part_6.TopSurface = Enum.SurfaceType.Smooth
  352. part_6.Parent = m4a1
  353. part_6.CFrame = CFrame.new(-132.965, 1.17, -16.836) * CFrame.Angles(1.571, 0, 0)
  354. weld_6.Part0 = mainpart
  355. weld_6.C1 = CFrame.new(-0.592, -0.056, -0.328) * CFrame.Angles(-1.571, 1.571, 0)
  356. weld_6.Part1 = part_6
  357. weld_6.Parent = part_6
  358. part_7.CanCollide = false
  359. part_7.Size = Vector3.new(0.561, 0.281, 0.186)
  360. part_7.BottomSurface = Enum.SurfaceType.Smooth
  361. part_7.Orientation = Vector3.new(0, 180, 81.91)
  362. part_7.Material = Enum.Material.SmoothPlastic
  363. part_7.Color = Color3.new(0.105882, 0.164706, 0.207843)
  364. part_7.BrickColor = BrickColor.new("Black")
  365. part_7.Velocity = Vector3.new(0, -730.031, 0)
  366. part_7.TopSurface = Enum.SurfaceType.Smooth
  367. part_7.Parent = m4a1
  368. part_7.CFrame = CFrame.new(-135.014, 0.954, -16.888) * CFrame.Angles(-3.142, 0, -1.712)
  369. weld_7.Part0 = mainpart
  370. weld_7.C1 = CFrame.new(0.334, 1.519, 0.004) * CFrame.Angles(-1.571, -0.141, -1.571)
  371. weld_7.Part1 = part_7
  372. weld_7.Parent = part_7
  373. part_8.CanCollide = false
  374. part_8.Size = Vector3.new(0.177, 0.05, 0.05)
  375. part_8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  376. part_8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  377. part_8.Orientation = Vector3.new(0, -89.01, 0)
  378. part_8.Material = Enum.Material.Metal
  379. part_8.BrickColor = BrickColor.new("Black")
  380. part_8.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  381. part_8.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  382. part_8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  383. part_8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  384. part_8.Velocity = Vector3.new(0, -730.031, 0)
  385. part_8.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  386. part_8.Parent = m4a1
  387. part_8.CFrame = CFrame.new(-131.809, 1.016, -16.874) * CFrame.Angles(-0.003, -1.554, -0.003)
  388. mesh_4.Scale = Vector3.new(1, 0.416, 0.623)
  389. mesh_4.MeshType = Enum.MeshType.Wedge
  390. mesh_4.Parent = part_8
  391. weld_8.Part0 = mainpart
  392. weld_8.C1 = CFrame.new(-0.048, 0.482, 1.748) * CFrame.Angles(-3.142, 0.017, 3.142)
  393. weld_8.Part1 = part_8
  394. weld_8.Parent = part_8
  395. part_9.CanCollide = false
  396. part_9.Size = Vector3.new(1.062, 0.246, 0.186)
  397. part_9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  398. part_9.Material = Enum.Material.SmoothPlastic
  399. part_9.BottomSurface = Enum.SurfaceType.Smooth
  400. part_9.BrickColor = BrickColor.new("Black")
  401. part_9.TopSurface = Enum.SurfaceType.Smooth
  402. part_9.Velocity = Vector3.new(0, -730.031, 0)
  403. part_9.Parent = m4a1
  404. part_9.CFrame = CFrame.new(-133.173, 1.228, -16.888) * CFrame.Angles(0, 0, 0)
  405. weld_9.Part0 = mainpart
  406. weld_9.C1 = CFrame.new(-0.385, 0.27, -0.004) * CFrame.Angles(0, 1.571, 0)
  407. weld_9.Part1 = part_9
  408. weld_9.Parent = part_9
  409. part_10.CanCollide = false
  410. part_10.Size = Vector3.new(0.077, 0.098, 0.05)
  411. part_10.BottomSurface = Enum.SurfaceType.Smooth
  412. part_10.Orientation = Vector3.new(90, 90, 0)
  413. part_10.Material = Enum.Material.SmoothPlastic
  414. part_10.Color = Color3.new(0.623529, 0.631373, 0.67451)
  415. part_10.BrickColor = BrickColor.new("Fossil")
  416. part_10.Velocity = Vector3.new(0, -730.031, 0)
  417. part_10.TopSurface = Enum.SurfaceType.Smooth
  418. part_10.Parent = m4a1
  419. part_10.CFrame = CFrame.new(-133.301, 1.031, -16.817) * CFrame.Angles(1.571, 0, -1.571)
  420. mesh_5.Scale = Vector3.new(1, 1, 0.864)
  421. mesh_5.Parent = part_10
  422. weld_10.Part0 = mainpart
  423. weld_10.C1 = CFrame.new(0.076, -0.257, -0.467) * CFrame.Angles(-1.571, 0, 0)
  424. weld_10.Part1 = part_10
  425. weld_10.Parent = part_10
  426. part_11.CanCollide = false
  427. part_11.Size = Vector3.new(0.135, 0.062, 0.197)
  428. part_11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  429. part_11.Color = Color3.new(0.105882, 0.164706, 0.207843)
  430. part_11.Orientation = Vector3.new(0, -89.01, 0)
  431. part_11.Material = Enum.Material.Grass
  432. part_11.BrickColor = BrickColor.new("Black")
  433. part_11.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  434. part_11.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  435. part_11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  436. part_11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  437. part_11.Velocity = Vector3.new(0, -730.031, 0)
  438. part_11.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  439. part_11.Parent = m4a1
  440. part_11.CFrame = CFrame.new(-131.96, 0.962, -16.872) * CFrame.Angles(0.003, -1.554, 0.003)
  441. weld_11.Part0 = mainpart
  442. weld_11.C1 = CFrame.new(-0.048, 0.536, 1.596) * CFrame.Angles(3.142, 0.017, 3.142)
  443. weld_11.Part1 = part_11
  444. weld_11.Parent = part_11
  445. part_12.CanCollide = false
  446. part_12.Size = Vector3.new(0.484, 0.13, 0.186)
  447. part_12.BottomSurface = Enum.SurfaceType.Smooth
  448. part_12.Orientation = Vector3.new(0, 0, 46.72)
  449. part_12.Material = Enum.Material.SmoothPlastic
  450. part_12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  451. part_12.BrickColor = BrickColor.new("Black")
  452. part_12.Velocity = Vector3.new(0, -730.031, 0)
  453. part_12.TopSurface = Enum.SurfaceType.Smooth
  454. part_12.Parent = m4a1
  455. part_12.CFrame = CFrame.new(-134.588, 0.91, -16.888) * CFrame.Angles(0, 0, 0.815)
  456. weld_12.Part0 = mainpart
  457. weld_12.C1 = CFrame.new(1.135, -0.347, -0.004) * CFrame.Angles(1.571, 0.755, -1.571)
  458. weld_12.Part1 = part_12
  459. weld_12.Parent = part_12
  460. part_13.CanCollide = false
  461. part_13.Size = Vector3.new(0.294, 0.05, 0.078)
  462. part_13.BottomSurface = Enum.SurfaceType.Smooth
  463. part_13.Orientation = Vector3.new(0, 0, -79.06)
  464. part_13.Material = Enum.Material.SmoothPlastic
  465. part_13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  466. part_13.BrickColor = BrickColor.new("Black")
  467. part_13.Velocity = Vector3.new(0, -730.031, 0)
  468. part_13.TopSurface = Enum.SurfaceType.Smooth
  469. part_13.Parent = m4a1
  470. part_13.CFrame = CFrame.new(-133.289, 0.954, -16.888) * CFrame.Angles(0, 0, -1.38)
  471. mesh_6.Scale = Vector3.new(1, 0.864, 1)
  472. mesh_6.Parent = part_13
  473. weld_13.Part0 = mainpart
  474. weld_13.C1 = CFrame.new(-0.585, -0.16, -0.004) * CFrame.Angles(-1.571, 0.191, 1.571)
  475. weld_13.Part1 = part_13
  476. weld_13.Parent = part_13
  477. part_14.CanCollide = false
  478. part_14.Size = Vector3.new(0.06, 0.315, 0.186)
  479. part_14.Color = Color3.new(0.105882, 0.164706, 0.207843)
  480. part_14.Material = Enum.Material.SmoothPlastic
  481. part_14.BottomSurface = Enum.SurfaceType.Smooth
  482. part_14.BrickColor = BrickColor.new("Black")
  483. part_14.TopSurface = Enum.SurfaceType.Smooth
  484. part_14.Velocity = Vector3.new(0, -730.031, 0)
  485. part_14.Parent = m4a1
  486. part_14.CFrame = CFrame.new(-133.069, 0.839, -16.888) * CFrame.Angles(0, 0, 0)
  487. weld_14.Part0 = mainpart
  488. weld_14.C1 = CFrame.new(-0.488, 0.659, -0.004) * CFrame.Angles(0, 1.571, 0)
  489. weld_14.Part1 = part_14
  490. weld_14.Parent = part_14
  491. part_15.CanCollide = false
  492. part_15.Size = Vector3.new(0.294, 0.315, 0.186)
  493. part_15.Color = Color3.new(0.105882, 0.164706, 0.207843)
  494. part_15.Material = Enum.Material.SmoothPlastic
  495. part_15.BottomSurface = Enum.SurfaceType.Smooth
  496. part_15.BrickColor = BrickColor.new("Black")
  497. part_15.TopSurface = Enum.SurfaceType.Smooth
  498. part_15.Velocity = Vector3.new(0, -730.031, 0)
  499. part_15.Parent = m4a1
  500. part_15.CFrame = CFrame.new(-132.78, 0.883, -16.888) * CFrame.Angles(0, 0, 0)
  501. weld_15.Part0 = mainpart
  502. weld_15.C1 = CFrame.new(-0.777, 0.616, -0.004) * CFrame.Angles(0, 1.571, 0)
  503. weld_15.Part1 = part_15
  504. weld_15.Parent = part_15
  505. part_16.CanCollide = false
  506. part_16.Size = Vector3.new(0.484, 0.13, 0.186)
  507. part_16.BottomSurface = Enum.SurfaceType.Smooth
  508. part_16.Orientation = Vector3.new(0, 0, 73.32)
  509. part_16.Material = Enum.Material.SmoothPlastic
  510. part_16.Color = Color3.new(0.105882, 0.164706, 0.207843)
  511. part_16.BrickColor = BrickColor.new("Black")
  512. part_16.Velocity = Vector3.new(0, -730.031, 0)
  513. part_16.TopSurface = Enum.SurfaceType.Smooth
  514. part_16.Parent = m4a1
  515. part_16.CFrame = CFrame.new(-134.718, 0.962, -16.888) * CFrame.Angles(0, 0, 1.28)
  516. weld_16.Part0 = mainpart
  517. weld_16.C1 = CFrame.new(0.847, -0.958, -0.004) * CFrame.Angles(1.571, 0.291, -1.571)
  518. weld_16.Part1 = part_16
  519. weld_16.Parent = part_16
  520. part_17.CanCollide = false
  521. part_17.Size = Vector3.new(0.484, 0.13, 0.186)
  522. part_17.BottomSurface = Enum.SurfaceType.Smooth
  523. part_17.Orientation = Vector3.new(0, 0, 46.72)
  524. part_17.Material = Enum.Material.SmoothPlastic
  525. part_17.Color = Color3.new(0.105882, 0.164706, 0.207843)
  526. part_17.BrickColor = BrickColor.new("Black")
  527. part_17.Velocity = Vector3.new(0, -730.031, 0)
  528. part_17.TopSurface = Enum.SurfaceType.Smooth
  529. part_17.Parent = m4a1
  530. part_17.CFrame = CFrame.new(-134.839, 0.754, -16.888) * CFrame.Angles(0, 0, 0.815)
  531. weld_17.Part0 = mainpart
  532. weld_17.C1 = CFrame.new(1.42, -0.423, -0.004) * CFrame.Angles(1.571, 0.755, -1.571)
  533. weld_17.Part1 = part_17
  534. weld_17.Parent = part_17
  535. hole.CanCollide = false
  536. hole.Shape = Enum.PartType.Cylinder
  537. hole.Size = Vector3.new(0.051, 0.079, 0.079)
  538. hole.BottomSurface = Enum.SurfaceType.Smooth
  539. hole.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  540. hole.Material = Enum.Material.SmoothPlastic
  541. hole.Name = "Hole"
  542. hole.BrickColor = BrickColor.new("Really black")
  543. hole.TopSurface = Enum.SurfaceType.Smooth
  544. hole.Velocity = Vector3.new(0, -730.031, 0)
  545. hole.Parent = m4a1
  546. hole.CFrame = CFrame.new(-130.665, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
  547. smoke.Enabled = false
  548. smoke.Lifetime = NumberRange.new(0.5)
  549. smoke.Name = "Smoke"
  550. smoke.SpreadAngle = Vector2.new(20, 20)
  551. smoke.Texture = "rbxassetid://55687933"
  552. smoke.Rotation = NumberRange.new(0, 360)
  553. smoke.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4), NumberSequenceKeypoint.new(1, 1)})
  554. smoke.Rate = 15
  555. smoke.Acceleration = Vector3.new(1, -0.1, 2)
  556. smoke.VelocitySpread = 20
  557. smoke.RotSpeed = NumberRange.new(20, 50)
  558. smoke.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.25), NumberSequenceKeypoint.new(1, 0)})
  559. smoke.Parent = hole
  560. flame.Enabled = false
  561. flame.Name = "Flame"
  562. flame.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  563. flame.Lifetime = NumberRange.new(0.1)
  564. flame.LightEmission = 1
  565. flame.Speed = NumberRange.new(25)
  566. flame.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.658824, 0.243137))
  567. flame.VelocitySpread = 15
  568. flame.Rate = 250
  569. flame.EmissionDirection = Enum.NormalId.Right
  570. flame.Texture = "rbxassetid://293037988"
  571. flame.SpreadAngle = Vector2.new(15, 15)
  572. flame.Drag = 2
  573. flame.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.001, 0.313), NumberSequenceKeypoint.new(1, 0)})
  574. flame.Parent = hole
  575. flamelight.Enabled = false
  576. flamelight.Range = 10
  577. flamelight.Name = "FlameLight"
  578. flamelight.Color = Color3.new(1, 0.576471, 0.0941177)
  579. flamelight.Shadows = true
  580. flamelight.Parent = hole
  581. weld_18.Part0 = mainpart
  582. weld_18.C1 = CFrame.new(-2.892, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
  583. weld_18.Part1 = hole
  584. weld_18.Parent = hole
  585. part_18.CanCollide = false
  586. part_18.Size = Vector3.new(0.259, 0.426, 0.164)
  587. part_18.BottomSurface = Enum.SurfaceType.Smooth
  588. part_18.Orientation = Vector3.new(0, -180, 77.14)
  589. part_18.Material = Enum.Material.SmoothPlastic
  590. part_18.Color = Color3.new(0.623529, 0.631373, 0.67451)
  591. part_18.BrickColor = BrickColor.new("Fossil")
  592. part_18.Velocity = Vector3.new(0, -730.031, 0)
  593. part_18.TopSurface = Enum.SurfaceType.Smooth
  594. part_18.Parent = m4a1
  595. part_18.CFrame = CFrame.new(-132.794, 0.395, -16.888) * CFrame.Angles(3.142, 0, -1.795)
  596. weld_19.Part0 = mainpart
  597. weld_19.C1 = CFrame.new(1.245, -0.499, 0.004) * CFrame.Angles(-1.571, -0.224, -1.571)
  598. weld_19.Part1 = part_18
  599. weld_19.Parent = part_18
  600. part_19.CanCollide = false
  601. part_19.Size = Vector3.new(0.078, 0.22, 0.186)
  602. part_19.BottomSurface = Enum.SurfaceType.Smooth
  603. part_19.Orientation = Vector3.new(0, 180, 26.73)
  604. part_19.Material = Enum.Material.SmoothPlastic
  605. part_19.Color = Color3.new(0.105882, 0.164706, 0.207843)
  606. part_19.BrickColor = BrickColor.new("Black")
  607. part_19.Velocity = Vector3.new(0, -730.031, 0)
  608. part_19.TopSurface = Enum.SurfaceType.Smooth
  609. part_19.Parent = m4a1
  610. part_19.CFrame = CFrame.new(-133.572, 1.143, -16.888) * CFrame.Angles(-3.142, 0, -2.675)
  611. weld_20.Part0 = mainpart
  612. weld_20.C1 = CFrame.new(0.147, 0.324, 0.004) * CFrame.Angles(-1.571, -1.104, -1.571)
  613. weld_20.Part1 = part_19
  614. weld_20.Parent = part_19
  615. part_20.CanCollide = false
  616. part_20.Size = Vector3.new(0.337, 0.22, 0.186)
  617. part_20.BottomSurface = Enum.SurfaceType.Smooth
  618. part_20.Orientation = Vector3.new(0, 0, 85.94)
  619. part_20.Material = Enum.Material.SmoothPlastic
  620. part_20.Color = Color3.new(0.105882, 0.164706, 0.207843)
  621. part_20.BrickColor = BrickColor.new("Black")
  622. part_20.Velocity = Vector3.new(0, -730.031, 0)
  623. part_20.TopSurface = Enum.SurfaceType.Smooth
  624. part_20.Parent = m4a1
  625. part_20.CFrame = CFrame.new(-133.444, 0.857, -16.888) * CFrame.Angles(0, 0, 1.5)
  626. weld_21.Part0 = mainpart
  627. weld_21.C1 = CFrame.new(0.632, 0.158, -0.004) * CFrame.Angles(1.571, 0.071, -1.571)
  628. weld_21.Part1 = part_20
  629. weld_21.Parent = part_20
  630. part_21.CanCollide = false
  631. part_21.Size = Vector3.new(0.259, 0.203, 0.186)
  632. part_21.BottomSurface = Enum.SurfaceType.Smooth
  633. part_21.Orientation = Vector3.new(0, 0, 76.82)
  634. part_21.Material = Enum.Material.SmoothPlastic
  635. part_21.Color = Color3.new(0.105882, 0.164706, 0.207843)
  636. part_21.BrickColor = BrickColor.new("Black")
  637. part_21.Velocity = Vector3.new(0, -730.031, 0)
  638. part_21.TopSurface = Enum.SurfaceType.Smooth
  639. part_21.Parent = m4a1
  640. part_21.CFrame = CFrame.new(-133.553, 1.375, -16.888) * CFrame.Angles(0, 0, 1.341)
  641. weld_22.Part0 = mainpart
  642. weld_22.C1 = CFrame.new(0.119, 0.032, -0.004) * CFrame.Angles(1.571, 0.23, -1.571)
  643. weld_22.Part1 = part_21
  644. weld_22.Parent = part_21
  645. part_22.CanCollide = false
  646. part_22.Size = Vector3.new(0.095, 0.827, 0.186)
  647. part_22.BottomSurface = Enum.SurfaceType.Smooth
  648. part_22.Orientation = Vector3.new(0, 0, 85.51)
  649. part_22.Material = Enum.Material.SmoothPlastic
  650. part_22.Color = Color3.new(0.105882, 0.164706, 0.207843)
  651. part_22.BrickColor = BrickColor.new("Black")
  652. part_22.Velocity = Vector3.new(0, -730.031, 0)
  653. part_22.TopSurface = Enum.SurfaceType.Smooth
  654. part_22.Parent = m4a1
  655. part_22.CFrame = CFrame.new(-133.21, 1.505, -16.888) * CFrame.Angles(0, 0, 1.492)
  656. weld_23.Part0 = mainpart
  657. weld_23.C1 = CFrame.new(-0.034, 0.346, -0.004) * CFrame.Angles(1.571, 0.078, -1.571)
  658. weld_23.Part1 = part_22
  659. weld_23.Parent = part_22
  660. part_23.CanCollide = false
  661. part_23.Shape = Enum.PartType.Cylinder
  662. part_23.Size = Vector3.new(0.05, 0.083, 0.099)
  663. part_23.Color = Color3.new(0.623529, 0.631373, 0.67451)
  664. part_23.Orientation = Vector3.new(0, 0, 90)
  665. part_23.Material = Enum.Material.SmoothPlastic
  666. part_23.BrickColor = BrickColor.new("Fossil")
  667. part_23.BottomSurface = Enum.SurfaceType.Smooth
  668. part_23.Velocity = Vector3.new(0, -730.031, 0)
  669. part_23.TopSurface = Enum.SurfaceType.Smooth
  670. part_23.Parent = m4a1
  671. part_23.CFrame = CFrame.new(-133.735, 1.34, -16.782) * CFrame.Angles(0, 0, 1.571)
  672. mesh_7.Scale = Vector3.new(0.864, 1, 1)
  673. mesh_7.MeshType = Enum.MeshType.Cylinder
  674. mesh_7.Parent = part_23
  675. weld_24.Part0 = mainpart
  676. weld_24.C1 = CFrame.new(0.158, -0.178, -0.11) * CFrame.Angles(1.571, 0, -1.571)
  677. weld_24.Part1 = part_23
  678. weld_24.Parent = part_23
  679. part_24.CanCollide = false
  680. part_24.Shape = Enum.PartType.Cylinder
  681. part_24.Size = Vector3.new(0.294, 0.255, 0.255)
  682. part_24.Color = Color3.new(0.105882, 0.164706, 0.207843)
  683. part_24.Material = Enum.Material.SmoothPlastic
  684. part_24.BottomSurface = Enum.SurfaceType.Smooth
  685. part_24.BrickColor = BrickColor.new("Black")
  686. part_24.TopSurface = Enum.SurfaceType.Smooth
  687. part_24.Velocity = Vector3.new(0, -730.031, 0)
  688. part_24.Parent = m4a1
  689. part_24.CFrame = CFrame.new(-131.372, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
  690. weld_25.Part0 = mainpart
  691. weld_25.C1 = CFrame.new(-2.185, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
  692. weld_25.Part1 = part_24
  693. weld_25.Parent = part_24
  694. part_25.CanCollide = false
  695. part_25.Size = Vector3.new(0.233, 0.052, 0.13)
  696. part_25.Color = Color3.new(0.105882, 0.164706, 0.207843)
  697. part_25.Material = Enum.Material.SmoothPlastic
  698. part_25.BottomSurface = Enum.SurfaceType.Smooth
  699. part_25.BrickColor = BrickColor.new("Black")
  700. part_25.TopSurface = Enum.SurfaceType.Smooth
  701. part_25.Velocity = Vector3.new(0, -730.031, 0)
  702. part_25.Parent = m4a1
  703. part_25.CFrame = CFrame.new(-133.415, 0.708, -16.888) * CFrame.Angles(0, 0, 0)
  704. weld_26.Part0 = mainpart
  705. weld_26.C1 = CFrame.new(-0.143, 0.79, -0.004) * CFrame.Angles(0, 1.571, 0)
  706. weld_26.Part1 = part_25
  707. weld_26.Parent = part_25
  708. part_26.CanCollide = false
  709. part_26.Shape = Enum.PartType.Cylinder
  710. part_26.Size = Vector3.new(0.05, 0.055, 0.055)
  711. part_26.Color = Color3.new(0.623529, 0.631373, 0.67451)
  712. part_26.Orientation = Vector3.new(0, 90, 0)
  713. part_26.Material = Enum.Material.SmoothPlastic
  714. part_26.BrickColor = BrickColor.new("Fossil")
  715. part_26.BottomSurface = Enum.SurfaceType.Smooth
  716. part_26.Velocity = Vector3.new(0, -730.031, 0)
  717. part_26.TopSurface = Enum.SurfaceType.Smooth
  718. part_26.Parent = m4a1
  719. part_26.CFrame = CFrame.new(-133.557, 1.498, -16.817) * CFrame.Angles(0, 1.571, 0)
  720. mesh_8.Scale = Vector3.new(0.864, 1, 1)
  721. mesh_8.MeshType = Enum.MeshType.Cylinder
  722. mesh_8.Parent = part_26
  723. weld_27.Part0 = mainpart
  724. weld_27.C1 = CFrame.new(0.076, 0, 0) * CFrame.Angles(0, 0, 0)
  725. weld_27.Part1 = part_26
  726. weld_27.Parent = part_26
  727. part_27.CanCollide = false
  728. part_27.Size = Vector3.new(0.259, 0.426, 0.164)
  729. part_27.BottomSurface = Enum.SurfaceType.Smooth
  730. part_27.Orientation = Vector3.new(0, -180, 69.63)
  731. part_27.Material = Enum.Material.SmoothPlastic
  732. part_27.Color = Color3.new(0.623529, 0.631373, 0.67451)
  733. part_27.BrickColor = BrickColor.new("Fossil")
  734. part_27.Velocity = Vector3.new(0, -730.031, 0)
  735. part_27.TopSurface = Enum.SurfaceType.Smooth
  736. part_27.Parent = m4a1
  737. part_27.CFrame = CFrame.new(-132.733, 0.196, -16.888) * CFrame.Angles(3.142, 0, -1.926)
  738. weld_28.Part0 = mainpart
  739. weld_28.C1 = CFrame.new(1.508, -0.319, 0.004) * CFrame.Angles(-1.571, -0.356, -1.571)
  740. weld_28.Part1 = part_27
  741. weld_28.Parent = part_27
  742. part_28.CanCollide = false
  743. part_28.Size = Vector3.new(0.095, 0.05, 0.186)
  744. part_28.BottomSurface = Enum.SurfaceType.Smooth
  745. part_28.Orientation = Vector3.new(0, 0, 62.77)
  746. part_28.Material = Enum.Material.SmoothPlastic
  747. part_28.Color = Color3.new(0.105882, 0.164706, 0.207843)
  748. part_28.BrickColor = BrickColor.new("Black")
  749. part_28.Velocity = Vector3.new(0, -730.031, 0)
  750. part_28.TopSurface = Enum.SurfaceType.Smooth
  751. part_28.Parent = m4a1
  752. part_28.CFrame = CFrame.new(-132.756, 1.457, -16.888) * CFrame.Angles(0, 0, 1.096)
  753. mesh_9.Scale = Vector3.new(1, 0.864, 1)
  754. mesh_9.Parent = part_28
  755. weld_29.Part0 = mainpart
  756. weld_29.C1 = CFrame.new(-0.33, 0.732, -0.004) * CFrame.Angles(1.571, 0.475, -1.571)
  757. weld_29.Part1 = part_28
  758. weld_29.Parent = part_28
  759. part_29.CanCollide = false
  760. part_29.Size = Vector3.new(0.078, 0.22, 0.186)
  761. part_29.BottomSurface = Enum.SurfaceType.Smooth
  762. part_29.Orientation = Vector3.new(0, 180, 3.79)
  763. part_29.Material = Enum.Material.SmoothPlastic
  764. part_29.Color = Color3.new(0.105882, 0.164706, 0.207843)
  765. part_29.BrickColor = BrickColor.new("Black")
  766. part_29.Velocity = Vector3.new(0, -730.031, 0)
  767. part_29.TopSurface = Enum.SurfaceType.Smooth
  768. part_29.Parent = m4a1
  769. part_29.CFrame = CFrame.new(-133.667, 1.168, -16.888) * CFrame.Angles(-3.142, 0, -3.075)
  770. weld_30.Part0 = mainpart
  771. weld_30.C1 = CFrame.new(-0.088, 0.336, 0.004) * CFrame.Angles(-1.571, -1.505, -1.571)
  772. weld_30.Part1 = part_29
  773. weld_30.Parent = part_29
  774. part_30.CanCollide = false
  775. part_30.Size = Vector3.new(0.081, 0.297, 0.217)
  776. part_30.BottomSurface = Enum.SurfaceType.Smooth
  777. part_30.Orientation = Vector3.new(0, 0, 62.97)
  778. part_30.Material = Enum.Material.SmoothPlastic
  779. part_30.Color = Color3.new(0.105882, 0.164706, 0.207843)
  780. part_30.BrickColor = BrickColor.new("Black")
  781. part_30.Velocity = Vector3.new(0, -730.031, 0)
  782. part_30.TopSurface = Enum.SurfaceType.Smooth
  783. part_30.Parent = m4a1
  784. part_30.CFrame = CFrame.new(-133.677, 0.243, -16.888) * CFrame.Angles(0, 0, 1.099)
  785. weld_31.Part0 = mainpart
  786. weld_31.C1 = CFrame.new(1.172, 0.464, -0.004) * CFrame.Angles(1.571, 0.472, -1.571)
  787. weld_31.Part1 = part_30
  788. weld_31.Parent = part_30
  789. part_31.CanCollide = false
  790. part_31.Size = Vector3.new(0.592, 0.257, 0.217)
  791. part_31.BottomSurface = Enum.SurfaceType.Smooth
  792. part_31.Orientation = Vector3.new(0, 0, 62.97)
  793. part_31.Material = Enum.Material.SmoothPlastic
  794. part_31.Color = Color3.new(0.105882, 0.164706, 0.207843)
  795. part_31.BrickColor = BrickColor.new("Black")
  796. part_31.Velocity = Vector3.new(0, -730.031, 0)
  797. part_31.TopSurface = Enum.SurfaceType.Smooth
  798. part_31.Parent = m4a1
  799. part_31.CFrame = CFrame.new(-133.579, 0.48, -16.888) * CFrame.Angles(0, 0, 1.099)
  800. weld_32.Part0 = mainpart
  801. weld_32.C1 = CFrame.new(0.917, 0.444, -0.004) * CFrame.Angles(1.571, 0.472, -1.571)
  802. weld_32.Part1 = part_31
  803. weld_32.Parent = part_31
  804. part_32.CanCollide = false
  805. part_32.Size = Vector3.new(0.216, 0.05, 0.082)
  806. part_32.Color = Color3.new(0.623529, 0.631373, 0.67451)
  807. part_32.Material = Enum.Material.SmoothPlastic
  808. part_32.BottomSurface = Enum.SurfaceType.Smooth
  809. part_32.BrickColor = BrickColor.new("Fossil")
  810. part_32.TopSurface = Enum.SurfaceType.Smooth
  811. part_32.Velocity = Vector3.new(0, -730.031, 0)
  812. part_32.Parent = m4a1
  813. part_32.CFrame = CFrame.new(-133.614, 1.34, -16.889) * CFrame.Angles(0, 0, 0)
  814. mesh_10.Scale = Vector3.new(1, 0.864, 1)
  815. mesh_10.Parent = part_32
  816. weld_33.Part0 = mainpart
  817. weld_33.C1 = CFrame.new(0.057, 0.158, -0.003) * CFrame.Angles(0, 1.571, 0)
  818. weld_33.Part1 = part_32
  819. weld_33.Parent = part_32
  820. part_33.CanCollide = false
  821. part_33.Size = Vector3.new(0.095, 0.05, 0.186)
  822. part_33.BottomSurface = Enum.SurfaceType.Smooth
  823. part_33.Orientation = Vector3.new(0, 0, 75.87)
  824. part_33.Material = Enum.Material.SmoothPlastic
  825. part_33.Color = Color3.new(0.105882, 0.164706, 0.207843)
  826. part_33.BrickColor = BrickColor.new("Black")
  827. part_33.Velocity = Vector3.new(0, -730.031, 0)
  828. part_33.TopSurface = Enum.SurfaceType.Smooth
  829. part_33.Parent = m4a1
  830. part_33.CFrame = CFrame.new(-132.784, 1.468, -16.888) * CFrame.Angles(0, 0, 1.324)
  831. mesh_11.Scale = Vector3.new(1, 0.864, 1)
  832. mesh_11.Parent = part_33
  833. weld_34.Part0 = mainpart
  834. weld_34.C1 = CFrame.new(-0.16, 0.757, -0.004) * CFrame.Angles(1.571, 0.247, -1.571)
  835. weld_34.Part1 = part_33
  836. weld_34.Parent = part_33
  837. part_34.CanCollide = false
  838. part_34.Size = Vector3.new(0.164, 0.22, 0.186)
  839. part_34.BottomSurface = Enum.SurfaceType.Smooth
  840. part_34.Orientation = Vector3.new(0, 180, 65.69)
  841. part_34.Material = Enum.Material.SmoothPlastic
  842. part_34.Color = Color3.new(0.105882, 0.164706, 0.207843)
  843. part_34.BrickColor = BrickColor.new("Black")
  844. part_34.Velocity = Vector3.new(0, -730.031, 0)
  845. part_34.TopSurface = Enum.SurfaceType.Smooth
  846. part_34.Parent = m4a1
  847. part_34.CFrame = CFrame.new(-133.481, 1.058, -16.888) * CFrame.Angles(-3.142, 0, -1.995)
  848. weld_35.Part0 = mainpart
  849. weld_35.C1 = CFrame.new(0.432, 0.111, 0.004) * CFrame.Angles(-1.571, -0.424, -1.571)
  850. weld_35.Part1 = part_34
  851. weld_35.Parent = part_34
  852. part_35.CanCollide = false
  853. part_35.Size = Vector3.new(0.095, 0.05, 0.186)
  854. part_35.BottomSurface = Enum.SurfaceType.Smooth
  855. part_35.Orientation = Vector3.new(0, 0, 30.09)
  856. part_35.Material = Enum.Material.SmoothPlastic
  857. part_35.Color = Color3.new(0.105882, 0.164706, 0.207843)
  858. part_35.BrickColor = BrickColor.new("Black")
  859. part_35.Velocity = Vector3.new(0, -730.031, 0)
  860. part_35.TopSurface = Enum.SurfaceType.Smooth
  861. part_35.Parent = m4a1
  862. part_35.CFrame = CFrame.new(-132.714, 1.417, -16.888) * CFrame.Angles(0, 0, 0.525)
  863. mesh_12.Scale = Vector3.new(1, 0.864, 1)
  864. mesh_12.Parent = part_35
  865. weld_36.Part0 = mainpart
  866. weld_36.C1 = CFrame.new(-0.689, 0.493, -0.004) * CFrame.Angles(1.571, 1.046, -1.571)
  867. weld_36.Part1 = part_35
  868. weld_36.Parent = part_35
  869. part_36.CanCollide = false
  870. part_36.Size = Vector3.new(0.259, 0.426, 0.164)
  871. part_36.BottomSurface = Enum.SurfaceType.Smooth
  872. part_36.Orientation = Vector3.new(0, 180, 85.94)
  873. part_36.Material = Enum.Material.SmoothPlastic
  874. part_36.Color = Color3.new(0.623529, 0.631373, 0.67451)
  875. part_36.BrickColor = BrickColor.new("Fossil")
  876. part_36.Velocity = Vector3.new(0, -730.031, 0)
  877. part_36.TopSurface = Enum.SurfaceType.Smooth
  878. part_36.Parent = m4a1
  879. part_36.CFrame = CFrame.new(-132.829, 0.603, -16.888) * CFrame.Angles(-3.142, 0, -1.642)
  880. weld_37.Part0 = mainpart
  881. weld_37.C1 = CFrame.new(0.945, -0.663, 0.004) * CFrame.Angles(-1.571, -0.071, -1.571)
  882. weld_37.Part1 = part_36
  883. weld_37.Parent = part_36
  884. part_37.CanCollide = false
  885. part_37.Size = Vector3.new(0.294, 0.445, 0.177)
  886. part_37.BottomSurface = Enum.SurfaceType.Smooth
  887. part_37.Orientation = Vector3.new(0, 180, 85.94)
  888. part_37.Material = Enum.Material.SmoothPlastic
  889. part_37.Color = Color3.new(0.105882, 0.164706, 0.207843)
  890. part_37.BrickColor = BrickColor.new("Black")
  891. part_37.Velocity = Vector3.new(0, -730.031, 0)
  892. part_37.TopSurface = Enum.SurfaceType.Smooth
  893. part_37.Parent = m4a1
  894. part_37.CFrame = CFrame.new(-132.849, 0.843, -16.892) * CFrame.Angles(-3.142, 0, -1.642)
  895. weld_38.Part0 = mainpart
  896. weld_38.C1 = CFrame.new(0.704, -0.66, 0) * CFrame.Angles(-1.571, -0.071, -1.571)
  897. weld_38.Part1 = part_37
  898. weld_38.Parent = part_37
  899. part_38.CanCollide = false
  900. part_38.Size = Vector3.new(0.095, 0.05, 0.186)
  901. part_38.BottomSurface = Enum.SurfaceType.Smooth
  902. part_38.Orientation = Vector3.new(0, 0, 15.23)
  903. part_38.Material = Enum.Material.SmoothPlastic
  904. part_38.Color = Color3.new(0.105882, 0.164706, 0.207843)
  905. part_38.BrickColor = BrickColor.new("Black")
  906. part_38.Velocity = Vector3.new(0, -730.031, 0)
  907. part_38.TopSurface = Enum.SurfaceType.Smooth
  908. part_38.Parent = m4a1
  909. part_38.CFrame = CFrame.new(-132.702, 1.389, -16.888) * CFrame.Angles(0, 0, 0.266)
  910. mesh_13.Scale = Vector3.new(1, 0.864, 1)
  911. mesh_13.Parent = part_38
  912. weld_39.Part0 = mainpart
  913. weld_39.C1 = CFrame.new(-0.796, 0.33, -0.004) * CFrame.Angles(1.571, 1.305, -1.571)
  914. weld_39.Part1 = part_38
  915. weld_39.Parent = part_38
  916. part_39.CanCollide = false
  917. part_39.Size = Vector3.new(0.05, 0.05, 0.078)
  918. part_39.BottomSurface = Enum.SurfaceType.Smooth
  919. part_39.Orientation = Vector3.new(0, 0, -75.27)
  920. part_39.Material = Enum.Material.SmoothPlastic
  921. part_39.Color = Color3.new(0.105882, 0.164706, 0.207843)
  922. part_39.BrickColor = BrickColor.new("Black")
  923. part_39.Velocity = Vector3.new(0, -730.031, 0)
  924. part_39.TopSurface = Enum.SurfaceType.Smooth
  925. part_39.Parent = m4a1
  926. part_39.CFrame = CFrame.new(-133.256, 0.801, -16.888) * CFrame.Angles(0, 0, -1.314)
  927. mesh_14.Scale = Vector3.new(0.864, 0.864, 1)
  928. mesh_14.Parent = part_39
  929. weld_40.Part0 = mainpart
  930. weld_40.C1 = CFrame.new(-0.75, -0.114, -0.004) * CFrame.Angles(-1.571, 0.257, 1.571)
  931. weld_40.Part1 = part_39
  932. weld_40.Parent = part_39
  933. part_40.CanCollide = false
  934. part_40.Shape = Enum.PartType.Cylinder
  935. part_40.Size = Vector3.new(0.05, 0.083, 0.099)
  936. part_40.Color = Color3.new(0.623529, 0.631373, 0.67451)
  937. part_40.Orientation = Vector3.new(0, 0, 90)
  938. part_40.Material = Enum.Material.SmoothPlastic
  939. part_40.BrickColor = BrickColor.new("Fossil")
  940. part_40.BottomSurface = Enum.SurfaceType.Smooth
  941. part_40.Velocity = Vector3.new(0, -730.031, 0)
  942. part_40.TopSurface = Enum.SurfaceType.Smooth
  943. part_40.Parent = m4a1
  944. part_40.CFrame = CFrame.new(-133.735, 1.34, -17) * CFrame.Angles(0, 0, 1.571)
  945. mesh_15.Scale = Vector3.new(0.864, 1, 1)
  946. mesh_15.MeshType = Enum.MeshType.Cylinder
  947. mesh_15.Parent = part_40
  948. weld_41.Part0 = mainpart
  949. weld_41.C1 = CFrame.new(0.158, -0.178, 0.107) * CFrame.Angles(1.571, 0, -1.571)
  950. weld_41.Part1 = part_40
  951. weld_41.Parent = part_40
  952. part_41.CanCollide = false
  953. part_41.Size = Vector3.new(0.777, 0.289, 0.186)
  954. part_41.Color = Color3.new(0.105882, 0.164706, 0.207843)
  955. part_41.Material = Enum.Material.SmoothPlastic
  956. part_41.BottomSurface = Enum.SurfaceType.Smooth
  957. part_41.BrickColor = BrickColor.new("Black")
  958. part_41.TopSurface = Enum.SurfaceType.Smooth
  959. part_41.Velocity = Vector3.new(0, -730.031, 0)
  960. part_41.Parent = m4a1
  961. part_41.CFrame = CFrame.new(-133.022, 1.034, -16.888) * CFrame.Angles(0, 0, 0)
  962. weld_42.Part0 = mainpart
  963. weld_42.C1 = CFrame.new(-0.536, 0.464, -0.004) * CFrame.Angles(0, 1.571, 0)
  964. weld_42.Part1 = part_41
  965. weld_42.Parent = part_41
  966. part_42.CanCollide = false
  967. part_42.Size = Vector3.new(0.05, 0.327, 0.217)
  968. part_42.BottomSurface = Enum.SurfaceType.Smooth
  969. part_42.Orientation = Vector3.new(0, 0, 62.97)
  970. part_42.Material = Enum.Material.SmoothPlastic
  971. part_42.Color = Color3.new(0.105882, 0.164706, 0.207843)
  972. part_42.BrickColor = BrickColor.new("Black")
  973. part_42.Velocity = Vector3.new(0, -730.031, 0)
  974. part_42.TopSurface = Enum.SurfaceType.Smooth
  975. part_42.Parent = m4a1
  976. part_42.CFrame = CFrame.new(-133.67, 0.223, -16.888) * CFrame.Angles(0, 0, 1.099)
  977. weld_43.Part0 = mainpart
  978. weld_43.C1 = CFrame.new(1.188, 0.479, -0.004) * CFrame.Angles(1.571, 0.472, -1.571)
  979. weld_43.Part1 = part_42
  980. weld_43.Parent = part_42
  981. part_43.CanCollide = false
  982. part_43.Shape = Enum.PartType.Cylinder
  983. part_43.Size = Vector3.new(0.086, 0.11, 0.11)
  984. part_43.Color = Color3.new(0.623529, 0.631373, 0.67451)
  985. part_43.Orientation = Vector3.new(0, 90, 0)
  986. part_43.Material = Enum.Material.SmoothPlastic
  987. part_43.BrickColor = BrickColor.new("Fossil")
  988. part_43.BottomSurface = Enum.SurfaceType.Smooth
  989. part_43.Velocity = Vector3.new(0, -730.031, 0)
  990. part_43.TopSurface = Enum.SurfaceType.Smooth
  991. part_43.Parent = m4a1
  992. part_43.CFrame = CFrame.new(-133.371, 1.032, -16.821) * CFrame.Angles(0, 1.571, 0)
  993. weld_44.Part0 = mainpart
  994. weld_44.C1 = CFrame.new(0.071, 0.466, -0.186) * CFrame.Angles(0, 0, 0)
  995. weld_44.Part1 = part_43
  996. weld_44.Parent = part_43
  997. part_44.CanCollide = false
  998. part_44.Shape = Enum.PartType.Cylinder
  999. part_44.Size = Vector3.new(1.814, 0.143, 0.143)
  1000. part_44.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1001. part_44.Material = Enum.Material.SmoothPlastic
  1002. part_44.BottomSurface = Enum.SurfaceType.Smooth
  1003. part_44.BrickColor = BrickColor.new("Black")
  1004. part_44.TopSurface = Enum.SurfaceType.Smooth
  1005. part_44.Velocity = Vector3.new(0, -730.031, 0)
  1006. part_44.Parent = m4a1
  1007. part_44.CFrame = CFrame.new(-131.769, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
  1008. weld_45.Part0 = mainpart
  1009. weld_45.C1 = CFrame.new(-1.788, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
  1010. weld_45.Part1 = part_44
  1011. weld_45.Parent = part_44
  1012. part_45.CanCollide = false
  1013. part_45.Size = Vector3.new(0.069, 0.069, 0.13)
  1014. part_45.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1015. part_45.Material = Enum.Material.SmoothPlastic
  1016. part_45.BottomSurface = Enum.SurfaceType.Smooth
  1017. part_45.BrickColor = BrickColor.new("Black")
  1018. part_45.TopSurface = Enum.SurfaceType.Smooth
  1019. part_45.Velocity = Vector3.new(0, -730.031, 0)
  1020. part_45.Parent = m4a1
  1021. part_45.CFrame = CFrame.new(-133.108, 0.716, -16.888) * CFrame.Angles(0, 0, 0)
  1022. weld_46.Part0 = mainpart
  1023. weld_46.C1 = CFrame.new(-0.449, 0.782, -0.004) * CFrame.Angles(0, 1.571, 0)
  1024. weld_46.Part1 = part_45
  1025. weld_46.Parent = part_45
  1026. part_46.CanCollide = false
  1027. part_46.Size = Vector3.new(1.071, 0.216, 0.186)
  1028. part_46.BottomSurface = Enum.SurfaceType.Smooth
  1029. part_46.Orientation = Vector3.new(0, 0, 0.42)
  1030. part_46.Material = Enum.Material.SmoothPlastic
  1031. part_46.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1032. part_46.BrickColor = BrickColor.new("Black")
  1033. part_46.Velocity = Vector3.new(0, -730.031, 0)
  1034. part_46.TopSurface = Enum.SurfaceType.Smooth
  1035. part_46.Parent = m4a1
  1036. part_46.CFrame = CFrame.new(-134.504, 1.125, -16.888) * CFrame.Angles(0, 0, 0.007)
  1037. weld_47.Part0 = mainpart
  1038. weld_47.C1 = CFrame.new(0.949, 0.366, -0.004) * CFrame.Angles(1.571, 1.563, -1.571)
  1039. weld_47.Part1 = part_46
  1040. weld_47.Parent = part_46
  1041. part_47.CanCollide = false
  1042. part_47.Size = Vector3.new(0.708, 0.13, 0.186)
  1043. part_47.BottomSurface = Enum.SurfaceType.Smooth
  1044. part_47.Orientation = Vector3.new(0, 180, 81.91)
  1045. part_47.Material = Enum.Material.SmoothPlastic
  1046. part_47.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1047. part_47.BrickColor = BrickColor.new("Black")
  1048. part_47.Velocity = Vector3.new(0, -730.031, 0)
  1049. part_47.TopSurface = Enum.SurfaceType.Smooth
  1050. part_47.Parent = m4a1
  1051. part_47.CFrame = CFrame.new(-135.078, 0.87, -16.888) * CFrame.Angles(-3.142, 0, -1.712)
  1052. weld_48.Part0 = mainpart
  1053. weld_48.C1 = CFrame.new(0.408, 1.594, 0.004) * CFrame.Angles(-1.571, -0.141, -1.571)
  1054. weld_48.Part1 = part_47
  1055. weld_48.Parent = part_47
  1056. part_48.CanCollide = false
  1057. part_48.Shape = Enum.PartType.Cylinder
  1058. part_48.Size = Vector3.new(0.259, 0.05, 0.05)
  1059. part_48.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1060. part_48.Material = Enum.Material.SmoothPlastic
  1061. part_48.BottomSurface = Enum.SurfaceType.Smooth
  1062. part_48.BrickColor = BrickColor.new("Black")
  1063. part_48.TopSurface = Enum.SurfaceType.Smooth
  1064. part_48.Velocity = Vector3.new(0, -730.031, 0)
  1065. part_48.Parent = m4a1
  1066. part_48.CFrame = CFrame.new(-131.194, 1.249, -16.875) * CFrame.Angles(0, 0, 0)
  1067. mesh_16.Scale = Vector3.new(1, 0.869, 0.869)
  1068. mesh_16.MeshType = Enum.MeshType.Cylinder
  1069. mesh_16.Parent = part_48
  1070. weld_49.Part0 = mainpart
  1071. weld_49.C1 = CFrame.new(-2.363, 0.249, -0.017) * CFrame.Angles(0, 1.571, 0)
  1072. weld_49.Part1 = part_48
  1073. weld_49.Parent = part_48
  1074. part_49.CanCollide = false
  1075. part_49.Size = Vector3.new(0.57, 0.05, 0.05)
  1076. part_49.BottomSurface = Enum.SurfaceType.Smooth
  1077. part_49.Orientation = Vector3.new(0, 0, 89.94)
  1078. part_49.Material = Enum.Material.SmoothPlastic
  1079. part_49.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1080. part_49.BrickColor = BrickColor.new("Black")
  1081. part_49.Velocity = Vector3.new(0, -730.031, 0)
  1082. part_49.TopSurface = Enum.SurfaceType.Smooth
  1083. part_49.Parent = m4a1
  1084. part_49.CFrame = CFrame.new(-131.048, 1.265, -16.875) * CFrame.Angles(0, 0, 1.57)
  1085. mesh_17.Scale = Vector3.new(1, 0.864, 0.864)
  1086. mesh_17.Parent = part_49
  1087. weld_50.Part0 = mainpart
  1088. weld_50.C1 = CFrame.new(0.23, 2.51, -0.017) * CFrame.Angles(1.571, 0.001, -1.571)
  1089. weld_50.Part1 = part_49
  1090. weld_50.Parent = part_49
  1091. part_50.CanCollide = false
  1092. part_50.Size = Vector3.new(0.177, 0.052, 0.229)
  1093. part_50.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1094. part_50.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1095. part_50.Orientation = Vector3.new(52.77, 90.99, -180)
  1096. part_50.Material = Enum.Material.Metal
  1097. part_50.BrickColor = BrickColor.new("Black")
  1098. part_50.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1099. part_50.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1100. part_50.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1101. part_50.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1102. part_50.Velocity = Vector3.new(0, -730.031, 0)
  1103. part_50.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1104. part_50.Parent = m4a1
  1105. part_50.CFrame = CFrame.new(-132.446, 0.86, -16.863) * CFrame.Angles(1.584, 0.65, 1.549)
  1106. weld_51.Part0 = mainpart
  1107. weld_51.C1 = CFrame.new(-0.048, 0.498, -1.18) * CFrame.Angles(0.921, 0.017, 3.142)
  1108. weld_51.Part1 = part_50
  1109. weld_51.Parent = part_50
  1110. part_51.CanCollide = false
  1111. part_51.Size = Vector3.new(0.177, 0.052, 0.067)
  1112. part_51.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1113. part_51.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1114. part_51.Orientation = Vector3.new(37.77, 90.99, -180)
  1115. part_51.Material = Enum.Material.Metal
  1116. part_51.BrickColor = BrickColor.new("Black")
  1117. part_51.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1118. part_51.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1119. part_51.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1120. part_51.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1121. part_51.Velocity = Vector3.new(0, -730.031, 0)
  1122. part_51.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1123. part_51.Parent = m4a1
  1124. part_51.CFrame = CFrame.new(-132.355, 0.754, -16.865) * CFrame.Angles(1.593, 0.911, 1.543)
  1125. weld_52.Part0 = mainpart
  1126. weld_52.C1 = CFrame.new(-0.048, 0.148, -1.405) * CFrame.Angles(0.659, 0.017, 3.142)
  1127. weld_52.Part1 = part_51
  1128. weld_52.Parent = part_51
  1129. part_52.CanCollide = false
  1130. part_52.Size = Vector3.new(0.177, 0.05, 0.052)
  1131. part_52.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1132. part_52.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1133. part_52.Orientation = Vector3.new(45, 90.99, -180)
  1134. part_52.Material = Enum.Material.Metal
  1135. part_52.BrickColor = BrickColor.new("Black")
  1136. part_52.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1137. part_52.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1138. part_52.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1139. part_52.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1140. part_52.Velocity = Vector3.new(0, -730.031, 0)
  1141. part_52.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1142. part_52.Parent = m4a1
  1143. part_52.CFrame = CFrame.new(-132.264, 0.934, -16.867) * CFrame.Angles(1.588, 0.785, 1.546)
  1144. mesh_18.Scale = Vector3.new(1, 0.831, 1)
  1145. mesh_18.Parent = part_52
  1146. weld_53.Part0 = mainpart
  1147. weld_53.C1 = CFrame.new(-0.048, 0.515, -1.313) * CFrame.Angles(0.785, 0.017, 3.142)
  1148. weld_53.Part1 = part_52
  1149. weld_53.Parent = part_52
  1150. part_53.CanCollide = false
  1151. part_53.Size = Vector3.new(0.177, 0.052, 0.094)
  1152. part_53.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1153. part_53.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1154. part_53.Orientation = Vector3.new(60, -89.01, 0)
  1155. part_53.Material = Enum.Material.Metal
  1156. part_53.BrickColor = BrickColor.new("Black")
  1157. part_53.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1158. part_53.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1159. part_53.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1160. part_53.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1161. part_53.Velocity = Vector3.new(0, -730.031, 0)
  1162. part_53.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1163. part_53.Parent = m4a1
  1164. part_53.CFrame = CFrame.new(-132.238, 0.912, -16.867) * CFrame.Angles(1.561, -0.524, 1.551)
  1165. weld_54.Part0 = mainpart
  1166. weld_54.C1 = CFrame.new(-0.048, 1.435, 0.152) * CFrame.Angles(2.094, 0.017, 3.142)
  1167. weld_54.Part1 = part_53
  1168. weld_54.Parent = part_53
  1169. part_54.CanCollide = false
  1170. part_54.Size = Vector3.new(0.177, 0.05, 0.249)
  1171. part_54.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1172. part_54.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1173. part_54.Orientation = Vector3.new(0, -89.01, 0)
  1174. part_54.Material = Enum.Material.Metal
  1175. part_54.BrickColor = BrickColor.new("Black")
  1176. part_54.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1177. part_54.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1178. part_54.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1179. part_54.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1180. part_54.Velocity = Vector3.new(0, -730.031, 0)
  1181. part_54.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1182. part_54.Parent = m4a1
  1183. part_54.CFrame = CFrame.new(-132.396, 0.943, -16.864) * CFrame.Angles(-0.003, -1.554, -0.003)
  1184. mesh_19.Scale = Vector3.new(1, 0.831, 1)
  1185. mesh_19.Parent = part_54
  1186. weld_55.Part0 = mainpart
  1187. weld_55.C1 = CFrame.new(-0.048, 0.555, 1.161) * CFrame.Angles(-3.142, 0.017, 3.142)
  1188. weld_55.Part1 = part_54
  1189. weld_55.Parent = part_54
  1190. part_55.CanCollide = false
  1191. part_55.Size = Vector3.new(0.177, 0.052, 0.052)
  1192. part_55.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1193. part_55.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1194. part_55.Orientation = Vector3.new(52.77, 90.99, -180)
  1195. part_55.Material = Enum.Material.Metal
  1196. part_55.BrickColor = BrickColor.new("Black")
  1197. part_55.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1198. part_55.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1199. part_55.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1200. part_55.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1201. part_55.Velocity = Vector3.new(0, -730.031, 0)
  1202. part_55.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1203. part_55.Parent = m4a1
  1204. part_55.CFrame = CFrame.new(-132.524, 0.964, -16.862) * CFrame.Angles(1.584, 0.65, 1.549)
  1205. weld_56.Part0 = mainpart
  1206. weld_56.C1 = CFrame.new(-0.048, 0.498, -1.05) * CFrame.Angles(0.921, 0.017, 3.142)
  1207. weld_56.Part1 = part_55
  1208. weld_56.Parent = part_55
  1209. part_56.CanCollide = false
  1210. part_56.Size = Vector3.new(0.177, 0.052, 0.426)
  1211. part_56.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1212. part_56.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1213. part_56.Orientation = Vector3.new(30, -89.01, 0)
  1214. part_56.Material = Enum.Material.Metal
  1215. part_56.BrickColor = BrickColor.new("Black")
  1216. part_56.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1217. part_56.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1218. part_56.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1219. part_56.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1220. part_56.Velocity = Vector3.new(0, -730.031, 0)
  1221. part_56.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1222. part_56.Parent = m4a1
  1223. part_56.CFrame = CFrame.new(-132.212, 0.894, -16.867) * CFrame.Angles(1.541, -1.047, 1.536)
  1224. weld_57.Part0 = mainpart
  1225. weld_57.C1 = CFrame.new(-0.048, 1.196, 0.862) * CFrame.Angles(2.618, 0.017, 3.142)
  1226. weld_57.Part1 = part_56
  1227. weld_57.Parent = part_56
  1228. part_57.CanCollide = false
  1229. part_57.Size = Vector3.new(0.177, 0.125, 0.05)
  1230. part_57.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1231. part_57.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1232. part_57.Orientation = Vector3.new(90, -89.01, 0)
  1233. part_57.Material = Enum.Material.Metal
  1234. part_57.BrickColor = BrickColor.new("Black")
  1235. part_57.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1236. part_57.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1237. part_57.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1238. part_57.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1239. part_57.Velocity = Vector3.new(0, -730.031, 0)
  1240. part_57.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1241. part_57.Parent = m4a1
  1242. part_57.CFrame = CFrame.new(-132.201, 0.948, -16.868) * CFrame.Angles(1.571, 0, 1.554)
  1243. mesh_20.Scale = Vector3.new(1, 1, 0.831)
  1244. mesh_20.Parent = part_57
  1245. weld_58.Part0 = mainpart
  1246. weld_58.C1 = CFrame.new(-0.048, 1.355, -0.55) * CFrame.Angles(1.571, 0.017, 3.142)
  1247. weld_58.Part1 = part_57
  1248. weld_58.Parent = part_57
  1249. part_58.CanCollide = false
  1250. part_58.Size = Vector3.new(0.177, 0.05, 0.475)
  1251. part_58.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1252. part_58.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1253. part_58.Orientation = Vector3.new(0, -89.01, 0)
  1254. part_58.Material = Enum.Material.Metal
  1255. part_58.BrickColor = BrickColor.new("Black")
  1256. part_58.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1257. part_58.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1258. part_58.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1259. part_58.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1260. part_58.Velocity = Vector3.new(0, -730.031, 0)
  1261. part_58.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1262. part_58.Parent = m4a1
  1263. part_58.CFrame = CFrame.new(-132.369, 0.975, -16.865) * CFrame.Angles(-0.003, -1.554, -0.003)
  1264. mesh_21.Scale = Vector3.new(1, 0.447, 1)
  1265. mesh_21.Parent = part_58
  1266. weld_59.Part0 = mainpart
  1267. weld_59.C1 = CFrame.new(-0.048, 0.523, 1.188) * CFrame.Angles(-3.142, 0.017, 3.142)
  1268. weld_59.Part1 = part_58
  1269. weld_59.Parent = part_58
  1270. part_59.CanCollide = false
  1271. part_59.Size = Vector3.new(0.177, 0.062, 0.114)
  1272. part_59.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1273. part_59.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1274. part_59.Orientation = Vector3.new(0, 90.99, 0)
  1275. part_59.Material = Enum.Material.Metal
  1276. part_59.BrickColor = BrickColor.new("Black")
  1277. part_59.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1278. part_59.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1279. part_59.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1280. part_59.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1281. part_59.Velocity = Vector3.new(0, -730.031, 0)
  1282. part_59.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1283. part_59.Parent = m4a1
  1284. part_59.CFrame = CFrame.new(-132.131, 0.995, -16.869) * CFrame.Angles(3.139, 1.553, -3.139)
  1285. mesh_22.MeshType = Enum.MeshType.Wedge
  1286. mesh_22.Parent = part_59
  1287. weld_60.Part0 = mainpart
  1288. weld_60.C1 = CFrame.new(0.048, 0.503, -1.426) * CFrame.Angles(0, -0.017, 0)
  1289. weld_60.Part1 = part_59
  1290. weld_60.Parent = part_59
  1291. part_60.CanCollide = false
  1292. part_60.Size = Vector3.new(0.177, 0.052, 0.249)
  1293. part_60.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1294. part_60.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1295. part_60.Orientation = Vector3.new(0, -89.01, 0)
  1296. part_60.Material = Enum.Material.Metal
  1297. part_60.BrickColor = BrickColor.new("Black")
  1298. part_60.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1299. part_60.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1300. part_60.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1301. part_60.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1302. part_60.Velocity = Vector3.new(0, -730.031, 0)
  1303. part_60.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1304. part_60.Parent = m4a1
  1305. part_60.CFrame = CFrame.new(-131.949, 1, -16.872) * CFrame.Angles(-0.003, -1.554, -0.003)
  1306. weld_61.Part0 = mainpart
  1307. weld_61.C1 = CFrame.new(-0.048, 0.498, 1.607) * CFrame.Angles(-3.142, 0.017, 3.142)
  1308. weld_61.Part1 = part_60
  1309. weld_61.Parent = part_60
  1310. part_61.CanCollide = false
  1311. part_61.Size = Vector3.new(0.177, 0.05, 0.05)
  1312. part_61.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1313. part_61.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1314. part_61.Orientation = Vector3.new(0, 90.99, -180)
  1315. part_61.Material = Enum.Material.Metal
  1316. part_61.BrickColor = BrickColor.new("Black")
  1317. part_61.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1318. part_61.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1319. part_61.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1320. part_61.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1321. part_61.Velocity = Vector3.new(0, -730.031, 0)
  1322. part_61.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1323. part_61.Parent = m4a1
  1324. part_61.CFrame = CFrame.new(-131.877, 0.964, -16.873) * CFrame.Angles(3.139, 1.554, 0.003)
  1325. mesh_23.Scale = Vector3.new(1, 0.416, 0.416)
  1326. mesh_23.MeshType = Enum.MeshType.Wedge
  1327. mesh_23.Parent = part_61
  1328. weld_62.Part0 = mainpart
  1329. weld_62.C1 = CFrame.new(-0.048, -0.534, -1.68) * CFrame.Angles(0, 0.017, 3.142)
  1330. weld_62.Part1 = part_61
  1331. weld_62.Parent = part_61
  1332. part_62.CanCollide = false
  1333. part_62.Size = Vector3.new(0.177, 0.114, 0.05)
  1334. part_62.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1335. part_62.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1336. part_62.Orientation = Vector3.new(0, 90.99, -180)
  1337. part_62.Material = Enum.Material.Metal
  1338. part_62.BrickColor = BrickColor.new("Black")
  1339. part_62.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1340. part_62.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1341. part_62.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1342. part_62.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1343. part_62.Velocity = Vector3.new(0, -730.031, 0)
  1344. part_62.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1345. part_62.Parent = m4a1
  1346. part_62.CFrame = CFrame.new(-131.861, 0.917, -16.874) * CFrame.Angles(3.139, 1.554, 0.003)
  1347. mesh_24.Scale = Vector3.new(1, 1, 0.623)
  1348. mesh_24.MeshType = Enum.MeshType.Wedge
  1349. mesh_24.Parent = part_62
  1350. weld_63.Part0 = mainpart
  1351. weld_63.C1 = CFrame.new(-0.048, -0.581, -1.696) * CFrame.Angles(0, 0.017, 3.142)
  1352. weld_63.Part1 = part_62
  1353. weld_63.Parent = part_62
  1354. part_63.CanCollide = false
  1355. part_63.Size = Vector3.new(0.177, 0.05, 0.114)
  1356. part_63.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1357. part_63.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1358. part_63.Orientation = Vector3.new(-90, -89.01, 0)
  1359. part_63.Material = Enum.Material.Metal
  1360. part_63.BrickColor = BrickColor.new("Black")
  1361. part_63.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1362. part_63.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1363. part_63.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1364. part_63.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1365. part_63.Velocity = Vector3.new(0, -730.031, 0)
  1366. part_63.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1367. part_63.Parent = m4a1
  1368. part_63.CFrame = CFrame.new(-131.825, 0.917, -16.874) * CFrame.Angles(-1.571, 0, -1.554)
  1369. mesh_25.Scale = Vector3.new(1, 0.831, 1)
  1370. mesh_25.Parent = part_63
  1371. weld_64.Part0 = mainpart
  1372. weld_64.C1 = CFrame.new(-0.048, -1.732, 0.581) * CFrame.Angles(-1.571, 0.017, 3.142)
  1373. weld_64.Part1 = part_63
  1374. weld_64.Parent = part_63
  1375. part_64.CanCollide = false
  1376. part_64.Size = Vector3.new(0.177, 0.05, 0.05)
  1377. part_64.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1378. part_64.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1379. part_64.Orientation = Vector3.new(0, -89.01, 0)
  1380. part_64.Material = Enum.Material.Metal
  1381. part_64.BrickColor = BrickColor.new("Black")
  1382. part_64.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1383. part_64.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1384. part_64.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1385. part_64.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1386. part_64.Velocity = Vector3.new(0, -730.031, 0)
  1387. part_64.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1388. part_64.Parent = m4a1
  1389. part_64.CFrame = CFrame.new(-131.809, 0.99, -16.874) * CFrame.Angles(-0.003, -1.554, -0.003)
  1390. mesh_26.Scale = Vector3.new(1, 0.623, 0.623)
  1391. mesh_26.Parent = part_64
  1392. weld_65.Part0 = mainpart
  1393. weld_65.C1 = CFrame.new(-0.048, 0.508, 1.748) * CFrame.Angles(-3.142, 0.017, 3.142)
  1394. weld_65.Part1 = part_64
  1395. weld_65.Parent = part_64
  1396. part_65.CanCollide = false
  1397. part_65.Size = Vector3.new(0.177, 0.05, 0.114)
  1398. part_65.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1399. part_65.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1400. part_65.Orientation = Vector3.new(-90, -89.01, 0)
  1401. part_65.Material = Enum.Material.Metal
  1402. part_65.BrickColor = BrickColor.new("Black")
  1403. part_65.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1404. part_65.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1405. part_65.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1406. part_65.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1407. part_65.Velocity = Vector3.new(0, -730.031, 0)
  1408. part_65.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1409. part_65.Parent = m4a1
  1410. part_65.CFrame = CFrame.new(-131.799, 0.917, -16.875) * CFrame.Angles(-1.571, 0, -1.554)
  1411. mesh_27.Scale = Vector3.new(1, 0.208, 1)
  1412. mesh_27.MeshType = Enum.MeshType.Wedge
  1413. mesh_27.Parent = part_65
  1414. weld_66.Part0 = mainpart
  1415. weld_66.C1 = CFrame.new(-0.048, -1.758, 0.581) * CFrame.Angles(-1.571, 0.017, 3.142)
  1416. weld_66.Part1 = part_65
  1417. weld_66.Parent = part_65
  1418. part_66.CanCollide = false
  1419. part_66.Size = Vector3.new(0.135, 0.062, 0.407)
  1420. part_66.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1421. part_66.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1422. part_66.Orientation = Vector3.new(30, -89.01, 0)
  1423. part_66.Material = Enum.Material.Grass
  1424. part_66.BrickColor = BrickColor.new("Black")
  1425. part_66.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1426. part_66.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1427. part_66.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1428. part_66.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1429. part_66.Velocity = Vector3.new(0, -730.031, 0)
  1430. part_66.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1431. part_66.Parent = m4a1
  1432. part_66.CFrame = CFrame.new(-132.186, 0.866, -16.868) * CFrame.Angles(1.541, -1.047, 1.536)
  1433. weld_67.Part0 = mainpart
  1434. weld_67.C1 = CFrame.new(-0.048, 1.232, 0.871) * CFrame.Angles(2.618, 0.017, 3.142)
  1435. weld_67.Part1 = part_66
  1436. weld_67.Parent = part_66
  1437. part_67.CanCollide = false
  1438. part_67.Shape = Enum.PartType.Cylinder
  1439. part_67.Size = Vector3.new(0.32, 0.187, 0.187)
  1440. part_67.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1441. part_67.Material = Enum.Material.SmoothPlastic
  1442. part_67.BottomSurface = Enum.SurfaceType.Smooth
  1443. part_67.BrickColor = BrickColor.new("Black")
  1444. part_67.TopSurface = Enum.SurfaceType.Smooth
  1445. part_67.Velocity = Vector3.new(0, -730.031, 0)
  1446. part_67.Parent = m4a1
  1447. part_67.CFrame = CFrame.new(-130.804, 1.118, -16.888) * CFrame.Angles(0, 0, 0)
  1448. weld_68.Part0 = mainpart
  1449. weld_68.C1 = CFrame.new(-2.754, 0.38, -0.004) * CFrame.Angles(0, 1.571, 0)
  1450. weld_68.Part1 = part_67
  1451. weld_68.Parent = part_67
  1452. part_68.CanCollide = false
  1453. part_68.Size = Vector3.new(0.155, 0.216, 0.186)
  1454. part_68.BottomSurface = Enum.SurfaceType.Smooth
  1455. part_68.Orientation = Vector3.new(0, 0, 24.64)
  1456. part_68.Material = Enum.Material.SmoothPlastic
  1457. part_68.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1458. part_68.BrickColor = BrickColor.new("Black")
  1459. part_68.Velocity = Vector3.new(0, -730.031, 0)
  1460. part_68.TopSurface = Enum.SurfaceType.Smooth
  1461. part_68.Parent = m4a1
  1462. part_68.CFrame = CFrame.new(-134.201, 1.102, -16.888) * CFrame.Angles(0, 0, 0.43)
  1463. weld_69.Part0 = mainpart
  1464. weld_69.C1 = CFrame.new(0.751, 0.091, -0.004) * CFrame.Angles(1.571, 1.141, -1.571)
  1465. weld_69.Part1 = part_68
  1466. weld_69.Parent = part_68
  1467. part_69.CanCollide = false
  1468. part_69.Size = Vector3.new(0.57, 0.05, 0.151)
  1469. part_69.BottomSurface = Enum.SurfaceType.Smooth
  1470. part_69.Orientation = Vector3.new(0, 0, 89.94)
  1471. part_69.Material = Enum.Material.SmoothPlastic
  1472. part_69.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1473. part_69.BrickColor = BrickColor.new("Black")
  1474. part_69.Velocity = Vector3.new(0, -730.031, 0)
  1475. part_69.TopSurface = Enum.SurfaceType.Smooth
  1476. part_69.Parent = m4a1
  1477. part_69.CFrame = CFrame.new(-131.048, 1.248, -16.875) * CFrame.Angles(0, 0, 1.57)
  1478. mesh_28.Scale = Vector3.new(1, 0.864, 1)
  1479. mesh_28.Parent = part_69
  1480. weld_70.Part0 = mainpart
  1481. weld_70.C1 = CFrame.new(0.248, 2.51, -0.017) * CFrame.Angles(1.571, 0.001, -1.571)
  1482. weld_70.Part1 = part_69
  1483. weld_70.Parent = part_69
  1484. part_70.CanCollide = false
  1485. part_70.Size = Vector3.new(0.423, 0.052, 0.151)
  1486. part_70.BottomSurface = Enum.SurfaceType.Smooth
  1487. part_70.Orientation = Vector3.new(0, 0, 58.2)
  1488. part_70.Material = Enum.Material.SmoothPlastic
  1489. part_70.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1490. part_70.BrickColor = BrickColor.new("Black")
  1491. part_70.Velocity = Vector3.new(0, -730.031, 0)
  1492. part_70.TopSurface = Enum.SurfaceType.Smooth
  1493. part_70.Parent = m4a1
  1494. part_70.CFrame = CFrame.new(-131.158, 1.335, -16.875) * CFrame.Angles(0, 0, 1.016)
  1495. weld_71.Part0 = mainpart
  1496. weld_71.C1 = CFrame.new(-1.125, 2.125, -0.017) * CFrame.Angles(1.571, 0.555, -1.571)
  1497. weld_71.Part1 = part_70
  1498. weld_71.Parent = part_70
  1499. part_71.CanCollide = false
  1500. part_71.Shape = Enum.PartType.Cylinder
  1501. part_71.Size = Vector3.new(1.486, 0.194, 0.194)
  1502. part_71.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1503. part_71.Material = Enum.Material.SmoothPlastic
  1504. part_71.BottomSurface = Enum.SurfaceType.Smooth
  1505. part_71.BrickColor = BrickColor.new("Black")
  1506. part_71.TopSurface = Enum.SurfaceType.Smooth
  1507. part_71.Velocity = Vector3.new(0, -730.031, 0)
  1508. part_71.Parent = m4a1
  1509. part_71.CFrame = CFrame.new(-134.447, 1.222, -16.888) * CFrame.Angles(0, 0, 0)
  1510. weld_72.Part0 = mainpart
  1511. weld_72.C1 = CFrame.new(0.89, 0.276, -0.004) * CFrame.Angles(0, 1.571, 0)
  1512. weld_72.Part1 = part_71
  1513. weld_72.Parent = part_71
  1514. part_72.CanCollide = false
  1515. part_72.Size = Vector3.new(0.76, 0.406, 0.186)
  1516. part_72.BottomSurface = Enum.SurfaceType.Smooth
  1517. part_72.Orientation = Vector3.new(0, 0, 0.42)
  1518. part_72.Material = Enum.Material.SmoothPlastic
  1519. part_72.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1520. part_72.BrickColor = BrickColor.new("Black")
  1521. part_72.Velocity = Vector3.new(0, -730.031, 0)
  1522. part_72.TopSurface = Enum.SurfaceType.Smooth
  1523. part_72.Parent = m4a1
  1524. part_72.CFrame = CFrame.new(-134.658, 1.029, -16.888) * CFrame.Angles(0, 0, 0.007)
  1525. weld_73.Part0 = mainpart
  1526. weld_73.C1 = CFrame.new(1.105, 0.461, -0.004) * CFrame.Angles(1.571, 1.563, -1.571)
  1527. weld_73.Part1 = part_72
  1528. weld_73.Parent = part_72
  1529. part_73.CanCollide = false
  1530. part_73.Size = Vector3.new(0.155, 0.216, 0.186)
  1531. part_73.BottomSurface = Enum.SurfaceType.Smooth
  1532. part_73.Orientation = Vector3.new(0, 0, 61.36)
  1533. part_73.Material = Enum.Material.SmoothPlastic
  1534. part_73.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1535. part_73.BrickColor = BrickColor.new("Black")
  1536. part_73.Velocity = Vector3.new(0, -730.031, 0)
  1537. part_73.TopSurface = Enum.SurfaceType.Smooth
  1538. part_73.Parent = m4a1
  1539. part_73.CFrame = CFrame.new(-134.34, 0.99, -16.888) * CFrame.Angles(0, 0, 1.071)
  1540. weld_74.Part0 = mainpart
  1541. weld_74.C1 = CFrame.new(0.821, -0.443, -0.004) * CFrame.Angles(1.571, 0.5, -1.571)
  1542. weld_74.Part1 = part_73
  1543. weld_74.Parent = part_73
  1544. part_74.CanCollide = false
  1545. part_74.Shape = Enum.PartType.Cylinder
  1546. part_74.Size = Vector3.new(1.157, 0.264, 0.213)
  1547. part_74.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1548. part_74.Material = Enum.Material.SmoothPlastic
  1549. part_74.BottomSurface = Enum.SurfaceType.Smooth
  1550. part_74.BrickColor = BrickColor.new("Black")
  1551. part_74.TopSurface = Enum.SurfaceType.Smooth
  1552. part_74.Velocity = Vector3.new(0, -730.031, 0)
  1553. part_74.Parent = m4a1
  1554. part_74.CFrame = CFrame.new(-132.098, 1.127, -16.896) * CFrame.Angles(0, 0, 0)
  1555. weld_75.Part0 = mainpart
  1556. weld_75.C1 = CFrame.new(-1.46, 0.371, 0.003) * CFrame.Angles(0, 1.571, 0)
  1557. weld_75.Part1 = part_74
  1558. weld_75.Parent = part_74
  1559.  
  1560. hlkit = Instance.new("Part")
  1561. hlkitmesh = Instance.new("SpecialMesh")
  1562. hlkit.Anchored = false
  1563. hlkit.CanCollide = false
  1564. hlkit.Size = Vector3.new(1.4, 0.7, 1.3)
  1565. hlkit.BrickColor = BrickColor.new("Black")
  1566. hlkit.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1567. hlkit.Material = Enum.Material.SmoothPlastic
  1568. hlkit.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1569. hlkit.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1570. hlkit.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1571. hlkit.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1572. hlkit.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1573. hlkit.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1574. hlkit.Parent = C
  1575. hlkit.CFrame = CFrame.new(-87.19, 0.42, -26.37) * CFrame.Angles(0, 0, 0)
  1576. hlkitmesh.TextureId = "rbxassetid://713544439"
  1577. hlkitmesh.MeshType = Enum.MeshType.FileMesh
  1578. hlkitmesh.MeshId = "rbxassetid://713544434"
  1579. hlkitmesh.Parent = hlkit
  1580.  
  1581. local wlf = Instance.new("Weld",m4a1)
  1582. wlf.Part0 = mainpart
  1583. wlf.Part1 = RARM
  1584. wlf.C0 = wlf.C0 * aa(rad(-90),rad(180),rad(0))
  1585. wlf.C1 = cn(-0.2,-0.225,-0.95)
  1586.  
  1587. local wlf2 = Instance.new("Weld",bat)
  1588. wlf2.Part0 = bat
  1589. wlf2.Part1 = RARM
  1590. wlf2.C0 = wlf2.C0 * aa(rad(90),rad(0),rad(0))
  1591. wlf2.C1 = cn(-0.15,-0.9,-1.2)
  1592. bat.Parent = nil
  1593.  
  1594. local wlf3 = Instance.new("Weld",hlkit)
  1595. wlf3.Part0 = hlkit
  1596. wlf3.Part1 = Torso
  1597. wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
  1598. wlf3.C1 = cn(0,0.25,0.6)
  1599.  
  1600. local LH = Torso:WaitForChild("Left Hip")
  1601. local RH = Torso:WaitForChild("Right Hip")
  1602. local RSH = Torso:WaitForChild("Right Shoulder")
  1603. local LSH = Torso:WaitForChild("Left Shoulder")
  1604. RH.Parent = nil
  1605. LH.Parent = nil
  1606. RSH.Parent = nil
  1607. LSH.Parent = nil
  1608.  
  1609. local RL = Instance.new("Weld",Torso)
  1610. RL.Name = "Right Hip"
  1611. RL.Part0 = Torso
  1612. RL.C0 = cn(0, 0, 0)
  1613. RL.C1 = cn(0.5, 1, 0) * aa(0,1.6,0)
  1614. RL.Part1 = RLEG
  1615.  
  1616. local LL = Instance.new("Weld",Torso)
  1617. LL.Name = "Left Hip"
  1618. LL.Part0 = Torso
  1619. LL.C0 = cn(0, 0, 0)
  1620. LL.C1 = cn(-0.5, 1, 0) * aa(0,-1.6,0)
  1621. LL.Part1 = LLEG
  1622.  
  1623. local RA = Instance.new("Weld",Torso)
  1624. RA.Name = "Right Shoulder"
  1625. RA.Part0 = Torso
  1626. RA.C0 = cn(1.5, 0.5, 0)
  1627. RA.C1 = cn(0, 0.5, 0)
  1628. RA.Part1 = RARM
  1629.  
  1630. local LA = Instance.new("Weld",Torso)
  1631. LA.Name = "Left Shoulder"
  1632. LA.Part0 = Torso
  1633. LA.C0 = cn(-1.5, 0.5, 0)
  1634. LA.C1 = cn(0, 0.5, 0)
  1635. LA.Part1 = LARM
  1636.  
  1637. LL.C0 = LHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
  1638. RL.C0 = RHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
  1639.  
  1640. local swait = function()
  1641. g:GetService('RunService').Stepped:wait(0)
  1642. end
  1643. function CreateShake(RepeatedFor,OffsetDebounce)
  1644. spawn(function()
  1645. local Camera = g:GetService('Workspace').CurrentCamera
  1646. for i=1,RepeatedFor do swait()
  1647. Camera.CFrame = Camera.CFrame * CFrame.new(math.random()*OffsetDebounce,
  1648. math.random()*OffsetDebounce,
  1649. math.random()*OffsetDebounce)
  1650. end
  1651. end)
  1652. end
  1653. function RayCast(Position, Direction, Range, Ignore)
  1654. local ht = g:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore)
  1655. return ht or nil
  1656. end
  1657.  
  1658. H.Animator:Destroy()
  1659. C.Animate:Destroy() turn = false
  1660.  
  1661.  
  1662. local rK = false
  1663. local DBT = false
  1664. function Land(spe)
  1665. spawn(function()
  1666. if DBT == false and attack == true and spe < -30 and rK == false then
  1667. DBT = true
  1668. H.WalkSpeed = 4
  1669. H.JumpPower = 0
  1670. CI.Sound.Create('rbxassetid://268933900',Torso,10,1,true,'Landing',false,true,1,0)
  1671. for i=0,1,0.15 do swait()
  1672. RL.C0 = RL.C0:lerp(RHCF * cn(0.11,-0.4,1) * aa(rad(-5),rad(0),rad(22)+rad(2.5 * sin(k/10))),.25)
  1673. LL.C0 = LL.C0:lerp(LHCF * cn(-0.16,-0.4,1) * aa(rad(-5),rad(0),rad(-22)+rad(2.5 * sin(k/10))),.25)
  1674. RA.C0 = RA.C0:lerp(cn(1.5, 0.81, 0) * aa(rad(14),rad(20),rad(25)+rad(5 * sin(k/10))),.25)
  1675. LA.C0 = LA.C0:lerp(cn(-1.5, 0.5, 0) * aa(rad(12.3),rad(-20),rad(-25)+rad(5 * sin(k/10))),.25)
  1676. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0.1, -0.6) * aa(rad(10), rad(0), rad(5)), .25)
  1677. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(10), rad(0), rad(0)), .25)
  1678. end
  1679. attack = false
  1680. spawn(function()
  1681. wait(0.1) H.JumpPower = 60
  1682. DBT = false
  1683. H.WalkSpeed = oW
  1684. end)
  1685. else
  1686. attack = false
  1687. end
  1688. end)
  1689. end
  1690. spawn(function()
  1691. local sound = Instance.new('Sound')
  1692. sound.Parent = Torso
  1693. sound.Looped = false
  1694. sound.Volume = 1
  1695. sound.Name = 'Footstep'
  1696. sound.SoundId = 'rbxassetid://379483672' -- 833564121
  1697. local kio = 0.11
  1698. local tt = 0.1
  1699. local ray = Ray.new(
  1700. Torso.Position,
  1701. Vector3.new(0, -4.5, 0))
  1702. local part, endPoint = workspace:FindPartOnRay(ray, C)
  1703. while wait() do
  1704. if speed > 0.5 and Animation == 'Walk' and touch ~= nil then
  1705. if kio <= 0.01 then
  1706. if part and part.Material == Enum.Material.Grass then
  1707. sound.SoundId = 'rbxassetid://152920365'
  1708. sound:Play()
  1709. else
  1710. sound.SoundId = 'rbxassetid://379483672'
  1711. sound:Play()
  1712. end
  1713. kio = tt
  1714. end
  1715. kio = kio - 0.01
  1716. else
  1717. if kio <= 0.01 then
  1718. kio = tt
  1719. end
  1720. kio = kio - 0.01
  1721. sound:Stop()
  1722. end
  1723. end
  1724. end)
  1725. function sphere1(par,anch,name,mat,si,cf,tr,ccol,bcol)
  1726. local v3 = Vector3.new
  1727. local ins = Instance.new
  1728. local sp = ins('Part')
  1729. sp.Size = si
  1730. sp.Transparency = tr
  1731. sp.Anchored = anch
  1732. sp.CanCollide = ccol
  1733. sp.Name = name
  1734. sp.Material = mat
  1735. sp.BrickColor = bcol
  1736. sp.CFrame = cf
  1737. local mesls = ins("SpecialMesh",sp)
  1738. mesls.Scale = v3(0.8, 0.8, 0.8)
  1739. mesls.MeshType = Enum.MeshType.Sphere
  1740. sp.Parent = par
  1741. return sp
  1742. end
  1743. function fixedPoint(t,p,d) -- Requires object to have equal dimensions
  1744. local ranbo1 = math.random(-2,2)
  1745. local ranbo2 = math.random(0,2)
  1746. local ranbo3 = math.random(-2,2)
  1747. t.CFrame = p.Hit * CFrame.new(ranbo1,ranbo2,ranbo3)
  1748. t.CFrame = CFrame.new(t.Position, p.Hit.Position)
  1749. end
  1750. function fixedPoint1(t,p,d,range)
  1751. local ranbo1
  1752. local ranbo2
  1753. local ranbo3
  1754. if range then
  1755. ranbo1 = math.random(-range,range)
  1756. ranbo2 = math.random(-range,range)
  1757. ranbo3 = math.random(-range,range)
  1758. else
  1759. ranbo1 = math.random(-5,5)/5
  1760. ranbo2 = math.random()*0.5
  1761. ranbo3 = math.random(-5,5)/5
  1762. end
  1763. t.CFrame = p.CFrame * CFrame.new(ranbo1,ranbo2,ranbo3)
  1764. t.CFrame = CFrame.new(t.Position, p.Position)
  1765. end
  1766.  
  1767. spawn(function() while true do swait()
  1768. if Torso:FindFirstChild('Neck') then
  1769. speed = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1770. local velocity = Root.Velocity.y
  1771. touch = g:service("Workspace"):FindPartOnRay(Ray.new(Root.Position,
  1772. (cn(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector.unit * 4.5), C)
  1773. local nearhit = RayCast(Root.Position, (cn(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector, 6, C)
  1774. a = a + 1
  1775. k = a / 1.25
  1776. if H.Sit == true then
  1777. Animation = "Sit"
  1778. if attack == false then
  1779. RL.C0 = RL.C0:lerp(RHCF * cn(0.5,-1,1) * aa(rad(0),rad(-5),rad(90)),.1)
  1780. LL.C0 = LL.C0:lerp(LHCF * cn(-0.5,-1,1) * aa(rad(0),rad(5),rad(-90)),.1)
  1781. RA.C0 = RA.C0:lerp(cn(1.5, 0.45, 0) * aa(rad(85),rad(0),rad(3)),.1)
  1782. LA.C0 = LA.C0:lerp(cn(-1.5, 0.45, 0) * aa(rad(85),rad(0),rad(-3)),.1)
  1783. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, 0.2) * cn(0, 0,rad(-2.5 * cos(a/25))) * aa(rad(-15), rad(0), rad(0)), .1)
  1784. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(3 * sin(a/25)), rad(0), rad(-5)), .1)
  1785. end
  1786. elseif Root.Velocity.y > 1 and touch == nil then
  1787. Animation = "Jump"
  1788. if attack == false then
  1789. RL.C0 = RL.C0:lerp(RHCF * cn(0.35,-0.4,1) * aa(rad(-10),rad(0),rad(-15)+rad(2.5 * sin(a/10))),.1)
  1790. LL.C0 = LL.C0:lerp(LHCF * cn(-0.4,-0.1,1) * aa(rad(-10),rad(0),rad(30)+rad(2.5 * sin(a/10))),.1)
  1791. RA.C0 = RA.C0:lerp(cn(1.5, 0.5, 0) * aa(rad(15),rad(0),rad(15)+rad(2 * sin(a/10))),.1)
  1792. LA.C0 = LA.C0:lerp(cn(-1.5, 0.5, 0) * aa(rad(15),rad(0),rad(-15)+rad(2 * sin(a/10))),.1)
  1793. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, 0.15) * aa(rad(-15), rad(0), rad(5)), .1)
  1794. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-15), rad(0), rad(0)), .1)
  1795. end
  1796. elseif Root.Velocity.y < -1 and touch == nil then
  1797. Animation = "Fall"
  1798. if nearhit ~= nil then
  1799. attack = true
  1800. Land(Root.Velocity.y)
  1801. end
  1802. if attack == false then
  1803. RL.C0 = RL.C0:lerp(RHCF * cn(0.1,-0.4,1) * aa(rad(-5),rad(0),rad(11)+rad(2.5 * sin(a/10))),.1)
  1804. LL.C0 = LL.C0:lerp(LHCF * cn(-0.12,-0.424,1) * aa(rad(-5),rad(0),rad(-16)+rad(2.5 * sin(a/10))),.1)
  1805. RA.C0 = RA.C0:lerp(cn(1.5, 0.81, 0) * aa(rad(30),rad(20),rad(60)+rad(5 * sin(a/10))),.1)
  1806. LA.C0 = LA.C0:lerp(cn(-1.5, 0.6, 0) * aa(rad(30),rad(-20),rad(-63)+rad(5 * sin(a/10))),.1)
  1807. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, -0.25) * aa(rad(5), rad(0), rad(5)), .1)
  1808. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(15), rad(0), rad(0)), .1)
  1809. end
  1810.  
  1811. elseif speed < 1 and touch ~= nil and touch.Name ~= 'Effect' and sit == false and wep == 'primary' then
  1812. Animation = "Idle"
  1813. if attack == false then
  1814. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04)+rad(-1 * cos(a/25)),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(-5)+rad(-0.5*cos(a/25))),.12)
  1815. LL.C0 = LL.C0:lerp(LHCF * cn(rad(-1 * cos(a/25)),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(15)+rad(-1.5*cos(a/25)),rad(5)+rad(0.5*cos(a/25))),.12)
  1816. RA.C0 = RA.C0:lerp(cn(1.1, 0.555 - rad(-2 * cos(a/25)), -0.3) * aa(rad(35)+rad(1.5 * sin(a/25)),rad(-1),rad(-40)+rad(1.5*sin(a/25))),.12)
  1817. LA.C0 = LA.C0:lerp(cn(-1.3, 0.3 - rad(-2.5 * cos(a/25)), -0.6) * aa(rad(34)+rad(1.5 * sin(a/25)),rad(0),rad(20)-rad(1.5*sin(a/25))),.12)
  1818. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(-3.5*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(-0)), .12)
  1819. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(0)), .12)
  1820. end
  1821. elseif speed > 1 and speed < 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'primary' then
  1822. Animation = "Walk"
  1823. if attack == false then
  1824. RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(k/5),-0.7+0.26 * cos(k/5)-rad(3-6*sin(k/5))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-7)+rad(35*sin(k/5))),.16)
  1825. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(k/5),-0.7-0.26 * cos(k/5)-rad(3+6*sin(k/5))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(7)+rad(35*sin(k/5))),.16)
  1826. RA.C0 = RA.C0:lerp(cn(1.1, 0.555 - rad(-2 * cos(a/25)), -0.3) * aa(rad(35)+rad(1.5 * sin(a/25)),rad(-1),rad(-40)+rad(1.5*sin(a/25))),.12)
  1827. LA.C0 = LA.C0:lerp(cn(-1.3, 0.3 - rad(-2.5 * cos(a/25)), -0.6) * aa(rad(34)+rad(1.5 * sin(a/25)),rad(0),rad(20)-rad(1.5*sin(a/25))),.12)
  1828. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.15) * cn(0, 0, rad(10 * cos(k/2.5))) * aa(rad(5), rad(0) + Root.RotVelocity.Y / 50 ,rad(-5*cos(k/5))),.16)
  1829. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(5* cos(k/2.5)), rad(0), rad(5*cos(k/-5)) + Root.RotVelocity.Y / 10), .16)
  1830. end
  1831. elseif speed > 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'primary' then
  1832. Animation = "Run"
  1833. if attack == false then
  1834. RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(a/4),-0.8+0.26 * cos(a/4)-rad(3-6*sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-2)+rad(80*sin(a/4))),.4)
  1835. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(a/4),-0.8-0.26 * cos(a/4)-rad(3+6*sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(2)+rad(80*sin(a/4))),.4)
  1836. LA.C0 = LA.C0:lerp(cn(-1.3, 0.55 + rad(-0.05*cos(k/5)), -0.4) * aa(rad(30),rad(4)+Root.RotVelocity.Y / 25,rad(30)+rad(1.5 * sin(k/2.5))+Root.RotVelocity.Y / 155),.16)
  1837. RA.C0 = RA.C0:lerp(cn(1.1, 0.55 + rad(0.05*cos(k/5)), -0.3) * aa(rad(40),rad(10),rad(-40)),.16)
  1838. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, -0.1 + rad(4*sin(a/2)), -0.1+rad(13 * sin(a/2))) * aa(rad(25), rad(0) + Root.RotVelocity.Y / 15,rad(0)),.4)
  1839. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-10), rad(0), rad(1 * cos(a/-4)) + Root.RotVelocity.Y / 15), .4)
  1840. end
  1841.  
  1842. elseif speed < 1 and touch ~= nil and touch.Name ~= 'Effect' and sit == false and wep == 'secondary' then
  1843. Animation = "Idle"
  1844. if attack == false then
  1845. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04)+rad(-1 * cos(a/25)),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(-5)+rad(-0.5*cos(a/25))),.12)
  1846. LL.C0 = LL.C0:lerp(LHCF * cn(rad(-1 * cos(a/25)),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(15)+rad(-1.5*cos(a/25)),rad(5)+rad(0.5*cos(a/25))),.12)
  1847. RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.12)
  1848. LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.12)
  1849. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(-3.5*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(-0)), .12)
  1850. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(0)), .12)
  1851. end
  1852. elseif speed > 1 and speed < 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'secondary' then
  1853. Animation = "Walk"
  1854. if attack == false then
  1855. RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(k/5),-0.7+0.26 * cos(k/5)-rad(3-6*sin(k/5))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-7)+rad(35*sin(k/5))),.16)
  1856. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(k/5),-0.7-0.26 * cos(k/5)-rad(3+6*sin(k/5))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(7)+rad(35*sin(k/5))),.16)
  1857. RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.12)
  1858. LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.12)
  1859. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.16) * cn(0, -0, rad(10 * cos(k/2.5))) * aa(rad(5), rad(0) + Root.RotVelocity.Y / 50 ,rad(-5*cos(k/5))),.16)
  1860. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(5* cos(k/2.5)), rad(0), rad(5*cos(k/-5)) + Root.RotVelocity.Y / 10), .16)
  1861. end
  1862. elseif speed > 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'secondary' then
  1863. Animation = "Run"
  1864. if attack == false then
  1865. RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(a/4),-0.8+0.26 * cos(a/4)-rad(3-6*sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-2)+rad(80*sin(a/4))),.4)
  1866. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(a/4),-0.8-0.26 * cos(a/4)-rad(3+6*sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(2)+rad(80*sin(a/4))),.4)
  1867. RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-35),rad(0)+rad(1.5*sin(a/25))),.12)
  1868. LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-35),rad(60)-rad(1.5*sin(a/25))),.12)
  1869. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, -0.1 + rad(4*sin(a/2)), -0.1+rad(13 * sin(a/2))) * aa(rad(25), rad(0) + Root.RotVelocity.Y / 15,rad(0)),.4)
  1870. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-10), rad(0), rad(1 * cos(a/-4)) + Root.RotVelocity.Y / 15), .4)
  1871. end
  1872.  
  1873. elseif speed < 1 and touch ~= nil and touch.Name ~= 'Effect' and sit == false and wep == 'surrport1' then
  1874. Animation = "Idle"
  1875. if attack == false then
  1876. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04)+rad(-1 * cos(a/25)),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(-5)+rad(-0.5*cos(a/25))),.12)
  1877. LL.C0 = LL.C0:lerp(LHCF * cn(rad(-1 * cos(a/25)),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(15)+rad(-1.5*cos(a/25)),rad(5)+rad(0.5*cos(a/25))),.12)
  1878. RA.C0 = RA.C0:lerp(cn(1.4, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(70)+rad(1.5 * sin(a/25)),rad(-35),rad(10)+rad(1.5*sin(a/25))),.12)
  1879. LA.C0 = LA.C0:lerp(cn(-1.25, 0.3 - rad(-2.5 * cos(a/25)), -0.3) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-25),rad(0)-rad(1.5*sin(a/25))),.12)
  1880. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(-3.5*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(-0)), .12)
  1881. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(0)), .12)
  1882. end
  1883. elseif speed > 1 and speed < 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'surrport1' then
  1884. Animation = "Walk"
  1885. if attack == false then
  1886. RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(k/5),-0.7+0.26 * cos(k/5)-rad(3-6*sin(k/5))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-7)+rad(35*sin(k/5))),.16)
  1887. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(k/5),-0.7-0.26 * cos(k/5)-rad(3+6*sin(k/5))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2.5)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(7)+rad(35*sin(k/5))),.16)
  1888. RA.C0 = RA.C0:lerp(cn(1.4, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-35),rad(10)+rad(1.5*sin(a/25))),.12)
  1889. LA.C0 = LA.C0:lerp(cn(-1.25, 0.3 - rad(-2.5 * cos(a/25)), -0.3) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-25),rad(0)-rad(1.5*sin(a/25))),.12)
  1890. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.16) * cn(0, 0, rad(10 * cos(k/2.5))) * aa(rad(5), rad(0) + Root.RotVelocity.Y / 50 ,rad(-5*cos(k/5))),.16)
  1891. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(5* cos(k/2.5)), rad(0), rad(5*cos(k/-5)) + Root.RotVelocity.Y / 10), .16)
  1892. end
  1893. elseif speed > 18 and touch ~= nil and touch.Name ~= 'Effect' and wep == 'surrport1' then
  1894. Animation = "Run"
  1895. if attack == false then
  1896. RL.C0 = RL.C0:lerp(RHCF * cn(0.05 + 0.225*cos(a/4),-0.8+0.26 * cos(a/4)-rad(3-6*sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-2)+rad(80*sin(a/4))),.4)
  1897. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05 + 0.225*cos(a/4),-0.8-0.26 * cos(a/4)-rad(3+6*sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*cos(a/2)))*aa(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(2)+rad(80*sin(a/4))),.4)
  1898. RA.C0 = RA.C0:lerp(cn(1.4, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(70)+rad(1.5 * sin(a/25)),rad(-35),rad(10)+rad(1.5*sin(a/25))),.12)
  1899. LA.C0 = LA.C0:lerp(cn(-1.25, 0.3 - rad(-2.5 * cos(a/25)), -0.3) * aa(rad(40)+rad(1.5 * sin(a/25)),rad(-25),rad(0)-rad(1.5*sin(a/25))),.12)
  1900. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, -0.1 + rad(4*sin(a/2)), -0.1+rad(13 * sin(a/2))) * aa(rad(25), rad(0) + Root.RotVelocity.Y / 15,rad(0)),.4)
  1901. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-10), rad(0), rad(1 * cos(a/-4)) + Root.RotVelocity.Y / 15), .4)
  1902. end
  1903.  
  1904. end
  1905. end
  1906. end
  1907. end)
  1908.  
  1909. local function effectfade(thing,sizee,col,ding,bing)
  1910. coroutine.resume(coroutine.create(function()
  1911. thing.Name = "EFFECT"
  1912. local tee
  1913. if ding == true then tee=350 else tee=100 end
  1914. for i=1,tee do
  1915. thing.Size = thing.Size:lerp(Vector3.new(0,sizee,sizee),.125)
  1916. thing.Transparency = i/tee
  1917. if bing and i >325 and bing.Enabled == true then
  1918. bing.Enabled = false
  1919. end
  1920. swait()
  1921. end
  1922. if thing then
  1923. thing:Destroy()
  1924. else
  1925. return
  1926. end
  1927. end))
  1928. end
  1929. local function Baser(pos,size,col,donk,bee)
  1930. local d=Instance.new("Part")
  1931. d.Anchored=true
  1932. d.CanCollide=false
  1933. d.Size=Vector3.new(0.2,0.64,0.64)
  1934. d.Orientation=Vector3.new(0,180,-90)
  1935. d.Material=288
  1936. d.BrickColor=BrickColor.new(327)
  1937. d.BottomSurface=0
  1938. d.Shape = Enum.PartType.Cylinder
  1939. d.BrickColor=col
  1940. d.Reflectance=1;d.TopSurface=0
  1941. d.Parent=workspace
  1942. d.CFrame=CFrame.Angles(-3.142,0,1.571)
  1943. d.Position = pos
  1944. d.LocalTransparencyModifier = d.Transparency
  1945. d.Changed:connect(function()
  1946. d.LocalTransparencyModifier = d.Transparency
  1947. end)
  1948. local pemitter
  1949. if donk == true then
  1950. pemitter = Instance.new("ParticleEmitter")
  1951. local weldly = Instance.new('Weld')
  1952. pemitter.Color = ColorSequence.new(Color3.new(0.8, 0, 0), Color3.new(1, 1, 1))
  1953. pemitter.Lifetime = NumberRange.new(1)
  1954. pemitter.LightEmission = 0.1
  1955. pemitter.LightInfluence = 1
  1956. pemitter.Texture = "rbxassetid://293037988"
  1957. pemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1958. pemitter.VelocitySpread = 25
  1959. pemitter.Drag = 1
  1960. pemitter.Rate = 100
  1961. pemitter.SpreadAngle = Vector2.new(25, 25)
  1962. pemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.001, 0.313), NumberSequenceKeypoint.new(1, 0)})
  1963. pemitter.Parent = d
  1964. pemitter.Speed = NumberRange.new(12)
  1965. pemitter.Enabled = true
  1966. pemitter.EmissionDirection = 'Left'
  1967. end
  1968. if donk == true then
  1969. effectfade(d,size,col,bee,pemitter)
  1970. else
  1971. effectfade(d,size,col,bee)
  1972. end
  1973. return d
  1974. end
  1975.  
  1976. local music
  1977. local shotsund
  1978. local ballhit
  1979. spawn(function()
  1980. while wait() do
  1981. if not Root:FindFirstChild('Musi') then
  1982. local sound = Instance.new("Sound", Root)
  1983. sound.Volume = 1
  1984. sound.Pitch = 1
  1985. sound.SoundId = 'rbxassetid://1304363796'
  1986. sound.TimePosition = 0
  1987. sound.Looped = true
  1988. sound.Name = "Musi"
  1989. sound:Play()
  1990. music = sound
  1991. elseif not Root:FindFirstChild('bullet') then
  1992. local sound = Instance.new("Sound", Root)
  1993. sound.Volume = 10
  1994. sound.Pitch = 1
  1995. sound.SoundId = 'rbxassetid://459050067'
  1996. sound.TimePosition = 0.06
  1997. sound.Looped = false
  1998. sound.Name = "bullet"
  1999. shotsund = sound
  2000. elseif not Root:FindFirstChild('ballhit') then
  2001. local sound = Instance.new("Sound", Root)
  2002. sound.Volume = 10
  2003. sound.Pitch = 1
  2004. sound.SoundId = 'rbxassetid://678280962'
  2005. sound.TimePosition = 0.06
  2006. sound.Looped = false
  2007. sound.Name = "ballhit"
  2008. ballhit = sound
  2009. end
  2010. end
  2011. end)
  2012.  
  2013. shottying = false
  2014. heated = false
  2015.  
  2016. Mouse.Button1Down:Connect(function()
  2017. if wep == 'primary' and shottying == false then shottying = true
  2018. attack = true
  2019. local lineart = 0
  2020. local bo = 0
  2021. H.WalkSpeed = 0
  2022. for i=0,1,0.05 do swait()
  2023. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.1),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-5),rad(-5)),.2)
  2024. LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.2),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(20),rad(5)),.2)
  2025. RA.C0 = RA.C0:lerp(cn(1, 0.5 - rad(-2 * cos(a/25)), -0.3 + rad(0 * sin(a/1.5))) * aa(rad(90)+rad(0),rad(-1),rad(-30)),.2)
  2026. LA.C0 = LA.C0:lerp(cn(-1.3, 0.4 - rad(-2.5 * cos(a/25)), -0.5 + rad(0)) * aa(rad(80)+rad(0*cos(a/1.5)),rad(0),rad(60)),.2)
  2027. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0), rad(0), rad(-30)), .2)
  2028. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-2.5 * sin(a/25)), rad(0), rad(30)), .2)
  2029. H.AutoRotate = false
  2030. Root.CFrame = CFrame.new(Root.Position, Mouse.Hit.p*Vector3.new(1,0,1) + Root.Position*Vector3.new(0, 1, 0))
  2031. end
  2032. flame.Enabled = true
  2033. flamelight.Enabled = true
  2034. smoke.Enabled = true
  2035. repeat swait()
  2036. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.1),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-5),rad(-5)),.2)
  2037. LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.2),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(20),rad(5)),.2)
  2038. RA.C0 = RA.C0:lerp(cn(1, 0.5 - rad(-2 * cos(a/25)), -0.3 + rad(10 * sin(a/1.5))) * aa(rad(90)+rad(15*cos(a/1.5)),rad(-1),rad(-30)),.2)
  2039. LA.C0 = LA.C0:lerp(cn(-1.3, 0.4 - rad(-2.5 * cos(a/25)), -0.5 + rad(10 * sin(a/1.5))) * aa(rad(80)+rad(15*cos(a/1.5)),rad(0),rad(60)),.2)
  2040. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0), rad(0), rad(-30)), .2)
  2041. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-2.5 * sin(a/25)), rad(0), rad(30)), .2)
  2042. lineart = lineart + 1
  2043. bo = bo + 0.05
  2044. H.AutoRotate = false
  2045. Root.CFrame = CFrame.new(Root.Position, Mouse.Hit.p*Vector3.new(1,0,1) + Root.Position*Vector3.new(0, 1, 0))
  2046. if lineart == 10 then
  2047. shotsund:Play()
  2048. ShootLaserBeam(hole,false)
  2049. lineart = 0
  2050. end
  2051. until shottying == false
  2052. H.WalkSpeed = oW
  2053. H.AutoRotate = true
  2054. attack = false
  2055. elseif wep == 'secondary' and attack == false and heated == false then
  2056. attack = true
  2057. heated = true
  2058. for i=0,1,0.1 do swait()
  2059. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(0),rad(0)),.15)
  2060. LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(0),rad(0)),.15)
  2061. RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(140)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.15)
  2062. LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(140)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.15)
  2063. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(-10), rad(0), rad(-70)), .15)
  2064. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(70)), .15)
  2065. end
  2066. local list = GetNearbyTorsos(RARM,5,C)
  2067. DamageFromList(list,55,false,false)
  2068. local EgibleParts = list
  2069. if EgibleParts[1] ~= nil then
  2070. for i=1,#EgibleParts do
  2071. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  2072. local rd = math.random(1,3)
  2073. if rd == 1 then
  2074. ballhit.SoundId = 'rbxassetid://678280962'
  2075. elseif rd == 2 then
  2076. ballhit.SoundId = 'rbxassetid://678280908'
  2077. elseif rd == 3 then
  2078. ballhit.SoundId = 'rbxassetid://678280832'
  2079. end
  2080. ballhit:Play()
  2081. spawn(function()
  2082. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  2083. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid').PlatformStand = true
  2084. end
  2085. wait(2)
  2086. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  2087. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid').PlatformStand = false
  2088. end
  2089. end)
  2090. end
  2091. end
  2092. end
  2093. for i=0,1,0.1 do swait()
  2094. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.934,1)*aa(rad(-3),rad(0),rad(0)),.3)
  2095. LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.04),rad(-2.5 * cos(a/25))-0.93,1)*aa(rad(-3),rad(0),rad(0)),.3)
  2096. RA.C0 = RA.C0:lerp(cn(1.2, 0.555 - rad(-2 * cos(a/25)), -0.2) * aa(rad(25)+rad(1.5 * sin(a/25)),rad(-20),rad(0)+rad(1.5*sin(a/25))),.3)
  2097. LA.C0 = LA.C0:lerp(cn(-0.35, 0.3 - rad(-2.5 * cos(a/25)), -0.75) * aa(rad(25)+rad(1.5 * sin(a/25)),rad(-20),rad(60)-rad(1.5*sin(a/25))),.3)
  2098. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(10), rad(0), rad(70)), .3)
  2099. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(5)+rad(-5 * sin(a/25)), rad(0), rad(-70)), .3)
  2100. end
  2101. attack = false
  2102. wait(.25)
  2103. heated = false
  2104. elseif wep == 'surrport1' and attack == false then
  2105. healing = true
  2106. attack = true
  2107. for i=0,1,0.005 do swait()
  2108. if healing == true then
  2109. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.04),rad(-1 * cos(a/25))-0.934,1)*aa(rad(-3),rad(-0.1),rad(5)),.12)
  2110. LL.C0 = LL.C0:lerp(LHCF * cn(rad(-0.2),rad(-2.5 * cos(a/25))-0.95,1)*aa(rad(-3),rad(15),rad(5)),.12)
  2111. RA.C0 = RA.C0:lerp(cn(1.05, 0.555 - rad(-2 * cos(a/25)), -0.7) * aa(rad(70)+rad(10 * sin(a/5)),rad(-3),rad(-55)+rad(15 * cos(a/5))),.12)
  2112. LA.C0 = LA.C0:lerp(cn(-1.15, 0.3 - rad(-2.5 * cos(a/25)), -0.8) * aa(rad(60)+rad(1.5 * sin(a/25)),rad(-10),rad(30)-rad(1.5*sin(a/25))),.12)
  2113. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0), rad(0), rad(-0)), .12)
  2114. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(15)+rad(-2.5 * sin(a/25)), rad(0), rad(30)), .12)
  2115. else break end
  2116. end
  2117. if healing == true then
  2118. H.Health = 120
  2119. cooldownd()
  2120. end
  2121. attack = false
  2122. end
  2123. end)
  2124.  
  2125. cooldownd = function()
  2126. spawn(function()
  2127. wep = 'primary'
  2128. m4a1.Parent = C
  2129. hlkit.Parent = nil
  2130. wlf3:Destroy()
  2131. haskit = false
  2132. wait(10)
  2133. haskit = true
  2134. wlf3 = Instance.new("Weld",hlkit)
  2135. wlf3.Part0 = hlkit
  2136. wlf3.Part1 = Torso
  2137. wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
  2138. wlf3.C1 = cn(0,0.25,0.6)
  2139. hlkit.Parent = C
  2140. end)
  2141. end
  2142.  
  2143. ShootLaserBeam = function(from, ult)
  2144. spawn(function()
  2145. if ult == false or nil then
  2146. local function fade(part, distance, dam, lamb, sos, fadetimne, ine)
  2147. coroutine.resume(coroutine.create(function()
  2148. if ine == nil or ine == false then
  2149. for i = 1,fadetimne or 15 do swait()
  2150. part.Transparency = i/fadetimne or 15
  2151. if sos == true then
  2152. part.Size = Vector3.new(distance,0.35+i/fadetimne or 15,0.35+i/fadetimne or 15)
  2153. else
  2154. part.Size = Vector3.new(0.25+i/fadetimne or 15,0.25+i/fadetimne or 15,0.25+i/fadetimne or 15)
  2155. end
  2156. end
  2157. else
  2158. for i = 1,fadetimne or 15 do swait()
  2159. part.Transparency = i/fadetimne or 15
  2160. if sos == true then
  2161. part.Size = Vector3.new(distance,0.025+i/fadetimne/2 or 15,0.025+i/fadetimne/2 or 15)
  2162. else
  2163. part.Size = Vector3.new(0.025+i/fadetimne/2 or 15,0.025+i/fadetimne/2 or 15,0.025+i/fadetimne/2 or 15)
  2164. end
  2165. end end
  2166. part:Destroy()
  2167. end))
  2168. end
  2169. local function CreateMoouseImpoint(from,inf)
  2170. local part = Instance.new("Part",inf)
  2171. part.Anchored = true
  2172. part.CanCollide = false
  2173. part.Material = Enum.Material.Neon
  2174. part.CFrame = from.CFrame
  2175. part.BrickColor = BrickColor.new('Bright yellow')
  2176. part.Shape = Enum.PartType.Block
  2177. part.Name = 'Effect'
  2178. spawn(function()
  2179. for i=1,50 do swait()
  2180. part.Rotation = Vector3.new(math.random(0,60),math.random(0,60),math.random(0,60))
  2181. end
  2182. end)
  2183. fade(part,nil,Mouse.Target,0.5,false,25)
  2184. end
  2185. spawn(function()
  2186. flamelight.Enabled = true
  2187. wait(0.02)
  2188. flamelight.Enabled = false
  2189. end)
  2190. local model = Instance.new('Model',workspace)
  2191. local part = Instance.new("Part",model)
  2192. Mouse.TargetFilter = model
  2193. model.Name = 'Beam'
  2194. part.Anchored = true
  2195. part.CanCollide = false
  2196. part.Material = Enum.Material.Neon
  2197. part.CFrame = hole.CFrame * CFrame.new(0,0,0)
  2198. part.BrickColor = BrickColor.new('Bright yellow')
  2199. part.Shape = Enum.PartType.Cylinder
  2200. part.Transparency = 0.2
  2201. part.CFrame = CFrame.new(part.Position, Mouse.Hit.p)
  2202. part.Name = 'Effect'
  2203. CreateMoouseImpoint(hole, model)
  2204. local mt = Mouse.Target
  2205. if mt and mt.Parent and mt.Parent:FindFirstChildOfClass('Humanoid') then
  2206. local hu = mt.Parent:FindFirstChildOfClass('Humanoid')
  2207. if hu.Health < 700 then local dam = math.random(10,30)
  2208. hu.Health = hu.Health - dam
  2209. WhenHit(hu.Parent:FindFirstChild('Torso'),dam,'')
  2210. else
  2211. hu.Health = 0
  2212. end
  2213. end
  2214. local distance = (part.Position- Mouse.Hit.p).magnitude
  2215. if distance > 500 then
  2216. distance = 500
  2217. end
  2218. part.CFrame = CFrame.new(part.Position, Mouse.Hit.p)*CFrame.new(0,0,-distance/2)*aa(rad(0),rad(90),rad(0)) -- middle 90
  2219. part.Size = Vector3.new(distance,0.05,0.05)
  2220. fade(part,distance,Mouse.Target,0.5,true,30,true)
  2221. DebrisService:AddItem(model, 2)
  2222. end end) end
  2223.  
  2224. local Mouse = Player:GetMouse()
  2225.  
  2226. Mouse.Button1Up:Connect(function()
  2227. if wep == 'primary' and shottying == true then shottying = false
  2228. flame.Enabled = false
  2229. flamelight.Enabled = false
  2230. smoke.Enabled = true
  2231. spawn(function() wait(1.5)
  2232. smoke.Enabled = false
  2233. end)
  2234. elseif wep == 'surrport1' then
  2235. healing = false
  2236. end
  2237. end)
  2238.  
  2239. Mouse.KeyUp:Connect(function(key)
  2240. if key == 'c' and shottying == false then
  2241. H.WalkSpeed = oW
  2242. end
  2243. end)
  2244.  
  2245. Mouse.KeyDown:Connect(function(key)
  2246. if key == 'c' and shottying == false then
  2247. H.WalkSpeed = 26
  2248. elseif key == 'z' and shottying == false then
  2249. if wep == 'surrport1' and haskit == true then
  2250. wlf3:Destroy()
  2251. wlf3 = Instance.new("Weld",hlkit)
  2252. wlf3.Part0 = hlkit
  2253. wlf3.Part1 = Torso
  2254. wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
  2255. wlf3.C1 = cn(0,0.25,0.6)
  2256. end
  2257. wep = 'secondary'
  2258. m4a1.Parent = nil
  2259. bat.Parent = C
  2260. elseif key == 'x' and shottying == false then
  2261. if wep == 'surrport1' and haskit == true then
  2262. wlf3:Destroy()
  2263. wlf3 = Instance.new("Weld",hlkit)
  2264. wlf3.Part0 = hlkit
  2265. wlf3.Part1 = Torso
  2266. wlf3.C0 = wlf3.C0 * aa(rad(-90),rad(0),rad(0))
  2267. wlf3.C1 = cn(0,0.25,0.6)
  2268. end
  2269. wep = 'primary'
  2270. bat.Parent = nil
  2271. m4a1.Parent = C
  2272. elseif key == 'v' and haskit == true and shottying == false then
  2273. if wep == 'primary' then
  2274. m4a1.Parent = nil
  2275. elseif wep == 'secondary' then
  2276. bat.Parent = nil
  2277. end
  2278. wep = 'surrport1'
  2279. wlf3:Destroy() swait()
  2280. wlf3 = Instance.new("Weld",hlkit)
  2281. wlf3.Part0 = hlkit
  2282. wlf3.Part1 = RARM
  2283. wlf3.C0 = wlf3.C0 * aa(rad(0),rad(0),rad(194))
  2284. wlf3.C1 = cn(0,-0.9,0)
  2285. elseif key == 'b' then
  2286. music:Destroy()
  2287. elseif key == 'n' then
  2288. music.SoundId = 'rbxassetid://1580025127'
  2289. elseif key == 'm' then
  2290. music.SoundId = 'rbxassetid://459981233'
  2291. elseif key == 'l' then
  2292. music.SoundId = 'rbxassetid://301338906'
  2293. end
  2294. end)
  2295.  
  2296. function WhenHit(hit,damage,extra)
  2297. spawn(function()
  2298. local lebel = Instance.new("BillboardGui")
  2299. local lebeltext = Instance.new("TextBox")
  2300. lebel.Size = UDim2.new(6, 0, 1, 0)
  2301. lebel.Name = "Damage"
  2302. lebel.StudsOffset = Vector3.new(0, 3, 0)
  2303. lebel.Parent = hit
  2304. lebeltext.TextWrapped = true
  2305. lebeltext.BackgroundTransparency = 1
  2306. lebeltext.BackgroundColor3 = Color3.new(1, 1, 1)
  2307. lebeltext.TextSize = 14
  2308. lebeltext.TextScaled = true
  2309. lebeltext.Font = Enum.Font.SciFi
  2310. lebeltext.Text = damage .. extra
  2311. lebeltext.TextStrokeTransparency = 0
  2312. lebeltext.TextColor = BrickColor.new('Really black')
  2313. lebeltext.Size = UDim2.new(1, 0, 1, 0)
  2314. lebeltext.Parent = lebel
  2315. local ran = math.random(1,2)
  2316. spawn(function()
  2317. for i=0,1,0.025 do swait()
  2318. lebeltext.Text = damage .. extra
  2319. lebeltext.TextTransparency = i
  2320. lebeltext.TextStrokeTransparency = i
  2321. end
  2322. end)
  2323. spawn(function()
  2324. local rand = math.random(1,3)
  2325. for i=0,3,0.03 do swait()
  2326. if ran == 1 then
  2327. lebel.StudsOffset = lebel.StudsOffset:lerp(Vector3.new(0, 3+rand+i/2, 0+ran/3+i/1.5),.1)
  2328. elseif ran == 2 then
  2329. lebel.StudsOffset = lebel.StudsOffset:lerp(Vector3.new(0, 3+rand+i/2, 0+ran/3-i/1.5),.1)
  2330. end
  2331. end
  2332. lebel:Destroy()
  2333. end)
  2334. wait(0.3)
  2335. haltHit = false
  2336. end)
  2337. end
  2338.  
  2339.  
  2340. -- Slay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement