Advertisement
zombieslayerwtf

Silk Glove [Leaked]

Jun 21st, 2018
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 67.91 KB | None | 0 0
  1. local box = "Hi "..game.Players.LocalPlayer.Name..". [Injecting Memes...]"
  2. game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,box,Enum.ChatColor.Blue)
  3. wait()
  4. local box1 = "(Edited by IoIman616)"
  5. game:service'Chat':Chat(game.Players.LocalPlayer.Character.Head,box1,Enum.ChatColor.Red)
  6.  
  7.  
  8. local PCHAR = game.Players.LocalPlayer.Character
  9. if PCHAR:FindFirstChild('Humanoid') then PCHAR.Humanoid.JumpPower = 100 end
  10.  
  11. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  12. wait()
  13. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  14. local s = Instance.new("Sound")
  15.  
  16.  
  17. s.Name = "u got sp00ked"
  18. s.SoundId = "http://www.roblox.com/asset/?id=138213729"
  19. s.Volume = 1
  20. s.Pitch = 1
  21. s.Looped = true
  22. s.archivable = true
  23.  
  24.  
  25. s.Parent = game.Players.LocalPlayer.Character.Head
  26.  
  27.  
  28. wait(0.5)
  29.  
  30.  
  31. s:play()
  32.  
  33. local l = Instance.new("PointLight")
  34.  
  35.  
  36. l.Name = "sp000ky o3o"
  37. l.Color = Color3.new(10,0.1,0.1)
  38. l.Brightness = 30
  39.  
  40.  
  41. l.Parent = game.Players.LocalPlayer.Character.Torso
  42.  
  43. LEL = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  44. LEL.Visible = false
  45. Player=game:GetService("Players").LocalPlayer
  46. Character=Player.Character
  47. PlayerGui=Player.PlayerGui
  48. Backpack=Player.Backpack
  49. Torso=Character.Torso
  50. Head=Character.Head
  51. Humanoid=Character.Humanoid
  52. LeftArm=Character["Left Arm"]
  53. LeftLeg=Character["Left Leg"]
  54. RightArm=Character["Right Arm"]
  55. RightLeg=Character["Right Leg"]
  56. LS=Torso["Left Shoulder"]
  57. LH=Torso["Left Hip"]
  58. RS=Torso["Right Shoulder"]
  59. RH=Torso["Right Hip"]
  60. Face = Head.face
  61. Neck=Torso.Neck
  62. it=Instance.new
  63. attacktype=1
  64. vt=Vector3.new
  65. cf=CFrame.new
  66. euler=CFrame.fromEulerAnglesXYZ
  67. angles=CFrame.Angles
  68. cloaked=false
  69. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  70. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  71. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  72. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  73. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  74. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  75. RootPart=Character.HumanoidRootPart
  76. RootJoint=RootPart.RootJoint
  77. RootCF=euler(-1.57,0,3.14)
  78. attack = false
  79. attackdebounce = false
  80. deb=false
  81. equipped=true
  82. hand=false
  83. MMouse=nil
  84. combo=0
  85. mana=0
  86. trispeed=.2
  87. attackmode='none'
  88. local idle=0
  89. local Anim="Idle"
  90. local Effects={}
  91. local gun=false
  92. local shoot=false
  93. player=nil
  94. mana=0
  95. cam = workspace.CurrentCamera
  96. ZTarget = nil
  97. RocketTarget = nil
  98. local m = Instance.new("Model",Character)
  99. m.Name = "WeaponModel"
  100.  
  101. Humanoid.WalkSpeed = 30
  102.  
  103. mouse=Player:GetMouse()
  104. --save shoulders
  105. RSH, LSH=nil, nil
  106. --welds
  107. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  108. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  109. LH=Torso["Left Hip"]
  110. RH=Torso["Right Hip"]
  111. TorsoColor=Torso.BrickColor
  112. function NoOutline(Part)
  113. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  114. end
  115. player=Player
  116. ch=Character
  117. RSH=ch.Torso["Right Shoulder"]
  118. LSH=ch.Torso["Left Shoulder"]
  119. --
  120. RSH.Parent=nil
  121. LSH.Parent=nil
  122. --
  123. RW.Name="Right Shoulder"
  124. RW.Part0=ch.Torso
  125. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  126. RW.C1=cf(0, 0.5, 0)
  127. RW.Part1=ch["Right Arm"]
  128. RW.Parent=ch.Torso
  129. --
  130. LW.Name="Left Shoulder"
  131. LW.Part0=ch.Torso
  132. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  133. LW.C1=cf(0, 0.5, 0)
  134. LW.Part1=ch["Left Arm"]
  135. LW.Parent=ch.Torso
  136.  
  137. function swait(num)
  138. if num==0 or num==nil then
  139. game:service'RunService'.Heartbeat:wait(0)
  140. else
  141. for i=0,num do
  142. game:service'RunService'.Heartbeat:wait(0)
  143. end
  144. end
  145. end
  146.  
  147. function nooutline(part)
  148. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  149. end
  150.  
  151. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  152. local fp=it("Part")
  153. fp.formFactor=formfactor
  154. fp.Parent=parent
  155. fp.Reflectance=reflectance
  156. fp.Transparency=transparency
  157. fp.CanCollide=false
  158. fp.Locked=true
  159. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  160. fp.Name=name
  161. fp.Size=size
  162. fp.Position=Character.Torso.Position
  163. nooutline(fp)
  164. fp.Material=material
  165. fp:BreakJoints()
  166. return fp
  167. end
  168.  
  169. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  170. local mesh=it(Mesh)
  171. mesh.Parent=part
  172. if Mesh=="SpecialMesh" then
  173. mesh.MeshType=meshtype
  174. mesh.MeshId=meshid
  175. end
  176. mesh.Offset=offset
  177. mesh.Scale=scale
  178. return mesh
  179. end
  180.  
  181. function weld(parent,part0,part1,c0,c1)
  182. local weld=it("Weld")
  183. weld.Parent=parent
  184. weld.Part0=part0
  185. weld.Part1=part1
  186. weld.C0=c0
  187. weld.C1=c1
  188. return weld
  189. end
  190.  
  191.  
  192. local function CFrameFromTopBack(at, top, back)
  193. local right = top:Cross(back)
  194. return CFrame.new(at.x, at.y, at.z,
  195. right.x, top.x, back.x,
  196. right.y, top.y, back.y,
  197. right.z, top.z, back.z)
  198. end
  199.  
  200. function Triangle(a, b, c)
  201. local edg1 = (c-a):Dot((b-a).unit)
  202. local edg2 = (a-b):Dot((c-b).unit)
  203. local edg3 = (b-c):Dot((a-c).unit)
  204. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  205. a, b, c = a, b, c
  206. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  207. a, b, c = b, c, a
  208. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  209. a, b, c = c, a, b
  210. else
  211. assert(false, "unreachable")
  212. end
  213.  
  214. local len1 = (c-a):Dot((b-a).unit)
  215. local len2 = (b-a).magnitude - len1
  216. local width = (a + (b-a).unit*len1 - c).magnitude
  217.  
  218. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  219.  
  220. local list = {}
  221.  
  222. local TrailColor = ("Dark grey")
  223.  
  224. if len1 > 0.01 then
  225. local w1 = Instance.new('WedgePart', m)
  226. game:GetService("Debris"):AddItem(w1,5)
  227. w1.Material = "SmoothPlastic"
  228. w1.FormFactor = 'Custom'
  229. w1.BrickColor = BrickColor.new(TrailColor)
  230. w1.Transparency = 0
  231. w1.Reflectance = 0
  232. w1.Material = "SmoothPlastic"
  233. w1.CanCollide = false
  234. NoOutline(w1)
  235. local sz = Vector3.new(0.2, width, len1)
  236. w1.Size = sz
  237. local sp = Instance.new("SpecialMesh",w1)
  238. sp.MeshType = "Wedge"
  239. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  240. w1:BreakJoints()
  241. w1.Anchored = true
  242. w1.Parent = workspace
  243. w1.Transparency = 0.7
  244. table.insert(Effects,{w1,"Disappear",.01})
  245. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  246. table.insert(list,w1)
  247. end
  248.  
  249. if len2 > 0.01 then
  250. local w2 = Instance.new('WedgePart', m)
  251. game:GetService("Debris"):AddItem(w2,5)
  252. w2.Material = "SmoothPlastic"
  253. w2.FormFactor = 'Custom'
  254. w2.BrickColor = BrickColor.new(TrailColor)
  255. w2.Transparency = 0
  256. w2.Reflectance = 0
  257. w2.Material = "SmoothPlastic"
  258. w2.CanCollide = false
  259. NoOutline(w2)
  260. local sz = Vector3.new(0.2, width, len2)
  261. w2.Size = sz
  262. local sp = Instance.new("SpecialMesh",w2)
  263. sp.MeshType = "Wedge"
  264. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  265. w2:BreakJoints()
  266. w2.Anchored = true
  267. w2.Parent = workspace
  268. w2.Transparency = 0.7
  269. table.insert(Effects,{w2,"Disappear",.01})
  270. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  271. table.insert(list,w2)
  272. end
  273. return unpack(list)
  274. end
  275.  
  276.  
  277. so = function(id,par,vol,pit)
  278. coroutine.resume(coroutine.create(function()
  279. local sou = Instance.new("Sound",par or workspace)
  280. sou.Volume=vol
  281. sou.Pitch=pit or 1
  282. sou.SoundId=id
  283. swait()
  284. sou:play()
  285. game:GetService("Debris"):AddItem(sou,6)
  286. end))
  287. end
  288.  
  289. function clerp(a,b,t)
  290. local qa = {QuaternionFromCFrame(a)}
  291. local qb = {QuaternionFromCFrame(b)}
  292. local ax, ay, az = a.x, a.y, a.z
  293. local bx, by, bz = b.x, b.y, b.z
  294. local _t = 1-t
  295. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  296. end
  297.  
  298. function QuaternionFromCFrame(cf)
  299. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  300. local trace = m00 + m11 + m22
  301. if trace > 0 then
  302. local s = math.sqrt(1 + trace)
  303. local recip = 0.5/s
  304. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  305. else
  306. local i = 0
  307. if m11 > m00 then
  308. i = 1
  309. end
  310. if m22 > (i == 0 and m00 or m11) then
  311. i = 2
  312. end
  313. if i == 0 then
  314. local s = math.sqrt(m00-m11-m22+1)
  315. local recip = 0.5/s
  316. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  317. elseif i == 1 then
  318. local s = math.sqrt(m11-m22-m00+1)
  319. local recip = 0.5/s
  320. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  321. elseif i == 2 then
  322. local s = math.sqrt(m22-m00-m11+1)
  323. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  324. end
  325. end
  326. end
  327.  
  328. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  329. local xs, ys, zs = x + x, y + y, z + z
  330. local wx, wy, wz = w*xs, w*ys, w*zs
  331. local xx = x*xs
  332. local xy = x*ys
  333. local xz = x*zs
  334. local yy = y*ys
  335. local yz = y*zs
  336. local zz = z*zs
  337. 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))
  338. end
  339.  
  340. function QuaternionSlerp(a, b, t)
  341. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  342. local startInterp, finishInterp;
  343. if cosTheta >= 0.0001 then
  344. if (1 - cosTheta) > 0.0001 then
  345. local theta = math.acos(cosTheta)
  346. local invSinTheta = 1/math.sin(theta)
  347. startInterp = math.sin((1-t)*theta)*invSinTheta
  348. finishInterp = math.sin(t*theta)*invSinTheta
  349. else
  350. startInterp = 1-t
  351. finishInterp = t
  352. end
  353. else
  354. if (1+cosTheta) > 0.0001 then
  355. local theta = math.acos(-cosTheta)
  356. local invSinTheta = 1/math.sin(theta)
  357. startInterp = math.sin((t-1)*theta)*invSinTheta
  358. finishInterp = math.sin(t*theta)*invSinTheta
  359. else
  360. startInterp = t-1
  361. finishInterp = t
  362. end
  363. end
  364. 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
  365. end
  366.  
  367. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  368. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  369. end
  370.  
  371. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  372. if hit.Parent==nil then
  373. return
  374. end
  375. local h=hit.Parent:FindFirstChild("Humanoid")
  376. for _,v in pairs(hit.Parent:children()) do
  377. if v:IsA("Humanoid") then
  378. h=v
  379. end
  380. end
  381. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  382. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  383. end
  384. if hit.Parent.className=="Hat" then
  385. hit=hit.Parent.Parent:findFirstChild("Head")
  386. end
  387. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  388. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  389. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  390. return
  391. end]]
  392. -- hs(hit,1.2)
  393. local c=Instance.new("ObjectValue")
  394. c.Name="creator"
  395. c.Value=game:service("Players").LocalPlayer
  396. c.Parent=h
  397. game:GetService("Debris"):AddItem(c,.5)
  398. local Damage=math.random(minim,maxim)
  399. -- h:TakeDamage(Damage)
  400. local blocked=false
  401. local block=hit.Parent:findFirstChild("Block")
  402. if block~=nil then
  403. print(block.className)
  404. if block.className=="NumberValue" then
  405. if block.Value>0 then
  406. blocked=true
  407. if decreaseblock==nil then
  408. block.Value=block.Value-1
  409. end
  410. end
  411. end
  412. if block.className=="IntValue" then
  413. if block.Value>0 then
  414. blocked=true
  415. if decreaseblock~=nil then
  416. block.Value=block.Value-1
  417. end
  418. end
  419. end
  420. end
  421. if blocked==false then
  422. -- h:TakeDamage(Damage)
  423. h.Health=h.Health-Damage
  424. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  425. else
  426. h.Health=h.Health-(Damage/2)
  427. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really red").Color)
  428. end
  429. if Type=="Knockdown" then
  430. local hum=hit.Parent.Humanoid
  431. hum.PlatformStand=true
  432. coroutine.resume(coroutine.create(function(HHumanoid)
  433. swait(1)
  434. HHumanoid.PlatformStand=false
  435. end),hum)
  436. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  437. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  438. local bodvol=Instance.new("BodyVelocity")
  439. bodvol.velocity=angle*knockback
  440. bodvol.P=5000
  441. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  442. bodvol.Parent=hit
  443. local rl=Instance.new("BodyAngularVelocity")
  444. rl.P=3000
  445. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  446. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  447. rl.Parent=hit
  448. game:GetService("Debris"):AddItem(bodvol,.5)
  449. game:GetService("Debris"):AddItem(rl,.5)
  450. elseif Type=="Normal" then
  451. local vp=Instance.new("BodyVelocity")
  452. vp.P=500
  453. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  454. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  455. if KnockbackType==1 then
  456. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  457. elseif KnockbackType==2 then
  458. vp.velocity=Property.CFrame.lookVector*knockback
  459. end
  460. if knockback>0 then
  461. vp.Parent=hit.Parent.Torso
  462. end
  463. game:GetService("Debris"):AddItem(vp,.5)
  464. elseif Type=="Up" then
  465. local bodyVelocity=Instance.new("BodyVelocity")
  466. bodyVelocity.velocity=vt(0,60,0)
  467. bodyVelocity.P=5000
  468. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  469. bodyVelocity.Parent=hit
  470. game:GetService("Debris"):AddItem(bodyVelocity,1)
  471. local rl=Instance.new("BodyAngularVelocity")
  472. rl.P=3000
  473. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  474. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  475. rl.Parent=hit
  476. game:GetService("Debris"):AddItem(rl,.5)
  477. elseif Type=="Snare" then
  478. local bp=Instance.new("BodyPosition")
  479. bp.P=2000
  480. bp.D=100
  481. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  482. bp.position=hit.Parent.Torso.Position
  483. bp.Parent=hit.Parent.Torso
  484. game:GetService("Debris"):AddItem(bp,1)
  485. elseif Type=="Target" then
  486. local Targetting = false
  487. if Targetting==false then
  488. ZTarget=hit.Parent.Torso
  489. coroutine.resume(coroutine.create(function(Part)
  490. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  491. swait(5)
  492. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  493. end),ZTarget)
  494. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  495. local targetgui=Instance.new("BillboardGui")
  496. targetgui.Parent=ZTarget
  497. targetgui.Size=UDim2.new(10,100,10,100)
  498. local targ=Instance.new("ImageLabel")
  499. targ.Parent=targetgui
  500. targ.BackgroundTransparency=1
  501. targ.Image="rbxassetid://4834067"
  502. targ.Size=UDim2.new(1,0,1,0)
  503. cam.CameraType="Scriptable"
  504. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  505. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  506. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  507. Targetting=true
  508. RocketTarget=ZTarget
  509. for i=1,Property do
  510. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  511. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  512. swait()
  513. end
  514. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  515. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  516. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  517. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  518. end
  519. Targetting=false
  520. RocketTarget=nil
  521. targetgui.Parent=nil
  522. cam.CameraType="Custom"
  523. end
  524. end
  525. local debounce=Instance.new("BoolValue")
  526. debounce.Name="DebounceHit"
  527. debounce.Parent=hit.Parent
  528. debounce.Value=true
  529. game:GetService("Debris"):AddItem(debounce,Delay)
  530. c=Instance.new("ObjectValue")
  531. c.Name="creator"
  532. c.Value=Player
  533. c.Parent=h
  534. game:GetService("Debris"):AddItem(c,.5)
  535. end
  536. end
  537.  
  538. function ShowDamage(Pos, Text, Time, Color)
  539. local Rate = (1 / 30)
  540. local Pos = (Pos or Vector3.new(0, 0, 0))
  541. local Text = (Text or "")
  542. local Time = (Time or 2)
  543. local Color = (Color or Color3.new(1, 0, 0))
  544. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  545. EffectPart.Anchored = true
  546. local BillboardGui = Instance.new("BillboardGui")
  547. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  548. BillboardGui.Adornee = EffectPart
  549. local TextLabel = Instance.new("TextLabel")
  550. TextLabel.BackgroundTransparency = 1
  551. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  552. TextLabel.Text = Text
  553. TextLabel.TextColor3 = Color
  554. TextLabel.TextScaled = true
  555. TextLabel.Font = Enum.Font.ArialBold
  556. TextLabel.Parent = BillboardGui
  557. BillboardGui.Parent = EffectPart
  558. game.Debris:AddItem(EffectPart, (Time + 0.1))
  559. EffectPart.Parent = game:GetService("Workspace")
  560. Delay(0, function()
  561. local Frames = (Time / Rate)
  562. for Frame = 1, Frames do
  563. wait(Rate)
  564. local Percent = (Frame / Frames)
  565. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  566. TextLabel.TextTransparency = Percent
  567. end
  568. if EffectPart and EffectPart.Parent then
  569. EffectPart:Destroy()
  570. end
  571. end)
  572. end
  573.  
  574. --example: local con = HitboxB.Touched:connect(function(hit) Damagefunc(Hitbox,hit,Dmg,Dmg,math.random(Knockback,Knockback),"Normal",RootPart,.2,1) end)
  575.  
  576. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Gold","Handle",Vector3.new(1, 0.800000012, 1))
  577. 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))
  578. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Gold","Hitbox",Vector3.new(1.60000002, 3.4000001, 1))
  579. 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))
  580. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1, 0.200000003, 1))
  581. 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))
  582. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  583. 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))
  584. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  585. 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))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  587. 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))
  588. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  589. 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))
  590. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  591. 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))
  592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.800000012, 0.620000005))
  593. 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))
  594. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1.01999998, 0.800000012, 0.200000003))
  595. 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))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  597. 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))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  599. 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))
  600. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  601. 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))
  602. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1.01999998, 0.200000003, 0.200000003))
  603. 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))
  604. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 2, 1))
  605. 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))
  606. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1, 1.39999998, 0.200000003))
  607. 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))
  608. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  609. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1, 0.600000024, 0.200000003))
  610. 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))
  611. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  612. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  613. 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))
  614. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  615. 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))
  616. 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))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  618. 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))
  619. 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))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  621. 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))
  622. 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))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.200000003, 0.620000005))
  624. 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))
  625. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1, 0.200000003, 0.400000006))
  626. 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))
  627. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1, 0.200000003, 0.200000003))
  629. 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))
  630. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  631. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 1.39999998, 0.399999976))
  632. 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))
  633. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  634. 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))
  635. 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))
  636. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(1, 0.200000003, 0.400000006))
  637. 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))
  638. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  639. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Gold","Part",Vector3.new(0.200000003, 0.400000006, 1))
  640. 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))
  641. Finger1Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really red","Finger1Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  642. 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))
  643. Finger2Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really red","Finger2Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  644. 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))
  645. Finger3Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really red","Finger3Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  646. 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))
  647. Finger4Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really red","Finger4Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  648. 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))
  649. Finger5Connector=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,1,"Really red","Finger5Connector",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  650. 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))
  651. Finger1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Gold","Finger1",Vector3.new(0.200000003, 0.400000006, 0.200000003))
  652. 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))
  653. Finger2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Gold","Finger2",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  654. 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))
  655. Finger3=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Gold","Finger3",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  656. 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))
  657. Finger4=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Gold","Finger4",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  658. 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))
  659. Finger5=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0.5,0,"Gold","Finger5",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  660. 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))
  661.  
  662. function FuckYou()
  663. attack = true
  664. for i = 0,1,0.1 do
  665. swait()
  666. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  667. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  668. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-170)), 0.3)
  669. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  670. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  671. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  672. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  673. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  674. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  675. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  676. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  677. end
  678. for i = 0,1,0.01 do
  679. swait()
  680. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  681. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  682. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-130), math.rad(-150)), 0.3)
  683. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-20)), 0.3)
  684. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  685. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  686. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  687. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  688. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  689. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  690. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  691. end
  692. attack = false
  693. end
  694.  
  695. function attackone()
  696. attack = true
  697. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,999,999,math.random(999,999),"Normal",RootPart,.2,1) end)
  698. for i = 0,1,0.1 do
  699. swait()
  700. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  701. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  702. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  703. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  704. 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)
  705. 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)
  706. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  707. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  708. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  709. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  710. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  711. end
  712. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.9)
  713. for i = 0,1,0.1 do
  714. swait()
  715. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.4)
  716. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.4)
  717. 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)
  718. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  719. 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)
  720. 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)
  721. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  722. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(-20)),.3)
  723. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  724. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(-20)),.3)
  725. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-20),math.rad(0),math.rad(-20)),.3)
  726. end
  727. attack = false
  728. con:disconnect()
  729. end
  730.  
  731. function attacktwo()
  732. attack = true
  733. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,999,999,math.random(999,999),"Normal",RootPart,.2,1) end)
  734. for i = 0,1,0.1 do
  735. swait()
  736. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  737. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  738. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -.5) * angles(math.rad(0), math.rad(150), math.rad(90)), 0.3)
  739. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  740. 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)
  741. 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)
  742. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  743. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  744. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  745. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  746. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  747. end
  748. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  749. for i = 0,1,0.1 do
  750. swait()
  751. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(70)),.4)
  752. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  753. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  754. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  755. 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)
  756. 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)
  757. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  758. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  759. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  760. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  761. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  762. end
  763. attack = false
  764. con:disconnect()
  765. end
  766.  
  767. function attackthree()
  768. attack = true
  769. local con = Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,999,999,math.random(999,999),"Normal",RootPart,.2,1) end)
  770. for i = 0,1,0.1 do
  771. swait()
  772. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  773. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  774. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  775. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-20), math.rad(-90)), 0.3)
  776. 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)
  777. 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)
  778. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  779. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  780. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  781. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  782. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  783. end
  784. so("http://roblox.com/asset/?id=200632136",Hitbox,1,.8)
  785. for i = 0,1,0.1 do
  786. swait()
  787. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(90)),.4)
  788. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-80)),.4)
  789. 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)
  790. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  791. 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)
  792. 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)
  793. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  794. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  795. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  796. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  797. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  798. end
  799. attack = false
  800. con:disconnect()
  801. end
  802.  
  803. function weld5(part0, part1, c0, c1)
  804. local weeld=Instance.new("Weld", part0)
  805. weeld.Part0=part0
  806. weeld.Part1=part1
  807.  
  808. weeld.C0=c0
  809. weeld.C1=c1
  810. return weeld
  811. end
  812.  
  813. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  814. local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt())
  815. prt.Anchored=true
  816. prt.CFrame=cframe
  817. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  818. game:GetService("Debris"):AddItem(prt,2)
  819. coroutine.resume(coroutine.create(function(Part,Mesh)
  820. local wld=nil
  821. for i=0,1,delay do
  822. wait()
  823. Part.CFrame=Part.CFrame
  824. Part.Transparency=i
  825. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  826. end
  827. Part.Parent=nil
  828. end),prt,msh)
  829. end
  830.  
  831. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  832. local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  833. prt.Anchored=true
  834. prt.CFrame=cframe
  835. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  836. game:GetService("Debris"):AddItem(prt,5)
  837. coroutine.resume(coroutine.create(function(Part,Mesh)
  838. for i=0,1,delay do
  839. wait()
  840. Part.CFrame=Part.CFrame
  841. Part.Transparency=i
  842. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  843. end
  844. Part.Parent=nil
  845. end),prt,msh)
  846. end
  847.  
  848. local Grab = false
  849.  
  850. function MagniDamage(Hit,Part,magni,mindam,maxdam,knock,Type)
  851. for _,c in pairs(workspace:children()) do
  852. local hum=c:findFirstChild("Humanoid")
  853. if hum~=nil then
  854. local head=c:findFirstChild("Torso")
  855. if head~=nil then
  856. local targ=head.Position-Part.Position
  857. local mag=targ.magnitude
  858. if mag<=magni and c.Name~=Player.Name then
  859. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  860. end
  861. end
  862. end
  863. end
  864. end
  865.  
  866. function MagniDamage2(Hit,Part,magni,mindam,maxdam,knock,Type)
  867. for _,c in pairs(workspace:children()) do
  868. local hum=c:findFirstChild("Humanoid")
  869. if hum~=nil then
  870. local head=c:findFirstChild("Torso")
  871. if head~=nil then
  872. local targ=head.Position-Part.Position
  873. local mag=targ.magnitude
  874. if mag<=magni and c.Name~=Player.Name then
  875. Damagefunc(Hit,head,mindam,maxdam,knock,Type,RootPart,.2,1,3)
  876. for i,v in pairs (hum.Parent:GetChildren()) do
  877. if v:IsA("Humanoid") then
  878. v:remove()
  879. end
  880. if v:IsA("Part") then
  881. v.BrickColor = BrickColor.new("Gold")
  882. v.Reflectance = 0.5
  883. v.Material = "SmoothPlastic"
  884. v.CanCollide = true
  885. end
  886. end
  887. end
  888. end
  889. end
  890. end
  891. end
  892.  
  893.  
  894. function GrabNSlam()
  895. attack = true
  896. so("http://roblox.com/asset/?id=444667824",Hitbox,1,.9)
  897. if Grab == false then
  898. gp = nil
  899. con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  900. local ht = hit.Parent
  901. local hum1=ht:FindFirstChild('Humanoid')
  902. if hum1 ~= nil then
  903. hum1.PlatformStand=true
  904. gp = ht
  905. Grab = true
  906. local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  907. asd.Parent = RightArm
  908. asd.Name = "asd"
  909. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  910. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  911. for i,v in pairs (gp:GetChildren()) do
  912. if v:IsA("Part") then
  913. v.BrickColor = BrickColor.new("Gold")
  914. v.Reflectance = 0.5
  915. v.Material = "SmoothPlastic"
  916. end
  917. end
  918. elseif hum1 == nil then
  919. con1:disconnect()
  920. wait() return
  921. end
  922. end)
  923. end
  924. for i = 0,1,0.1 do
  925. swait()
  926. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(50)),.4)
  927. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  928. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  929. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  930. 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)
  931. 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)
  932. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  933. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  934. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  935. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  936. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  937. end
  938. if Grab == true then
  939. for i = 0,1,0.1 do
  940. swait()
  941. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-50)),.4)
  942. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  943. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.4)
  944. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  945. 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)
  946. 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)
  947. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  948. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  949. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  950. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  951. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  952. end
  953. so("http://roblox.com/asset/?id=200632875",Torso,1,.9)
  954. MagicCircle(BrickColor.new("Gold"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  955. MagicRing(BrickColor.new("Gold"),Hitbox.CFrame,5,5,5,6,6,6,0.05)
  956. MagniDamage(Hitbox,Hitbox,10,30,50,0,"Normal")
  957. for i = 0,1,0.1 do
  958. swait()
  959. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(50),math.rad(0),math.rad(70)),.4)
  960. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.5)
  961. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(20), math.rad(90)), 0.4)
  962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-70)), 0.3)
  963. 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)
  964. 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)
  965. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  966. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  967. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  968. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  969. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  970. end
  971. end
  972. con1:disconnect()
  973. for i,v in pairs(RightArm:GetChildren()) do
  974. if v.Name == "asd" and v:IsA("Weld") then
  975. v:Remove()
  976.  
  977. end
  978. end
  979. Grab = false
  980. attack = false
  981. end
  982.  
  983. function BlastEffect(brickcolor,cframe,x1,y1,z1,x2,y2,z2)
  984. local prt=part(3,workspace,"Neon",0.5,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  985. prt.Anchored=true
  986. prt.CFrame = cframe
  987. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  988. coroutine.resume(coroutine.create(function()
  989. for i=0,1,0.05 do
  990. wait()
  991. prt.Transparency=i
  992. msh.Scale=msh.Scale+vt(x2,y2,z2)
  993. end
  994. prt.Parent=nil
  995. end))
  996. end
  997.  
  998. function HammerFist()
  999. attack = true
  1000. Humanoid.WalkSpeed = 0
  1001. for i = 0,1,0.1 do
  1002. swait()
  1003. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1004. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1005. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(0), math.rad(0)), 0.3)
  1006. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1007. 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)
  1008. 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)
  1009. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1010. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1011. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1012. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1013. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1014. end
  1015. so("http://roblox.com/asset/?id=263610131",Torso,1,.9)
  1016. so("http://roblox.com/asset/?id=263610131",Torso,1,1)
  1017. so("http://roblox.com/asset/?id=263610111",Torso,1,1)
  1018. MagniDamage(Hitbox,Hitbox,0,0,0,0,"Knockdown")
  1019. local hit,pos=rayCast(Hitbox.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1020. if hit~=nil then
  1021. local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Really red"),"Effect",vt())
  1022. ref.Anchored=true
  1023. ref.CFrame=cf(pos)
  1024. game:GetService("Debris"):AddItem(ref,3)
  1025. for i=1,10 do
  1026. local Col=BrickColor.new("Gold")
  1027. local groundpart=part(3,workspace,"SmoothPlastic",0.5,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1028. groundpart.Anchored=true
  1029. groundpart.CanCollide=false
  1030. 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))
  1031. game:GetService("Debris"):AddItem(groundpart,5)
  1032. end
  1033. BlastEffect(BrickColor.new("Bright orange"),cf(pos),1,1,1,.7,.7,.7)
  1034. MagicCircle(BrickColor.new("Gold"),cf(pos),3,3,3,5,5,5,0.05)
  1035. MagniDamage(ref,ref,0,0,0,math.random(0,0),"Knockdown")
  1036. local e = Instance.new("Explosion")
  1037.  
  1038. e.BlastRadius = 25
  1039.  
  1040. e.BlastPressure = 1000
  1041.  
  1042. e.Parent = game.Workspace
  1043.  
  1044. e.Position = game.Players.LocalPlayer.Character.Torso.Position
  1045. end
  1046. for i = 0,1,0.1 do
  1047. swait()
  1048. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-1.5)* angles(math.rad(40),math.rad(0),math.rad(0)),.5)
  1049. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1050. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(0)), 0.5)
  1051. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.3)
  1052. 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)
  1053. 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)
  1054. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1055. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1056. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1057. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1058. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1059. end
  1060. attack = false
  1061. Humanoid.WalkSpeed = 30
  1062. end
  1063.  
  1064. function TurnIntoGold()
  1065. attack = true
  1066. so("http://roblox.com/asset/?id=200632211",Hitbox,1,.9)
  1067. if Grab == false then
  1068. gp = nil
  1069. con1=Hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  1070. local ht = hit.Parent
  1071. local hum1=ht:FindFirstChild('Humanoid')
  1072. if hum1 ~= nil then
  1073. hum1.PlatformStand=true
  1074. gp = ht
  1075. Grab = true
  1076. local asd=weld5(RightArm,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  1077. asd.Parent = RightArm
  1078. asd.Name = "asd"
  1079. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  1080. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  1081. --[[for i,v in pairs (gp:GetChildren()) do
  1082. if v:IsA("Part") then
  1083. v.BrickColor = BrickColor.new("Gold")
  1084. v.Reflectance = 0.5
  1085. v.Material = "SmoothPlastic"
  1086. end
  1087. end]]--
  1088. elseif hum1 == nil then
  1089. con1:disconnect()
  1090. wait() return
  1091. end
  1092. end)
  1093. end
  1094. for i = 0,1,0.1 do
  1095. swait()
  1096. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  1097. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.5)
  1098. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.4)
  1099. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1100. 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)
  1101. 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)
  1102. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1103. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1104. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1105. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1106. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1107. end
  1108. if Grab == true then
  1109. for i = 0,1,0.1 do
  1110. swait()
  1111. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1112. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  1113. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.4)
  1114. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1115. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1116. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1117. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1118. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1119. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1120. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1121. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1122. end
  1123. so("http://roblox.com/asset/?id=248572927",Torso,1,1)
  1124. MagniDamage2(Hitbox,Hitbox,5,30,50,0,"Normal")
  1125. MagicCircle(BrickColor.new("Gold"),RightArm.CFrame,3,3,3,5,5,5,0.05)
  1126. BlastEffect(BrickColor.new("Gold"),Torso.CFrame,1,1,1,.7,.7,.7)
  1127. for i = 0,1,0.1 do
  1128. swait()
  1129. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1130. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  1131. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.4)
  1132. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1133. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(10))*angles(math.rad(-2),math.rad(0),math.rad(0)),.4)
  1134. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(10))*angles(math.rad(-3),math.rad(0),math.rad(0)),.4)
  1135. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1136. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1137. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1138. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1139. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1140. end
  1141. end
  1142. con1:disconnect()
  1143. Grab = false
  1144. attack = false
  1145. for i,v in pairs(RightArm:GetChildren()) do
  1146. if v.Name == "asd" and v:IsA("Weld") then
  1147. v:Remove()
  1148.  
  1149. end
  1150. end
  1151. end
  1152.  
  1153. mouse.Button1Down:connect(function()
  1154. if attack == false and attacktype == 1 then
  1155. attacktype = 2
  1156. attackone()
  1157. elseif attack == false and attacktype == 2 then
  1158. attacktype = 3
  1159. attacktwo()
  1160. elseif attack == false and attacktype == 3 then
  1161. attacktype = 1
  1162. attackthree()
  1163. end
  1164. end)
  1165.  
  1166. mouse.KeyDown:connect(function(k)
  1167. k=k:lower()
  1168. if attack == false and k == 'q' then
  1169. GrabNSlam()
  1170. elseif attack == false and k == 'r' then
  1171. HammerFist()
  1172. elseif attack == false and k == 'e' then
  1173. TurnIntoGold()
  1174. elseif attack == false and k =='t' then
  1175. FuckYou()
  1176. elseif key == "g" and PCHAR.Parent == workspace.Camera and part == nil then
  1177. PCHAR.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),PCHAR.Torso.CFrame.p)
  1178. end
  1179. end)
  1180.  
  1181.  
  1182. local sine = 0
  1183. local change = 1
  1184. local val = 0
  1185. local donum = .5
  1186.  
  1187. while true do
  1188. swait()
  1189. sine = sine + change
  1190. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1191. local velderp=RootPart.Velocity.y
  1192. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1193. if equipped==true or equipped==false then
  1194. if attack==false then
  1195. idle=idle+1
  1196. else
  1197. idle=0
  1198. end
  1199. if idle>=500 then
  1200. if attack==false then
  1201. end
  1202. end
  1203. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1204. Anim="Jump"
  1205. if attack==false then
  1206. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1207. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1208. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(30)), 0.3)
  1209. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1210. 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)
  1211. 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)
  1212. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1213. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1214. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1215. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1216. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1217. end
  1218. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1219. Anim="Fall"
  1220. if attack==false then
  1221. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1222. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1223. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(60)), 0.3)
  1224. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-60)), 0.3)
  1225. 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)
  1226. 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)
  1227. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(30),math.rad(0),math.rad(-50)),.3)
  1228. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1229. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1230. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(-10),math.rad(0),math.rad(50)),.3)
  1231. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(50),math.rad(0),math.rad(-20)),.3)
  1232. end
  1233. elseif torvel<1 and hitfloor~=nil then
  1234. Anim="Idle"
  1235. if attack==false then
  1236. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(-30)),.3)
  1237. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1238. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(5)), 0.3)
  1239. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(-10)), 0.3)
  1240. 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)
  1241. 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)
  1242. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1243. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.07,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1244. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  1245. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-40)),.3)
  1246. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-50),math.rad(0),math.rad(0)),.3)
  1247. end
  1248. elseif torvel>2 and hitfloor~=nil then
  1249. Anim="Walk"
  1250. if attack==false then
  1251. change=3
  1252. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1253. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1254. 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)
  1255. 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)
  1256. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(5)),.3)
  1257. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-5)),.3)
  1258. Finger1weld.C0=clerp(Finger1weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1259. Finger2weld.C0=clerp(Finger2weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1260. Finger3weld.C0=clerp(Finger3weld.C0,cf(0,0.08,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1261. Finger4weld.C0=clerp(Finger4weld.C0,cf(0,0.09,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1262. Finger5weld.C0=clerp(Finger5weld.C0,cf(0,-0.1,0)*angles(math.rad(-80),math.rad(0),math.rad(0)),.3)
  1263. end
  1264. end
  1265. end
  1266. if #Effects>0 then
  1267. for e=1,#Effects do
  1268. if Effects[e]~=nil then
  1269. local Thing=Effects[e]
  1270. if Thing~=nil then
  1271. local Part=Thing[1]
  1272. local Mode=Thing[2]
  1273. local Delay=Thing[3]
  1274. local IncX=Thing[4]
  1275. local IncY=Thing[5]
  1276. local IncZ=Thing[6]
  1277. if Thing[1].Transparency<=1 then
  1278. if Thing[2]=="Block1" then
  1279. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1280. Mesh=Thing[1].Mesh
  1281. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1282. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1283. elseif Thing[2]=="Cylinder" then
  1284. Mesh=Thing[1].Mesh
  1285. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1286. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1287. elseif Thing[2]=="Blood" then
  1288. Mesh=Thing[7]
  1289. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1290. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1291. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1292. elseif Thing[2]=="Elec" then
  1293. Mesh=Thing[1].Mesh
  1294. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1295. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1296. elseif Thing[2]=="Disappear" then
  1297. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1298. end
  1299. else
  1300. Part.Parent=nil
  1301. table.remove(Effects,e)
  1302. end
  1303. end
  1304. end
  1305. end
  1306. end
  1307. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement