Advertisement
thetacolord609

Untitled

Apr 10th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.36 KB | None | 0 0
  1. local Player = game.Players.Masonthegamer256
  2. local Character = Player.Character
  3. wait(0.016666666666667)
  4. Effects = {}
  5. local Player = game.Players.localPlayer
  6. local Character = Player.Character
  7. local Humanoid = Character.Humanoid
  8. local mouse = Player:GetMouse()
  9. local m = Instance.new("Model", Character)
  10. m.Name = "WeaponModel"
  11. local effect = Instance.new("Model", Character)
  12. effect.Name = "Effect"
  13. local LeftArm = Character["Left Arm"]
  14. local RightArm = Character["Right Arm"]
  15. local LeftLeg = Character["Left Leg"]
  16. local RightLeg = Character["Right Leg"]
  17. local Head = Character.Head
  18. local Torso = Character.Torso
  19. local cam = game.Workspace.CurrentCamera
  20. local RootPart = Character.HumanoidRootPart
  21. local RootJoint = RootPart.RootJoint
  22. local equipped = false
  23. local attack = false
  24. local Anim = "Idle"
  25. local idle = 0
  26. local attacktype = 1
  27. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  28. local velocity = RootPart.Velocity.y
  29. local sine = 0
  30. local change = 1
  31. local mana = 0
  32. local it = Instance.new
  33. vt = Vector3.new
  34. local grabbed = false
  35. local cf = CFrame.new
  36. local mr = math.rad
  37. local angles = CFrame.Angles
  38. local ud = UDim2.new
  39. local c3 = Color3.new
  40. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  41. Humanoid.Animator:Destroy()
  42. Character.Animate:Destroy()
  43. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  44. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  45. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  46. RSH = nil
  47. RW = Instance.new("Weld")
  48. LW = Instance.new("Weld")
  49. RH = Torso["Right Hip"]
  50. LH = Torso["Left Hip"]
  51. RSH = Torso["Right Shoulder"]
  52. LSH = Torso["Left Shoulder"]
  53. RSH.Parent = nil
  54. LSH.Parent = nil
  55. RW.Name = "RW"
  56. RW.Part0 = Torso
  57. RW.C0 = cf(1.5, 0.5, 0)
  58. RW.C1 = cf(0, 0.5, 0)
  59. RW.Part1 = RightArm
  60. RW.Parent = Torso
  61. LW.Name = "LW"
  62. LW.Part0 = Torso
  63. LW.C0 = cf(-1.5, 0.5, 0)
  64. LW.C1 = cf(0, 0.5, 0)
  65. LW.Part1 = LeftArm
  66. LW.Parent = Torso
  67. clerp = function(a, b, t)
  68.  
  69. return a:lerp(b, t)
  70. end
  71.  
  72. local RbxUtility = LoadLibrary("RbxUtility")
  73. local Create = RbxUtility.Create
  74. RemoveOutlines = function(part)
  75.  
  76. part.TopSurface = 10
  77. end
  78.  
  79. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  80.  
  81. local Part = Create("Part")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  82. RemoveOutlines(Part)
  83. return Part
  84. end
  85.  
  86. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  87.  
  88. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  89. if Mesh == "SpecialMesh" then
  90. Msh.MeshType = MeshType
  91. Msh.MeshId = MeshId
  92. end
  93. return Msh
  94. end
  95.  
  96. local co1 = 25
  97. local co2 = 8
  98. local co3 = 15
  99. local co4 = 30
  100. local cooldown1 = 0
  101. local cooldown2 = 0
  102. local cooldown3 = 0
  103. local cooldown4 = 0
  104. local maxEnergy = 100
  105. local Energy = 0
  106. local skill1stam = 10
  107. local skill2stam = 50
  108. local skill3stam = 60
  109. local skill4stam = 100
  110. local recovermana = 5
  111. local skillcolorscheme = BrickColor.new("Smokey grey").Color
  112. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  113. makeframe = function(par, trans, pos, size, color)
  114.  
  115. local frame = Instance.new("Frame", par)
  116. frame.BackgroundTransparency = trans
  117. frame.BorderSizePixel = 0
  118. frame.Position = pos
  119. frame.Size = size
  120. frame.BackgroundColor3 = color
  121. return frame
  122. end
  123.  
  124. makelabel = function(par, text)
  125.  
  126. local label = Instance.new("TextLabel", par)
  127. label.BackgroundTransparency = 1
  128. label.Size = UDim2.new(1, 0, 1, 0)
  129. label.Position = UDim2.new(0, 0, 0, 0)
  130. label.TextColor3 = Color3.new(255, 255, 255)
  131. label.TextStrokeTransparency = 0
  132. label.FontSize = Enum.FontSize.Size32
  133. label.Font = Enum.Font.SourceSansBold
  134. label.BorderSizePixel = 0
  135. label.TextScaled = true
  136. label.Text = text
  137. end
  138.  
  139. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.85, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  140. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.74, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  141. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.63, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  142. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.52, 0), UDim2.new(0.16, 0, 0.1, 0), skillcolorscheme)
  143. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  144. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  145. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  146. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  147. text1 = Instance.new("TextLabel", framesk1)
  148. text1.BackgroundTransparency = 1
  149. text1.Size = UDim2.new(1, 0, 1, 0)
  150. text1.Position = UDim2.new(0, 0, 0, 0)
  151. text1.TextColor3 = Color3.new(255, 255, 255)
  152. text1.TextStrokeTransparency = 0
  153. text1.FontSize = Enum.FontSize.Size18
  154. text1.Font = Enum.Font.SourceSansLight
  155. text1.BorderSizePixel = 0
  156. text1.TextScaled = true
  157. text1.Text = "[Z]\n\tAim"
  158. text2 = Instance.new("TextLabel", framesk2)
  159. text2.BackgroundTransparency = 1
  160. text2.Size = UDim2.new(1, 0, 1, 0)
  161. text2.Position = UDim2.new(0, 0, 0, 0)
  162. text2.TextColor3 = Color3.new(255, 255, 255)
  163. text2.TextStrokeTransparency = 0
  164. text2.FontSize = Enum.FontSize.Size18
  165. text2.Font = Enum.Font.SourceSansLight
  166. text2.BorderSizePixel = 0
  167. text2.TextScaled = true
  168. text2.Text = "[X]\n Explosive Shot"
  169. text3 = Instance.new("TextLabel", framesk3)
  170. text3.BackgroundTransparency = 1
  171. text3.Size = UDim2.new(1, 0, 1, 0)
  172. text3.Position = UDim2.new(0, 0, 0, 0)
  173. text3.TextColor3 = Color3.new(255, 255, 255)
  174. text3.TextStrokeTransparency = 0
  175. text3.FontSize = Enum.FontSize.Size18
  176. text3.Font = Enum.Font.SourceSansLight
  177. text3.BorderSizePixel = 0
  178. text3.TextScaled = false
  179. text3.Text = "[C]\n Shockwave"
  180. text4 = Instance.new("TextLabel", framesk4)
  181. text4.BackgroundTransparency = 1
  182. text4.Size = UDim2.new(1, 0, 1, 0)
  183. text4.Position = UDim2.new(0, 0, 0, 0)
  184. text4.TextColor3 = Color3.new(255, 255, 255)
  185. text4.TextStrokeTransparency = 0
  186. text4.FontSize = Enum.FontSize.Size18
  187. text4.Font = Enum.Font.SourceSansLight
  188. text4.BorderSizePixel = 0
  189. text4.TextScaled = true
  190. text4.Text = "[V]\n Rampage"
  191. ArtificialHB = Instance.new("BindableEvent", Player.PlayerGui)
  192. ArtificialHB.Name = "Heartbeat"
  193. Player.PlayerGui:WaitForChild("Heartbeat")
  194. frame = 0.033333333333333
  195. tf = 0
  196. allowframeloss = false
  197. tossremainder = false
  198. lastframe = tick()
  199. Player.PlayerGui.Heartbeat:Fire()
  200. local gg = false
  201. game:GetService("RunService").Heartbeat:connect(function(s, p)
  202.  
  203. if Player.PlayerGui:FindFirstChild("Heartbeat") == nil then
  204. gg = true
  205. end
  206. if gg == true then
  207. return
  208. end
  209. tf = tf + s
  210. if frame <= tf then
  211. if allowframeloss then
  212. Player.PlayerGui.Heartbeat:Fire()
  213. lastframe = tick()
  214. else
  215. for i = 1, math.floor(tf / frame) do
  216. Player.PlayerGui.Heartbeat:Fire()
  217. end
  218. lastframe = tick()
  219. end
  220. if tossremainder then
  221. tf = 0
  222. else
  223. tf = tf - frame * math.floor(tf / frame)
  224. end
  225. end
  226. end
  227. )
  228. swait = function(num)
  229.  
  230. if num == 0 or num == nil then
  231. ArtificialHB.Event:wait()
  232. else
  233. for i = 0, num do
  234. ArtificialHB.Event:wait()
  235. end
  236. end
  237. end
  238.  
  239. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  240.  
  241. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  242. return Weld
  243. end
  244.  
  245. rayCast = function(Position, Direction, Range, Ignore)
  246.  
  247. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  248. end
  249.  
  250. CreateSound = function(id, par, vol, pit)
  251.  
  252. coroutine.resume(coroutine.create(function()
  253.  
  254. local sou = Instance.new("Sound", par or workspace)
  255. sou.Volume = vol
  256. sou.Pitch = pit or 1
  257. sou.SoundId = id
  258. swait()
  259. sou:play()
  260. game:GetService("Debris"):AddItem(sou, 6)
  261. end
  262. ))
  263. end
  264.  
  265. local getclosest = function(obj, distance)
  266.  
  267. local last, lastx = distance + 1, nil
  268. for i,v in pairs(workspace:GetChildren()) do
  269. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  270. local t = v.Torso
  271. local dist = (t.Position - obj.Position).magnitude
  272. if dist <= distance and dist < last then
  273. last = dist
  274. lastx = v
  275. end
  276. end
  277. end
  278. return lastx
  279. end
  280.  
  281. Handle = CreatePart(m, Enum.Material.Plastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.210000008, 0.690000117, 0.280000001))
  282. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.09519327, -0.237398148, 0.0399169922, 0, -1, 0, 0, 0, -1, 1, 0, 0))
  283. FakeHandle = CreatePart(m, Enum.Material.Plastic, 0, 1, "Black", "FakeHandle", Vector3.new(0.210000008, 0.690000117, 0.280000001))
  284. FakeHandleWeld = CreateWeld(m, Handle, FakeHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  285. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.73999995, 0.270000041, 0.369999975))
  286. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.085001111, 1.52000237, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  287. CreateMesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  288. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Smoky grey", "Part", Vector3.new(0.73999995, 0.280000031, 0.200000003))
  289. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.085001111, 1.52000237, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  290. CreateMesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  291. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.210000008, 2.1500001, 0.280000001))
  292. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.479999542, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  293. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  294. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.24000013, 0.200000003))
  295. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.085001111, 0.934999466, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  296. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 1.25000012, 0.280000001))
  297. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.155000687, 0.930000305, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  298. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  299. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.780000091, 0.280000001))
  300. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.500024796, -0.00252342224, 0, 0.939692736, 0.342019916, 0, -0.342019886, 0.939692736, 0, 0, 0, 1))
  301. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  302. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.680000067, 0.280000001))
  303. PartWeld = CreateWeld(m, FakeHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.395633698, -0.0501976013, 0, 0.573575675, -0.819152594, 0, 0.819152594, 0.573575675, 0, 0, 0, 1))
  304. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  305. Motor = CreatePart(m, Enum.Material.SmoothPlastic, 0, 0, "Black", "Motor", Vector3.new(0.50999999, 0.430000126, 0.460000008))
  306. MotorWeld = CreateWeld(m, FakeHandle, Motor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.565002441, 0, -0.155000687, 0, 1, 0, 0, 0, 1, 1, 0, 0))
  307. CreateMesh("CylinderMesh", Motor, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  308. Barrel = CreatePart(m, Enum.Material.Plastic, 0, 0.19999998807907, "Really black", "Barrel", Vector3.new(0.200000003, 0.290000021, 0.420000017))
  309. BarrelWeld = CreateWeld(m, Motor, Barrel, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.10501862, -0.0033416748, 0.0717830658, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  310. CreateMesh("BlockMesh", Barrel, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  311. Hitbox = CreatePart(m, Enum.Material.Plastic, 0, 1, "Black", "Hitbox", Vector3.new(8.09000015, 0.200000003, 0.579999983))
  312. HitboxWeld = CreateWeld(m, Motor, Hitbox, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.09000206, 0, -0.0749988556, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  313. Part = CreatePart(m, Enum.Material.Neon, 0, 0, "Lily white", "Part", Vector3.new(0.50999999, 0.400000125, 0.5))
  314. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  315. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  316. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(1.47000003, 0.200000003, 0.200000003))
  317. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.385002136, 0.309951782, -0.324119568, 1, 0, 0, 0, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352))
  318. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  319. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0.5, "Really black", "Part", Vector3.new(0.200000003, 0.290000021, 0.420000017))
  320. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.08501816, -0.0033416748, 0.0717830658, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  321. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  322. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.549999952, 0.200000003, 0.200000003))
  323. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.645000458, 0.119994998, -0.160003662, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  324. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000012, 0.400000006))
  325. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.350000113, 0.200000003))
  326. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0.274999738, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  327. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  328. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.350000113, 0.200000003))
  329. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.220003128, 0, 0.224998474, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  330. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  331. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  332. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.87000275, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  333. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  334. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  335. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.87000275, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  336. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  337. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  338. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.06999969, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  339. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  340. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  341. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.06999969, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  342. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  343. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  344. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.27000046, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  345. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  346. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  347. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.27000046, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  348. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  349. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  350. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.67000198, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  351. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  352. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  353. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.67000198, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  354. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  355. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  356. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.47000122, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  357. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  358. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  359. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.47000122, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  360. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  361. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  362. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51999855, 0.15864563, -0.128311157, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  363. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  364. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.289999992))
  365. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.05500031, 0, 0.25, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  366. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0.5, "Really black", "Part", Vector3.new(0.200000003, 0.290000021, 0.420000017))
  367. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.04501724, -0.0033416748, 0.0717830658, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  368. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  369. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  370. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.399995804, 0.159515381, -0.32478714, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  371. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  372. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  373. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.649995804, 0.159515381, -0.32478714, 1, 0, 0, 0, 0.965925872, -0.258818984, 0, 0.258818984, 0.965925872))
  374. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  375. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  376. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.07000351, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  377. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  378. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(8.38999939, 0.200000003, 0.200000003))
  379. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.02000046, 0.0999945402, -0.160003662, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  380. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  381. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(0.200000003, 0.400000006, 0.420000017))
  382. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(8.11502075, -0.472320557, 0.0145721436, -1, 0, 0, 0, 0.087155968, 0.996194661, 0, 0.996194661, -0.087155968))
  383. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  384. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.3900001, 0.400000006, 0.200000003))
  385. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.52001953, -0.457969666, 0.134735107, -1, 0, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985))
  386. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  387. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(7.01000023, 0.200000003, 0.200000003))
  388. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.33000374, -0.0100097656, -0.410409927, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  389. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.400000006, 0.300000012))
  390. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(0.200000003, 0.430000007, 0.430000007))
  391. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(6.90501785, -0.469436646, -0.0100708008, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  392. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000006))
  393. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.41000009, 0.400000006, 0.200000003))
  394. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.5100174, -0.447546005, 0.193862915, -1, 0, 0, 0, 0.173647985, 0.984807849, 0, 0.984807849, -0.173647985))
  395. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  396. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.41000009, 0.400000006, 0.200000003))
  397. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.5100174, -0.455595016, -0.148193359, -1, 0, 0, 0, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985))
  398. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  399. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(0.200000003, 0.290000021, 0.420000017))
  400. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.11502075, -0.0033416748, 0.291788101, 1, 0, 0, 0, -1, 0, 0, 0, -1))
  401. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  402. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(8.17000008, 0.370000094, 0.200000003))
  403. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.13000107, 0, 0.164999008, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  404. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.699999988))
  405. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  406. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.1700058, 0, 0.204998016, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  407. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  408. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.610000014, 0.390000105, 0.620000005))
  409. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  410. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  411. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(8.02000046, 0.200000003, 0.200000003))
  412. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.05500221, 0, 0.204999924, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  413. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.42000008, 0.360000104, 0.200000003))
  414. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.50500107, -0.00500488281, -0.235006332, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  415. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.400000006))
  416. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.41000009, 0.400000006, 0.200000003))
  417. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.5100174, -0.445177078, -0.207275391, -1, 0, 0, 0, -0.173647985, 0.984807849, 0, 0.984807849, 0.173647985))
  418. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  419. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.42000008, 0.330000043, 0.200000003))
  420. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.50500107, -0.135002136, -0.160003662, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  421. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  422. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(7, 0.200000003, 0.200000003))
  423. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.32500458, 0.295806885, -0.30997467, 1, 0, 0, 0, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352))
  424. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.5, 0.5))
  425. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.41000021, 0.200000003, 0.200000003))
  426. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.51000595, 0.465515137, -0.479682922, 1, 0, 0, 0, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352))
  427. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.800000012, 0.800000012))
  428. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Black", "Part", Vector3.new(0.230000004, 0.540000141, 0.280000001))
  429. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.181612015, 0.194005966, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0))
  430. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  431. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(1.42000008, 0.330000043, 0.200000003))
  432. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(7.50500107, -0.135002136, 0.150024414, -1, 0, 0, 0, 0, 1, 0, 1, 0))
  433. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  434. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  435. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.07000351, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  436. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  437. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(7.01999998, 0.469999999, 0.200000003))
  438. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(3.3350029, -0.166389465, -0.153320313, -1, 0, 0, 0, -0.258818984, 0.965925872, 0, 0.965925872, 0.258818984))
  439. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  440. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  441. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.67000198, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  442. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  443. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  444. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.47000122, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  445. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  446. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  447. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.27000046, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  448. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  449. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  450. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.47000122, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  451. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  452. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  453. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.27000046, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  454. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  455. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  456. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.06999969, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  457. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  458. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  459. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.06999969, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  460. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  461. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  462. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.86999893, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  463. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  464. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  465. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.86999893, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  466. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  467. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  468. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.07000351, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  469. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  470. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  471. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-8.07000351, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  472. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  473. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  474. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.87000275, 0.170028687, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  475. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  476. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  477. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.87000275, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  478. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  479. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  480. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-7.67000198, 0.170028687, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  481. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  482. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(8.38999939, 0.200000003, 0.200000003))
  483. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.02000427, 0.0999907255, -0.149932861, 1, 0, 0, 0, 0, 1, 0, -1, 0))
  484. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  485. Part = CreatePart(m, Enum.Material.Plastic, 0.20000000298023, 0, "Fossil", "Part", Vector3.new(7, 0.469999999, 0.200000003))
  486. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-3.32500458, -0.168994904, -0.143600464, 1, 0, 0, 0, 0.258818984, 0.965925872, 0, -0.965925872, 0.258818984))
  487. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.300000012))
  488. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  489. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.86999893, -0.179977417, -0.165000916, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  490. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  491. Part = CreatePart(m, Enum.Material.Plastic, 0, 0, "Really black", "Part", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  492. PartWeld = CreateWeld(m, Motor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-6.86999893, -0.179977417, 0.134994507, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  493. CreateMesh("CylinderMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.200000003, 0.5))
  494. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  495.  
  496. if hit.Parent == nil then
  497. return
  498. end
  499. local h = hit.Parent:FindFirstChild("Humanoid")
  500. for _,v in pairs(hit.Parent:children()) do
  501. if v:IsA("Humanoid") then
  502. h = v
  503. end
  504. end
  505. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  506. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  507. return
  508. end
  509. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  510. game:GetService("Debris"):AddItem(c, 0.5)
  511. if HitSound ~= nil and HitPitch ~= nil then
  512. CreateSound(HitSound, hit, 1, HitPitch)
  513. end
  514. local Damage = math.random(minim, maxim)
  515. local blocked = false
  516. local block = hit.Parent:findFirstChild("Block")
  517. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  518. blocked = true
  519. block.Value = block.Value - 1
  520. print(block.Value)
  521. end
  522. if blocked == false then
  523. HitHealth = h.Health
  524. h.Health = h.Health - Damage
  525. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 and h.Parent.Name ~= "Hologram" then
  526. print("gained spree")
  527. game.Players.LocalPlayer:FindFirstChild("leaderstats").Spree.Value = game.Players.LocalPlayer.leaderstats.Spree.Value + 1
  528. end
  529. if HitHealth ~= h.Health and HitHealth ~= 0 and h.Health <= 0 then
  530. print("gained kill")
  531. Player.PlayerGui.Kills.Value = Player.PlayerGui.Kills.Value + 1
  532. end
  533. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  534. else
  535. h.Health = h.Health - Damage / 2
  536. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  537. end
  538. if Type == "Knockdown" then
  539. local hum = hit.Parent.Humanoid
  540. hum.PlatformStand = true
  541. coroutine.resume(coroutine.create(function(HHumanoid)
  542.  
  543. swait(1)
  544. HHumanoid.PlatformStand = false
  545. end
  546. ), hum)
  547. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  548. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  549. local rl = Create("BodyAngularVelocity")({P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit})
  550. game:GetService("Debris"):AddItem(bodvol, 0.5)
  551. game:GetService("Debris"):AddItem(rl, 0.5)
  552. elseif Type == "Normal" then
  553. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  554. if knockback > 0 then
  555. vp.Parent = hit.Parent.Torso
  556. end
  557. game:GetService("Debris"):AddItem(vp, 0.5)
  558. elseif Type == "Up" then
  559. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  560. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  561. elseif Type == "DarkUp" then
  562. coroutine.resume(coroutine.create(function()
  563.  
  564. for i = 0, 1, 0.1 do
  565. swait()
  566. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  567. end
  568. end
  569. ))
  570. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  571. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  572. elseif Type == "Snare" then
  573. local bp = Create("BodyPosition")({P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  574. game:GetService("Debris"):AddItem(bp, 0.5)
  575. elseif Type == "Freeze" then
  576. local BodPos = Create("BodyPosition")({P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso})
  577. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  578. hit.Parent.Torso.Anchored = true
  579. coroutine.resume(coroutine.create(function(Part)
  580.  
  581. swait(1.5)
  582. Part.Anchored = false
  583. end
  584. ), hit.Parent.Torso)
  585. game:GetService("Debris"):AddItem(BodPos, 3)
  586. game:GetService("Debris"):AddItem(BodGy, 3)
  587. end
  588. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  589. game:GetService("Debris"):AddItem(debounce, Delay)
  590. c = Instance.new("ObjectValue")
  591. c.Name = "creator"
  592. c.Value = Player
  593. c.Parent = h
  594. game:GetService("Debris"):AddItem(c, 0.5)
  595. end
  596. end
  597.  
  598. ShowDamage = function(Pos, Text, Time, Color)
  599.  
  600. local Rate = 0.033333333333333
  601. if not Pos then
  602. local Pos = Vector3.new(0, 0, 0)
  603. end
  604. local Text = Text or ""
  605. local Time = Time or 2
  606. if not Color then
  607. local Color = Color3.new(1, 0, 1)
  608. end
  609. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  610. EffectPart.Anchored = true
  611. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  612. local TextLabel = Create("TextLabel")({BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui})
  613. game.Debris:AddItem(EffectPart, Time + 0.1)
  614. EffectPart.Parent = game:GetService("Workspace")
  615. delay(0, function()
  616.  
  617. local Frames = Time / Rate
  618. for Frame = 1, Frames do
  619. wait(Rate)
  620. local Percent = Frame / Frames
  621. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  622. TextLabel.TextTransparency = Percent
  623. end
  624. if EffectPart and EffectPart.Parent then
  625. EffectPart:Destroy()
  626. end
  627. end
  628. )
  629. end
  630.  
  631. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  632.  
  633. for _,c in pairs(workspace:children()) do
  634. local hum = c:findFirstChild("Humanoid")
  635. if hum ~= nil then
  636. local head = c:findFirstChild("Torso")
  637. if head ~= nil then
  638. local targ = head.Position - Part.Position
  639. local mag = targ.magnitude
  640. if mag <= magni and c.Name ~= Player.Name then
  641. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  642. end
  643. end
  644. end
  645. end
  646. end
  647.  
  648. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  649.  
  650. local prt = CreatePart(effect, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  651. prt.Anchored = true
  652. prt.CFrame = cframe
  653. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  654. game:GetService("Debris"):AddItem(prt, 10)
  655. if Type == 1 or Type == nil then
  656. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  657. else
  658. if Type == 2 then
  659. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  660. end
  661. end
  662. end
  663.  
  664. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  665.  
  666. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  667. prt.Anchored = true
  668. prt.CFrame = cframe
  669. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  670. game:GetService("Debris"):AddItem(prt, 10)
  671. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  672. end
  673.  
  674. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  675.  
  676. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  677. prt.Anchored = true
  678. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  679. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  680. game:GetService("Debris"):AddItem(prt, 10)
  681. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  682. end
  683.  
  684. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  685.  
  686. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  687. prt.Anchored = true
  688. prt.CFrame = cframe
  689. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  690. game:GetService("Debris"):AddItem(prt, 10)
  691. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  692. end
  693.  
  694. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  695.  
  696. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  697. prt.Anchored = true
  698. prt.CFrame = cframe
  699. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  700. game:GetService("Debris"):AddItem(prt, 10)
  701. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  702. end
  703.  
  704. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  705.  
  706. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  707. prt.Anchored = true
  708. prt.CFrame = cframe
  709. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. game:GetService("Debris"):AddItem(prt, 10)
  711. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  712. end
  713.  
  714. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  715.  
  716. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  717. prt.Anchored = true
  718. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  719. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  720. local num = math.random(10, 50) / 1000
  721. game:GetService("Debris"):AddItem(prt, 10)
  722. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  723. end
  724.  
  725. CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  726.  
  727. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  728. prt.Anchored = true
  729. prt.CFrame = cframe
  730. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  731. game:GetService("Debris"):AddItem(prt, 10)
  732. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  733. end
  734.  
  735. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  736.  
  737. local prt = CreatePart(effect, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  738. prt.Anchored = true
  739. prt.CFrame = cframe
  740. prt.Material = "Neon"
  741. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  742. game:GetService("Debris"):AddItem(prt, 10)
  743. coroutine.resume(coroutine.create(function(Part, Mesh)
  744.  
  745. for i = 0, 1, delay do
  746. swait()
  747. Part.Transparency = i
  748. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  749. end
  750. Part.Parent = nil
  751. end
  752. ), prt, msh)
  753. end
  754.  
  755. shoottraildd = function(mouse, partt, SpreadAmount, multiply, Type)
  756.  
  757. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  758. local MainPos = partt.Position
  759. local MainPos2 = mouse.Hit.p + SpreadVectors
  760. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  761. local speed = 15
  762. local num = 20
  763. coroutine.resume(coroutine.create(function()
  764.  
  765. repeat
  766. swait()
  767. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  768. local mag = (MainPos - pos).magnitude
  769. if Type == "Explosive" then
  770. Laser(BrickColor.new("Bright red"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  771. else
  772. if Type == "Poison" then
  773. Laser(BrickColor.new("Bright violet"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  774. SphereEffect(BrickColor.new("Bright violet"), CFrame.new((MainPos + pos) / 2, pos), 1, 1, 1, 2, 2, 2, 0.07)
  775. else
  776. if Type == "Stun" then
  777. Laser(BrickColor.new("White"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.175, 0, -0.175, 0.15)
  778. end
  779. end
  780. end
  781. MainPos = MainPos + MouseLook.lookVector * speed
  782. num = num - 1
  783. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  784. if hit ~= nil then
  785. num = 0
  786. local refpart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  787. refpart.Anchored = true
  788. refpart.CFrame = CFrame.new(pos)
  789. game:GetService("Debris"):AddItem(refpart, 2)
  790. end
  791. do
  792. if num <= 0 then
  793. local refpart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  794. refpart.Anchored = true
  795. refpart.CFrame = CFrame.new(pos)
  796. if hit ~= nil then
  797. if Type == "Explosive" then
  798. CreateSound("http://www.roblox.com/asset/?id=514867425", refpart, 1, 1)
  799. BlockEffect(BrickColor.new("Br. yellowish orange"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.05)
  800. BlockEffect(BrickColor.new("Bright red"), refpart.CFrame, 1, 1, 1, 10, 10, 10, 0.07)
  801. MagniDamage(refpart, 15, 10 * multiply, 10 * multiply, 0, "Normal")
  802. else
  803. if Type == "Poison" then
  804. if hit.Name == "Head" then
  805. SphereEffect(BrickColor.new("Bright violet"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  806. MagniDamage(refpart, 5, 18 * multiply, 20 * multiply, 0, "Curse")
  807. else
  808. SphereEffect(BrickColor.new("Bright violet"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  809. MagniDamage(refpart, 5, 3 * multiply, 3 * multiply, 0, "Curse")
  810. end
  811. else
  812. if Type == "Stun" then
  813. BlockEffect(BrickColor.new("White"), refpart.CFrame, 1, 1, 1, 1, 1, 1, 0.07)
  814. MagniDamage(refpart, 5, 10 * multiply, 10 * multiply, 0, "Freeze")
  815. end
  816. end
  817. end
  818. end
  819. game:GetService("Debris"):AddItem(refpart, 0)
  820. end
  821. end
  822. until num <= 0
  823. end
  824. ))
  825. end
  826.  
  827. shoottrail = function(mouse, partt, SpreadAmount, multiply)
  828.  
  829. local SpreadVectors = Vector3.new(math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount), math.random(-SpreadAmount, SpreadAmount))
  830. local MainPos = partt.Position
  831. local MainPos2 = mouse.Hit.p + SpreadVectors
  832. local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2)
  833. local speed = 100
  834. local num = 20
  835. CreateSound("http://www.roblox.com/asset/?id=274538143", partt, 1, 1)
  836. coroutine.resume(coroutine.create(function()
  837.  
  838. repeat
  839. swait()
  840. local hit, pos = rayCast(MainPos, MouseLook.lookVector, speed, RootPart.Parent)
  841. local mag = (MainPos - pos).magnitude
  842. Laser(BrickColor.new("Bright yellow"), CFrame.new((MainPos + pos) / 2, pos) * angles(1.57, 0, 0), 1, mag * (speed / (speed / 2)), 1, -0.5, 0, -0.5, 0.15)
  843. MainPos = MainPos + MouseLook.lookVector * speed
  844. num = num - 1
  845. MouseLook = MouseLook * angles(math.rad(-1), 0, 0)
  846. if hit ~= nil then
  847. num = 0
  848. local refpart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  849. refpart.Anchored = true
  850. refpart.CFrame = CFrame.new(pos)
  851. game:GetService("Debris"):AddItem(refpart, 2)
  852. end
  853. do
  854. if num <= 0 then
  855. local refpart = CreatePart(effect, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", Vector3.new())
  856. refpart.Anchored = true
  857. refpart.CFrame = CFrame.new(pos)
  858. if hit ~= nil then
  859. MagniDamage(refpart, 5, 5 * multiply, 15 * multiply, 0, "Normal")
  860. end
  861. game:GetService("Debris"):AddItem(refpart, 0)
  862. end
  863. end
  864. until num <= 0
  865. end
  866. ))
  867. end
  868.  
  869. attackone = function()
  870.  
  871. attack = true
  872. local con = Hitbox.Touched:connect(function(hit)
  873.  
  874. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  875. end
  876. )
  877. for i = 0, 1, 0.2 do
  878. swait()
  879. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  880. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(-40)), 0.3)
  881. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  882. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  883. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  884. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  885. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  886. end
  887. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1)
  888. for i = 0, 1, 0.1 do
  889. swait()
  890. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  891. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), 0.3)
  892. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  893. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  894. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  895. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  896. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  897. end
  898. con:disconnect()
  899. attack = false
  900. end
  901.  
  902. attacktwo = function()
  903.  
  904. attack = true
  905. local con = Hitbox.Touched:connect(function(hit)
  906.  
  907. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  908. end
  909. )
  910. for i = 0, 1, 0.2 do
  911. swait()
  912. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  913. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  914. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  915. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  916. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  917. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  918. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
  919. end
  920. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 0.8)
  921. for i = 0, 1, 0.1 do
  922. swait()
  923. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  924. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-10), math.rad(-80)), 0.3)
  925. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  926. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  927. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  928. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  929. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
  930. end
  931. con:disconnect()
  932. attack = false
  933. end
  934.  
  935. attackthree = function()
  936.  
  937. attack = true
  938. for i = 0, 1, 0.2 do
  939. swait()
  940. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  941. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  942. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  943. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  944. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  945. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  946. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  947. end
  948. for i = 0, 1, 0.2 do
  949. swait()
  950. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  951. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  952. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  953. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  954. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  955. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  956. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  957. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  958. end
  959. for i = 0, 1, 0.1 do
  960. swait()
  961. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  962. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(10), math.rad(90)), 0.3)
  963. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  964. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  965. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  966. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  967. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  968. end
  969. MagniDamage(Barrel, 8, 8, 15, 0, "Normal")
  970. shoottrail(mouse, Barrel, 0, 0.7)
  971. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  972. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  973. for i = 0, 1, 0.1 do
  974. swait()
  975. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  976. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  977. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  978. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  979. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  980. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  981. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  982. end
  983. attack = false
  984. end
  985.  
  986. yatata = function()
  987.  
  988. attack = true
  989. local con = Hitbox.Touched:connect(function(hit)
  990.  
  991. Damagefunc(Hitbox, hit, 10, 15, math.random(1, 5), "Normal", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  992. end
  993. )
  994. for i = 0, 1, 0.2 do
  995. swait()
  996. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  997. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  998. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  999. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1000. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1001. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1002. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
  1003. end
  1004. for i = 1, 5 do
  1005. Torso.Velocity = RootPart.CFrame.lookVector * 30
  1006. for i = 0, 1, 0.2 do
  1007. swait()
  1008. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1009. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), 0.3)
  1010. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1011. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1012. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1013. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1014. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
  1015. end
  1016. CreateSound("http://www.roblox.com/asset/?id=440145223", RootPart, 1, 0.7)
  1017. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1)
  1018. MagniDamage(Barrel, 8, 8, 15, 0, "Normal")
  1019. Torso.Velocity = RootPart.CFrame.lookVector * 30
  1020. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1021. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1022. for i = 0, 1, 0.2 do
  1023. swait()
  1024. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  1025. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-10), math.rad(-80)), 0.3)
  1026. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1027. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1028. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1029. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1030. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(-180), math.rad(0), math.rad(0)), 0.3)
  1031. end
  1032. CreateSound("http://www.roblox.com/asset/?id=440145223", RootPart, 1, 0.7)
  1033. MagniDamage(Barrel, 8, 8, 15, 0, "Normal")
  1034. Torso.Velocity = RootPart.CFrame.lookVector * 30
  1035. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1036. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1037. for i = 0, 1, 0.2 do
  1038. swait()
  1039. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(80)), 0.3)
  1040. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(-10), math.rad(-80)), 0.3)
  1041. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(90)), 0.3)
  1042. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1043. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1044. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1045. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1046. end
  1047. CreateSound("http://www.roblox.com/asset/?id=440145223", RootPart, 1, 0.7)
  1048. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 0.9)
  1049. MagniDamage(Barrel, 8, 8, 15, 0, "Normal")
  1050. Torso.Velocity = RootPart.CFrame.lookVector * 30
  1051. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1052. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1053. for i = 0, 1, 0.2 do
  1054. swait()
  1055. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1056. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(80)), 0.3)
  1057. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1058. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.3)
  1059. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1060. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1061. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1062. end
  1063. CreateSound("http://www.roblox.com/asset/?id=440145223", RootPart, 1, 0.7)
  1064. MagniDamage(Barrel, 8, 8, 15, 0, "Normal")
  1065. Torso.Velocity = RootPart.CFrame.lookVector * 30
  1066. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1067. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 3, 3, 3, 0.07)
  1068. end
  1069. con:disconnect()
  1070. attack = false
  1071. end
  1072.  
  1073. Grenade = function()
  1074.  
  1075. attack = true
  1076. Humanoid.AutoRotate = false
  1077. for i = 0, 1, 0.2 do
  1078. swait()
  1079. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1080. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1081. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1082. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1083. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1084. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1085. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1086. end
  1087. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1.3)
  1088. for i = 0, 1, 0.2 do
  1089. swait()
  1090. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1091. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1092. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1093. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1094. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1095. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1096. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1097. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1098. end
  1099. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1.1)
  1100. for i = 0, 1, 0.1 do
  1101. swait()
  1102. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1103. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(10), math.rad(90)), 0.3)
  1104. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1105. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  1106. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1107. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1108. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1109. end
  1110. CreateSound("http://www.roblox.com/asset/?id=134626404", Barrel, 1, 1.6)
  1111. shoottraildd(mouse, Barrel, 0, 1, "Explosive")
  1112. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1113. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1114. for i = 0, 1, 0.1 do
  1115. swait()
  1116. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1117. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1118. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1119. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  1120. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1121. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1122. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1123. end
  1124. Humanoid.AutoRotate = true
  1125. attack = false
  1126. end
  1127.  
  1128. Quake = function()
  1129.  
  1130. attack = true
  1131. for i = 0, 1, 0.2 do
  1132. swait()
  1133. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1134. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1135. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1136. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1137. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1138. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1139. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1140. end
  1141. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1.3)
  1142. for i = 0, 1, 0.2 do
  1143. swait()
  1144. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1145. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1148. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1149. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1150. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1151. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1152. end
  1153. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1.1)
  1154. for i = 0, 1, 0.05 do
  1155. swait()
  1156. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1157. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1158. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(20), math.rad(90)), 0.3)
  1159. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(20), math.rad(-90)), 0.3)
  1160. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(90), math.rad(40), math.rad(-70)), 0.3)
  1161. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1162. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1163. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1164. end
  1165. CreateSound("http://www.roblox.com/asset/?id=134626404", RootPart, 1, 1)
  1166. MagniDamage(Barrel, 15, 10, 15, 0, "Knockdown")
  1167. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 5, 5, 5, 0.07)
  1168. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 5, 5, 5, 0.03)
  1169. RingEffect(BrickColor.new("White"), RootPart.CFrame * cf(0, -2, -10) * angles(1.57, 0, 0), 3, 3, 1, 5, 5, 0, 0.07)
  1170. CloudEffect(BrickColor.new("Smokey grey"), RootPart.CFrame * cf(0, -2, -10), 1, 3, 1, 0.3, 1, 0.3, 0.01)
  1171. for i = 0, 1, 0.1 do
  1172. swait()
  1173. Torso.Velocity = RootPart.CFrame.lookVector * -20
  1174. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1175. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(10), math.rad(90)), 0.3)
  1176. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1177. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos(sine / 25), 0) * angles(math.rad(90), math.rad(40), math.rad(-70)), 0.3)
  1178. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1179. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1180. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1181. end
  1182. attack = false
  1183. end
  1184.  
  1185. local aiming = false
  1186. Aim = function()
  1187.  
  1188. attack = true
  1189. aiming = true
  1190. Humanoid.JumpPower = 0
  1191. Humanoid.WalkSpeed = 5
  1192. Humanoid.AutoRotate = false
  1193. for i = 0, 1, 0.2 do
  1194. swait()
  1195. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1196. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1197. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1198. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1199. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1200. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1201. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1202. end
  1203. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1.1)
  1204. for i = 0, 1, 0.2 do
  1205. swait()
  1206. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1207. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1208. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(180), math.rad(0), math.rad(0)), 0.3)
  1209. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  1210. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1211. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1212. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1213. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1214. end
  1215. CreateSound("http://www.roblox.com/asset/?id=169285411", RootPart, 1, 1.3)
  1216. for i = 0, 1, 0.1 do
  1217. swait()
  1218. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1219. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(10), math.rad(90)), 0.3)
  1220. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1221. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  1222. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1223. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1224. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1225. end
  1226. end
  1227.  
  1228. local bang = false
  1229. shoot = function()
  1230.  
  1231. bang = true
  1232. shoottrail(mouse, Barrel, 0, 1.5)
  1233. BlockEffect(BrickColor.new("Br. yellowish orange"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1234. BlockEffect(BrickColor.new("Really red"), Barrel.CFrame, 5, 5, 5, 1, 1, 1, 0.07)
  1235. for i = 0, 1, 0.1 do
  1236. swait()
  1237. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1238. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(90)), 0.3)
  1239. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(-20), math.rad(-90)), 0.3)
  1240. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.3)
  1241. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1242. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1243. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1244. end
  1245. for i = 0, 1, 0.1 do
  1246. swait()
  1247. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  1248. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(10), math.rad(90)), 0.3)
  1249. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-90)), 0.3)
  1250. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.3, 0) * angles(math.rad(0), math.rad(0), math.rad(-70)), 0.3)
  1251. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos(sine / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1252. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos(sine / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1253. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  1254. end
  1255. bang = false
  1256. end
  1257.  
  1258. mouse.Button1Down:connect(function()
  1259.  
  1260. if attack == false and attacktype == 1 and aiming == false then
  1261. attacktype = 2
  1262. attackone()
  1263. else
  1264. if attack == false and attacktype == 2 and aiming == false then
  1265. attacktype = 3
  1266. attacktwo()
  1267. else
  1268. if attack == false and attacktype == 3 and aiming == false then
  1269. attacktype = 1
  1270. attackthree()
  1271. end
  1272. end
  1273. end
  1274. if attack == true and aiming == true and bang == false then
  1275. if cooldown1 >= 0 then
  1276. cooldown1 = cooldown1 - 2
  1277. shoot()
  1278. else
  1279. Humanoid.JumpPower = 50
  1280. Humanoid.WalkSpeed = 16
  1281. Humanoid.AutoRotate = true
  1282. attack = false
  1283. aiming = false
  1284. end
  1285. end
  1286. end
  1287. )
  1288. mouse.KeyDown:connect(function(k)
  1289.  
  1290. k = k:lower()
  1291. if attack == false and k == "z" and aiming == false then
  1292. Aim()
  1293. else
  1294. if attack == true and k == "z" and aiming == true then
  1295. Humanoid.WalkSpeed = 16
  1296. Humanoid.JumpPower = 50
  1297. Humanoid.AutoRotate = true
  1298. attack = false
  1299. aiming = false
  1300. else
  1301. if attack == false and co2 <= cooldown2 and k == "x" then
  1302. cooldown2 = 0
  1303. Grenade()
  1304. else
  1305. if attack == false and co3 <= cooldown3 and k == "c" then
  1306. cooldown3 = 0
  1307. Quake()
  1308. else
  1309. if attack == false and co4 <= cooldown4 and k == "v" then
  1310. cooldown4 = 0
  1311. yatata()
  1312. end
  1313. end
  1314. end
  1315. end
  1316. end
  1317. end
  1318. )
  1319. updateskills = function()
  1320.  
  1321. if cooldown1 <= co1 and aiming == false then
  1322. cooldown1 = cooldown1 + 0.033333333333333
  1323. end
  1324. if cooldown2 <= co2 then
  1325. cooldown2 = cooldown2 + 0.033333333333333
  1326. end
  1327. if cooldown3 <= co3 then
  1328. cooldown3 = cooldown3 + 0.033333333333333
  1329. end
  1330. if cooldown4 <= co4 then
  1331. cooldown4 = cooldown4 + 0.033333333333333
  1332. end
  1333. end
  1334.  
  1335. while true do
  1336. swait()
  1337. if aiming == true then
  1338. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  1339. local direction = aim.lookVector
  1340. local headingA = math.atan2(direction.x, direction.z)
  1341. headingA = math.deg(headingA)
  1342. Humanoid.AutoRotate = false
  1343. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 180), math.rad(0))
  1344. else
  1345. do
  1346. Humanoid.AutoRotate = true
  1347. updateskills()
  1348. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1349. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1350. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1351. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1352. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1353. velocity = RootPart.Velocity.y
  1354. sine = sine + change
  1355. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1356. if equipped == true or equipped == false then
  1357. if 1 < RootPart.Velocity.y and hit == nil then
  1358. Anim = "Jump"
  1359. if attack == false then
  1360. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos((sine) / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1361. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1362. RW.C0 = clerp(RW.C0, CFrame.new(1.6, 0.5, -0.4) * angles(math.rad(240), math.rad(0), math.rad(-30 + 5 * math.cos((sine) / 15))), 0.3)
  1363. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 25), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1364. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos((sine) / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1365. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos((sine) / 20), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1366. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1367. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -0.3, -0.2) * angles(math.rad(0), math.rad(50), math.rad(-60 - 0.5 * math.cos((sine) / 25))), 0.3)
  1368. end
  1369. else
  1370. if RootPart.Velocity.y < -1 and hit == nil then
  1371. Anim = "Fall"
  1372. if attack == false then
  1373. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos((sine) / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1374. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1375. RW.C0 = clerp(RW.C0, CFrame.new(1.6, 0.5, -0.4) * angles(math.rad(240), math.rad(0), math.rad(-30 + 5 * math.cos((sine) / 15))), 0.3)
  1376. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 25), 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1377. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos((sine) / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1378. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos((sine) / 20), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1379. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1380. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -0.3, -0.2) * angles(math.rad(0), math.rad(50), math.rad(-60 - 0.5 * math.cos((sine) / 25))), 0.3)
  1381. end
  1382. else
  1383. if Torsovelocity < 1 and hit ~= nil then
  1384. Anim = "Idle"
  1385. if attack == false then
  1386. change = 1
  1387. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos((sine) / 20)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  1388. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5), math.rad(0), math.rad(40)), 0.3)
  1389. RW.C0 = clerp(RW.C0, CFrame.new(1.6, 0.5, -0.4) * angles(math.rad(240), math.rad(0), math.rad(-30 + 5 * math.cos((sine) / 15))), 0.3)
  1390. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 25), 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1391. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos((sine) / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1392. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos((sine) / 20), 0) * LHCF * angles(math.rad(0), math.rad(20), math.rad(0)), 0.3)
  1393. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -0.3, -0.2) * angles(math.rad(0), math.rad(50), math.rad(-60 - 0.5 * math.cos((sine) / 25))), 0.3)
  1394. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1395. end
  1396. else
  1397. if 2 < Torsovelocity and hit ~= nil then
  1398. Anim = "Walk"
  1399. if attack == false then
  1400. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0 - 0.15 * math.cos((sine) / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1401. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1402. RW.C0 = clerp(RW.C0, CFrame.new(1.6, 0.5, -0.4) * angles(math.rad(240), math.rad(0), math.rad(-30 + 5 * math.cos((sine) / 15))), 0.3)
  1403. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 - 0.1 * math.cos((sine) / 25), 0) * angles(math.rad(0 - 10 * math.cos((sine) / 10)), math.rad(0), math.rad(0)), 0.3)
  1404. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.15 * math.cos((sine) / 20), 0) * RHCF * angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  1405. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.15 * math.cos((sine) / 20), 0) * LHCF * angles(math.rad(0), math.rad(0), math.rad(0 - 50 * math.cos((sine) / 3))), 0.3)
  1406. MotorWeld.C0 = clerp(MotorWeld.C0, CFrame.new(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1407. FakeHandleWeld.C0 = clerp(FakeHandleWeld.C0, CFrame.new(0, -0.3, -0.2) * angles(math.rad(0), math.rad(50), math.rad(-60 - 0.5 * math.cos((sine) / 25))), 0.3)
  1408. end
  1409. end
  1410. end
  1411. end
  1412. end
  1413. end
  1414. end
  1415. end
  1416. if 0 < #Effects then
  1417. for e = 1, #Effects do
  1418. if Effects[e] ~= nil then
  1419. local Thing = Effects[e]
  1420. if Thing ~= nil then
  1421. local Part = Thing[1]
  1422. local Mode = Thing[2]
  1423. local Delay = Thing[3]
  1424. local IncX = Thing[4]
  1425. local IncY = Thing[5]
  1426. local IncZ = Thing[6]
  1427. if Thing[1].Transparency <= 1 then
  1428. if Thing[2] == "Block1" then
  1429. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1430. Mesh = Thing[1].Mesh
  1431. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1432. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1433. else
  1434. if Thing[2] == "Block2" then
  1435. Thing[1].CFrame = Thing[1].CFrame
  1436. Mesh = Thing[7]
  1437. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1438. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1439. else
  1440. if Thing[2] == "Cylinder" then
  1441. Mesh = Thing[1].Mesh
  1442. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1443. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1444. else
  1445. if Thing[2] == "Blood" then
  1446. Mesh = Thing[7]
  1447. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1448. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1449. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1450. else
  1451. if Thing[2] == "Elec" then
  1452. Mesh = Thing[1].Mesh
  1453. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1454. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1455. else
  1456. if Thing[2] == "Disappear" then
  1457. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1458. else
  1459. if Thing[2] == "Shatter" then
  1460. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1461. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1462. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1463. Thing[6] = Thing[6] + Thing[5]
  1464. end
  1465. end
  1466. end
  1467. end
  1468. end
  1469. end
  1470. end
  1471. else
  1472. Part.Parent = nil
  1473. table.remove(Effects, e)
  1474. end
  1475. end
  1476. end
  1477. end
  1478. end
  1479. end
  1480. --end
  1481. --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement