breezyshadow012

beast

Jul 4th, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 107.45 KB | None | 0 0
  1.  
  2. wait(0.016666666666667)
  3. script.Archivable = false
  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 = "effecsfsafzx"
  13. local demon = Instance.new("Model", Character)
  14. demon.Name = "demdemd"
  15. local LeftArm = Character["Left Arm"]
  16. local RightArm = Character["Right Arm"]
  17. local LeftLeg = Character["Left Leg"]
  18. local RightLeg = Character["Right Leg"]
  19. local do2target = nil
  20. local Head = Character.Head
  21. local Torso = Character.Torso
  22. local cam = game.Workspace.CurrentCamera
  23. local RootPart = Character.HumanoidRootPart
  24. local RootJoint = RootPart.RootJoint
  25. local equipped = false
  26. local attack = false
  27. local Anim = "Idle"
  28. local idle = 0
  29. local attacktype = 1
  30. local Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  31. local velocity = RootPart.Velocity.y
  32. local sine = 0
  33. local change = 1
  34. local mana = 0
  35. local it = Instance.new
  36. vt = Vector3.new
  37. local grabbed = false
  38. local cf = CFrame.new
  39. local mr = math.rad
  40. local angles = CFrame.Angles
  41. local ud = UDim2.new
  42. local c3 = Color3.new
  43. local NeckCF = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  44. Humanoid.Animator:Destroy()
  45. Character.Animate:Destroy()
  46. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  47. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  48. local LHCF = (CFrame.fromEulerAnglesXYZ(0, -1.6, 0))
  49. RSH = nil
  50. RW = Instance.new("Weld")
  51. LW = Instance.new("Weld")
  52. RH = Torso["Right Hip"]
  53. LH = Torso["Left Hip"]
  54. RSH = Torso["Right Shoulder"]
  55. LSH = Torso["Left Shoulder"]
  56. RSH.Parent = nil
  57. LSH.Parent = nil
  58. RW.Name = "RW"
  59. RW.Part0 = Torso
  60. RW.C0 = cf(1.5, 0.5, 0)
  61. RW.C1 = cf(0, 0.5, 0)
  62. RW.Part1 = RightArm
  63. RW.Parent = Torso
  64. LW.Name = "LW"
  65. LW.Part0 = Torso
  66. LW.C0 = cf(-1.5, 0.5, 0)
  67. LW.C1 = cf(0, 0.5, 0)
  68. LW.Part1 = LeftArm
  69. LW.Parent = Torso
  70. clerp = function(a, b, t)
  71.  
  72. return a:lerp(b, t)
  73. end
  74.  
  75. local RbxUtility = LoadLibrary("RbxUtility")
  76. local Create = RbxUtility.Create
  77. RemoveOutlines = function(part)
  78.  
  79. part.TopSurface = 10
  80. end
  81.  
  82. CreatePart = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  83.  
  84. 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})
  85. RemoveOutlines(Part)
  86. return Part
  87. end
  88.  
  89. CreateMesh = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  90.  
  91. local Msh = Create(Mesh)({Parent = Part, Offset = OffSet, Scale = Scale})
  92. if Mesh == "SpecialMesh" then
  93. Msh.MeshType = MeshType
  94. Msh.MeshId = MeshId
  95. end
  96. return Msh
  97. end
  98.  
  99. local co1 = 3
  100. local co2 = 10
  101. local co3 = 15
  102. local co4 = 30
  103. local cooldown1 = 0
  104. local cooldown2 = 0
  105. local cooldown3 = 0
  106. local cooldown4 = 0
  107. local maxEnergy = 100
  108. local Energy = 0
  109. local skill1stam = 10
  110. local skill2stam = 50
  111. local skill3stam = 60
  112. local skill4stam = 100
  113. local recovermana = 5
  114. local skillcolorscheme = BrickColor.new("Magenta").Color
  115. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  116. makeframe = function(par, trans, pos, size, color)
  117.  
  118. local frame = Instance.new("Frame", par)
  119. frame.BackgroundTransparency = trans
  120. frame.BorderSizePixel = 0
  121. frame.Position = pos
  122. frame.Size = size
  123. frame.BackgroundColor3 = color
  124. return frame
  125. end
  126.  
  127. makelabel = function(par, text)
  128.  
  129. local label = Instance.new("TextLabel", par)
  130. label.BackgroundTransparency = 1
  131. label.Size = UDim2.new(1, 0, 1, 0)
  132. label.Position = UDim2.new(0, 0, 0, 0)
  133. label.TextColor3 = Color3.new(255, 255, 255)
  134. label.TextStrokeTransparency = 0
  135. label.FontSize = Enum.FontSize.Size32
  136. label.Font = Enum.Font.SourceSansLight
  137. label.BorderSizePixel = 0
  138. label.TextScaled = true
  139. label.Text = text
  140. end
  141.  
  142. framesk1 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.93, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  143. framesk2 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.86, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  144. framesk3 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.79, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  145. framesk4 = makeframe(scrn, 0.5, UDim2.new(0.8, 0, 0.72, 0), UDim2.new(0.16, 0, 0.06, 0), skillcolorscheme)
  146. bar1 = makeframe(framesk1, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  147. bar2 = makeframe(framesk2, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  148. bar3 = makeframe(framesk3, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  149. bar4 = makeframe(framesk4, 0, UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), skillcolorscheme)
  150. text1 = makelabel(framesk1, "[z] Hunt")
  151. text2 = makelabel(framesk2, "[x] Ravage")
  152. text3 = makelabel(framesk3, "[c] Capture")
  153. text4 = makelabel(framesk4, "[v] Flower of Fear")
  154. ArtificialHB = Instance.new("BindableEvent", script)
  155. ArtificialHB.Name = "Heartbeat"
  156. script:WaitForChild("Heartbeat")
  157. frame = 0.033333333333333
  158. tf = 0
  159. allowframeloss = false
  160. tossremainder = false
  161. lastframe = tick()
  162. script.Heartbeat:Fire()
  163. game:GetService("RunService").Heartbeat:connect(function(s, p)
  164.  
  165. tf = tf + s
  166. if frame <= tf then
  167. if allowframeloss then
  168. script.Heartbeat:Fire()
  169. lastframe = tick()
  170. else
  171. for i = 1, math.floor(tf / frame) do
  172. script.Heartbeat:Fire()
  173. end
  174. lastframe = tick()
  175. end
  176. if tossremainder then
  177. tf = 0
  178. else
  179. tf = tf - frame * math.floor(tf / frame)
  180. end
  181. end
  182. end
  183. )
  184. swait = function(num)
  185.  
  186. if num == 0 or num == nil then
  187. ArtificialHB.Event:wait()
  188. else
  189. for i = 0, num do
  190. ArtificialHB.Event:wait()
  191. end
  192. end
  193. end
  194.  
  195. CreateWeld = function(Parent, Part0, Part1, C0, C1)
  196.  
  197. local Weld = Create("Weld")({Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1})
  198. return Weld
  199. end
  200.  
  201. rayCast = function(Position, Direction, Range, Ignore)
  202.  
  203. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  204. end
  205.  
  206. CreateSound = function(id, par, vol, pit)
  207.  
  208. coroutine.resume(coroutine.create(function()
  209.  
  210. local sou = Instance.new("Sound", par or workspace)
  211. sou.Volume = vol
  212. sou.Pitch = pit or 1
  213. sou.SoundId = id
  214. swait()
  215. sou:play()
  216. game:GetService("Debris"):AddItem(sou, 6)
  217. end
  218. ))
  219. end
  220.  
  221. local getclosest = function(obj, distance)
  222.  
  223. local last, lastx = distance + 1, nil
  224. for i,v in pairs(workspace:GetChildren()) do
  225. if v:IsA("Model") and v ~= Character and v:findFirstChild("Humanoid") and v:findFirstChild("Torso") and v:findFirstChild("Humanoid").Health > 0 then
  226. local t = v.Torso
  227. local dist = t.Position - obj.Position.magnitude
  228. if dist <= distance and dist < last then
  229. last = dist
  230. lastx = v
  231. end
  232. end
  233. end
  234. return lastx
  235. end
  236.  
  237. CreatePart2 = function(Parent, Material, Reflectance, Transparency, PartType, BColor, Name, Size)
  238.  
  239. if PartType == "Part" then
  240. 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})
  241. RemoveOutlines(Part)
  242. return Part
  243. else
  244. do
  245. if PartType == "WedgePart" then
  246. local Part = Create("WedgePart")({Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material})
  247. RemoveOutlines(Part)
  248. return Part
  249. end
  250. end
  251. end
  252. end
  253.  
  254. Handle = CreatePart(m, Enum.Material.SmoothPlastic, 0, 1, "Dirt brown", "Handle", Vector3.new(1, 2, 1))
  255. HandleWeld = CreateWeld(m, Character["Right Arm"], Handle, 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))
  256. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  257. ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.598956585, -0.401195407, 0, 0, 1, 0.25881803, -0.965926111, 0, 0.965926111, 0.25881803, 0))
  258. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.150000006))
  259. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  260. ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.858075142, -0.276378155, -0.49209857, 0.353552133, -0.866025269, 0.353555113, 0.707108736, -9.03335206e-07, -0.707104981, 0.612371027, 0.500000358, 0.61237365))
  261. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001))
  262. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  263. ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142959999, -0.79026103, -0.577523232, 0, 0, 1, 0.0581610166, -0.998307228, 0, 0.998307228, 0.0581610166, 0))
  264. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.400000006, 1, 0.100000001))
  265. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  266. ClawWeld = CreateWeld(m, Handle, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.857914209, 0.258751988, -0.512362957, 0.353553236, -0.866025567, -0.353553236, -0.707106471, 3.09715034e-07, -0.707107246, 0.612372994, 0.499999791, -0.6123721))
  267. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1, 0.709999979, 0.100000001))
  268. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003))
  269. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.508293927, 0.581420183, 0.355297565, -1, 0, 0, 0, -0.694275975, -0.719708979, 0, -0.719708979, 0.694275975))
  270. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
  271. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003))
  272. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, -0.605236769, -0.322324991, 1, 0, 0, 0, 0.719708979, -0.694275975, 0, 0.694275975, 0.719708979))
  273. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
  274. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.200000003))
  275. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.0117408261, -0.729162693, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101))
  276. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.208000004, 0.47299999, 0.47299999))
  277. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566))
  278. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.123879015, -0.278857708, -0.00617899979, 0.965925336, -0.2588211, 0, 0.2588211, 0.965925336, 0, 0, 0, 1))
  279. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999))
  280. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.445813209, 0.210449979, 1.04200566))
  281. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.223450184, 0.0305250883, -0.00618699985, -0.25881803, 0.965926111, 0, -0.965926111, -0.25881803, 0, 0, 0, 1))
  282. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
  283. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566))
  284. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.407537222, 0.0663063526, -0.00618699985, 0.707106352, -0.707107365, 0, 0.707107365, 0.707106352, 0, 0, 0, 1))
  285. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.821169853, 0.388499111, 1.00999999))
  286. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.664211631, 0.210449979, 1.04200566))
  287. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0544009209, 0.0101571083, -0.00617499975, 0.499998987, 0.866025984, 0, -0.866025984, 0.499998987, 0, 0, 0, 1))
  288. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
  289. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566))
  290. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.212381959, -0.663311005, -0.00618499983, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  291. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.730365157, 0.388499111, 1.00999999))
  292. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566))
  293. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0184851885, 0.339620829, -0.0061809998, 0.715359032, -0.698757052, 0, 0.698757052, 0.715359032, 0, 0, 0, 1))
  294. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.834142029, 0.388499111, 1.00999999))
  295. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.627083898, 0.210449979, 1.04200566))
  296. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.280005217, -0.363016367, -0.00617299974, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1))
  297. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 0.388499111, 1.00999999))
  298. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 0.329999983))
  299. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.508293927, 0.00543988496, -0.414242506, 1, 0, 0, 0, -0.0252030101, -0.999682367, 0, 0.999682367, -0.0252030101))
  300. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.207726225, 0.473494887, 1))
  301. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "Part", "Hot pink", "ClawMaterial", Vector3.new(0.210449979, 0.210449979, 1.04200566))
  302. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.453824013, -0.291407824, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  303. CreateMesh("BlockMesh", ClawMaterial, "", "", Vector3.new(0, 0, 0), Vector3.new(0.83414197, 0.388499111, 1.00999999))
  304. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  305. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51018995, -0.50767684, 0.297928989, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  306. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
  307. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725))
  308. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0117785633, -0.903934956, 0.39272213, 0.707106352, 0, 0.707107365, 0, 1, 0, -0.707107365, 0, 0.707106352))
  309. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
  310. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  311. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.677359819, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  312. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
  313. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368))
  314. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0118038058, 0.689624906, 0.570050001, 0.707103848, 0, 0.707109809, -0.707109809, 0, 0.707103848, 0, -1, 0))
  315. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
  316. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  317. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510767996, -0.508222818, -0.295575023, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  318. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
  319. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954))
  320. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285520971, -0.664801836, -0.00591700012, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  321. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1))
  322. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.728394926, 0.35408181, 1.04200566))
  323. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.159419954, -0.695495844, -0.00616900017, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  324. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  325. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Black", "Part", Vector3.new(0.796342552, 0.65287286, 1.04582763))
  326. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.144507021, 0.270431995, -0.00702500017, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  327. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  328. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.04200566))
  329. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0228680372, -0.903097868, -0.00617699977, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  330. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
  331. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  332. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51076597, -0.157143831, -0.295579016, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  333. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.231076032, 0.543544471, 0.369591445))
  334. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.475480139, 0.404664904, 1.04200566))
  335. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.236273766, -0.56151557, -0.0061809998, 0.707106352, 0.707107365, 0, -0.707107365, 0.707106352, 0, 0, 0, 1))
  336. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  337. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.796189725))
  338. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000811070204, -0.902295828, 0.381639034, -0.707106829, 0, 0.707106829, 0, 1, 0, -0.707106829, 0, -0.707106829))
  339. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
  340. Part = CreatePart2(m, Enum.Material.Neon, 0, 0, "Part", "Black", "Part", Vector3.new(1, 1, 1))
  341. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0142869996, -0.618730307, -0.382281303, 0, 0, 1, 0.36670509, -0.93033725, 0, 0.93033725, 0.36670509, 0))
  342. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.5, 0.709999979, 0.100000001))
  343. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.524428368))
  344. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.000812500715, 0.678554535, 0.570062876, -0.707106829, 0, 0.707106829, -0.707106829, 0, -0.707106829, 0, -1, 0))
  345. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 1))
  346. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Black", "Part", Vector3.new(0.274916351, 0.495625556, 1.04582763))
  347. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.386464, 0.349603176, -0.00702300016, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  348. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  349. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 1.06329954))
  350. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.285515964, -0.215442896, -0.00591900013, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  351. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.311503083, 0.543544471, 1))
  352. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  353. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.51019901, -0.156597853, 0.297930986, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  354. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
  355. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(1.06224263, 1.11860847, 1.04200566))
  356. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00774800777, 0.0171630383, -0.0061809998, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  357. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 1))
  358. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "Part", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  359. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.510194004, -0.67681098, 0.297922999, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  360. CreateMesh("BlockMesh", Part, "", "", Vector3.new(0, 0, 0), Vector3.new(0.225887179, 0.543544471, 0.369591445))
  361. ClawMaterial = CreatePart2(m, Enum.Material.SmoothPlastic, 0.30000001192093, 0, "WedgePart", "Hot pink", "ClawMaterial", Vector3.new(1.0507766, 0.342107773, 0.210450009))
  362. ClawMaterialWeld = CreateWeld(m, Handle, ClawMaterial, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00591100007, -0.468749046, 0.193565369, 0, 0, 1, -0.700001419, -0.714141428, 0, 0.714141428, -0.700001419, 0))
  363. CreateMesh("SpecialMesh", ClawMaterial, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.961421788))
  364. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  365. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00134065747, 0.207813978, 0.709334135, 0.707106829, 0, -0.707106829, 0, -1, 0, -0.707106829, 0, -0.707106829))
  366. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788))
  367. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009))
  368. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947299972, -0.114370823, -0.440932035, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  369. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.561885834, 0.961421788))
  370. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.411995441, 0.210450009))
  371. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00891099963, -0.798730135, 0.476718009, 0, 0, 1, 0, -1, 0, 1, 0, 0))
  372. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481))
  373. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.04586256, 0.210449979, 0.27767837))
  374. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00726700015, 0.0232260227, 0.391721964, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  375. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.764251173, 1))
  376. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.385787576, 0.210450009))
  377. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509499991, -0.792718172, 0.456955969, 0, 0, -1, 0, -1, 0, -1, 0, 0))
  378. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 1, 0.644903481))
  379. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009))
  380. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00509600015, -0.696686029, 0.42363596, 0, 0, -1, 0, -1, 0, -1, 0, 0))
  381. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788))
  382. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.210449979, 0.210449979, 0.210450009))
  383. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012203753, 0.206679821, 0.707822442, -0.707106352, 0, -0.707107365, 0, -1, 0, -0.707107365, 0, 0.707106352))
  384. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(0.961425304, 0.961427808, 0.961421788))
  385. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Black", "Part", Vector3.new(1.05023062, 0.210449979, 0.210450009))
  386. PartWeld = CreateWeld(m, Handle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00947900023, -0.695355177, 0.440928012, 0, 0, 1, 0, -1, 0, 1, 0, 0))
  387. CreateMesh("SpecialMesh", Part, Enum.MeshType.Wedge, "", Vector3.new(0, 0, 0), Vector3.new(1, 0.961427808, 0.961421788))
  388. MotorOne = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, "Hot pink", "MotorOne", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  389. MotorOneWeld = CreateWeld(m, Handle, MotorOne, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.165818453, -0.00628910959, -0.978227913, -0.0732169896, -0.996971905, -0.0261989962, -0.542171299, 0.0618378855, -0.83798945, 0.837072074, -0.0471507274, -0.545057178))
  390. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  391. ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413149118, -0.00709122419, -1.08955288, 0.90752846, 5.51342964e-07, -0.419990718, -1.73971057e-06, 1, -2.44379044e-06, 0.419990718, 2.95042992e-06, 0.90752852))
  392. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003))
  393. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  394. ShardWeld = CreateWeld(m, MotorOne, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.205875158, -0.00710588694, -1.48987699, 0.747897685, -5.36441803e-07, -0.663814127, -1.66893005e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897744))
  395. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
  396. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993))
  397. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151987076, 0.549069643, -0.614215612, -1.19581819e-06, 1, 1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982))
  398. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974))
  399. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151856542, -0.490994453, -0.295432806, -1.19581819e-06, 1, 1.37090683e-06, -0.961226821, -7.5250864e-07, -0.27575928, -0.27575931, -1.57952309e-06, 0.96122694))
  400. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989))
  401. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.015198648, 0.650615692, -0.406500697, -1.19581819e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667))
  402. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974))
  403. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152282119, 0.624634504, 0.129744053, -1.19581819e-06, 1, 1.37090683e-06, -0.832109034, -2.5331974e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974))
  404. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019))
  405. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0152042508, 0.944105864, 0.894237399, 1.19581819e-06, -1, -1.37090683e-06, -0.999459982, -1.24052167e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982))
  406. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  407. ClawWeld = CreateWeld(m, MotorOne, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121058, -0.0170745254, -0.650540829, 1.00000012, 0, 3.7252903e-09, 0, 1, 0, 3.7252903e-09, 0, 1.00000024))
  408. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981))
  409. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003))
  410. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151966214, -1.64906764, 1.03426063, -1.19581819e-06, 1, 1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982))
  411. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  412. PartWeld = CreateWeld(m, MotorOne, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252064466, -1.54980397, -0.844281435, 1.19581819e-06, -1, -1.37090683e-06, 0.999459982, 1.24052167e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982))
  413. MotorTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 1, "Hot pink", "MotorTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  414. MotorTwoWeld = CreateWeld(m, Handle, MotorTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0479729176, -0.503670454, -0.786706924, 0.0261989962, -0.996971905, -0.0732169896, 0.83798945, 0.0618378855, -0.542171299, 0.545057178, -0.0471507274, 0.837072074))
  415. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  416. ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.413152218, -0.00709152222, -1.08955348, 0.90752846, 5.66244125e-07, -0.419990689, -1.74157321e-06, 1, -2.47359276e-06, 0.419990718, 2.98023224e-06, 0.907528639))
  417. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(1.20000005, 0.200000003, 0.200000003))
  418. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  419. ShardWeld = CreateWeld(m, MotorTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.20587635, -0.00710582733, -1.4898783, 0.747897685, -5.36441803e-07, -0.663814127, -1.6707927e-06, 1, -2.68220901e-06, 0.663814127, 3.12924385e-06, 0.747897804))
  420. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
  421. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.319999993))
  422. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151982307, 0.549069643, -0.614216566, -1.19395554e-06, 1, 1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982))
  423. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 2.73999977, 0.339999974))
  424. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151848793, -0.490990877, -0.295432806, -1.19395554e-06, 1, 1.37090683e-06, -0.961226821, -7.74860382e-07, -0.27575931, -0.27575925, -1.63912773e-06, 0.961226881))
  425. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.479999989))
  426. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151979923, 0.650617838, -0.406501412, -1.19395554e-06, 1, 1.37090683e-06, -0.978774786, -8.94069672e-07, -0.204939544, -0.204939514, -1.51991844e-06, 0.978774667))
  427. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.339999974))
  428. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0152257681, 0.624636889, 0.129745722, -1.19395554e-06, 1, 1.37090683e-06, -0.832109034, -2.38418579e-07, -0.554612279, -0.554612339, -1.78813934e-06, 0.832108974))
  429. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.480000019))
  430. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.015203476, 0.944107533, 0.894238472, 1.19395554e-06, -1, -1.37090683e-06, -0.999459982, -1.24005601e-06, 0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982))
  431. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  432. ClawWeld = CreateWeld(m, MotorTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.86121142, -0.0170750618, -0.650540113, 1.00000012, -1.86264515e-09, 4.65661287e-09, -1.86264515e-09, 1, 0, 4.65661287e-09, 0, 1.00000024))
  433. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2.5, 0.300000012, 0.519999981))
  434. CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003))
  435. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0151972771, -1.64906967, 1.03426158, -1.19395554e-06, 1, 1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, -0.0328635164, 1.31130219e-06, -0.999459982))
  436. CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  437. PartWeld = CreateWeld(m, MotorTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0252062082, -1.54980803, -0.844281912, 1.19395554e-06, -1, -1.37090683e-06, 0.999459982, 1.24005601e-06, -0.0328635052, 0.0328635164, -1.31130219e-06, 0.999459982))
  438. MotorThumb = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, "Hot pink", "MotorThumb", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  439. MotorThumbWeld = CreateWeld(m, Handle, MotorThumb, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.436262846, -0.542311668, -0.983556807, -0.068211019, -0.995336354, 0.0682120249, -0.707106829, -7.08211871e-07, -0.707106709, 0.703809023, -0.0964656472, -0.703809083))
  440. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  441. ClawWeld = CreateWeld(m, MotorThumb, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607737899, 0.0110911727, 0.0515184402, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888))
  442. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005))
  443. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  444. ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723732, 0.990283549, 1.41561031e-06, -0.13906303, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.13906303, 8.94069672e-08, 0.990283489))
  445. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
  446. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  447. ShardWeld = CreateWeld(m, MotorThumb, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025633, 0.0210601687, -0.0396541655, 0.908135235, 2.08616257e-06, -0.418677092, -1.47148967e-06, 1.00000012, 1.75833702e-06, 0.418677121, -9.23871994e-07, 0.908135176))
  448. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
  449. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003))
  450. PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129690766, -0.393394113, 0.191975117, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, 0.258097589, 2.08616257e-07, -0.966118932))
  451. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003))
  452. PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775405, -0.706632137, 0.168079853, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, -0.258097589, -2.08616257e-07, 0.966118932))
  453. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  454. PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299531221, -0.294105291, -0.00194394588, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097559, -0.258097589, -2.08616257e-07, 0.966118932))
  455. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015))
  456. PartWeld = CreateWeld(m, MotorThumb, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598301, 0.0969114304, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097559, 0.258097589, 2.08616257e-07, -0.966118932))
  457. MotorThumbTwo = CreatePart(m, Enum.Material.Neon, 0.30000001192093, 0, "Hot pink", "MotorThumbTwo", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  458. MotorThumbTwoWeld = CreateWeld(m, Handle, MotorThumbTwo, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.444597721, 0.423756033, -0.897562623, -0.0682120249, -0.995336354, -0.068211019, 0.707106709, -7.08211871e-07, -0.707106829, 0.703809083, -0.0964656621, 0.703809023))
  459. Claw = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Claw", Vector3.new(1, 1, 1))
  460. ClawWeld = CreateWeld(m, MotorThumbTwo, Claw, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.607738018, 0.0110911727, 0.0515185595, 0.925057888, -4.47034836e-08, 0.379826128, -5.96046448e-08, 0.99999994, 2.68220901e-07, -0.379826188, -2.98023224e-07, 0.925057888))
  461. CreateMesh("SpecialMesh", Claw, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(2, 0.300000012, 0.370000005))
  462. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  463. ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.414689064, 0.0210665464, 0.175723612, 0.990283549, 1.42306089e-06, -0.139062777, -1.4193356e-06, 0.99999994, 1.49011612e-07, 0.139062807, 1.1920929e-07, 0.990283608))
  464. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
  465. Shard = CreatePart2(m, Enum.Material.Neon, 0.30000001192093, 0, "Part", "Hot pink", "Shard", Vector3.new(1, 1, 1))
  466. ShardWeld = CreateWeld(m, MotorThumbTwo, Shard, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.222025394, 0.0210601091, -0.0396541059, 0.908135235, 2.08616257e-06, -0.418677092, -1.72480941e-06, 1, 1.16229057e-06, 0.418677121, -3.57627869e-07, 0.908135176))
  467. CreateMesh("SpecialMesh", Shard, Enum.MeshType.FileMesh, "http://www.roblox.com/Asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.800000012, 0.200000003, 0.200000003))
  468. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.370000005, 0.200000003))
  469. PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.012969017, -0.393394232, 0.191974878, -7.11530447e-07, 1, 2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, 0.258097559, 1.78813934e-07, -0.966118813))
  470. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.28999996, 0.200000003))
  471. PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0129775107, -0.706632137, 0.168079972, -7.11530447e-07, 1, 2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, -0.258097559, -1.78813934e-07, 0.966118813))
  472. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 0.200000003, 0.200000003))
  473. PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00299596786, -0.29410553, -0.00194442272, 7.11530447e-07, -1, -2.98023224e-08, 0.966118932, 6.85453415e-07, 0.258097589, -0.258097559, -1.78813934e-07, 0.966118813))
  474. Part = CreatePart2(m, Enum.Material.SmoothPlastic, 0, 0, "WedgePart", "Really black", "Part", Vector3.new(0.329999983, 1.03999996, 0.390000015))
  475. PartWeld = CreateWeld(m, MotorThumbTwo, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.012973249, -0.311598063, 0.0969111919, 7.11530447e-07, -1, -2.98023224e-08, -0.966118932, -6.85453415e-07, -0.258097589, 0.258097559, 1.78813934e-07, -0.966118813))
  476. MagniHit = CreatePart(m, Enum.Material.Neon, 0, 1, "Medium stone grey", "MagniHit", Vector3.new(0.200000003, 0.200000003, 0.200000003))
  477. MagniHitWeld = CreateWeld(m, Character.HumanoidRootPart, MagniHit, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.01003361, -0.230025291, 0.070048213, 0, 0, -1, 0, 1, 0, 1, 0, 0))
  478. local CBlade = {}
  479. local CBladeWelds = {}
  480. for _,c in pairs(m:children()) do
  481. if c.className == "Part" then
  482. table.insert(CBlade, R67_PC6072)
  483. end
  484. end
  485. for _,c in pairs(m:children()) do
  486. if c.className == "Weld" then
  487. table.insert(CBladeWelds, R67_PC6072)
  488. print(R66_PC6093)
  489. end
  490. end
  491. -- NIGH-OMNI FATAL ERROR at PC6105: Re-wrote register: R67 in 'AssignReg'
  492.  
  493. -- NIGH-OMNI FATAL ERROR at PC6106: Re-wrote register: R67 in 'AssignReg'
  494.  
  495. --Hit = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", R66_PC6093, R67_PC6072(5, 0.200000003, 5))
  496. -- NIGH-OMNI FATAL ERROR at PC6120: Re-wrote register: R66 in 'AssignReg'
  497.  
  498. -- NIGH-OMNI FATAL ERROR at PC6134: Re-wrote register: R66 in 'AssignReg'
  499.  
  500. HitWeld = CreateWeld(demon, Character.HumanoidRootPart, Hit, CFrame.new(0, R66_PC6093, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(R66_PC6093, -3.50004387, 0.0299530029, 0, 1, 0, 0, 0, -1, -1, 0, 0))
  501. CreateMesh("SpecialMesh", Hit, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(3, 4, 3))
  502. FakeMotor = CreatePart(demon, Enum.Material.Neon, 0, 1, "Really black", "FakeMotor", Vector3.new(2.01999998, 0.2016, 2.36000013))
  503. FakeMotorWeld = CreateWeld(demon, Hit, FakeMotor, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0199999809, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  504. Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
  505. PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -5.06998634, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  506. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(2.5, 10, 2.5))
  507. Part = CreatePart(demon, Enum.Material.Neon, 0, 0, "Really black", "Part", Vector3.new(2.25000024, 0.200000003, 2.55000019))
  508. PartWeld = CreateWeld(demon, FakeMotor, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -7.1599884, 0, -1, 0, 0, 0, -1, 0, 0, 0, 1))
  509. CreateMesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1033714", Vector3.new(0, 0, 0), Vector3.new(1, 10, 1))
  510. TornadoHat = CreatePart(demon, Enum.Material.Neon, 0.20000000298023, 0.5, "Black", "TornadoHat", Vector3.new(3, 0.400000006, 3))
  511. TornadoHatWeld = CreateWeld(demon, FakeMotor, TornadoHat, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00997924805, -1.65001106, -0.0699994564, 0, 0, -1, 0, -1, 0, -1, 0, 0))
  512. CreateMesh("SpecialMesh", TornadoHat, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=1051557", Vector3.new(0, 0, 0), Vector3.new(5, 5, 5))
  513. local DBlade = {}
  514. local DBladeWelds = {}
  515. for _,c in pairs(demon:children()) do
  516. if c.className == "Part" then
  517. table.insert(DBlade, c)
  518. end
  519. end
  520. for _,c in pairs(demon:children()) do
  521. if c.className == "Weld" then
  522. table.insert(DBladeWelds, c)
  523. print(c)
  524. end
  525. end
  526. demon.Parent = nil
  527. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  528.  
  529. if hit.Parent == nil then
  530. return
  531. end
  532. local h = hit.Parent:FindFirstChild("Humanoid")
  533. for _,v in pairs(hit.Parent:children()) do
  534. if v:IsA("Humanoid") then
  535. h = v
  536. end
  537. end
  538. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  539. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  540. return
  541. end
  542. local c = Create("ObjectValue")({Name = "creator", Value = game:service("Players").LocalPlayer, Parent = h})
  543. game:GetService("Debris"):AddItem(c, 0.5)
  544. if HitSound ~= nil and HitPitch ~= nil then
  545. CreateSound(HitSound, hit, 1, HitPitch)
  546. end
  547. local Damage = math.random(minim, maxim)
  548. local blocked = false
  549. local block = hit.Parent:findFirstChild("Block")
  550. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  551. blocked = true
  552. block.Value = block.Value - 1
  553. print(block.Value)
  554. end
  555. if blocked == false then
  556. h.Health = h.Health - Damage
  557. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  558. else
  559. h.Health = h.Health - Damage / 2
  560. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  561. end
  562. if Type == "Knockdown" then
  563. local hum = hit.Parent.Humanoid
  564. hum.PlatformStand = true
  565. coroutine.resume(coroutine.create(function(HHumanoid)
  566.  
  567. swait(1)
  568. HHumanoid.PlatformStand = false
  569. end
  570. ), hum)
  571. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  572. local bodvol = Create("BodyVelocity")({velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  573. 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})
  574. game:GetService("Debris"):AddItem(bodvol, 0.5)
  575. game:GetService("Debris"):AddItem(rl, 0.5)
  576. else
  577. do
  578. if Type == "Normal" then
  579. local vp = Create("BodyVelocity")({P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05})
  580. if knockback > 0 then
  581. vp.Parent = hit.Parent.Torso
  582. end
  583. game:GetService("Debris"):AddItem(vp, 0.5)
  584. else
  585. do
  586. if Type == "Up" then
  587. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  588. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  589. else
  590. do
  591. if Type == "DarkUp" then
  592. coroutine.resume(coroutine.create(function()
  593.  
  594. for i = 0, 1, 0.1 do
  595. swait()
  596. BlockEffect(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, 0.08, 1)
  597. end
  598. end
  599. ))
  600. local bodyVelocity = Create("BodyVelocity")({velocity = vt(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit})
  601. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  602. else
  603. do
  604. if Type == "Snare" then
  605. 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})
  606. game:GetService("Debris"):AddItem(bp, 1)
  607. else
  608. do
  609. if Type == "Freeze" then
  610. 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})
  611. local BodGy = Create("BodyGyro")({maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame})
  612. hit.Parent.Torso.Anchored = true
  613. coroutine.resume(coroutine.create(function(Part)
  614.  
  615. swait(1.5)
  616. Part.Anchored = false
  617. end
  618. ), hit.Parent.Torso)
  619. game:GetService("Debris"):AddItem(BodPos, 3)
  620. game:GetService("Debris"):AddItem(BodGy, 3)
  621. end
  622. do
  623. local debounce = Create("BoolValue")({Name = "DebounceHit", Parent = hit.Parent, Value = true})
  624. game:GetService("Debris"):AddItem(debounce, Delay)
  625. c = Instance.new("ObjectValue")
  626. c.Name = "creator"
  627. c.Value = Player
  628. c.Parent = h
  629. game:GetService("Debris"):AddItem(c, 0.5)
  630. end
  631. end
  632. end
  633. end
  634. end
  635. end
  636. end
  637. end
  638. end
  639. end
  640. end
  641. end
  642. end
  643. coroutine.resume(coroutine.create(function()
  644. if script.ClassName == "LocalScript" then
  645. game.StarterGui:SetCore("ChatMakeSystemMessage", {
  646. Text = "Beast Z fixed by norp/end_itt";
  647. Color = Color3.new(1, 0, 0);
  648. Font = Enum.Font.SourceSans;
  649. FontSize = Enum.FontSize.Size24;
  650. })
  651. end
  652. end))
  653.  
  654. ShowDamage = function(Pos, Text, Time, Color)
  655.  
  656. local Rate = 0.033333333333333
  657. if not Pos then
  658. local Pos = Vector3.new(0, 0, 0)
  659. end
  660. local Text = Text or ""
  661. local Time = Time or 2
  662. if not Color then
  663. local Color = Color3.new(1, 0, 1)
  664. end
  665. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  666. EffectPart.Anchored = true
  667. local BillboardGui = Create("BillboardGui")({Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart})
  668. 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})
  669. game.Debris:AddItem(EffectPart, Time + 0.1)
  670. EffectPart.Parent = game:GetService("Workspace")
  671. delay(0, function()
  672.  
  673. local Frames = Time / Rate
  674. for Frame = 1, Frames do
  675. wait(Rate)
  676. local Percent = Frame / Frames
  677. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  678. TextLabel.TextTransparency = Percent
  679. end
  680. if EffectPart and EffectPart.Parent then
  681. EffectPart:Destroy()
  682. end
  683. end
  684. )
  685. end
  686.  
  687. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  688.  
  689. for _,c in pairs(workspace:children()) do
  690. local hum = c:findFirstChild("Humanoid")
  691. if hum ~= nil then
  692. local head = c:findFirstChild("Torso")
  693. if head ~= nil then
  694. local targ = head.Position - Part.Position
  695. local mag = targ.magnitude
  696. if mag <= magni and c.Name ~= Player.Name then
  697. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "http://www.roblox.com/asset/?id=231917784", 1)
  698. end
  699. end
  700. end
  701. end
  702. end
  703.  
  704. SlashEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  705.  
  706. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  707. prt.Anchored = true
  708. prt.CFrame = cframe
  709. msh = CreateMesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=448386996", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  710. game:GetService("Debris"):AddItem(prt, 2)
  711. coroutine.resume(coroutine.create(function(Part, Mesh, num)
  712.  
  713. for i = 0, 1, delay do
  714. swait()
  715. Part.Transparency = i
  716. Mesh.Scale = Mesh.Scale + Vector3.new(x3, y3, z3)
  717. end
  718. Part.Parent = nil
  719. end
  720. ), prt, msh, (math.random(0, 1) + math.random()) / 5)
  721. end
  722.  
  723. BlockEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  724.  
  725. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  726. prt.Anchored = true
  727. prt.CFrame = cframe
  728. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  729. game:GetService("Debris"):AddItem(prt, 10)
  730. if Type == 1 or Type == nil then
  731. table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  732. else
  733. if Type == 2 then
  734. table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  735. end
  736. end
  737. end
  738.  
  739. SphereEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  740.  
  741. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  742. prt.Anchored = true
  743. prt.CFrame = cframe
  744. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  745. game:GetService("Debris"):AddItem(prt, 10)
  746. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  747. end
  748.  
  749. RingEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  750.  
  751. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  752. prt.Anchored = true
  753. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  754. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  755. game:GetService("Debris"):AddItem(prt, 10)
  756. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  757. end
  758.  
  759. CylinderEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  760.  
  761. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  762. prt.Anchored = true
  763. prt.CFrame = cframe
  764. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  765. game:GetService("Debris"):AddItem(prt, 10)
  766. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  767. end
  768.  
  769. WaveEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  770.  
  771. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  772. prt.Anchored = true
  773. prt.CFrame = cframe
  774. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  775. game:GetService("Debris"):AddItem(prt, 10)
  776. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  777. end
  778.  
  779. SpecialEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  780.  
  781. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  782. prt.Anchored = true
  783. prt.CFrame = cframe
  784. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  785. game:GetService("Debris"):AddItem(prt, 10)
  786. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  787. end
  788.  
  789. BreakEffect = function(brickcolor, cframe, x1, y1, z1)
  790.  
  791. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  792. prt.Anchored = true
  793. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  794. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  795. local num = math.random(10, 50) / 1000
  796. game:GetService("Debris"):AddItem(prt, 10)
  797. table.insert(Effects, {prt, "Shatter", num, prt.CFrame, math.random() - math.random(), 0, math.random(50, 100) / 100})
  798. end
  799.  
  800. CloudEffect = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  801.  
  802. local prt = CreatePart(effect, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  803. prt.Anchored = true
  804. prt.CFrame = cframe
  805. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "rbxassetid://1095708", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  806. game:GetService("Debris"):AddItem(prt, 10)
  807. table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  808. end
  809.  
  810. attackone = function()
  811.  
  812. attack = true
  813. for i = 0, 1, 0.15 do
  814. swait()
  815. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3)
  816. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3)
  817. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos(sine / 8))), 0.3)
  818. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  819. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  820. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  821. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  822. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  823. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  824. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  825. end
  826. CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 0.8)
  827. for i = 0, 1, 0.5 do
  828. swait()
  829. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
  830. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  831. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-90)), 0.3)
  832. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  833. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  834. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  835. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  836. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  837. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  838. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  839. end
  840. MagniDamage(MagniHit, 6, 10, 14, 0, "Normal", "199149221")
  841. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, -1, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  842. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  843. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 2, -5) * angles(math.rad(90), 1.2, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  844. for i = 0, 1, 0.1 do
  845. swait()
  846. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  847. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(-60)), 0.5)
  848. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-190)), 0.4)
  849. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  850. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  851. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  852. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  853. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  854. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  855. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  856. end
  857. attack = false
  858. end
  859.  
  860. attacktwo = function()
  861.  
  862. attack = true
  863. for i = 0, 1, 0.1 do
  864. swait()
  865. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  866. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3)
  867. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-30)), 0.3)
  868. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  869. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  870. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  871. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  872. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  873. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  874. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  875. end
  876. MagniDamage(MagniHit, 6, 10, 13, 0, "Normal", "199149221")
  877. CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 1)
  878. for i = 0, 1, 0.5 do
  879. swait()
  880. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
  881. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  882. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-190), math.rad(-90)), 0.3)
  883. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  884. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  885. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  886. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  887. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  888. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  889. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  890. end
  891. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, -1, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  892. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0.5, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  893. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 2, -5) * angles(math.rad(90), 1.8, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  894. for i = 0, 1, 0.1 do
  895. swait()
  896. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.5)
  897. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.5)
  898. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-110), math.rad(-190)), 0.4)
  899. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  900. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  901. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  902. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  903. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  904. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(50), math.rad(0)), 0.3)
  905. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(50), math.rad(0), math.rad(0)), 0.3)
  906. end
  907. attack = false
  908. end
  909.  
  910. attackthree = function()
  911.  
  912. attack = true
  913. for i = 0, 1, 0.1 do
  914. swait()
  915. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  916. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(40)), 0.3)
  917. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-60), math.rad(-100), math.rad(-60)), 0.3)
  918. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  919. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  920. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  921. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  922. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  923. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  924. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  925. end
  926. CreateSound("http://www.roblox.com/asset/?id=338586331", RootPart, 1, 0.7)
  927. for i = 0, 1, 0.5 do
  928. swait()
  929. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(20), math.rad(0), math.rad(40)), 0.3)
  930. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  931. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-100), math.rad(-90)), 0.3)
  932. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  933. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  934. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  935. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  936. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 13)) * angles(math.rad(0 + 0.5 * math.cos(sine / 8)), math.rad(0), math.rad(0)), 0.3)
  937. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 + 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  938. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos(sine / 13), 0 - 0.5 * math.cos(sine / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  939. end
  940. MagniDamage(MagniHit, 6, 13, 15, 0, "Normal", "199149221")
  941. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(-1.5, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  942. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(0, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  943. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(1.5, 0, -5) * angles(math.rad(90), 0, 0), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  944. for i = 0, 1, 0.1 do
  945. swait()
  946. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(0), math.rad(0), math.rad(100)), 0.5)
  947. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(10), math.rad(0), math.rad(-60)), 0.5)
  948. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(-100), math.rad(-260), math.rad(-100)), 0.4)
  949. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  950. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos(sine / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(0), math.rad(20)), 0.3)
  951. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos(sine / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  952. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  953. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  954. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  955. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)), 0.3)
  956. end
  957. attack = false
  958. end
  959.  
  960. findNearestTorso = function(pos)
  961.  
  962. local list = (game.Workspace:children())
  963. local torso = nil
  964. local dist = 1000
  965. local temp, human, temp2 = nil, nil, nil
  966. for x = 1, #list do
  967. temp2 = list[x]
  968. if temp2.className == "Model" and temp2.Name ~= Character.Name then
  969. temp = temp2:findFirstChild("Torso")
  970. human = temp2:findFirstChild("Humanoid")
  971. if temp ~= nil and human ~= nil and human.Health > 0 and (temp.Position - pos).magnitude < dist then
  972. local dohit = true
  973. if Player.Neutral == false and game.Players:GetPlayerFromCharacter(temp.Parent) ~= nil and game.Players:GetPlayerFromCharacter(temp.Parent).TeamColor == Player.TeamColor then
  974. dohit = false
  975. end
  976. if dohit == true then
  977. torso = temp
  978. dist = (temp.Position - pos).magnitude
  979. end
  980. end
  981. end
  982. end
  983. return torso, dist
  984. end
  985.  
  986. qaeoshotdog = function()
  987.  
  988. attack = true
  989. local x, y, z, newpos = nil, nil, nil, nil
  990. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07)
  991. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 0.5, 0.1, 0.5, 0.05)
  992. do
  993. if do2target ~= nil and do2target.Parent.Humanoid.PlatformStand ~= true then
  994. local dist = (Torso.Position - do2target.Position).magnitude
  995. if dist < 50 then
  996. Humanoid.WalkSpeed = 0
  997. RootPart.CFrame = do2target.CFrame * cf(0, 50, 5)
  998. else
  999. RootPart.CFrame = RootPart.CFrame * cf(0, 50, 5)
  1000. end
  1001. end
  1002. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07)
  1003. for i = 0, 1, 0.1 do
  1004. swait()
  1005. if do2target ~= nil then
  1006. newpos = vt(do2target.Position.X, RootPart.Position.Y, do2target.Position.Z)
  1007. MoveCF = cf(RootPart.Position, newpos)
  1008. local mpos = Torso.CFrame * angles(0, 0, 0)
  1009. local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0)
  1010. x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1011. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.28)
  1012. end
  1013. do
  1014. do
  1015. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(30), math.rad(50)), 0.3)
  1016. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1017. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3)
  1018. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1019. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3)
  1020. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1021. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1022. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1023. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1024. -- NIGH-OMNI FATAL ERROR at PC435: LeaveBlock: unexpected jumping out DO_STMT
  1025.  
  1026. end
  1027. end
  1028. end
  1029. for i = 0, 1, 0.1 do
  1030. swait()
  1031. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28)
  1032. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1033. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  1034. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1035. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1036. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3)
  1037. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1038. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1039. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1040. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1041. end
  1042. hit = nil
  1043. for i = 1, 1 do
  1044. if hit == nil then
  1045. swait()
  1046. end
  1047. hit = rayCast(RootPart.Position, RootPart.CFrame.lookVector, 6, Character)
  1048. end
  1049. local hit = nil
  1050. while hit == nil do
  1051. swait()
  1052. hit = rayCast(RightArm.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1053. end
  1054. hit = rayCast(RightArm.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 10, Character)
  1055. do
  1056. if hit ~= nil then
  1057. local ref = CreatePart(effect, "SmoothPlastic", 0, 0, BrickColor.new("Black"), "Effect", vt())
  1058. ref.Anchored = true
  1059. -- ref.CFrame = cf(pos)
  1060. game:GetService("Debris"):AddItem(ref, 3)
  1061. for i = 1, 10 do
  1062. Col = hit.BrickColor
  1063. local groundpart = CreatePart(effect, hit.Material, 0, 0, Col, "Ground", vt(math.random(50, 200) / 100, math.random(50, 200) / 100, math.random(50, 200) / 100))
  1064. groundpart.Anchored = true
  1065. groundpart.CanCollide = true
  1066. -- groundpart.CFrame = cf(pos) * cf(math.random(-500, 500) / 100, 0, math.random(-500, 500) / 100) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1067. game:GetService("Debris"):AddItem(groundpart, 5)
  1068. end
  1069. CreateSound("http://roblox.com/asset/?id=157878578", ref, 0.6, 1.2)
  1070. --[[ WaveEffect(hit.BrickColor, cf(pos), 1, 1, 1, 0.7, 0.7, 0.7, 0.05)
  1071. BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05)
  1072. BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05)
  1073. BreakEffect(hit.BrickColor, cf(pos), 0.1, 1, 0.1, 0.5, 5, 0.5, 0.05)]]
  1074. MagniDamage(ref, 9, 20, 23, math.random(10, 20), "Knockdown")
  1075. end
  1076. CloudEffect(BrickColor.new("Black"), RightArm.CFrame, 1, 1, 1, 0.5, 3, 0.5, 0.05)
  1077. CloudEffect(BrickColor.new("Black"), RightArm.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
  1078. Humanoid.WalkSpeed = 16
  1079. attack = false
  1080. end
  1081. end
  1082. end
  1083.  
  1084. dead = function()
  1085.  
  1086. attack = true
  1087. local x, y, z, newpos = nil, nil, nil, nil
  1088. for i = 0, 1, 0.1 do
  1089. swait()
  1090. if do2target ~= nil then
  1091. newpos = vt(do2target.Position.X, RootPart.Position.Y, do2target.Position.Z)
  1092. MoveCF = cf(RootPart.Position, newpos)
  1093. local mpos = Torso.CFrame * angles(0, 0, 0)
  1094. local cff = CFrame.new(mpos.p, newpos) * CFrame.Angles(math.pi / 2, 0, 0)
  1095. x = RootPart.CFrame:toObjectSpace(cff):toEulerAnglesXYZ()
  1096. y = RootPart.CFrame:toEulerAnglesXYZ()
  1097. z = RootPart.CFrame:toEulerAnglesXYZ()
  1098. RootJoint.C0 = clerp(RootJoint.C0, CFrame.Angles(x,y,z) * angles(0, 3.14, 0) * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.4)
  1099. else
  1100. do
  1101. do
  1102. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.28)
  1103. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(30), math.rad(50)), 0.3)
  1104. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1105. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3)
  1106. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1107. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3)
  1108. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1109. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1110. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1111. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1112. end
  1113. end
  1114. end
  1115. end
  1116. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 15, 15, 15, 2, 2, 2, 0.07)
  1117. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 0.5, 0.1, 0.5, 0.05)
  1118. do
  1119. if do2target ~= nil then
  1120. local dist = (Torso.Position - do2target.Position).magnitude
  1121. if dist < 20 then
  1122. MagniDamage(do2target, 10, 10, 10, 10, "Normal")
  1123. end
  1124. end
  1125. CreateSound("http://www.roblox.com/asset/?id=338586299", RootPart, 1, 1)
  1126. SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, -1, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07)
  1127. SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, 0.5, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07)
  1128. SlashEffect(BrickColor.new("Magenta"), Head.CFrame * cf(0, 2, -15) * angles(math.rad(0), 1.47, math.rad(90)) * angles(-1.47, 0, 0), 0.001, 0.1, 0.2, 0, 0.001, 0.003, 0.07)
  1129. RootPart.CFrame = Head.CFrame * cf(0, 0, -30)
  1130. for i = 0, 1, 0.05 do
  1131. swait()
  1132. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28)
  1133. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1134. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1135. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1136. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1137. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3)
  1138. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1139. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1140. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1141. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1142. end
  1143. attack = false
  1144. end
  1145. end
  1146.  
  1147. Face = Head.face
  1148. Shirt = Character:FindFirstChild("Shirt")
  1149. Pants = Character:FindFirstChild("Pants")
  1150. Cloak = function()
  1151.  
  1152. Face.Parent = nil
  1153. cloaked = true
  1154. for _,v in pairs(Torso.Parent:children()) do
  1155. do
  1156. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1157. coroutine.resume(coroutine.create(function()
  1158.  
  1159. for i = 0, 0.7, 0.2 do
  1160. swait()
  1161. v.Transparency = i
  1162. end
  1163. v.Transparency = 1
  1164. end
  1165. ))
  1166. end
  1167. if v.className == "Hat" then
  1168. do
  1169. hatp = v.Handle
  1170. coroutine.resume(coroutine.create(function(derp)
  1171.  
  1172. for i = 0, 0.7, 0.2 do
  1173. swait()
  1174. derp.Transparency = i
  1175. end
  1176. derp.Transparency = 1
  1177. end
  1178. ), hatp)
  1179. -- NIGH-OMNI FATAL ERROR at PC38: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1180.  
  1181. -- NIGH-OMNI FATAL ERROR at PC38: LeaveBlock: unexpected jumping out IF_STMT
  1182.  
  1183. end
  1184. end
  1185. end
  1186. end
  1187. end
  1188.  
  1189. UnCloak = function()
  1190.  
  1191. CreateSound("http://roblox.com/asset/?id=2767090", Torso, 1, 1.1)
  1192. Face.Parent = Head
  1193. cloaked = false
  1194. for _,v in pairs(Torso.Parent:children()) do
  1195. do
  1196. if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1197. coroutine.resume(coroutine.create(function()
  1198.  
  1199. for i = 0, 1, 0.1 do
  1200. swait()
  1201. v.Transparency = v.Transparency - 0.1
  1202. end
  1203. v.Transparency = 0
  1204. end
  1205. ))
  1206. end
  1207. if v.className == "Hat" then
  1208. do
  1209. hatp = v.Handle
  1210. coroutine.resume(coroutine.create(function(derp)
  1211.  
  1212. for i = 0, 1, 0.1 do
  1213. swait()
  1214. derp.Transparency = derp.Transparency - 0.1
  1215. end
  1216. derp.Transparency = 0
  1217. end
  1218. ), hatp)
  1219. -- NIGH-OMNI FATAL ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1220.  
  1221. -- NIGH-OMNI FATAL ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT
  1222.  
  1223. end
  1224. end
  1225. end
  1226. end
  1227. end
  1228.  
  1229. hotdog = function()
  1230.  
  1231. attack = true
  1232. for i = 0, 1, 0.1 do
  1233. swait()
  1234. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  1235. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(50)), 0.3)
  1236. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1237. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3)
  1238. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1239. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3)
  1240. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1241. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1242. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1243. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1244. end
  1245. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
  1246. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
  1247. --[[ local con = Hit.Touched:connect(function(hit)
  1248.  
  1249. Damagefunc(Hit, hit, 10, 25, math.random(1, 5), "Snare", RootPart, 0.2, "rbxassetid://199149221", 0.8)
  1250. end
  1251. )]]
  1252. m.Parent = nil
  1253. demon.Parent = Character
  1254. Cloak()
  1255. CreateSound("http://roblox.com/asset/?id=257001320", Torso, 1, 0.5)
  1256. CreateSound("http://roblox.com/asset/?id=28257433", Torso, 1, 0.5)
  1257. for i = 0, 1, 0.02 do
  1258. swait()
  1259. MagniDamage(RootPart, 5, 1, 3, 0, "Normal")
  1260. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 5, 5, 5, 0.07)
  1261. Torso.Velocity = RootPart.CFrame.lookVector * 75
  1262. FakeMotorWeld.C0 = clerp(FakeMotorWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 360 * i), math.rad(0)), 0.5)
  1263. end
  1264. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
  1265. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
  1266. UnCloak()
  1267. -- con:disconnect()
  1268. demon.Parent = nil
  1269. m.Parent = Character
  1270. for i = 0, 1, 0.05 do
  1271. swait()
  1272. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28)
  1273. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1274. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1275. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1276. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1277. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3)
  1278. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1279. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1280. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1281. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1282. end
  1283. attack = false
  1284. end
  1285.  
  1286. truehotdog = function()
  1287.  
  1288. attack = true
  1289. for i = 0, 1, 0.1 do
  1290. swait()
  1291. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 0.5, 0.5, 0.5, 0.07)
  1292. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.1)
  1293. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(20), math.rad(50)), 0.3)
  1294. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1295. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3)
  1296. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1297. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(30)), 0.3)
  1298. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1299. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1300. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1301. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1302. end
  1303. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
  1304. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
  1305. m.Parent = nil
  1306. Cloak()
  1307. CreateSound("http://roblox.com/asset/?id=190119264", Torso, 1, 0.5)
  1308. for i = 0, 1, 0.01 do
  1309. swait()
  1310. MagniDamage(RootPart, 15, 1, 3, -30, "Normal")
  1311. SlashEffect(BrickColor.new("Magenta"), RootPart.CFrame * cf(math.random(-10, 10), -1, math.random(-10, 10)) * angles(math.random(-5, 5), math.random(-5, 5), 0) * angles(0, 0, math.random(-5, 5)), 0.001, 0.1, 0.1, 0, 0.001, 0.001, 0.07)
  1312. CreateSound("http://roblox.com/asset/?id=62339698", Torso, 0.7, 2)
  1313. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)), 1, 1, 1, 5, 5, 5, 0.07)
  1314. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame * angles(0, math.random(-50, 50), 0), 1, 1, 1, math.random(0.5, 1), 0.5, math.random(0.5, 1), 0.05)
  1315. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame * cf(0, -1.5, 0) * angles(0, math.random(-50, 50), 0), 1, 1, 1, 1, -0.01, 1, 0.05)
  1316. Torso.Velocity = RootPart.CFrame.lookVector * 10
  1317. end
  1318. BlockEffect(BrickColor.new("Really black"), RootPart.CFrame, 20, 20, 20, 5, 5, 5, 0.07)
  1319. WaveEffect(BrickColor.new("Really black"), RootPart.CFrame, 1, 1, 1, 1, 0.5, 1, 0.05)
  1320. UnCloak()
  1321. m.Parent = Character
  1322. for i = 0, 1, 0.05 do
  1323. swait()
  1324. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos(sine / 8)) * angles(math.rad(70), math.rad(0), math.rad(80)), 0.28)
  1325. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(-80)), 0.3)
  1326. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos(sine / 13), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1327. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos(sine / 8), 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3)
  1328. RH.C0 = clerp(RH.C0, cf(1, -1, -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(10)), 0.3)
  1329. LH.C0 = clerp(LH.C0, cf(-1, -0.7, -1) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(-30)), 0.3)
  1330. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1331. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1332. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1333. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1334. end
  1335. attack = false
  1336. end
  1337.  
  1338. mouse.Button1Down:connect(function()
  1339.  
  1340. if attack == false and attacktype == 1 then
  1341. attackone()
  1342. attacktype = 2
  1343. else
  1344. if attack == false and attacktype == 2 then
  1345. attacktype = 3
  1346. attacktwo()
  1347. else
  1348. if attack == false and attacktype == 3 then
  1349. attacktype = 1
  1350. attackthree()
  1351. end
  1352. end
  1353. end
  1354. end
  1355. )
  1356. mouse.KeyDown:connect(function(k)
  1357.  
  1358. k = k:lower()
  1359. if attack == false and co1 <= cooldown1 and k == "z" then
  1360. cooldown1 = 0
  1361. dead()
  1362. else
  1363. if attack == false and co2 <= cooldown2 and k == "x" then
  1364. cooldown2 = 0
  1365. hotdog()
  1366. else
  1367. if attack == false and co3 <= cooldown3 and k == "c" then
  1368. cooldown3 = 0
  1369. qaeoshotdog()
  1370. else
  1371. if attack == false and co4 <= cooldown4 and k == "v" then
  1372. cooldown4 = 0
  1373. truehotdog()
  1374. end
  1375. end
  1376. end
  1377. end
  1378. end
  1379. )
  1380. updateskills = function()
  1381.  
  1382. if cooldown1 <= co1 then
  1383. cooldown1 = cooldown1 + 0.033333333333333
  1384. end
  1385. if cooldown2 <= co2 then
  1386. cooldown2 = cooldown2 + 0.033333333333333
  1387. end
  1388. if cooldown3 <= co3 then
  1389. cooldown3 = cooldown3 + 0.033333333333333
  1390. end
  1391. if cooldown4 <= co4 then
  1392. cooldown4 = cooldown4 + 0.033333333333333
  1393. end
  1394. end
  1395.  
  1396. while 1 do
  1397. swait()
  1398. updateskills()
  1399. target = findNearestTorso(RootPart.Position)
  1400. do2target = target
  1401. bar4:TweenSize(UDim2.new(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  1402. bar3:TweenSize(UDim2.new(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  1403. bar1:TweenSize(UDim2.new(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  1404. bar2:TweenSize(UDim2.new(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  1405. Torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1406. velocity = RootPart.Velocity.y
  1407. sine = sine + change
  1408. local hit, pos = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1409. if equipped == true or equipped == false then
  1410. if 1 < RootPart.Velocity.y and hit == nil then
  1411. Anim = "Jump"
  1412. if attack == false then
  1413. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  1414. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(0), math.rad(0), math.rad(30)), 0.3)
  1415. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3)
  1416. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.3)
  1417. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  1418. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(0)), 0.3)
  1419. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1420. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1421. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1422. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1423. end
  1424. else
  1425. if RootPart.Velocity.y < -1 and hit == nil then
  1426. Anim = "Fall"
  1427. if attack == false then
  1428. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1429. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(40), math.rad(0), math.rad(30)), 0.3)
  1430. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-150), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3)
  1431. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-70)), 0.3)
  1432. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1433. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  1434. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1435. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1436. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1437. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1438. end
  1439. else
  1440. if (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) < 1 and hit ~= nil then
  1441. Anim = "Idle"
  1442. if attack == false then
  1443. change = 1
  1444. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1445. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1446. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3)
  1447. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.1 * math.cos((sine) / 8), 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.3)
  1448. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1449. LH.C0 = clerp(LH.C0, cf(-1, -1, -0.4 + 0.1 * math.cos((sine) / 8)) * LHCF * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  1450. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1451. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1452. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1453. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1454. end
  1455. else
  1456. if 2 < (math.abs(Torsovelocity.x) + math.abs(Torsovelocity.z)) and hit ~= nil then
  1457. Anim = "Walk"
  1458. if attack == false then
  1459. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.3 - 0.1 * math.cos((sine) / 8)) * angles(math.rad(20), math.rad(0), math.rad(-40)), 0.3)
  1460. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-10), math.rad(0), math.rad(40)), 0.3)
  1461. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.1 * math.cos((sine) / 13), 0) * angles(math.rad(-130), math.rad(-190), math.rad(-130 + 10 * math.cos((sine) / 8))), 0.3)
  1462. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5 + 0.1 * math.cos((sine) / 8), -1) * angles(math.rad(-90), math.rad(0), math.rad(80)), 0.3)
  1463. RH.C0 = clerp(RH.C0, cf(1, -1 + 0.1 * math.cos((sine) / 8), -0.5) * RHCF * angles(math.rad(0), math.rad(40), math.rad(0 + 50 * math.cos((sine) / 4))), 0.3)
  1464. LH.C0 = clerp(LH.C0, cf(-1.2, -1 + 0.1 * math.cos((sine) / 8), 0) * LHCF * angles(math.rad(0), math.rad(40), math.rad(0 + 50 * math.cos((sine) / 4))), 0.3)
  1465. MotorOneWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1466. MotorTwoWeld.C0 = clerp(MotorOneWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 13)) * angles(math.rad(0 + 0.5 * math.cos((sine) / 8)), math.rad(0), math.rad(0)), 0.3)
  1467. MotorThumbWeld.C0 = clerp(MotorThumbWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 + 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1468. MotorThumbTwoWeld.C0 = clerp(MotorThumbTwoWeld.C0, cf(0, 0 + 0.5 * math.cos((sine) / 13), 0 - 0.5 * math.cos((sine) / 16)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1469. end
  1470. end
  1471. end
  1472. end
  1473. end
  1474. end
  1475. if 0 < #Effects then
  1476. for e = 1, #Effects do
  1477. if Effects[e] ~= nil then
  1478. local Thing = Effects[e]
  1479. if Thing ~= nil then
  1480. local Part = Thing[1]
  1481. local Mode = Thing[2]
  1482. local Delay = Thing[3]
  1483. local IncX = Thing[4]
  1484. local IncY = Thing[5]
  1485. local IncZ = Thing[6]
  1486. if Thing[1].Transparency <= 1 then
  1487. if Thing[2] == "Block1" then
  1488. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1489. Mesh = Thing[1].Mesh
  1490. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1491. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1492. else
  1493. if Thing[2] == "Block2" then
  1494. Thing[1].CFrame = Thing[1].CFrame
  1495. Mesh = Thing[7]
  1496. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1497. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1498. else
  1499. if Thing[2] == "Cylinder" then
  1500. Mesh = Thing[1].Mesh
  1501. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1502. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1503. else
  1504. if Thing[2] == "Blood" then
  1505. Mesh = Thing[7]
  1506. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1507. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1508. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1509. else
  1510. if Thing[2] == "Elec" then
  1511. Mesh = Thing[1].Mesh
  1512. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1513. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1514. else
  1515. if Thing[2] == "Disappear" then
  1516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517. else
  1518. if Thing[2] == "Shatter" then
  1519. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1520. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1521. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1522. Thing[6] = Thing[6] + Thing[5]
  1523. end
  1524. end
  1525. end
  1526. end
  1527. end
  1528. end
  1529. end
  1530. else
  1531. Part.Parent = nil
  1532. table.remove(Effects, e)
  1533. end
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
Add Comment
Please, Sign In to add comment