JRKPastesBins

Untitled

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