Advertisement
kirbymass72

Untitled

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