Advertisement
Finnegan5

something

Aug 5th, 2017
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.57 KB | None | 0 0
  1. p = game.Players.LocalPlayer
  2. char = p.Character
  3. torso = char.Torso
  4. neck = char.Torso.Neck
  5. hum = char.Humanoid
  6. hum.MaxHealth = 10000
  7. wait()
  8. hum.Health =hum.MaxHealth
  9.  
  10. CV="Hot pink"
  11.  
  12. local txt = Instance.new("BillboardGui", char)
  13. txt.Adornee = char .Head
  14. txt.Name = "_status"
  15. txt.Size = UDim2.new(2, 0, 1.2, 0)
  16. txt.StudsOffset = Vector3.new(-9, 8, 0)
  17. local text = Instance.new("TextLabel", txt)
  18. text.Size = UDim2.new(10, 0, 7, 0)
  19. text.FontSize = "Size24"
  20. text.TextScaled = true
  21. text.TextTransparency = 0
  22. text.BackgroundTransparency = 1
  23. text.TextTransparency = 0
  24. text.TextStrokeTransparency = 0
  25. text.Font = "SciFi"
  26. text.TextStrokeColor3 = Color3.new(0,0,0)
  27.  
  28. v=Instance.new("Part")
  29. v.Name = "ColorBrick"
  30. v.Parent=p.Character
  31. v.FormFactor="Symmetric"
  32. v.Anchored=true
  33. v.CanCollide=false
  34. v.BottomSurface="Smooth"
  35. v.TopSurface="Smooth"
  36. v.Size=Vector3.new(10,5,3)
  37. v.Transparency=1
  38. v.CFrame=char.Torso.CFrame
  39. v.BrickColor=BrickColor.new(CV)
  40. v.Transparency=1
  41. text.TextColor3 = BrickColor.new("Royal purple").Color
  42. v.Shape="Block"
  43. text.Text = "Astrie"
  44.  
  45.  
  46.  
  47. TorsoColor = BrickColor.new("Royal purple")
  48.  
  49. showDamage=function(Char,Dealt,du,Color)
  50. m=Instance.new("Model")
  51. m.Name=tostring(Dealt)
  52. h=Instance.new("Humanoid")
  53. h.Health=0
  54. h.MaxHealth=0
  55. h.Parent=m
  56. c=Instance.new("Part")
  57. c.Transparency=0
  58. c.BrickColor=TorsoColor
  59. c.Name="Head"
  60. c.TopSurface=0
  61. c.BottomSurface=0
  62. c.formFactor="Plate"
  63. c.Size=Vector3.new(1,.4,1)
  64. ms=Instance.new("CylinderMesh")
  65. ms.Scale=Vector3.new(.8,.8,.8)
  66. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  67. if CRIT==true then
  68. ms.Scale=Vector3.new(1,1.25,1)
  69. end
  70. ms.Parent=c
  71. c.Reflectance=0
  72. Instance.new("BodyGyro").Parent=c
  73. c.Parent=m
  74. if Char:findFirstChild("Head")~=nil then
  75. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  76. elseif Char.Parent:findFirstChild("Head")~=nil then
  77. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  78. end
  79. f=Instance.new("BodyPosition")
  80. f.P=2000
  81. f.D=100
  82. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  83. f.position=c.Position+Vector3.new(0,3,0)
  84. f.Parent=c
  85. game:GetService("Debris"):AddItem(m,.5+du)
  86. c.CanCollide=false
  87. m.Parent=workspace
  88. c.CanCollide=false
  89. end
  90.  
  91. Player=game:GetService('Players').LocalPlayer
  92. Character=Player.Character
  93. Mouse=Player:GetMouse()
  94. m=Instance.new('Model',Character)
  95.  
  96.  
  97. local function weldBetween(a, b)
  98. local weldd = Instance.new("ManualWeld")
  99. weldd.Part0 = a
  100. weldd.Part1 = b
  101. weldd.C0 = CFrame.new()
  102. weldd.C1 = b.CFrame:inverse() * a.CFrame
  103. weldd.Parent = a
  104. return weldd
  105. end
  106.  
  107. it=Instance.new
  108.  
  109. function nooutline(part)
  110. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  111. end
  112.  
  113. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  114. local fp=it("Part")
  115. fp.formFactor=formfactor
  116. fp.Parent=parent
  117. fp.Reflectance=reflectance
  118. fp.Transparency=transparency
  119. fp.CanCollide=false
  120. fp.Locked=true
  121. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  122. fp.Name=name
  123. fp.Size=size
  124. fp.Position=Character.Torso.Position
  125. nooutline(fp)
  126. fp.Material=material
  127. fp:BreakJoints()
  128. return fp
  129. end
  130.  
  131. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  132. local mesh=it(Mesh)
  133. mesh.Parent=part
  134. if Mesh=="SpecialMesh" then
  135. mesh.MeshType=meshtype
  136. mesh.MeshId=meshid
  137. end
  138. mesh.Offset=offset
  139. mesh.Scale=scale
  140. return mesh
  141. end
  142.  
  143. function weld(parent,part0,part1,c0,c1)
  144. local weld=it("Weld")
  145. weld.Parent=parent
  146. weld.Part0=part0
  147. weld.Part1=part1
  148. weld.C0=c0
  149. weld.C1=c1
  150. return weld
  151. end
  152.  
  153. local modelzorz=Instance.new("Model")
  154. modelzorz.Parent=Character
  155. modelzorz.Name="Claw1"
  156.  
  157. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  158. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  159. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  160. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  161. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  162. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  163. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  164. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  165. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  166. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  167. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  168. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  169. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  170. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  171. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  172. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  173. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  174. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  175. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  176. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  177. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  178. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  179. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  180. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  181. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  182. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  183. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  184. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  185. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  186. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  187. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  188. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  189. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  190. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  191. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  192. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  193. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  194. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  195. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  196. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  197. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  198. local moosick = it("Sound",Character)
  199. moosick.SoundId = "rbxassetid://613035749"
  200. --142653441, 175067863
  201. moosick.Looped = true
  202. moosick.Pitch = 0.9775
  203. moosick.Volume = 1.5
  204. moosick:Play()
  205.  
  206. Character=Player.Character
  207. PlayerGui=Player.PlayerGui
  208. Backpack=Player.Backpack
  209. Torso=Character.Torso
  210. Head=Character.Head
  211. Humanoid=Character.Humanoid
  212. LeftArm=Character["Left Arm"]
  213. LeftLeg=Character["Left Leg"]
  214. RightArm=Character["Right Arm"]
  215. RightLeg=Character["Right Leg"]
  216. LS=Torso["Left Shoulder"]
  217. LH=Torso["Left Hip"]
  218. RS=Torso["Right Shoulder"]
  219. RH=Torso["Right Hip"]
  220. Face = Head.face
  221. Neck=Torso.Neck
  222. it=Instance.new
  223. attacktype=1
  224. vt=Vector3.new
  225. cf=CFrame.new
  226. euler=CFrame.fromEulerAnglesXYZ
  227. angles=CFrame.Angles
  228. cloaked=false
  229. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  230. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  231. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  232. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  233. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  234. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  235. RootPart=Character.HumanoidRootPart
  236. RootJoint=RootPart.RootJoint
  237. RootCF=euler(-1.57,0,3.14)
  238. attack = false
  239. attackdebounce = false
  240. deb=false
  241. equipped=true
  242. hand=false
  243. MMouse=nil
  244. combo=0
  245. mana=0
  246. trispeed=.2
  247. attackmode='none'
  248. local idle=0
  249. local Anim="Idle"
  250. local Effects={}
  251. local gun=false
  252. local shoot=false
  253. player=nil
  254. mana=0
  255. cam = workspace.CurrentCamera
  256. ZTarget = nil
  257. RocketTarget = nil
  258. local m = Instance.new("Model",Character)
  259. m.Name = "WeaponModel"
  260.  
  261. mouse=Player:GetMouse()
  262. --save shoulders
  263. RSH, LSH=nil, nil
  264. --welds
  265. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  266. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  267. LH=Torso["Left Hip"]
  268. RH=Torso["Right Hip"]
  269. TorsoColor=Torso.BrickColor
  270. function NoOutline(Part)
  271. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  272. end
  273. player=Player
  274. ch=Character
  275. RSH=ch.Torso["Right Shoulder"]
  276. LSH=ch.Torso["Left Shoulder"]
  277. --
  278. RSH.Parent=nil
  279. LSH.Parent=nil
  280. --
  281. RW.Name="Right Shoulder"
  282. RW.Part0=ch.Torso
  283. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  284. RW.C1=cf(0, 0.5, 0)
  285. RW.Part1=ch["Right Arm"]
  286. RW.Parent=ch.Torso
  287. --
  288. LW.Name="Left Shoulder"
  289. LW.Part0=ch.Torso
  290. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  291. LW.C1=cf(0, 0.5, 0)
  292. LW.Part1=ch["Left Arm"]
  293. LW.Parent=ch.Torso
  294.  
  295. function swait(num)
  296. if num==0 or num==nil then
  297. game:service'RunService'.Heartbeat:wait(0)
  298. else
  299. for i=0,num do
  300. game:service'RunService'.Heartbeat:wait(0)
  301. end
  302. end
  303. end
  304.  
  305. function nooutline(part)
  306. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  307. end
  308.  
  309. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  310. local fp=it("Part")
  311. fp.formFactor=formfactor
  312. fp.Parent=parent
  313. fp.Reflectance=reflectance
  314. fp.Transparency=transparency
  315. fp.CanCollide=false
  316. fp.Locked=true
  317. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  318. fp.Name=name
  319. fp.Size=size
  320. fp.Position=Character.Torso.Position
  321. nooutline(fp)
  322. fp.Material=material
  323. fp:BreakJoints()
  324. return fp
  325. end
  326.  
  327. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  328. local mesh=it(Mesh)
  329. mesh.Parent=part
  330. if Mesh=="SpecialMesh" then
  331. mesh.MeshType=meshtype
  332. mesh.MeshId=meshid
  333. end
  334. mesh.Offset=offset
  335. mesh.Scale=scale
  336. return mesh
  337. end
  338.  
  339. function weld(parent,part0,part1,c0,c1)
  340. local weld=it("Weld")
  341. weld.Parent=parent
  342. weld.Part0=part0
  343. weld.Part1=part1
  344. weld.C0=c0
  345. weld.C1=c1
  346. return weld
  347. end
  348.  
  349.  
  350. local function CFrameFromTopBack(at, top, back)
  351. local right = top:Cross(back)
  352. return CFrame.new(at.x, at.y, at.z,
  353. right.x, top.x, back.x,
  354. right.y, top.y, back.y,
  355. right.z, top.z, back.z)
  356. end
  357.  
  358. function Triangle(a, b, c)
  359. local edg1 = (c-a):Dot((b-a).unit)
  360. local edg2 = (a-b):Dot((c-b).unit)
  361. local edg3 = (b-c):Dot((a-c).unit)
  362. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  363. a, b, c = a, b, c
  364. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  365. a, b, c = b, c, a
  366. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  367. a, b, c = c, a, b
  368. else
  369. assert(false, "unreachable")
  370. end
  371.  
  372. local len1 = (c-a):Dot((b-a).unit)
  373. local len2 = (b-a).magnitude - len1
  374. local width = (a + (b-a).unit*len1 - c).magnitude
  375.  
  376. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  377.  
  378. local list = {}
  379.  
  380. local TrailColor = ("Dark grey")
  381.  
  382. if len1 > 0.01 then
  383. local w1 = Instance.new('WedgePart', m)
  384. game:GetService("Debris"):AddItem(w1,5)
  385. w1.Material = "SmoothPlastic"
  386. w1.FormFactor = 'Custom'
  387. w1.BrickColor = BrickColor.new(TrailColor)
  388. w1.Transparency = 0
  389. w1.Reflectance = 0
  390. w1.Material = "SmoothPlastic"
  391. w1.CanCollide = false
  392. NoOutline(w1)
  393. local sz = Vector3.new(0.2, width, len1)
  394. w1.Size = sz
  395. local sp = Instance.new("SpecialMesh",w1)
  396. sp.MeshType = "Wedge"
  397. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  398. w1:BreakJoints()
  399. w1.Anchored = true
  400. w1.Parent = workspace
  401. w1.Transparency = 0.7
  402. table.insert(Effects,{w1,"Disappear",.01})
  403. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  404. table.insert(list,w1)
  405. end
  406.  
  407. if len2 > 0.01 then
  408. local w2 = Instance.new('WedgePart', m)
  409. game:GetService("Debris"):AddItem(w2,5)
  410. w2.Material = "SmoothPlastic"
  411. w2.FormFactor = 'Custom'
  412. w2.BrickColor = BrickColor.new(TrailColor)
  413. w2.Transparency = 0
  414. w2.Reflectance = 0
  415. w2.Material = "SmoothPlastic"
  416. w2.CanCollide = false
  417. NoOutline(w2)
  418. local sz = Vector3.new(0.2, width, len2)
  419. w2.Size = sz
  420. local sp = Instance.new("SpecialMesh",w2)
  421. sp.MeshType = "Wedge"
  422. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  423. w2:BreakJoints()
  424. w2.Anchored = true
  425. w2.Parent = workspace
  426. w2.Transparency = 0.7
  427. table.insert(Effects,{w2,"Disappear",.01})
  428. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  429. table.insert(list,w2)
  430. end
  431. return unpack(list)
  432. end
  433.  
  434.  
  435. so = function(id,par,vol,pit)
  436. coroutine.resume(coroutine.create(function()
  437. local sou = Instance.new("Sound",par or workspace)
  438. sou.Volume=vol
  439. sou.Pitch=pit or 1
  440. sou.SoundId=id
  441. swait()
  442. sou:play()
  443. game:GetService("Debris"):AddItem(sou,6)
  444. end))
  445. end
  446.  
  447. function clerp(a,b,t)
  448. local qa = {QuaternionFromCFrame(a)}
  449. local qb = {QuaternionFromCFrame(b)}
  450. local ax, ay, az = a.x, a.y, a.z
  451. local bx, by, bz = b.x, b.y, b.z
  452. local _t = 1-t
  453. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  454. end
  455.  
  456. function QuaternionFromCFrame(cf)
  457. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  458. local trace = m00 + m11 + m22
  459. if trace > 0 then
  460. local s = math.sqrt(1 + trace)
  461. local recip = 0.5/s
  462. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  463. else
  464. local i = 0
  465. if m11 > m00 then
  466. i = 1
  467. end
  468. if m22 > (i == 0 and m00 or m11) then
  469. i = 2
  470. end
  471. if i == 0 then
  472. local s = math.sqrt(m00-m11-m22+1)
  473. local recip = 0.5/s
  474. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  475. elseif i == 1 then
  476. local s = math.sqrt(m11-m22-m00+1)
  477. local recip = 0.5/s
  478. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  479. elseif i == 2 then
  480. local s = math.sqrt(m22-m00-m11+1)
  481. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  482. end
  483. end
  484. end
  485.  
  486. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  487. local xs, ys, zs = x + x, y + y, z + z
  488. local wx, wy, wz = w*xs, w*ys, w*zs
  489. local xx = x*xs
  490. local xy = x*ys
  491. local xz = x*zs
  492. local yy = y*ys
  493. local yz = y*zs
  494. local zz = z*zs
  495. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  496. end
  497.  
  498. function QuaternionSlerp(a, b, t)
  499. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  500. local startInterp, finishInterp;
  501. if cosTheta >= 0.0001 then
  502. if (1 - cosTheta) > 0.0001 then
  503. local theta = math.acos(cosTheta)
  504. local invSinTheta = 1/math.sin(theta)
  505. startInterp = math.sin((1-t)*theta)*invSinTheta
  506. finishInterp = math.sin(t*theta)*invSinTheta
  507. else
  508. startInterp = 1-t
  509. finishInterp = t
  510. end
  511. else
  512. if (1+cosTheta) > 0.0001 then
  513. local theta = math.acos(-cosTheta)
  514. local invSinTheta = 1/math.sin(theta)
  515. startInterp = math.sin((t-1)*theta)*invSinTheta
  516. finishInterp = math.sin(t*theta)*invSinTheta
  517. else
  518. startInterp = t-1
  519. finishInterp = t
  520. end
  521. end
  522. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  523. end
  524.  
  525. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  526. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  527. end
  528.  
  529. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  530. if hit.Parent==nil then
  531. return
  532. end
  533. local h=hit.Parent:FindFirstChild("Humanoid")
  534. for _,v in pairs(hit.Parent:children()) do
  535. if v:IsA("Humanoid") then
  536. h=v
  537. end
  538. end
  539. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  540. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  541. end
  542. if hit.Parent.className=="Hat" then
  543. hit=hit.Parent.Parent:findFirstChild("Head")
  544. end
  545. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  546. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  547. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  548. return
  549. end]]
  550. -- hs(hit,1.2)
  551. local c=Instance.new("ObjectValue")
  552. c.Name="creator"
  553. c.Value=game:service("Players").LocalPlayer
  554. c.Parent=h
  555. game:GetService("Debris"):AddItem(c,.5)
  556. local Damage=math.random(minim,maxim)
  557. -- h:TakeDamage(Damage)
  558. local blocked=false
  559. local block=hit.Parent:findFirstChild("Block")
  560. if block~=nil then
  561. print(block.className)
  562. if block.className=="NumberValue" then
  563. if block.Value>0 then
  564. blocked=true
  565. if decreaseblock==nil then
  566. block.Value=block.Value-1
  567. end
  568. end
  569. end
  570. if block.className=="IntValue" then
  571. if block.Value>0 then
  572. blocked=true
  573. if decreaseblock~=nil then
  574. block.Value=block.Value-1
  575. end
  576. end
  577. end
  578. end
  579. if blocked==false then
  580. -- h:TakeDamage(Damage)
  581. h.Health=h.Health-Damage
  582. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  583. else
  584. h.Health=h.Health-(Damage/2)
  585. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  586. end
  587. if Type=="Knockdown" then
  588. local hum=hit.Parent.Humanoid
  589. hum.PlatformStand=true
  590. coroutine.resume(coroutine.create(function(HHumanoid)
  591. swait(1)
  592. HHumanoid.PlatformStand=false
  593. end),hum)
  594. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  595. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  596. local bodvol=Instance.new("BodyVelocity")
  597. bodvol.velocity=angle*knockback
  598. bodvol.P=5000
  599. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  600. bodvol.Parent=hit
  601. local rl=Instance.new("BodyAngularVelocity")
  602. rl.P=3000
  603. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  604. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  605. rl.Parent=hit
  606. game:GetService("Debris"):AddItem(bodvol,.5)
  607. game:GetService("Debris"):AddItem(rl,.5)
  608. elseif Type=="Normal" then
  609. local vp=Instance.new("BodyVelocity")
  610. vp.P=500
  611. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  612. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  613. if KnockbackType==1 then
  614. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  615. elseif KnockbackType==2 then
  616. vp.velocity=Property.CFrame.lookVector*knockback
  617. end
  618. if knockback>0 then
  619. vp.Parent=hit.Parent.Torso
  620. end
  621. game:GetService("Debris"):AddItem(vp,.5)
  622. elseif Type=="Up" then
  623. local bodyVelocity=Instance.new("BodyVelocity")
  624. bodyVelocity.velocity=vt(0,60,0)
  625. bodyVelocity.P=5000
  626. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  627. bodyVelocity.Parent=hit
  628. game:GetService("Debris"):AddItem(bodyVelocity,1)
  629. local rl=Instance.new("BodyAngularVelocity")
  630. rl.P=3000
  631. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  632. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  633. rl.Parent=hit
  634. game:GetService("Debris"):AddItem(rl,.5)
  635. elseif Type=="Snare" then
  636. local bp=Instance.new("BodyPosition")
  637. bp.P=2000
  638. bp.D=100
  639. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  640. bp.position=hit.Parent.Torso.Position
  641. bp.Parent=hit.Parent.Torso
  642. game:GetService("Debris"):AddItem(bp,1)
  643. elseif Type=="Target" then
  644. local Targetting = false
  645. if Targetting==false then
  646. ZTarget=hit.Parent.Torso
  647. coroutine.resume(coroutine.create(function(Part)
  648. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  649. swait(5)
  650. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  651. end),ZTarget)
  652. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  653. local targetgui=Instance.new("BillboardGui")
  654. targetgui.Parent=ZTarget
  655. targetgui.Size=UDim2.new(10,100,10,100)
  656. local targ=Instance.new("ImageLabel")
  657. targ.Parent=targetgui
  658. targ.BackgroundTransparency=1
  659. targ.Image="rbxassetid://4834067"
  660. targ.Size=UDim2.new(1,0,1,0)
  661. cam.CameraType="Scriptable"
  662. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  663. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  664. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  665. Targetting=true
  666. RocketTarget=ZTarget
  667. for i=1,Property do
  668. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  669. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  670. swait()
  671. end
  672. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  673. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  674. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  675. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  676. end
  677. Targetting=false
  678. RocketTarget=nil
  679. targetgui.Parent=nil
  680. cam.CameraType="Custom"
  681. end
  682. end
  683. local debounce=Instance.new("BoolValue")
  684. debounce.Name="DebounceHit"
  685. debounce.Parent=hit.Parent
  686. debounce.Value=true
  687. game:GetService("Debris"):AddItem(debounce,Delay)
  688. c=Instance.new("ObjectValue")
  689. c.Name="creator"
  690. c.Value=Player
  691. c.Parent=h
  692. game:GetService("Debris"):AddItem(c,.5)
  693. end
  694. end
  695.  
  696. function ShowDamage(Pos, Text, Time, Color)
  697. local Rate = (1 / 30)
  698. local Pos = (Pos or Vector3.new(0, 0, 0))
  699. local Text = (Text or "")
  700. local Time = (Time or 2)
  701. local Color = (Color or Color3.new(1, 0, 0))
  702. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  703. EffectPart.Anchored = true
  704. local BillboardGui = Instance.new("BillboardGui")
  705. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  706. BillboardGui.Adornee = EffectPart
  707. local TextLabel = Instance.new("TextLabel")
  708. TextLabel.BackgroundTransparency = 1
  709. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  710. TextLabel.Text = Text
  711. TextLabel.TextColor3 = Color
  712. TextLabel.TextScaled = true
  713. TextLabel.Font = Enum.Font.ArialBold
  714. TextLabel.Parent = BillboardGui
  715. BillboardGui.Parent = EffectPart
  716. game.Debris:AddItem(EffectPart, (Time + 0.1))
  717. EffectPart.Parent = game:GetService("Workspace")
  718. Delay(0, function()
  719. local Frames = (Time / Rate)
  720. for Frame = 1, Frames do
  721. wait(Rate)
  722. local Percent = (Frame / Frames)
  723. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  724. TextLabel.TextTransparency = Percent
  725. end
  726. if EffectPart and EffectPart.Parent then
  727. EffectPart:Destroy()
  728. end
  729. end)
  730. end
  731.  
  732. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  733.  
  734. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Handle",Vector3.new(1, 0.800000012, 1))
  735. Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-8.96453857e-005, 0.000481128693, -1.83582306e-005, 1, 1.92410751e-014, -4.42007258e-005, -1.93349195e-014, 0.999999881, -2.12312026e-012, 4.42007258e-005, 2.12312091e-012, 1))
  736. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  737. Hitboxweld=weld(m,Handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300050735, 0.100232601, 3.57627869e-007, 1, 1.06558363e-014, -4.67116479e-009, -1.06558363e-014, 1, -7.35089073e-017, 4.67116479e-009, 7.35089073e-017, 1))
  738. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1, 0.200000003, 1))
  739. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(8.20159912e-005, 1.10002291, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254525e-014, 0.999996662, -2.14035647e-012, -4.41999473e-005, 2.14036427e-012, 1))
  740. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  741. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699694633, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  742. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  743. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, -0.699361324, -0.40998435, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  744. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  745. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.000346660614, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  747. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409914017, 0.700180769, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  748. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  749. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000400543213, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  750. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  751. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, 0.000326633453, 1.57356262e-005, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  752. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  753. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.000392436981, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  754. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  755. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700207949, 0.410015702, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  756. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  757. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410078049, -0.699380398, 1.56164169e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  759. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.4100914, 0.700154781, 1.57356262e-005, 1, -1.93349195e-014, 4.42007258e-005, 1.92409124e-014, 0.999991417, 2.12310291e-012, -4.42007258e-005, -2.12312026e-012, 1))
  760. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  761. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.82012939e-005, 0.700230837, -0.40998435, 1, -1.57821432e-014, 4.42007258e-005, 1.56883004e-014, 1, 2.12312091e-012, -4.42007258e-005, -2.12312026e-012, 1))
  762. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 2, 1))
  763. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699924469, 4.14848328e-005, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1, 1.39999998, 0.200000003))
  765. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.57356262e-005, -0.299851894, 0.999885559, -4.41999473e-005, -5.95854743e-008, 1, -2.60350986e-012, 1, 5.95854743e-008, -1, 3.01648321e-014, -4.41999473e-005))
  766. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1, 0.600000024, 0.200000003))
  768. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.57356262e-005, -0.700007677, 0.999902725, 4.41999473e-005, -2.13950775e-012, -1, -2.65373322e-014, -1, 2.13950667e-012, -1, 2.64427677e-014, -4.41999473e-005))
  769. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  771. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.848457336, -0.300411701, -0.141453743, 0.707042813, -1.50516166e-012, -0.707170904, 1.1783393e-014, 1, -2.11664583e-012, 0.707170904, 1.48822632e-012, 0.707042813))
  772. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  773. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  774. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  775. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  776. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  777. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.560000002))
  778. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  779. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.699882507, 0.500019133, -0.399654627, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  780. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.404000014, 0.400000006, 0.995999992))
  781. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  782. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409921646, -0.699380398, 1.57356262e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  783. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1, 0.200000003, 0.400000006))
  784. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.56164169e-005, -1.10002637, 0.699918747, 4.41999473e-005, -2.14036427e-012, -1, -1.23254932e-014, -1, 2.14036362e-012, -1, 1.22308889e-014, -4.41999473e-005))
  785. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  786. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1, 0.200000003, 0.200000003))
  787. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.599924088, 1.49999762, 4.41999473e-005, -2.14036427e-012, -1, 1, -1.22308889e-014, 4.41999473e-005, -1.23254932e-014, -1, 2.14036362e-012))
  788. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  789. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  790. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.141283035, -0.300261259, -0.848459244, 0.707067847, -1.51049073e-012, -0.70714587, 1.20093924e-014, 1, -2.12403055e-012, 0.70714587, 1.49334115e-012, 0.707067847))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  792. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.6998806, -0.499980569, 1.00034523, 0.999999881, 3.17161053e-008, 4.20847573e-005, -4.21145523e-005, -2.83570323e-009, 0.999999762, 3.17162403e-008, -0.999999762, -2.83438673e-009))
  793. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(0.403999984, 0.399999976, 0.560000002))
  794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(1, 0.200000003, 0.400000006))
  795. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.16960907e-005, -0.79992485, 1.19999647, 4.41999473e-005, -2.14036427e-012, -1, 0.999999821, 2.980231e-008, 4.419994e-005, 2.980231e-008, -0.999999821, 3.45762416e-012))
  796. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Part",Vector3.new(0.200000003, 0.400000006, 1))
  798. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.599924088, -1.19995832, 2.16960907e-005, 1, -1.22308889e-014, 4.41999473e-005, 1.23254932e-014, 1, -2.14036362e-012, -4.41999473e-005, 2.14036427e-012, 1))
  799. Finger1Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  800. Finger1Connectorweld=weld(m,Handle,Finger1Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.399971008, 1.29990399, 0.200015664, 1, 1.78782017e-007, 4.41999473e-005, -1.7878321e-007, 0.999993324, -1.00110302e-011, -4.41999473e-005, 2.10883698e-012, 1))
  801. Finger2Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  802. Finger2Connectorweld=weld(m,Handle,Finger2Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29982674, 0.400015712, 1, 2.97982776e-008, 4.41999473e-005, -2.97984766e-008, 0.999993324, -3.43642345e-012, -4.41999473e-005, 2.11934723e-012, 1))
  803. Finger3Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  804. Finger3Connectorweld=weld(m,Handle,Finger3Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399934769, 1.29971194, 0.140015721, 1, 8.93768473e-008, 4.421228e-005, -8.93774441e-008, 0.999993324, -1.82566007e-012, -4.421228e-005, -2.12587717e-012, 1))
  805. Finger4Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  806. Finger4Connectorweld=weld(m,Handle,Finger4Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399930954, 1.29973722, -0.119984269, 1, 8.93806842e-008, 4.421228e-005, -8.9381281e-008, 0.999993324, -1.82601091e-012, -4.421228e-005, -2.12569589e-012, 1))
  807. Finger5Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Royal purple","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  808. Finger5Connectorweld=weld(m,Handle,Finger5Connector,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399984121, -1.29981911, -0.399932861, -4.41701486e-005, 5.95858012e-008, 1, 4.58027785e-008, -0.999993324, 5.95882241e-008, 1, 4.58051019e-008, 4.41701486e-005))
  809. Finger1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  810. Finger1weld=weld(m,Finger1Connector,Finger1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, 0.100007057, 0, 1, 2.06483719e-011, -5.55111512e-017, -2.54232191e-011, 0.999986649, 4.50594423e-016, 5.55111512e-017, -4.49727061e-016, 1))
  811. Finger2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  812. Finger2weld=weld(m,Finger2Connector,Finger2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199999213, 1.1920929e-007, 1, 8.77520279e-013, 0, -1.67332814e-012, 0.999986649, 1.50920942e-016, 0, -1.50053581e-016, 1))
  813. Finger3=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  814. Finger3weld=weld(m,Finger3Connector,Finger3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.200001121, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23739232e-016, 4.35207426e-013, 2.38535383e-016, 1))
  815. Finger4=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  816. Finger4weld=weld(m,Finger4Connector,Finger4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.81469727e-006, 0.199998736, 1.1920929e-007, 1, 2.64321898e-012, -4.35207426e-013, -5.03064257e-012, 0.999986649, -1.23732138e-016, 4.35207426e-013, 2.38539513e-016, 1))
  817. Finger5=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Royal purple","Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  818. Finger5weld=weld(m,Finger5Connector,Finger5,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.38418579e-007, -0.199927688, 9.53674316e-006, 1, -3.86535248e-012, -7.77482967e-010, 5.45696821e-012, 0.999986649, -1.35540613e-012, 7.77477638e-010, 2.57749442e-012, 1))
  819.  
  820. function FuckYou()
  821. attack = true
  822. for i = 0,1,0.1 do
  823. swait()
  824. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  825. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  826. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
  827. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  828. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  829. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  830. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  831. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  832. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  833. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  834. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  835. end
  836. for i = 0,1,0.01 do
  837. swait()
  838. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  839. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  840. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
  841. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  842. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  843. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  844. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  845. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  846. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  847. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  848. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  849. end
  850. attack = false
  851. end
  852.  
  853. function attackone()
  854. attack = true
  855. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  856. for i = 0,1,0.1 do
  857. swait()
  858. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  859. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  860. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  861. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  862. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  863. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  864. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  865. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  866. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  867. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  868. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  869. end
  870. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
  871. for i = 0,1,0.1 do
  872. swait()
  873. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.4)
  874. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.4)
  875. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.5) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.4)
  876. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  877. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  878. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  879. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  880. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
  881. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  882. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  883. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
  884. end
  885. attack = false
  886. con:disconnect()
  887. end
  888.  
  889. function attacktwo()
  890. attack = true
  891. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  892. for i = 0,1,0.1 do
  893. swait()
  894. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  895. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  896. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  897. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  898. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  899. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  900. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  901. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  902. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  903. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  904. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  905. end
  906. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  907. for i = 0,1,0.1 do
  908. swait()
  909. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.4)
  910. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  911. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  912. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  913. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  914. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  915. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  916. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  917. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  918. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  919. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  920. end
  921. attack = false
  922. con:disconnect()
  923. end
  924.  
  925. function attackthree()
  926. attack = true
  927. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,20,30,math.random(10,20),"Normal",RootPart,.2,1) end)
  928. for i = 0,1,0.1 do
  929. swait()
  930. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  931. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  932. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  933. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  934. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(-10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  936. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  937. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  938. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  939. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  940. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  941. end
  942. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.8)
  943. for i = 0,1,0.1 do
  944. swait()
  945. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(90)),.4)
  946. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.4)
  947. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-40*i)), 0.4)
  948. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  949. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  950. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  951. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  952. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  953. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  954. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  955. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  956. end
  957. attack = false
  958. con:disconnect()
  959. end
  960.  
  961. function weld5(part0, part1, c0, c1)
  962. local weeld=Instance.new("Weld", part0)
  963. weeld.Part0=part0
  964. weeld.Part1=part1
  965.  
  966. weeld.C0=c0
  967. weeld.C1=c1
  968. return weeld
  969. end
  970.  
  971. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  972. local prt=part(3,workspace,"SmoothPlastic",0.5,0,brickcolor,"Effect",vt())
  973. prt.Anchored=true
  974. prt.CFrame=cframe
  975. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  976. game:GetService("Debris"):AddItem(prt,2)
  977. coroutine.resume(coroutine.create(function(Part,Mesh)
  978. local wld=nil
  979. for i=0,1,delay do
  980. wait()
  981. Part.CFrame=Part.CFrame
  982. Part.Transparency=i
  983. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  984. end
  985. Part.Parent=nil
  986. end),prt,msh)
  987. end
  988.  
  989. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  990. local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  991. prt.Anchored=true
  992. prt.CFrame=cframe
  993. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  994. game:GetService("Debris"):AddItem(prt,5)
  995. coroutine.resume(coroutine.create(function(Part,Mesh)
  996. for i=0,1,delay do
  997. wait()
  998. Part.CFrame=Part.CFrame
  999. Part.Transparency=i
  1000. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1001. end
  1002. Part.Parent=nil
  1003. end),prt,msh)
  1004. end
  1005.  
  1006. local Grab = false
  1007.  
  1008. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  1009. for _,c in pairs(workspace:children()) do
  1010. local hum=c:findFirstChild("Humanoid")
  1011. if hum~=nil then
  1012. local head=c:findFirstChild("Torso")
  1013. if head~=nil then
  1014. local targ=head.Position-Part.Position
  1015. local mag=targ.magnitude
  1016. if mag<=magni and c.Name~=Player.Name then
  1017. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  1018. end
  1019. end
  1020. end
  1021. end
  1022. end
  1023.  
  1024.  
  1025. function GrabNSlam()
  1026. attack = true
  1027. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  1028. if Grab == false then
  1029. gp = nil
  1030. con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  1031. local ht = hit.Parent
  1032. local hum1=ht:FindFirstChild('Humanoid')
  1033. if hum1 ~= nil then
  1034. hum1.PlatformStand=true
  1035. gp = ht
  1036. Grab = true
  1037. local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  1038. asd.Parent = RightArm
  1039. asd.Name = "asd"
  1040. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  1041. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  1042. for i,v in pairs (gp:GetChildren()) do
  1043. if v:IsA("Part") then
  1044. v.BrickColor = BrickColor.new("Royal purple")
  1045. v.Reflectance = 0.5
  1046. v.Material = "Neon"
  1047. end
  1048. end
  1049. elseif hum1 == nil then
  1050. con1:disconnect()
  1051. wait() return
  1052. end
  1053. end)
  1054. end
  1055. for i = 0,1,0.1 do
  1056. swait()
  1057. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.4)
  1058. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  1059. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  1060. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1061. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1062. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1063. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1064. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1065. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1066. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1067. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1068. end
  1069. if Grab == true then
  1070. for i = 0,1,0.1 do
  1071. swait()
  1072. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.4)
  1073. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  1074. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  1075. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1076. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1077. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1078. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1079. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1080. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1081. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1082. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1083. end
  1084. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  1085. MagicCircle(BrickColor.new("Royal purple"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  1086. MagicRing(BrickColor.new("Royal purple"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  1087. MagniDamage(Hitbox,Hitbox,10,30,50,0,"Normal")
  1088. for i = 0,1,0.1 do
  1089. swait()
  1090. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(70)),.4)
  1091. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  1092. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  1093. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-70)), 0.3)
  1094. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(10))*angles(math.rad(-5),math.rad(0),math.rad(0)),.4)
  1095. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(10))*angles(math.rad(-10),math.rad(0),math.rad(0)),.4)
  1096. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1097. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1098. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1099. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1100. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1101. end
  1102. end
  1103. con1:disconnect()
  1104. for i,v in pairs(RightArm:GetChildren()) do
  1105. if v.Name == "asd" and v:IsA("Weld") then
  1106. v:Remove()
  1107.  
  1108. end
  1109. end
  1110. Grab = false
  1111. attack = false
  1112. end
  1113.  
  1114. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  1115. local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1116. prt.Anchored=true
  1117. prt.CFrame = cframe
  1118. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1119. coroutine.resume(coroutine.create(function()
  1120. for i=0,1,0.05 do
  1121. wait()
  1122. prt.Transparency=i
  1123. msh.Scale=msh.Scale+vt(x2,y2,z2)
  1124. end
  1125. prt.Parent=nil
  1126. end))
  1127. end
  1128.  
  1129. function HammerFist()
  1130. attack = true
  1131. Humanoid.WalkSpeed = 0
  1132. for i = 0,1,0.1 do
  1133. swait()
  1134. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1135. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1136. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  1137. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1138. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(-5))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1139. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1140. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1141. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1142. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1143. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1144. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1145. end
  1146. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  1147. so("http://roblox.com/asset/?id=263610131",Torso,1,1)
  1148. so("http://roblox.com/asset/?id=263610111",Torso,1,1)
  1149. MagniDamage(Hitbox,Hitbox,20,20,30,0,"Knockdown")
  1150. local hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1151. if hit~=nil then
  1152. local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Black"),"Effect",vt())
  1153. ref.Anchored=true
  1154. ref.CFrame=cf(pos)
  1155. game:GetService("Debris"):AddItem(ref,3)
  1156. for i=1,10 do
  1157. local Col=BrickColor.new("Royal purple")
  1158. local groundpart=part(3,workspace,"Neon",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1159. groundpart.Anchored=true
  1160. groundpart.CanCollide=false
  1161. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1162. game:GetService("Debris"):AddItem(groundpart,5)
  1163. end
  1164. BlastEffect(BrickColor.new("Royal purple"),cf(pos),1,1,1,.7,.7,.7)
  1165. MagicCircle(BrickColor.new("Royal purple"),cf(pos),3,3,3,5,5,5,0.05)
  1166. MagniDamage(ref,ref,10,10,20,math.random(10,20),"Knockdown")
  1167. end
  1168. for i = 0,1,0.1 do
  1169. swait()
  1170. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(40),math.rad(0),math.rad(0)),.5)
  1171. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1172. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
  1173. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
  1174. RH.C0=clerp(RH.C0,cf(1,.5,-.2)*angles(math.rad(0),math.rad(90),math.rad(30))*angles(math.rad(2),math.rad(0),math.rad(0)),.3)
  1175. LH.C0=clerp(LH.C0,cf(-1,-.5,-.5)*angles(math.rad(0),math.rad(-80),math.rad(40))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1176. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1177. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1178. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1179. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1180. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1181. end
  1182. attack = false
  1183. Humanoid.WalkSpeed = 16
  1184. end
  1185.  
  1186.  
  1187. mouse.Button1Down:connect(function()
  1188. if attack == false and attacktype == 1 then
  1189. attacktype = 2
  1190. attackone()
  1191. elseif attack == false and attacktype == 2 then
  1192. attacktype = 3
  1193. attacktwo()
  1194. elseif attack == false and attacktype == 3 then
  1195. attacktype = 1
  1196. attackthree()
  1197. end
  1198. end)
  1199.  
  1200. mouse.KeyDown:connect(function(k)
  1201. k=k:lower()
  1202. if attack == false and k == 'q' then
  1203. GrabNSlam()
  1204. elseif attack == false and k == 'e' then
  1205. HammerFist()
  1206. end
  1207. end)
  1208.  
  1209.  
  1210. local sine = 0
  1211. local change = 1
  1212. local val = 0
  1213. local donum = .5
  1214.  
  1215. while true do
  1216. swait()
  1217. sine = sine + change
  1218. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1219. local velderp=RootPart.Velocity.y
  1220. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1221. if equipped==true or equipped==false then
  1222. if attack==false then
  1223. idle=idle+1
  1224. else
  1225. idle=0
  1226. end
  1227. if idle>=500 then
  1228. if attack==false then
  1229. end
  1230. end
  1231. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1232. Anim="Jump"
  1233. if attack==false then
  1234. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1235. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1236. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1237. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1238. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1239. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1240. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1241. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1242. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1243. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1244. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1245. end
  1246. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1247. Anim="Fall"
  1248. if attack==false then
  1249. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1250. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1251. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(60)), 0.3)
  1252. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-60)), 0.3)
  1253. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1254. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1255. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1256. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1257. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1258. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1259. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1260. end
  1261. elseif torvel<1 and hitfloor~=nil then
  1262. Anim="Idle"
  1263. if attack==false then
  1264. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1265. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1266. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
  1267. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)), 0.3)
  1268. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1269. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(-5))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1270. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1271. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1272. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1273. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1274. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  1275. end
  1276. elseif torvel>2 and hitfloor~=nil then
  1277. Anim="Walk"
  1278. if attack==false then
  1279. change=3
  1280. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1281. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1282. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10)*math.cos(sine/13), math.rad(0), math.rad(10)), 0.3)
  1283. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10)*math.cos(sine/13), math.rad(0), math.rad(-10)), 0.3)
  1284. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5)),.3)
  1285. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-5)),.3)
  1286. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1287. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1288. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1289. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1290. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1291. end
  1292. end
  1293. end
  1294. if #Effects>0 then
  1295. for e=1,#Effects do
  1296. if Effects[e]~=nil then
  1297. local Thing=Effects[e]
  1298. if Thing~=nil then
  1299. local Part=Thing[1]
  1300. local Mode=Thing[2]
  1301. local Delay=Thing[3]
  1302. local IncX=Thing[4]
  1303. local IncY=Thing[5]
  1304. local IncZ=Thing[6]
  1305. if Thing[1].Transparency<=1 then
  1306. if Thing[2]=="Block1" then
  1307. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1308. Mesh=Thing[1].Mesh
  1309. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1310. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1311. elseif Thing[2]=="Cylinder" then
  1312. Mesh=Thing[1].Mesh
  1313. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1314. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1315. elseif Thing[2]=="Blood" then
  1316. Mesh=Thing[7]
  1317. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1318. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1319. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1320. elseif Thing[2]=="Elec" then
  1321. Mesh=Thing[1].Mesh
  1322. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1323. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1324. elseif Thing[2]=="Disappear" then
  1325. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1326. end
  1327. else
  1328. Part.Parent=nil
  1329. table.remove(Effects,e)
  1330. end
  1331. end
  1332. end
  1333. end
  1334. end
  1335. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement