memberhero

Untitled

Jul 28th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 64.07 KB | None | 0 0
  1. Player=game:GetService("Players").LocalPlayer
  2. Character=Player.Character
  3. PlayerGui=Player.PlayerGui
  4. Backpack=Player.Backpack
  5. Torso=Character.Torso
  6. Head=Character.Head
  7. Humanoid=Character.Humanoid
  8. m=Instance.new('Model',Character)
  9. LeftArm=Character["Left Arm"]
  10. LeftLeg=Character["Left Leg"]
  11. RightArm=Character["Right Arm"]
  12. RightLeg=Character["Right Leg"]
  13. LS=Torso["Left Shoulder"]
  14. LH=Torso["Left Hip"]
  15. RS=Torso["Right Shoulder"]
  16. RH=Torso["Right Hip"]
  17. Face = Head.face
  18. Neck=Torso.Neck
  19. it=Instance.new
  20. attacktype=1
  21. vt=Vector3.new
  22. cf=CFrame.new
  23. euler=CFrame.fromEulerAnglesXYZ
  24. angles=CFrame.Angles
  25. cloaked=false
  26. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  27. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  28. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  29. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  30. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  31. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  32. RootPart=Character.HumanoidRootPart
  33. RootJoint=RootPart.RootJoint
  34. RootCF=euler(-1.57,0,3.14)
  35. attack = false
  36. attackdebounce = false
  37. deb=false
  38. equipped=true
  39. hand=false
  40. MMouse=nil
  41. combo=0
  42. mana=0
  43. trispeed=.2
  44. attackmode='none'
  45. local idle=0
  46. local Anim="Idle"
  47. local Effects={}
  48. local gun=false
  49. local shoot=false
  50. player=nil
  51. mana=0
  52. cam = workspace.CurrentCamera
  53. ZTarget = nil
  54. RocketTarget = nil
  55.  
  56. mouse=Player:GetMouse()
  57. --save shoulders
  58. RSH, LSH=nil, nil
  59. --welds
  60. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  61. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  62. LH=Torso["Left Hip"]
  63. RH=Torso["Right Hip"]
  64. TorsoColor=Torso.BrickColor
  65. function NoOutline(Part)
  66. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  67. end
  68. player=Player
  69. ch=Character
  70. RSH=ch.Torso["Right Shoulder"]
  71. LSH=ch.Torso["Left Shoulder"]
  72. --
  73. RSH.Parent=nil
  74. LSH.Parent=nil
  75. --
  76. RW.Name="Right Shoulder"
  77. RW.Part0=ch.Torso
  78. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  79. RW.C1=cf(0, 0.5, 0)
  80. RW.Part1=ch["Right Arm"]
  81. RW.Parent=ch.Torso
  82. --
  83. LW.Name="Left Shoulder"
  84. LW.Part0=ch.Torso
  85. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  86. LW.C1=cf(0, 0.5, 0)
  87. LW.Part1=ch["Left Arm"]
  88. LW.Parent=ch.Torso
  89.  
  90. Player=game:GetService('Players').LocalPlayer
  91. Character=Player.Character
  92. Mouse=Player:GetMouse()
  93. m=Instance.new('Model',Character)
  94.  
  95.  
  96. local function weldBetween(a, b)
  97. local weldd = Instance.new("ManualWeld")
  98. weldd.Part0 = a
  99. weldd.Part1 = b
  100. weldd.C0 = CFrame.new()
  101. weldd.C1 = b.CFrame:inverse() * a.CFrame
  102. weldd.Parent = a
  103. return weldd
  104. end
  105.  
  106. function swait(num)
  107. if num==0 or num==nil then
  108. game:service'RunService'.Heartbeat:wait(0)
  109. else
  110. for i=0,num do
  111. game:service'RunService'.Heartbeat:wait(0)
  112. end
  113. end
  114. end
  115.  
  116. function nooutline(part)
  117. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  118. end
  119.  
  120. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  121. local fp=it("Part")
  122. fp.formFactor=formfactor
  123. fp.Parent=parent
  124. fp.Reflectance=reflectance
  125. fp.Transparency=transparency
  126. fp.CanCollide=false
  127. fp.Locked=true
  128. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  129. fp.Name=name
  130. fp.Size=size
  131. fp.Position=Character.Torso.Position
  132. nooutline(fp)
  133. fp.Material=material
  134. fp:BreakJoints()
  135. return fp
  136. end
  137.  
  138. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  139. local mesh=it(Mesh)
  140. mesh.Parent=part
  141. if Mesh=="SpecialMesh" then
  142. mesh.MeshType=meshtype
  143. mesh.MeshId=meshid
  144. end
  145. mesh.Offset=offset
  146. mesh.Scale=scale
  147. return mesh
  148. end
  149.  
  150. function weld(parent,part0,part1,c0,c1)
  151. local weld=it("Weld")
  152. weld.Parent=parent
  153. weld.Part0=part0
  154. weld.Part1=part1
  155. weld.C0=c0
  156. weld.C1=c1
  157. return weld
  158. end
  159.  
  160.  
  161. local function CFrameFromTopBack(at, top, back)
  162. local right = top:Cross(back)
  163. return CFrame.new(at.x, at.y, at.z,
  164. right.x, top.x, back.x,
  165. right.y, top.y, back.y,
  166. right.z, top.z, back.z)
  167. end
  168.  
  169. function Triangle(a, b, c)
  170. local edg1 = (c-a):Dot((b-a).unit)
  171. local edg2 = (a-b):Dot((c-b).unit)
  172. local edg3 = (b-c):Dot((a-c).unit)
  173. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  174. a, b, c = a, b, c
  175. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  176. a, b, c = b, c, a
  177. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  178. a, b, c = c, a, b
  179. else
  180. assert(false, "unreachable")
  181. end
  182.  
  183. local len1 = (c-a):Dot((b-a).unit)
  184. local len2 = (b-a).magnitude - len1
  185. local width = (a + (b-a).unit*len1 - c).magnitude
  186.  
  187. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  188.  
  189. local list = {}
  190.  
  191. local TrailColor = ("Dark grey")
  192.  
  193. if len1 > 0.01 then
  194. local w1 = Instance.new('WedgePart', m)
  195. game:GetService("Debris"):AddItem(w1,5)
  196. w1.Material = "SmoothPlastic"
  197. w1.FormFactor = 'Custom'
  198. w1.BrickColor = BrickColor.new(TrailColor)
  199. w1.Transparency = 0
  200. w1.Reflectance = 0
  201. w1.Material = "SmoothPlastic"
  202. w1.CanCollide = false
  203. NoOutline(w1)
  204. local sz = Vector3.new(0.2, width, len1)
  205. w1.Size = sz
  206. local sp = Instance.new("SpecialMesh",w1)
  207. sp.MeshType = "Wedge"
  208. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  209. w1:BreakJoints()
  210. w1.Anchored = true
  211. w1.Parent = workspace
  212. w1.Transparency = 0.7
  213. table.insert(Effects,{w1,"Disappear",.01})
  214. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  215. table.insert(list,w1)
  216. end
  217.  
  218. if len2 > 0.01 then
  219. local w2 = Instance.new('WedgePart', m)
  220. game:GetService("Debris"):AddItem(w2,5)
  221. w2.Material = "SmoothPlastic"
  222. w2.FormFactor = 'Custom'
  223. w2.BrickColor = BrickColor.new(TrailColor)
  224. w2.Transparency = 0
  225. w2.Reflectance = 0
  226. w2.Material = "SmoothPlastic"
  227. w2.CanCollide = false
  228. NoOutline(w2)
  229. local sz = Vector3.new(0.2, width, len2)
  230. w2.Size = sz
  231. local sp = Instance.new("SpecialMesh",w2)
  232. sp.MeshType = "Wedge"
  233. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  234. w2:BreakJoints()
  235. w2.Anchored = true
  236. w2.Parent = workspace
  237. w2.Transparency = 0.7
  238. table.insert(Effects,{w2,"Disappear",.01})
  239. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  240. table.insert(list,w2)
  241. end
  242. return unpack(list)
  243. end
  244.  
  245.  
  246. so = function(id,par,vol,pit)
  247. coroutine.resume(coroutine.create(function()
  248. local sou = Instance.new("Sound",par or workspace)
  249. sou.Volume=vol
  250. sou.Pitch=pit or 1
  251. sou.SoundId=id
  252. swait()
  253. sou:play()
  254. game:GetService("Debris"):AddItem(sou,6)
  255. end))
  256. end
  257.  
  258. function clerp(a,b,t)
  259. local qa = {QuaternionFromCFrame(a)}
  260. local qb = {QuaternionFromCFrame(b)}
  261. local ax, ay, az = a.x, a.y, a.z
  262. local bx, by, bz = b.x, b.y, b.z
  263. local _t = 1-t
  264. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  265. end
  266.  
  267. function QuaternionFromCFrame(cf)
  268. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  269. local trace = m00 + m11 + m22
  270. if trace > 0 then
  271. local s = math.sqrt(1 + trace)
  272. local recip = 0.5/s
  273. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  274. else
  275. local i = 0
  276. if m11 > m00 then
  277. i = 1
  278. end
  279. if m22 > (i == 0 and m00 or m11) then
  280. i = 2
  281. end
  282. if i == 0 then
  283. local s = math.sqrt(m00-m11-m22+1)
  284. local recip = 0.5/s
  285. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  286. elseif i == 1 then
  287. local s = math.sqrt(m11-m22-m00+1)
  288. local recip = 0.5/s
  289. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  290. elseif i == 2 then
  291. local s = math.sqrt(m22-m00-m11+1)
  292. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  293. end
  294. end
  295. end
  296.  
  297. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  298. local xs, ys, zs = x + x, y + y, z + z
  299. local wx, wy, wz = w*xs, w*ys, w*zs
  300. local xx = x*xs
  301. local xy = x*ys
  302. local xz = x*zs
  303. local yy = y*ys
  304. local yz = y*zs
  305. local zz = z*zs
  306. 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))
  307. end
  308.  
  309. function QuaternionSlerp(a, b, t)
  310. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  311. local startInterp, finishInterp;
  312. if cosTheta >= 0.0001 then
  313. if (1 - cosTheta) > 0.0001 then
  314. local theta = math.acos(cosTheta)
  315. local invSinTheta = 1/math.sin(theta)
  316. startInterp = math.sin((1-t)*theta)*invSinTheta
  317. finishInterp = math.sin(t*theta)*invSinTheta
  318. else
  319. startInterp = 1-t
  320. finishInterp = t
  321. end
  322. else
  323. if (1+cosTheta) > 0.0001 then
  324. local theta = math.acos(-cosTheta)
  325. local invSinTheta = 1/math.sin(theta)
  326. startInterp = math.sin((t-1)*theta)*invSinTheta
  327. finishInterp = math.sin(t*theta)*invSinTheta
  328. else
  329. startInterp = t-1
  330. finishInterp = t
  331. end
  332. end
  333. 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
  334. end
  335.  
  336. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  337.  
  338.  
  339. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  340. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  341. end
  342.  
  343. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  344. if hit.Parent==nil then
  345. return
  346. end
  347. h=hit.Parent:FindFirstChild("Humanoid")
  348. for _,v in pairs(hit.Parent:children()) do
  349. if v:IsA("Humanoid") then
  350. h=v
  351. end
  352. end
  353. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  354. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  355. end
  356. if hit.Parent.className=="Hat" then
  357. hit=hit.Parent.Parent:findFirstChild("Head")
  358. end
  359. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  360. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  361. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  362. return
  363. end]]
  364. -- hs(hit,1.2)
  365. c=Instance.new("ObjectValue")
  366. c.Name="creator"
  367. c.Value=game:service("Players").LocalPlayer
  368. c.Parent=h
  369. game:GetService("Debris"):AddItem(c,.5)
  370. Damage=math.random(minim,maxim)
  371. -- h:TakeDamage(Damage)
  372. blocked=false
  373. block=hit.Parent:findFirstChild("Block")
  374. if block~=nil then
  375. print(block.className)
  376. if block.className=="NumberValue" then
  377. if block.Value>0 then
  378. blocked=true
  379. if decreaseblock==nil then
  380. block.Value=block.Value-1
  381. end
  382. end
  383. end
  384. if block.className=="IntValue" then
  385. if block.Value>0 then
  386. blocked=true
  387. if decreaseblock~=nil then
  388. block.Value=block.Value-1
  389. end
  390. end
  391. end
  392. end
  393. if blocked==false then
  394. -- h:TakeDamage(Damage)
  395. h.Health=h.Health-Damage
  396. ShowDamage((Hitbox.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Hitbox.BrickColor.Color)
  397. else
  398. h.Health=h.Health-(Damage/2)
  399. ShowDamage((Hitbox.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  400. end
  401. if Type=="Knockdown" then
  402. hum=hit.Parent.Humanoid
  403. hum.PlatformStand=true
  404. coroutine.resume(coroutine.create(function(HHumanoid)
  405. swait(1)
  406. HHumanoid.PlatformStand=false
  407. end),hum)
  408. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  409. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  410. local bodvol=Instance.new("BodyVelocity")
  411. bodvol.velocity=angle*knockback
  412. bodvol.P=5000
  413. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  414. bodvol.Parent=hit
  415. rl=Instance.new("BodyAngularVelocity")
  416. rl.P=3000
  417. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  418. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  419. rl.Parent=hit
  420. game:GetService("Debris"):AddItem(bodvol,.5)
  421. game:GetService("Debris"):AddItem(rl,.5)
  422. elseif Type=="Normal" then
  423. vp=Instance.new("BodyVelocity")
  424. vp.P=500
  425. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  426. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  427. if KnockbackType==1 then
  428. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  429. elseif KnockbackType==2 then
  430. vp.velocity=Property.CFrame.lookVector*knockback
  431. end
  432. if knockback>0 then
  433. vp.Parent=hit.Parent.Torso
  434. end
  435. game:GetService("Debris"):AddItem(vp,.5)
  436. elseif Type=="Up" then
  437. local bodyVelocity=Instance.new("BodyVelocity")
  438. bodyVelocity.velocity=vt(0,60,0)
  439. bodyVelocity.P=5000
  440. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  441. bodyVelocity.Parent=hit
  442. game:GetService("Debris"):AddItem(bodyVelocity,1)
  443. rl=Instance.new("BodyAngularVelocity")
  444. rl.P=3000
  445. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  446. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  447. rl.Parent=hit
  448. game:GetService("Debris"):AddItem(rl,.5)
  449. elseif Type=="Snare" then
  450. bp=Instance.new("BodyPosition")
  451. bp.P=2000
  452. bp.D=100
  453. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  454. bp.position=hit.Parent.Torso.Position
  455. bp.Parent=hit.Parent.Torso
  456. game:GetService("Debris"):AddItem(bp,1)
  457. elseif Type=="Target" then
  458. local Targetting = false
  459. if Targetting==false then
  460. ZTarget=hit.Parent.Torso
  461. coroutine.resume(coroutine.create(function(Part)
  462. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  463. swait(5)
  464. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  465. end),ZTarget)
  466. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  467. local targetgui=Instance.new("BillboardGui")
  468. targetgui.Parent=ZTarget
  469. targetgui.Size=UDim2.new(10,100,10,100)
  470. local targ=Instance.new("ImageLabel")
  471. targ.Parent=targetgui
  472. targ.BackgroundTransparency=1
  473. targ.Image="rbxassetid://4834067"
  474. targ.Size=UDim2.new(1,0,1,0)
  475. cam.CameraType="Scriptable"
  476. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  477. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  478. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  479. Targetting=true
  480. RocketTarget=ZTarget
  481. for i=1,Property do
  482. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  483. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  484. swait()
  485. end
  486. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  487. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  488. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  489. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  490. end
  491. Targetting=false
  492. RocketTarget=nil
  493. targetgui.Parent=nil
  494. cam.CameraType="Custom"
  495. end
  496. end
  497. local debounce=Instance.new("BoolValue")
  498. debounce.Name="DebounceHit"
  499. debounce.Parent=hit.Parent
  500. debounce.Value=true
  501. game:GetService("Debris"):AddItem(debounce,Delay)
  502. c=Instance.new("ObjectValue")
  503. c.Name="creator"
  504. c.Value=Player
  505. c.Parent=h
  506. game:GetService("Debris"):AddItem(c,.5)
  507. end
  508. end
  509.  
  510.  
  511. function ShowDamage(Pos, Text, Time, Color)
  512. local Rate = (1 / 30)
  513. local Pos = (Pos or Vector3.new(0, 0, 0))
  514. local Text = (Text or "")
  515. local Time = (Time or 2)
  516. local Color = (Color or Color3.new(1, 0, 0))
  517. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  518. EffectPart.Anchored = true
  519. local BillboardGui = Instance.new("BillboardGui")
  520. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  521. BillboardGui.Adornee = EffectPart
  522. local TextLabel = Instance.new("TextLabel")
  523. TextLabel.BackgroundTransparency = 1
  524. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  525. TextLabel.Text = Text
  526. TextLabel.TextColor3 = Color
  527. TextLabel.TextScaled = true
  528. TextLabel.Font = Enum.Font.ArialBold
  529. TextLabel.Parent = BillboardGui
  530. BillboardGui.Parent = EffectPart
  531. game.Debris:AddItem(EffectPart, (Time + 0.1))
  532. EffectPart.Parent = game:GetService("Workspace")
  533. Delay(0, function()
  534. local Frames = (Time / Rate)
  535. for Frame = 1, Frames do
  536. wait(Rate)
  537. local Percent = (Frame / Frames)
  538. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  539. TextLabel.TextTransparency = Percent
  540. end
  541. if EffectPart and EffectPart.Parent then
  542. EffectPart:Destroy()
  543. end
  544. end)
  545. end
  546.  
  547. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","Handle",Vector3.new(0.800000072, 0.210000008, 0.800000012))
  548. Handleweld=weld(m,Character["Right Arm"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100120544, -0.0296649933, -1.00035763, 0, -2.98023188e-008, 0.999993861, -0.99999404, 1.49025006e-008, 8.8817842e-016, -1.49024135e-008, -0.999999642, -4.47034836e-008))
  549. mesh("CylinderMesh",Handle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  550. FakeHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","FakeHandle",Vector3.new(0.400000095, 0.230000019, 0.400000036))
  551. FakeHandleweld=weld(m,Handle,FakeHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -9.53674316e-006, 0, 0.707098126, 1.05375966e-008, -0.707102299, -1.05375948e-008, 0.999988079, 4.36466729e-009, 0.707102299, 4.36466552e-009, 0.707106471))
  552. mesh("CylinderMesh",FakeHandle,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  553. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,1,"Mid gray","Hitbox",Vector3.new(3.60000014, 0.210000008, 3.5999999))
  554. Hitboxweld=weld(m,FakeHandle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.81469727e-006, 0, -9.53674316e-007, 0.707098126, -1.05375948e-008, 0.707102299, 1.05375966e-008, 0.999988079, 4.36466552e-009, -0.707102299, 4.36466729e-009, 0.707106471))
  555. mesh("CylinderMesh",Hitbox,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  556. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  557. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -0.299919128, -1.00004387, -1.78813195e-007, -0.999988079, -3.12952523e-007, -0.999987781, 1.78813252e-007, -2.98023224e-008, 0, 3.12949197e-007, -0.999999762))
  558. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  559. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 0.200000003))
  560. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.90734863e-006, -0.00032043457, 0.999987721, 0, 0, 0, -8.93950798e-008, -0.999999762, -3.55271368e-015, 0.999988079, -8.93964796e-008))
  561. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.55999994, 1.55999994, 1.55999994))
  562. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  563. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000198364258, -0.299787521, -0.999847412, 5.96124892e-008, -0.999988079, -2.9807449e-008, 0, 2.9807449e-008, -0.999999762, 0.999987721, 5.96125105e-008, 0))
  564. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  565. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  566. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000263214111, -1.49990082, 0.399940491, 8.94070524e-008, 0.999988079, 2.98048448e-008, 0, 2.98048448e-008, -0.999999762, -0.999987781, 8.94070737e-008, -2.98023224e-008))
  567. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  568. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  569. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000205993652, -0.299808502, 1.399786, -4.91340302e-012, 0.999988079, -5.96086593e-008, 0, -5.96076077e-008, -0.999999762, -0.999987721, -4.91073848e-012, 0))
  570. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  571. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.400000036))
  572. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09988594, -0.00499725342, 0, 0.999987721, 0, 0, 0, 0.999988079, -1.74971149e-013, 0, -1.74971149e-013, 0.999999762))
  573. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  574. Wedge4=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Wedge4",Vector3.new(0.200000003, 0.400000006, 0.800000012))
  575. Wedge4weld=weld(m,FakeHandle,Wedge4,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00020980835, 0.000200271606, 1.99969292, -5.05195885e-012, 0.999988079, -5.96087801e-008, 0, -5.96077214e-008, -0.999999762, -0.999987721, -5.05373521e-012, 0))
  576. mesh("SpecialMesh",Wedge4,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  577. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  578. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000274658203, -1.89990234, 0.299953461, 5.96046874e-008, 0.999988079, -1.81188398e-013, 0, 1.73194792e-013, -0.999999762, -0.999987781, 5.96047087e-008, -2.98023224e-008))
  579. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  580. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  581. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000270843506, -1.49997139, 0.399961472, 8.4028251e-009, 0.999988079, -1.75415238e-013, 0, -1.74971149e-013, 0.999999762, 0.999987781, -8.40282954e-009, 2.98023224e-008))
  582. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  583. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  584. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000274658203, -0.299940109, 1.40000153, 2.98023366e-008, 0.999988079, 4.4707388e-008, -0.999987781, 2.98023473e-008, -2.98023224e-008, 0, -4.47072139e-008, 0.999999762))
  585. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  586. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000029, 0.400000036))
  587. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.49993896, -0.00040435791, 6.48498535e-005, -8.94069672e-008, 6.12470856e-008, -0.999999821, 2.63361066e-008, 0.999988079, 6.1247448e-008, 0.999987781, -2.63361137e-008, -1.49011612e-007))
  588. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  589. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.800000072, 0.210000008, 0.800000012))
  590. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0, 0, 0.999987721, 0, 0, 0, 0.999988079, -1.74971149e-013, 0, -1.74971149e-013, 0.999999762))
  591. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  592. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  593. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999526978, -0.0002784729, 0.499946594, 0, 1.48977337e-008, 0.999999762, -3.39017703e-012, 0.999988079, -1.48982586e-008, -0.999987721, -3.38928885e-012, 0))
  594. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.200000003))
  595. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.500009537, -0.000286102295, 0.0999698639, 0, 1.48956234e-008, 0.999999762, -3.41504602e-012, 0.999988079, -1.48961465e-008, -0.999987721, -3.4159342e-012, 0))
  596. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.399999946, 0.200000003, 0.800000012))
  597. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.57763672e-005, -0.000286102295, 1.19993591, 8.94069672e-008, -5.05791355e-008, -0.999999702, 1.90316086e-007, 0.999988079, -5.0580077e-008, 0.999987781, -1.90316143e-007, 2.98023224e-008))
  598. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  599. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00025177002, -1.09987259, 0.499895096, 7.34371781e-008, 0.999988079, -1.79412041e-013, -0.999987781, 7.34371923e-008, -2.98023224e-008, -8.94069672e-008, -1.71418435e-013, 0.999999702))
  600. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  601. Wedge3=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Wedge3",Vector3.new(0.200000003, 0.400000006, 0.800000012))
  602. Wedge3weld=weld(m,FakeHandle,Wedge3,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000293731689, 4.76837158e-005, 2.00000572, -3.98805078e-009, 0.999988079, -1.7408297e-013, 0.999987781, 3.98805255e-009, 2.98023224e-008, 0, 1.74971149e-013, -0.999999762))
  603. mesh("SpecialMesh",Wedge3,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  604. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  605. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000267028809, -1.4998455, 0.399936676, 7.34442409e-008, 0.999988079, -1.81188398e-013, -0.999987781, 7.34442551e-008, -2.98023224e-008, -8.94069672e-008, -1.71418435e-013, 0.999999702))
  606. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  607. Wedge2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Wedge2",Vector3.new(0.200000003, 0.400000006, 0.800000012))
  608. Wedge2weld=weld(m,FakeHandle,Wedge2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000286102295, -3.05175781e-005, 1.99983597, 1.90315262e-007, 0.999988079, -8.94152024e-008, -8.94069672e-008, 8.94138097e-008, 0.999999702, 0.999987781, -1.90315305e-007, 2.98023224e-008))
  609. mesh("SpecialMesh",Wedge2,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  610. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  611. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000286102295, -1.89995003, 0.299968719, 8.40303294e-009, 0.999988079, -1.77635684e-013, 0, -1.74971149e-013, 0.999999762, 0.999987781, -8.4030356e-009, 2.98023224e-008))
  612. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  613. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.399999946, 0.200000003, 0.800000012))
  614. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000177383423, -0.000225067139, 1.19974136, 0, 1.48940638e-008, 0.999999762, -4.16289225e-012, 0.999988079, -1.48945851e-008, -0.999987721, -4.16200407e-012, 0))
  615. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.600000024, 0.200000003, 0.200000003))
  616. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.50002861, -0.000286102295, -0.10001564, 0, 1.48959751e-008, 0.999999762, -3.41238149e-012, 0.999988079, -1.48964983e-008, -0.999987721, -3.41149331e-012, 0))
  617. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  618. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00025177002, -1.09996605, 0.499923706, 8.40327097e-009, 0.999988079, -1.74527059e-013, 0, -1.74971149e-013, 0.999999762, 0.999987781, -8.40327363e-009, 2.98023224e-008))
  619. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  620. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.219999999, 0.400000036))
  621. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.50004196, -0.00040435791, 6.10351563e-005, -8.94069672e-008, 6.12470856e-008, -0.999999821, 2.63361066e-008, 0.999988079, 6.1247448e-008, 0.999987781, -2.63361137e-008, -1.49011612e-007))
  622. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  623. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  624. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000286102295, -0.299949646, 0.299921036, 7.58621042e-008, 0.999988079, -5.96105991e-008, -0.999987781, 7.58621113e-008, 1.49011612e-007, 8.94069672e-008, 5.96095404e-008, 0.999999821))
  625. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  626. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.400000036))
  627. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.4998436, -0.00499725342, 3.81469727e-006, 0.999987721, 0, 0, 0, 0.999988079, -1.74971149e-013, 0, -1.74971149e-013, 0.999999762))
  628. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  629. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000029, 0.400000036))
  630. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.10004425, -0.00040435791, 6.10351563e-005, -8.94069672e-008, 6.12470856e-008, -0.999999821, 2.63361066e-008, 0.999988079, 6.1247448e-008, 0.999987781, -2.63361137e-008, -1.49011612e-007))
  631. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  632. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  633. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000240325928, -1.09989166, 0.49990654, 8.94070524e-008, 0.999988079, 2.98048448e-008, 0, 2.98048448e-008, -0.999999762, -0.999987781, 8.94070737e-008, -2.98023224e-008))
  634. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  635. Wedge1=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Wedge1",Vector3.new(0.200000003, 0.400000006, 0.800000012))
  636. Wedge1weld=weld(m,FakeHandle,Wedge1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000286102295, 3.05175781e-005, 1.99993134, 2.98023082e-008, 0.999988079, -1.75859327e-013, -0.999987781, 2.98023153e-008, -2.98023224e-008, 0, -1.73194792e-013, 0.999999762))
  637. mesh("SpecialMesh",Wedge1,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  638. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000014, 0.400000036))
  639. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09989357, -0.00499725342, 1.90734863e-006, 0.999987721, 0, 0, 0, 0.999988079, -1.74971149e-013, 0, -1.74971149e-013, 0.999999762))
  640. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  641. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  642. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0002784729, -0.299993515, -1.0000248, -2.49923318e-007, -0.999988079, 2.38440407e-007, -8.94069672e-008, 2.38437281e-007, 0.999999702, -0.999987781, 2.49923346e-007, -2.98023224e-008))
  643. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  644. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  645. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999279022, -0.0002784729, -0.499910355, 0, 1.49047281e-008, 0.999999762, -2.69295697e-012, 0.999988079, -1.49052521e-008, -0.999987721, -2.69473333e-012, 0))
  646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.220000029, 0.400000036))
  647. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.09993744, -0.00040435791, 6.10351563e-005, -8.94069672e-008, 6.12470856e-008, -0.999999821, 2.63361066e-008, 0.999988079, 6.1247448e-008, 0.999987781, -2.63361137e-008, -1.49011612e-007))
  648. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.600000024, 0.200000003, 0.200000003))
  650. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499950409, -0.000286102295, 0.0999984741, 0, 1.48962522e-008, 0.999999762, -3.42126327e-012, 0.999988079, -1.48967771e-008, -0.999987721, -3.42126327e-012, 0))
  651. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  652. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000259399414, -0.299873352, 0.299957275, -4.81747975e-012, 0.999988079, -5.96097323e-008, 0, -5.96086807e-008, -0.999999762, -0.999987721, -4.81392703e-012, 0))
  653. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  654. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  655. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100063324, -0.0002784729, -0.49993515, 0, 1.49040957e-008, 0.999999762, -4.69135841e-012, 0.999988079, -1.49046233e-008, -0.999987721, -4.70379291e-012, 0))
  656. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  657. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000286102295, -0.299922943, 1.40007591, -3.98796729e-009, 0.999988079, -1.75859327e-013, 0.999987781, 3.98796551e-009, 2.98023224e-008, 0, 1.74971149e-013, -0.999999762))
  658. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  659. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.399999946, 0.200000003, 0.800000012))
  660. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, -0.0002784729, 1.19993591, 0.999987781, -2.38415524e-007, 2.98023224e-008, 2.38415453e-007, 0.999988079, 4.47068871e-008, 0, -4.47067094e-008, 0.999999762))
  661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  662. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000171661377, -1.0996933, 0.500137329, 1.16866929e-007, 0.999988079, -7.20010433e-008, 0.999987781, -1.16866971e-007, 2.98023224e-008, 0, -7.19998638e-008, -0.999999762))
  663. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  665. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100063324, -0.000286102295, 0.499992371, 0, 1.48986787e-008, 0.999999762, -3.41060513e-012, 0.999988079, -1.48992028e-008, -0.999987721, -3.41060513e-012, 0))
  666. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(1.20000005, 1.20000005, 0.200000003))
  667. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.90734863e-006, -0.00032043457, 0.999987721, 0, 0, 0, -8.93950798e-008, -0.999999762, -3.55271368e-015, 0.999988079, -8.93964796e-008))
  668. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(1.36000001, 1.36000001, 1.36000001))
  669. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  670. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000289916992, -0.300001144, 1.39994812, 1.90312988e-007, 0.999988079, -8.94152166e-008, -8.94069672e-008, 8.94138097e-008, 0.999999702, 0.999987781, -1.90313003e-007, 2.98023224e-008))
  671. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  672. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.399999946, 0.200000003, 0.800000012))
  673. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.33514404e-005, -0.000289916992, 1.19997215, -0.999987781, -4.86903993e-008, -2.98023224e-008, -4.86903957e-008, 0.999988079, -5.10450384e-008, 0, -5.10440898e-008, -0.999999762))
  674. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.200000003))
  675. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499973297, -0.000286102295, -0.0999774933, 0, 1.48958081e-008, 0.999999762, -3.42392781e-012, 0.999988079, -1.48963313e-008, -0.999987721, -3.42303963e-012, 0))
  676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  677. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0002784729, -1.89974403, 0.299942017, 7.34392813e-008, 0.999988079, -1.77635684e-013, -0.999987781, 7.34392955e-008, -2.98023224e-008, -8.94069672e-008, -1.71418435e-013, 0.999999702))
  678. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000006))
  680. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000186920166, -1.49966812, 0.400169373, 1.16860818e-007, 0.999988079, -7.20006099e-008, 0.999987781, -1.16860832e-007, 2.98023224e-008, 0, -7.19994091e-008, -0.999999762))
  681. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  683. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000286102295, -0.299949646, 0.30006218, 7.58674048e-008, -0.999988079, 1.71400885e-008, -0.999987781, -7.58674261e-008, -2.98023224e-008, 0, -1.71395413e-008, -0.999999762))
  684. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  686. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000205993652, -1.89961433, 0.300161362, 1.16863269e-007, 0.999988079, -7.19997075e-008, 0.999987781, -1.16863298e-007, 2.98023224e-008, 0, -7.19985138e-008, -0.999999762))
  687. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.200000033))
  689. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000259399414, -0.300117493, 0.299957275, 4.81212943e-012, -0.999988079, -1.49027866e-008, 0, -1.49029624e-008, 0.999999762, -0.999987721, -4.81215068e-012, 0))
  690. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0.5,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  692. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000270843506, -0.299905777, -1.00011253, 9.33975457e-008, -0.999988079, 2.38440379e-007, 0.999987781, 9.3397567e-008, 2.98023224e-008, 0, 2.38437224e-007, 0.999999762))
  693. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.219999999, 0.400000036))
  695. Partweld=weld(m,FakeHandle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.49985886, -0.00499725342, 5.7220459e-006, 0.999987721, 0, 0, 0, 0.999988079, -1.74971149e-013, 0, -1.74971149e-013, 0.999999762))
  696. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  697.  
  698. function effect(Color,Ref,LP,P1,returnn)
  699. local effectsmsh = Instance.new("BlockMesh")
  700. effectsmsh.Scale = Vector3.new(0.2,1,0.2)
  701. effectsmsh.Name = "Mesh"
  702. local effectsg = Instance.new("Part")
  703. effectsg.Material = "SmoothPlastic"
  704. effectsg.formFactor = 3
  705. effectsg.CanCollide = false
  706. effectsg.Name = "Eff"
  707. effectsg.Locked = true
  708. effectsg.Anchored = true
  709. effectsg.Size = Vector3.new(0.5,1,0.5)
  710. effectsg.Parent = workspace
  711. effectsmsh.Parent = effectsg
  712. effectsg.BrickColor = BrickColor.new(Color)
  713. effectsg.Reflectance = Ref
  714. nooutline(effectsg)
  715. local point1 = P1
  716. local mg = (LP.p - point1.p).magnitude
  717. effectsg.Size = Vector3.new(0.5,mg,0.5)
  718. effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0)
  719. if returnn then return effectsg end
  720. coroutine.resume(coroutine.create(function(Part,Mesh)
  721. if not returnn then
  722. for i = 0 , 1 , 0.2 do
  723. wait()
  724. Part.Transparency = 1*i
  725. Mesh.Scale = Vector3.new(0.2-0.2*i,1,0.2-0.2*i)
  726. end
  727. wait()
  728. Part.Parent = nil
  729. end
  730. end),effectsg,effectsmsh)
  731. end
  732.  
  733.  
  734.  
  735. Throwing = false
  736.  
  737. function attackone()
  738. attack = true
  739. Throwing = true
  740. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  741. for i = 0,1,0.1 do
  742. swait()
  743. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  744. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.3)
  745. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(10)), 0.3)
  746. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  747. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  748. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  749. end
  750. local LastPoint1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  751. local LastPoint2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  752. local LastPoint3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  753. local LastPoint4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  754. coroutine.resume(coroutine.create(function()
  755. while Throwing == true do
  756. wait()
  757. so("http://roblox.com/asset/?id=243711414",FakeHandle,1,1)
  758. end
  759. end))
  760. for i = 0,1,1 do
  761. swait()
  762. for i = 0,1,0.1 do
  763. swait()
  764. local Point1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  765. effect("Mid gray",0.5,LastPoint1,Point1)
  766. LastPoint1=Point1
  767. local Point2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  768. effect("Mid gray",0.5,LastPoint2,Point2)
  769. LastPoint2=Point2
  770. local Point3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  771. effect("Mid gray",0.5,LastPoint3,Point3)
  772. LastPoint3=Point3
  773. local Point4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  774. effect("Mid gray",0.5,LastPoint4,Point4)
  775. LastPoint4=Point4
  776. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  777. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  778. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(40), math.rad(90)), 0.3)
  779. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-40)), 0.3)
  780. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  781. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  782. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,10)* angles(0,6*i,math.rad(0)),.3)
  783. end
  784. end
  785. Throwing = false
  786. for i = 0,1,0.1 do
  787. swait()
  788. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  789. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  790. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3)
  791. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-40)), 0.3)
  792. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  793. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  794. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(0,6*i,math.rad(0)),.3)
  795. end
  796. attack = false
  797. con:disconnect()
  798. end
  799.  
  800. function attacktwo()
  801. attack = true
  802. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  803. for i = 0,1,0.1 do
  804. swait()
  805. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  806. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  807. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, -0.5) * angles(math.rad(0), math.rad(120), math.rad(90)), 0.3)
  808. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-50)), 0.3)
  809. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  810. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-120),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  811. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(0,0,math.rad(0)),.3)
  812. end
  813. local LastPoint1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  814. local LastPoint2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  815. local LastPoint3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  816. local LastPoint4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  817. so("http://roblox.com/asset/?id=243711349",FakeHandle,1,1)
  818. for i = 0,1,0.1 do
  819. swait()
  820. local Point1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  821. effect("Mid gray",0.5,LastPoint1,Point1)
  822. LastPoint1=Point1
  823. local Point2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  824. effect("Mid gray",0.5,LastPoint2,Point2)
  825. LastPoint2=Point2
  826. local Point3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  827. effect("Mid gray",0.5,LastPoint3,Point3)
  828. LastPoint3=Point3
  829. local Point4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  830. effect("Mid gray",0.5,LastPoint4,Point4)
  831. LastPoint4=Point4
  832. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  833. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  834. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  835. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  836. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  837. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  838. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(0,20,0),.3)
  839. end
  840. attack = false
  841. con:disconnect()
  842. end
  843.  
  844. function attackthree()
  845. attack = true
  846. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  847. for i = 0,1,0.1 do
  848. swait()
  849. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),.3)
  850. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.3)
  851. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(20)), 0.3)
  852. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  853. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  854. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  855. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(0,20,0),.3)
  856. end
  857. local LastPoint1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  858. local LastPoint2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  859. local LastPoint3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  860. local LastPoint4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  861. for i = 0,1,1 do
  862. swait()
  863. for i = 0,1,0.1 do
  864. swait()
  865. local Point1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  866. effect("Mid gray",0.5,LastPoint1,Point1)
  867. LastPoint1=Point1
  868. local Point2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  869. effect("Mid gray",0.5,LastPoint2,Point2)
  870. LastPoint2=Point2
  871. local Point3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  872. effect("Mid gray",0.5,LastPoint3,Point3)
  873. LastPoint3=Point3
  874. local Point4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  875. effect("Mid gray",0.5,LastPoint4,Point4)
  876. LastPoint4=Point4
  877. so("http://roblox.com/asset/?id=243711349",FakeHandle,1,1.1)
  878. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),.3)
  879. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  880. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(30), math.rad(90)), 0.3)
  881. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-50)), 0.3)
  882. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(60),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  883. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-130),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  884. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(0,6*i,0),.3)
  885. end
  886. end
  887. attack = false
  888. con:disconnect()
  889. end
  890.  
  891. function DoubleJump()
  892. attack = true
  893. local LastPoint1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  894. local LastPoint2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  895. local LastPoint3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  896. local LastPoint4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  897. Torso.Velocity=vt(0,100,0)
  898. Humanoid.WalkSpeed = 50
  899. for i = 0,1,0.1 do
  900. swait()
  901. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(6*i,math.rad(0),math.rad(0)),.3)
  902. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-0)),.3)
  903. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(0)), 0.3)
  904. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(0)), 0.3)
  905. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-50))*angles(math.rad(-6),math.rad(0),math.rad(0)),.3)
  906. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(50))*angles(math.rad(-6),math.rad(0),math.rad(0)),.3)
  907. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(0,0,0),.3)
  908. end
  909. for i = 0,1,1 do
  910. swait()
  911. for i = 0,1,0.1 do
  912. swait()
  913. local Point1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  914. effect("Mid gray",0.5,LastPoint1,Point1)
  915. LastPoint1=Point1
  916. local Point2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  917. effect("Mid gray",0.5,LastPoint2,Point2)
  918. LastPoint2=Point2
  919. local Point3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  920. effect("Mid gray",0.5,LastPoint3,Point3)
  921. LastPoint3=Point3
  922. local Point4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  923. effect("Mid gray",0.5,LastPoint4,Point4)
  924. LastPoint4=Point4
  925. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  926. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-0)),.3)
  927. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(50)), 0.3)
  928. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-40)), 0.3)
  929. 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)
  930. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  931. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(4.7,6*i,0),.3)
  932. end
  933. end
  934. attack = false
  935. Humanoid.WalkSpeed = 16
  936. end
  937.  
  938. --[[for i = 0,1,0.1 do
  939. swait()
  940. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  941. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  942. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  943. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  944. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  945. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  946. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,-5,4)* angles(20,6*i,0),.3)
  947. end]]--
  948.  
  949. function SpinThrow()
  950. attack = true
  951. Throwing = true
  952. Humanoid.Jump = true
  953. local con = Hitbox.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(5,10),"Normal",RootPart,.2,1) end)
  954. local LastPoint1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  955. local LastPoint2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  956. local LastPoint3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  957. local LastPoint4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  958. for i = 0,1,0.1 do
  959. swait()
  960. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(70)),.3)
  961. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-70)),.3)
  962. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(50), math.rad(90)), 0.3)
  963. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  964. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  965. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  966. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  967. end
  968. coroutine.resume(coroutine.create(function()
  969. while Throwing == true do
  970. wait()
  971. so("http://roblox.com/asset/?id=243711414",FakeHandle,1,1)
  972. end
  973. end))
  974. for i = 0,1,1 do
  975. swait()
  976. for i = 0,1,0.1 do
  977. swait()
  978. local Point1=Wedge1.CFrame*CFrame.new(0,Wedge1.Size.Y/1.5,0)
  979. effect("Mid gray",0.5,LastPoint1,Point1)
  980. LastPoint1=Point1
  981. local Point2=Wedge2.CFrame*CFrame.new(0,Wedge2.Size.Y/1.5,0)
  982. effect("Mid gray",0.5,LastPoint2,Point2)
  983. LastPoint2=Point2
  984. local Point3=Wedge3.CFrame*CFrame.new(0,Wedge3.Size.Y/1.5,0)
  985. effect("Mid gray",0.5,LastPoint3,Point3)
  986. LastPoint3=Point3
  987. local Point4=Wedge4.CFrame*CFrame.new(0,Wedge4.Size.Y/1.5,0)
  988. effect("Mid gray",0.5,LastPoint4,Point4)
  989. LastPoint4=Point4
  990. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,2)* angles(math.rad(20),math.rad(0),-5*i),.3)
  991. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-70)),.3)
  992. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(-10), math.rad(90)), 0.3)
  993. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-90)), 0.3)
  994. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-30))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  995. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-30))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  996. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,5)* angles(math.rad(0),10*i,math.rad(0)),.3)
  997. end
  998. Throwing = false
  999. end
  1000. attack = false
  1001. con:disconnect()
  1002. end
  1003.  
  1004. mouse.Button1Down:connect(function()
  1005. if attack==false then
  1006. if attacktype == 1 then
  1007. attack = true
  1008. attacktype = 2
  1009. attackone()
  1010. elseif attacktype == 2 then
  1011. attack = true
  1012. attacktype = 3
  1013. attacktwo()
  1014. elseif attacktype == 3 then
  1015. attack = true
  1016. attacktype = 1
  1017. attackthree()
  1018. end
  1019. end
  1020. end)
  1021.  
  1022. mouse.KeyDown:connect(function(k)
  1023. k=k:lower()
  1024. if attack == false then
  1025. if k == " " and Anim == "Jump" then
  1026. DoubleJump()
  1027. elseif k == "q"then
  1028. SpinThrow()
  1029. end
  1030. end
  1031. end)
  1032.  
  1033.  
  1034. local sine = 0
  1035. local change = 1
  1036. local val = 0
  1037.  
  1038. while true do
  1039. swait()
  1040. sine = sine + change
  1041. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1042. local velderp=RootPart.Velocity.y
  1043. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1044. if equipped==true or equipped==false then
  1045. if attack==false then
  1046. idle=idle+1
  1047. else
  1048. idle=0
  1049. end
  1050. if idle>=500 then
  1051. if attack==false then
  1052. --Sheath()
  1053. end
  1054. end
  1055. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1056. Anim="Jump"
  1057. if attack==false then
  1058. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1059. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  1060. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  1061. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  1062. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1063. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(20))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1064. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1065. end
  1066. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1067. Anim="Fall"
  1068. if attack==false then
  1069. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1070. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  1071. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  1072. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  1073. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1074. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-2),math.rad(0),math.rad(0)),.3)
  1075. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1076. end
  1077. elseif torvel<1 and hitfloor~=nil then
  1078. Anim="Idle"
  1079. if attack==false then
  1080. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1081. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(20)),.3)
  1082. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1083. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-10)), 0.3)
  1084. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1085. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1086. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1087. end
  1088. elseif torvel>2 and hitfloor~=nil then
  1089. Anim="Walk"
  1090. if attack==false then
  1091. change=3
  1092. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1093. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1094. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1095. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  1096. 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)
  1097. 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)
  1098. FakeHandleweld.C0 = clerp(FakeHandleweld.C0,cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1099. end
  1100. end
  1101. end
  1102. if #Effects>0 then
  1103. --table.insert(Effects,{prt,"Block1",delay})
  1104. for e=1,#Effects do
  1105. if Effects[e]~=nil then
  1106. --for j=1,#Effects[e] do
  1107. local Thing=Effects[e]
  1108. if Thing~=nil then
  1109. local Part=Thing[1]
  1110. local Mode=Thing[2]
  1111. local Delay=Thing[3]
  1112. local IncX=Thing[4]
  1113. local IncY=Thing[5]
  1114. local IncZ=Thing[6]
  1115. if Thing[1].Transparency<=1 then
  1116. if Thing[2]=="Block1" then
  1117. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1118. Mesh=Thing[1].Mesh
  1119. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1120. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1121. elseif Thing[2]=="Cylinder" then
  1122. Mesh=Thing[1].Mesh
  1123. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1124. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1125. elseif Thing[2]=="Blood" then
  1126. Mesh=Thing[7]
  1127. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1128. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1129. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1130. elseif Thing[2]=="Elec" then
  1131. Mesh=Thing[1].Mesh
  1132. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1133. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1134. elseif Thing[2]=="Disappear" then
  1135. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1136. end
  1137. else
  1138. Part.Parent=nil
  1139. table.remove(Effects,e)
  1140. end
  1141. end
  1142. --end
  1143. end
  1144. end
  1145. end
  1146. end
Add Comment
Please, Sign In to add comment