Upscalefanatic3

Dreamur

Nov 4th, 2016
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 110.86 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. LeftArm=Character["Left Arm"]
  9. LeftLeg=Character["Left Leg"]
  10. RightArm=Character["Right Arm"]
  11. RightLeg=Character["Right Leg"]
  12. cam=game.Workspace.CurrentCamera
  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. bounce=false
  37. cooldown=false
  38. deeznuts=false
  39. attackdebounce = false
  40. deb=false
  41. equipped=true
  42. hand=false
  43. MMouse=nil
  44. combo=0
  45. mana=0
  46. trispeed=.2
  47. attackmode='none'
  48. local idle=0
  49. local Anim="Idle"
  50. local stanceToggle="Flight"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. mana=0
  56. cam = workspace.CurrentCamera
  57. ZTarget = nil
  58. RocketTarget = nil
  59. local m = Instance.new("Model",Character)
  60. m.Name = "WeaponModel"
  61.  
  62. mouse=Player:GetMouse()
  63. --save shoulders
  64. RSH, LSH=nil, nil
  65. --welds
  66. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  67. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  68. LH=Torso["Left Hip"]
  69. RH=Torso["Right Hip"]
  70. function NoOutline(Part)
  71. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  72. end
  73. player=Player
  74. ch=Character
  75. RSH=ch.Torso["Right Shoulder"]
  76. LSH=ch.Torso["Left Shoulder"]
  77. --
  78. RSH.Parent=nil
  79. LSH.Parent=nil
  80. --
  81. RW.Name="Right Shoulder"
  82. RW.Part0=ch.Torso
  83. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  84. RW.C1=cf(0, 0.5, 0)
  85. RW.Part1=ch["Right Arm"]
  86. RW.Parent=ch.Torso
  87. --
  88. LW.Name="Left Shoulder"
  89. LW.Part0=ch.Torso
  90. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  91. LW.C1=cf(0, 0.5, 0)
  92. LW.Part1=ch["Left Arm"]
  93. LW.Parent=ch.Torso
  94.  
  95. function swait(num)
  96. if num==0 or num==nil then
  97. game:service'RunService'.Heartbeat:wait(0)
  98. else
  99. for i=0,num do
  100. game:service'RunService'.Heartbeat:wait(0)
  101. end
  102. end
  103. end
  104.  
  105. function nooutline(part)
  106. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  107. end
  108.  
  109. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  110. local fp=it("Part")
  111. fp.formFactor=formfactor
  112. fp.Parent=parent
  113. fp.Reflectance=reflectance
  114. fp.Transparency=transparency
  115. fp.CanCollide=false
  116. fp.Locked=true
  117. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  118. fp.Name=name
  119. fp.Size=size
  120. fp.Position=Character.Torso.Position
  121. nooutline(fp)
  122. fp.Material=material
  123. fp:BreakJoints()
  124. return fp
  125. end
  126.  
  127. function ppart(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  128. local fp = it("Part")
  129. fp.formFactor = formfactor
  130. fp.Parent = parent
  131. fp.Reflectance = reflectance
  132. fp.Transparency = transparency
  133. fp.CanCollide = false
  134. fp.Locked=true
  135. fp.BrickColor = brickcolor
  136. fp.Name = name
  137. fp.Size = size
  138. fp.Position = EffectPart.Position
  139. NoOutline(fp)
  140. fp.Material="Neon"
  141. fp:BreakJoints()
  142. return fp
  143. end
  144.  
  145. function wweld(parent,part0,part1,c0)
  146. local weld=it("Weld")
  147. weld.Parent=parent
  148. weld.Part0=part0
  149. weld.Part1=part1
  150. weld.C0=c0
  151. return weld
  152. end
  153.  
  154. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  155. local mesh=it(Mesh)
  156. mesh.Parent=part
  157. if Mesh=="SpecialMesh" then
  158. mesh.MeshType=meshtype
  159. mesh.MeshId=meshid
  160. end
  161. mesh.Offset=offset
  162. mesh.Scale=scale
  163. return mesh
  164. end
  165.  
  166. function decal(part,face,texture,transparency,shiny,specular,name)
  167. local d=it("Decal",part)
  168. d.Shiny=shiny
  169. d.Face=face
  170. d.Specular=specular
  171. d.Transparency=transparency
  172. d.Texture=texture
  173. d.Name=name
  174. return d
  175. end
  176.  
  177. function weld(parent,part0,part1,c0,c1)
  178. local weld=it("Weld")
  179. weld.Parent=parent
  180. weld.Part0=part0
  181. weld.Part1=part1
  182. weld.C0=c0
  183. weld.C1=c1
  184. return weld
  185. end
  186.  
  187.  
  188. local function CFrameFromTopBack(at, top, back)
  189. local right = top:Cross(back)
  190. return CFrame.new(at.x, at.y, at.z,
  191. right.x, top.x, back.x,
  192. right.y, top.y, back.y,
  193. right.z, top.z, back.z)
  194. end
  195.  
  196. function Triangle(a, b, c)
  197. local edg1 = (c-a):Dot((b-a).unit)
  198. local edg2 = (a-b):Dot((c-b).unit)
  199. local edg3 = (b-c):Dot((a-c).unit)
  200. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  201. a, b, c = a, b, c
  202. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  203. a, b, c = b, c, a
  204. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  205. a, b, c = c, a, b
  206. else
  207. assert(false, "unreachable")
  208. end
  209.  
  210. local len1 = (c-a):Dot((b-a).unit)
  211. local len2 = (b-a).magnitude - len1
  212. local width = (a + (b-a).unit*len1 - c).magnitude
  213.  
  214. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  215.  
  216. local list = {}
  217.  
  218. local TrailColor = ("Institutional white")
  219.  
  220. if len1 > 0.01 then
  221. local w1 = Instance.new('WedgePart', m)
  222. game:GetService("Debris"):AddItem(w1,5)
  223. w1.Material = "Neon"
  224. w1.FormFactor = 'Custom'
  225. w1.BrickColor = BrickColor.new(TrailColor)
  226. w1.Transparency = 0
  227. w1.Reflectance = 0
  228. w1.Material = "Neon"
  229. w1.CanCollide = false
  230. NoOutline(w1)
  231. local sz = Vector3.new(0.2, width, len1)
  232. w1.Size = sz
  233. local sp = Instance.new("SpecialMesh",w1)
  234. sp.MeshType = "Wedge"
  235. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  236. w1:BreakJoints()
  237. w1.Anchored = true
  238. w1.Parent = workspace
  239. w1.Transparency = 0.7
  240. table.insert(Effects,{w1,"Disappear",.01})
  241. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  242. table.insert(list,w1)
  243. end
  244.  
  245. if len2 > 0.01 then
  246. local w2 = Instance.new('WedgePart', m)
  247. game:GetService("Debris"):AddItem(w2,5)
  248. w2.Material = "Neon"
  249. w2.FormFactor = 'Custom'
  250. w2.BrickColor = BrickColor.new(TrailColor)
  251. w2.Transparency = 0
  252. w2.Reflectance = 0
  253. w2.Material = "Neon"
  254. w2.CanCollide = false
  255. NoOutline(w2)
  256. local sz = Vector3.new(0.2, width, len2)
  257. w2.Size = sz
  258. local sp = Instance.new("SpecialMesh",w2)
  259. sp.MeshType = "Wedge"
  260. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  261. w2:BreakJoints()
  262. w2.Anchored = true
  263. w2.Parent = workspace
  264. w2.Transparency = 0.7
  265. table.insert(Effects,{w2,"Disappear",.01})
  266. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  267. table.insert(list,w2)
  268. end
  269. return unpack(list)
  270. end
  271.  
  272.  
  273. so = function(id,par,vol,pit)
  274. coroutine.resume(coroutine.create(function()
  275. local sou = Instance.new("Sound",par or workspace)
  276. sou.Volume=vol
  277. sou.Pitch=pit or 1
  278. sou.SoundId=id
  279. swait()
  280. sou:play()
  281. game:GetService("Debris"):AddItem(sou,6)
  282. end))
  283. end
  284.  
  285. function clerp(a,b,t)
  286. local qa = {QuaternionFromCFrame(a)}
  287. local qb = {QuaternionFromCFrame(b)}
  288. local ax, ay, az = a.x, a.y, a.z
  289. local bx, by, bz = b.x, b.y, b.z
  290. local _t = 1-t
  291. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  292. end
  293.  
  294. function QuaternionFromCFrame(cf)
  295. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  296. local trace = m00 + m11 + m22
  297. if trace > 0 then
  298. local s = math.sqrt(1 + trace)
  299. local recip = 0.5/s
  300. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  301. else
  302. local i = 0
  303. if m11 > m00 then
  304. i = 1
  305. end
  306. if m22 > (i == 0 and m00 or m11) then
  307. i = 2
  308. end
  309. if i == 0 then
  310. local s = math.sqrt(m00-m11-m22+1)
  311. local recip = 0.5/s
  312. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  313. elseif i == 1 then
  314. local s = math.sqrt(m11-m22-m00+1)
  315. local recip = 0.5/s
  316. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  317. elseif i == 2 then
  318. local s = math.sqrt(m22-m00-m11+1)
  319. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  320. end
  321. end
  322. end
  323.  
  324. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  325. local xs, ys, zs = x + x, y + y, z + z
  326. local wx, wy, wz = w*xs, w*ys, w*zs
  327. local xx = x*xs
  328. local xy = x*ys
  329. local xz = x*zs
  330. local yy = y*ys
  331. local yz = y*zs
  332. local zz = z*zs
  333. 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))
  334. end
  335.  
  336. function QuaternionSlerp(a, b, t)
  337. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  338. local startInterp, finishInterp;
  339. if cosTheta >= 0.0001 then
  340. if (1 - cosTheta) > 0.0001 then
  341. local theta = math.acos(cosTheta)
  342. local invSinTheta = 1/math.sin(theta)
  343. startInterp = math.sin((1-t)*theta)*invSinTheta
  344. finishInterp = math.sin(t*theta)*invSinTheta
  345. else
  346. startInterp = 1-t
  347. finishInterp = t
  348. end
  349. else
  350. if (1+cosTheta) > 0.0001 then
  351. local theta = math.acos(-cosTheta)
  352. local invSinTheta = 1/math.sin(theta)
  353. startInterp = math.sin((t-1)*theta)*invSinTheta
  354. finishInterp = math.sin(t*theta)*invSinTheta
  355. else
  356. startInterp = t-1
  357. finishInterp = t
  358. end
  359. end
  360. 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
  361. end
  362.  
  363. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  364. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  365. end
  366.  
  367. Damagefunc=function(Part,hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  368. if hit.Parent==nil then
  369. return
  370. end
  371. local h=hit.Parent:FindFirstChild("Humanoid")
  372. for _,v in pairs(hit.Parent:children()) do
  373. if v:IsA("Humanoid") then
  374. h=v
  375. end
  376. end
  377. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  378. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  379. end
  380. if hit.Parent.className=="Hat" then
  381. hit=hit.Parent.Parent:findFirstChild("Head")
  382. end
  383. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  384. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  385. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  386. return
  387. end]]
  388. -- hs(hit,1.2)
  389. local c=Instance.new("ObjectValue")
  390. c.Name="creator"
  391. c.Value=game:service("Players").LocalPlayer
  392. c.Parent=h
  393. game:GetService("Debris"):AddItem(c,.5)
  394. local Damage=math.rad(minim,maxim)
  395. -- h:TakeDamage(Damage)
  396. local blocked=false
  397. local block=hit.Parent:findFirstChild("Block")
  398. if block~=nil then
  399. print(block.className)
  400. if block.className=="NumberValue" then
  401. if block.Value>0 then
  402. blocked=true
  403. if decreaseblock==nil then
  404. block.Value=block.Value-1
  405. end
  406. end
  407. end
  408. if block.className=="IntValue" then
  409. if block.Value>0 then
  410. blocked=true
  411. if decreaseblock~=nil then
  412. block.Value=block.Value-1
  413. end
  414. end
  415. end
  416. end
  417. if blocked==false then
  418. -- h:TakeDamage(Damage)
  419. h.Health=h.Health-Damage
  420. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, Part.BrickColor.Color)
  421. else
  422. h.Health=h.Health-(Damage/2)
  423. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Bright blue").Color)
  424. end
  425. if Type=="Knockdown" then
  426. local hum=hit.Parent.Humanoid
  427. hum.PlatformStand=true
  428. coroutine.resume(coroutine.create(function(HHumanoid)
  429. swait(1)
  430. HHumanoid.PlatformStand=false
  431. end),hum)
  432. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  433. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  434. local bodvol=Instance.new("BodyVelocity")
  435. bodvol.velocity=angle*knockback
  436. bodvol.P=5000
  437. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  438. bodvol.Parent=hit
  439. local rl=Instance.new("BodyAngularVelocity")
  440. rl.P=3000
  441. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  442. rl.angularvelocity=Vector3.new(math.rad(-10,10),math.rad(-10,10),math.rad(-10,10))
  443. rl.Parent=hit
  444. game:GetService("Debris"):AddItem(bodvol,.5)
  445. game:GetService("Debris"):AddItem(rl,.5)
  446. elseif Type=="Normal" then
  447. local vp=Instance.new("BodyVelocity")
  448. vp.P=500
  449. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  450. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  451. if KnockbackType==1 then
  452. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  453. elseif KnockbackType==2 then
  454. vp.velocity=Property.CFrame.lookVector*knockback
  455. end
  456. if knockback>0 then
  457. vp.Parent=hit.Parent.Torso
  458. end
  459. game:GetService("Debris"):AddItem(vp,.5)
  460. elseif Type=="Up" then
  461. local bodyVelocity=Instance.new("BodyVelocity")
  462. bodyVelocity.velocity=vt(0,60,0)
  463. bodyVelocity.P=5000
  464. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  465. bodyVelocity.Parent=hit
  466. game:GetService("Debris"):AddItem(bodyVelocity,1)
  467. local rl=Instance.new("BodyAngularVelocity")
  468. rl.P=3000
  469. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  470. rl.angularvelocity=Vector3.new(math.rad(-30,30),math.rad(-30,30),math.rad(-30,30))
  471. rl.Parent=hit
  472. game:GetService("Debris"):AddItem(rl,.5)
  473. elseif Type=="Snare" then
  474. local bp=Instance.new("BodyPosition")
  475. bp.P=2000
  476. bp.D=100
  477. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  478. bp.position=hit.Parent.Torso.Position
  479. bp.Parent=hit.Parent.Torso
  480. game:GetService("Debris"):AddItem(bp,1)
  481. elseif Type=="Target" then
  482. local Targetting = false
  483. if Targetting==false then
  484. ZTarget=hit.Parent.Torso
  485. coroutine.resume(coroutine.create(function(Part)
  486. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  487. swait(5)
  488. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  489. end),ZTarget)
  490. local TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  491. local targetgui=Instance.new("BillboardGui")
  492. targetgui.Parent=ZTarget
  493. targetgui.Size=UDim2.new(10,100,10,100)
  494. local targ=Instance.new("ImageLabel")
  495. targ.Parent=targetgui
  496. targ.BackgroundTransparency=1
  497. targ.Image="rbxassetid://4834067"
  498. targ.Size=UDim2.new(1,0,1,0)
  499. cam.CameraType="Scriptable"
  500. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  501. local dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  502. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  503. Targetting=true
  504. RocketTarget=ZTarget
  505. for i=1,Property do
  506. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  507. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  508. swait()
  509. end
  510. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  511. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  512. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  513. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  514. end
  515. Targetting=false
  516. RocketTarget=nil
  517. targetgui.Parent=nil
  518. cam.CameraType="Custom"
  519. end
  520. end
  521. local debounce=Instance.new("BoolValue")
  522. debounce.Name="DebounceHit"
  523. debounce.Parent=hit.Parent
  524. debounce.Value=true
  525. game:GetService("Debris"):AddItem(debounce,Delay)
  526. c=Instance.new("ObjectValue")
  527. c.Name="creator"
  528. c.Value=Player
  529. c.Parent=h
  530. game:GetService("Debris"):AddItem(c,.5)
  531. end
  532. end
  533.  
  534.  
  535. function ShowDamage(Pos, Text, Time, Color)
  536. local Rate = (1 / 30)
  537. local Pos = (Pos or Vector3.new(0, 0, 0))
  538. local Text = (Text or "")
  539. local Time = (Time or 2)
  540. local Color = (Color or Color3.new(1, 0, 0))
  541. local EffectPart = part("Custom",workspace,"SmoothPlastic",0,1,BrickColor.new(Color),"Effect",vt(0,0,0))
  542. EffectPart.Anchored = true
  543. local BillboardGui = Instance.new("BillboardGui")
  544. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  545. BillboardGui.Adornee = EffectPart
  546. local TextLabel = Instance.new("TextLabel")
  547. TextLabel.BackgroundTransparency = 1
  548. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  549. TextLabel.Text = Text
  550. TextLabel.TextColor3 = Color
  551. TextLabel.TextScaled = true
  552. TextLabel.Font = Enum.Font.ArialBold
  553. TextLabel.Parent = BillboardGui
  554. BillboardGui.Parent = EffectPart
  555. game.Debris:AddItem(EffectPart, (Time + 0.1))
  556. EffectPart.Parent = game:GetService("Workspace")
  557. Delay(0, function()
  558. local Frames = (Time / Rate)
  559. for Frame = 1, Frames do
  560. wait(Rate)
  561. local Percent = (Frame / Frames)
  562. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  563. TextLabel.TextTransparency = Percent
  564. end
  565. if EffectPart and EffectPart.Parent then
  566. EffectPart:Destroy()
  567. end
  568. end)
  569. end
  570.  
  571. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  572. local fp=it("Part")
  573. fp.formFactor=formfactor
  574. fp.Parent=parent
  575. fp.Reflectance=reflectance
  576. fp.Transparency=transparency
  577. fp.CanCollide=false
  578. fp.Locked=true
  579. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  580. fp.Name=name
  581. fp.Size=size
  582. fp.Position=Character.Torso.Position
  583. nooutline(fp)
  584. fp.Material=material
  585. fp:BreakJoints()
  586. return fp
  587. end
  588.  
  589. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  590. local mesh=it(Mesh)
  591. mesh.Parent=part
  592. if Mesh=="SpecialMesh" then
  593. mesh.MeshType=meshtype
  594. mesh.MeshId=meshid
  595. end
  596. mesh.Offset=offset
  597. mesh.Scale=scale
  598. return mesh
  599. end
  600.  
  601. function weld(parent,part0,part1,c0,c1)
  602. local weld=it("Weld")
  603. weld.Parent=parent
  604. weld.Part0=part0
  605. weld.Part1=part1
  606. weld.C0=c0
  607. weld.C1=c1
  608. return weld
  609. end
  610.  
  611. -----ParticleSpawn------
  612. local ps = Instance.new("Part", Character)
  613. ps.Name="PS"
  614. ps.Transparency=1
  615. wld = Instance.new('Weld',Character.PS)
  616. wld.Part0 = Character.Torso
  617. wld.Part1 = ps
  618. wld.C0=CFrame.new(0, 5, 0)*CFrame.Angles(0,0,math.rad(0))
  619. -------Sorcer {A} Sword-------
  620. m=Instance.new('Model',Character)
  621. m.Name="wep1"
  622. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  623. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  624. mesh("CylinderMesh",handle,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  625. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  626. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  627. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  628. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  629. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  630. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  631. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  632. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  633. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  634. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  635. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  636. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  637. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  638. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  639. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  640. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  641. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  642. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  643. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1, 1.20000005, 1))
  644. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  645. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  646. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  647. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  648. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  649. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  650. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  651. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  652. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  653. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  654. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  655. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  656. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  657. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  658. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  659. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  660. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  661. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  662. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  663. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  664. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  665. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  666. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  667. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  668. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  669. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  670. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  671. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  672. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  673. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  674. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  675. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  676. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  677. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  678. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  679. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  680. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  681. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  682. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  683. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  684. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  685. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  686. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  687. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  688. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  689. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  690. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  691. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  692. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  693. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  694. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  695. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  696. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  697. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  698. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  699. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  700. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  701. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  702. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  703. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  704. Hitboxweld=weld(m,handle,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  705. EffectPart=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  706. EffectPartweld=weld(m,handle,EffectPart,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  707. mesh("BlockMesh",EffectPart,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  708. EffectPart2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart2",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  709. EffectPart2weld=weld(m,Character["Left Arm"],EffectPart2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  710. ----------------------------------------------------
  711. m=Instance.new('Model',Character)
  712. m.Name="wep2"
  713. hanble=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","hanble",Vector3.new(0.200000003, 1.61857152, 0.200000003))
  714. hanbleweld=weld(m,Character["Left Arm"],hanble,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.995889783, -0.101109691, 0.0468789339, -5.23798153e-005, 0.99999994, -0.000210702419, -6.36925748e-008, -0.000210702419, -0.99999994, -1, -5.23798008e-005, 7.47295417e-008))
  715. mesh("CylinderMesh",hanble,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 1, 0.857142746))
  716. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.257142872, 0.911428571))
  717. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00982296467, -0.128642559, 5.57254982, -1.21753502e-007, -2.87620594e-010, 1, -1, -1.04306673e-006, -1.2175461e-007, 1.04306673e-006, -1, -2.87123214e-010))
  718. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  719. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.571428657))
  720. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0100114346, 3.24283266, 2.64644623e-005, -2.98713599e-006, -1.63886575e-008, -1, -1.18017197e-005, -0.99999994, 1.64265153e-008, -0.99999994, 1.18017197e-005, 2.98713007e-006))
  721. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  722. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 3.74285722, 0.514285743))
  723. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00896048546, 3.24313331, -6.2584877e-006, -2.62832918e-006, -1.58840017e-008, -1, -1.16825104e-005, -0.99999994, 1.59122848e-008, -0.99999994, 1.16825104e-005, 2.62831986e-006))
  724. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  725. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.914285779, 0.254285723))
  726. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0080575943, -5.57459974, 0.127099097, -7.20826961e-007, -1.18548371e-009, 1, 6.25863322e-007, 1, 1.18891563e-009, -1, 6.25863322e-007, -7.20827984e-007))
  727. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.571428537, 1, 1))
  728. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.942857206, 0.28285715))
  729. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00858414173, -5.58866072, 0.142816901, -5.41048905e-007, -8.99582631e-010, 1, -5.96046448e-007, 0.99999994, 9.00953978e-010, -0.99999994, -5.96046448e-007, -5.41057148e-007))
  730. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  731. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.285714328, 0.940000057))
  732. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.011053443, -0.142930448, 5.58944941, 2.97432763e-007, 3.64387631e-010, 1, -1, 6.25863322e-007, 2.9743137e-007, -6.25863322e-007, -1, 3.63804986e-010))
  733. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 1, 1))
  734. Part=part(Enum.FormFactor.Brick,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1, 1.20000005, 1))
  735. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.57627869e-007, -0.809324801, 1.96695328e-006, 6.20105922e-008, 2.27451835e-010, -1, 1.81795622e-006, 1, 2.27856845e-010, 1, -1.81795622e-006, 6.2011928e-008))
  736. mesh("SpecialMesh",Part,Enum.MeshType.Head,"",Vector3.new(0, 0, 0),Vector3.new(0.285714298, 0.142857134, 0.285714298))
  737. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  738. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00226664543, 0.69951874, 1.00827909, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  739. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  740. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  741. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487548, -0.00217807293, 3.74913216e-005, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  742. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.857145786, 1))
  743. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.892679513, 0.539954185, 0.771299422))
  744. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.19487882, -0.00217807293, 4.00543213e-005, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  745. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.571431458, 1.10000002))
  746. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492851, 0.539954185, 0.539909601))
  747. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00595891476, -1.00750566, 1.00747085, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  748. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714179))
  749. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.483492821, 0.539954185, 0.539909601))
  750. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00534570217, -1.00757694, -0.698815584, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  751. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  752. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.493492872, 0.539954185, 0.539909601))
  753. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000260472298, 0.6988675, -0.698937058, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  754. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.285714179, 0.285714269))
  755. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  756. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00927072763, -0.0121991634, 1.19311547, 0.999999881, -2.08614802e-006, 1.9306286e-007, -1.93059051e-007, -1.09411957e-007, 1, -2.08616257e-006, -0.999999881, -1.09408283e-007))
  757. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  758. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  759. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.604586363, -0.0121991634, 1.02863288, 0.866026282, 0.499998033, 2.28958157e-007, -1.93872992e-007, -1.22099237e-007, 1, 0.499998033, -0.866026282, -8.79730777e-009))
  760. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  761. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267962, 0.200000003, 0.200000003))
  762. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.03790355, -0.0121991634, 0.588528812, 0.500001669, 0.866024196, 1.74744486e-007, -1.6279435e-007, -1.0777579e-007, 1, 0.866024196, -0.500001669, 8.71042545e-008))
  763. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  764. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.662679553, 0.200000003, 0.200000003))
  765. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.39311564, -0.0121991634, -0.00927072763, 2.08616257e-006, 0.999999881, 7.82298955e-008, -1.51383063e-007, -7.82268899e-008, 1, 0.999999881, -2.08614802e-006, 1.51386175e-007))
  766. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  767. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.46267951, 0.200000003, 0.200000003))
  768. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02863288, -0.0121997595, -0.604586482, -0.499998093, 0.866026223, -6.44970513e-008, -1.45620604e-007, -9.60127267e-009, 1, 0.866026223, 0.499998093, 1.30918266e-007))
  769. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  770. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.06267953, 0.200000003, 0.200000003))
  771. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.588528991, -0.0121992826, -1.03790355, -0.866024137, 0.500001729, -9.11133142e-008, -1.16737233e-007, -1.99774206e-008, 1, 0.500001729, 0.866024137, 7.56750538e-008))
  772. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  773. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.372464359, 0.762464345, 0.762464285))
  774. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00338602066, -0.736121356, -0.540583551, 5.41296288e-007, 9.50464596e-010, -1, 0.707107663, -0.707105815, 3.8208583e-007, -0.707105815, -0.707107663, -3.83435292e-007))
  775. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542364))
  776. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.382464379, 0.762464345, 0.762464285))
  777. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00803625584, -0.737174749, 0.736498654, 3.01447898e-007, 5.80818948e-010, -1, -0.707105994, -0.707107365, -2.13563524e-007, -0.707107365, 0.707106113, -2.12752497e-007))
  778. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.913885474, 0.128561974, 0.128542408))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  780. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00594449043, 0.540397167, 0.737201214, 2.4158129e-007, 4.89748686e-010, -1, -0.707107604, 0.707105875, -1.70486445e-007, 0.707105815, 0.707107544, 1.71177419e-007))
  781. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366609, 0.128561974, 0.128542408))
  782. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.40246433, 0.762464345, 0.762464285))
  783. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00681877136, 0.540436149, -0.541088939, -1.81721958e-007, -3.98678424e-010, 1, -0.707107067, 0.707106411, -1.28216811e-007, -0.707106411, -0.707106948, -1.28784094e-007))
  784. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.895366669, 0.128561974, 0.128542364))
  785. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  786. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910848916, -0.00147974491, 0.000465214252, 2.29479338e-006, 1, 7.06279479e-012, -6.20287395e-008, -7.34701189e-012, 1, 1, -2.29479338e-006, 6.20337914e-008))
  787. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.385687381, 0.642712057))
  788. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(1.26045096, 0.762464345, 0.762464285))
  789. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.910846829, -0.00147974491, 0.000467300415, 2.0563748e-006, 1, 1.14326326e-011, -6.20178255e-008, -1.28039801e-011, 1, 1, -2.0563748e-006, 6.20228633e-008))
  790. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1.10000002, 0.257125348, 0.706983268))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Institutional white","SwordPart",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  792. Partweld=weld(m,hanble,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-3.98755074e-005, -0.86527884, -0.00526940823, 0.99999994, -3.33786011e-006, -1.61662047e-006, 3.33786011e-006, 0.99999994, -1.75251103e-009, 1.61662604e-006, 1.74897963e-009, 1))
  793. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.857142806, 0.857145548, 0.857142746))
  794. Hitbox=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","Hitbox",Vector3.new(0.650000036, 4.19999981, 0.200000003))
  795. Hitboxweld=weld(m,hanble,Hitbox,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0107657909, -3.95914412, 0.00325751305, 0.999999821, -0.000211339415, 2.39198562e-006, 0.000211339124, 0.999997795, -6.21902582e-005, -2.38056168e-006, 6.20116552e-005, 0.999992907))
  796. EffectPart1=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart1",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  797. EffectPart1weld=weld(m,hanble,EffectPart1,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  798. mesh("BlockMesh",EffectPart1,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  799. EffectPart12=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,1,"Institutional white","EffectPart12",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  800. EffectPart12weld=weld(m,Character["Left Arm"],EffectPart12,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  801. ----------------
  802. for i,v in pairs(game.Workspace.Upscalegaming.wep1:GetChildren()) do
  803. if v.ClassName=="Part" or v.ClassName=="UnionOperation" then
  804. v.Transparency=1
  805. end
  806. end
  807. for i,v in pairs(game.Workspace.Upscalegaming.wep2:GetChildren()) do
  808. if v.ClassName=="Part" or v.ClassName=="UnionOperation" then
  809. v.Transparency=1
  810. end
  811. end
  812.  
  813. DarkRiftF=function(par)
  814. while lol == true do
  815. wait()
  816. local PWN={}
  817. for _,v in pairs(game.Workspace:children()) do
  818. if v.className=="Model" and v:FindFirstChild("Humanoid")~=nil then
  819. if v.Humanoid.Health>0 and v:FindFirstChild("Torso")~=nil then
  820. table.insert(PWN,v.Torso)
  821. end
  822. end
  823. end
  824. for _,t in pairs(PWN) do
  825. local targ=par.Position-t.Position
  826. local Mag=targ.magnitude
  827. if not t:IsDescendantOf(Character) and t~=nil and Mag<=50 then
  828. if Mag<=30 then
  829. t.Parent.Humanoid:TakeDamage(.5)
  830. local rl=Instance.new("BodyAngularVelocity")
  831. rl.P=3000
  832. rl.maxTorque=Vector3.new(500000,500000,500000)*5000
  833. rl.angularvelocity=Vector3.new(math.rad(-20,20),math.rad(-20,20),math.rad(-20,20))/10
  834. rl.Parent=t
  835. game:GetService("Debris"):AddItem(rl,.1)
  836. end
  837. if Mag<=20 then
  838. t.Parent.Humanoid:TakeDamage(.1)
  839. else
  840. local vl=Instance.new("BodyVelocity")
  841. vl.P=3000
  842. vl.maxForce=Vector3.new(50000000000,50000000000,50000000000)
  843. vl.velocity=(t.Position-par.Position).unit*-(70/(Mag))
  844. vl.Parent=t
  845. game:GetService("Debris"):AddItem(vl,.1)
  846. end
  847. end
  848. end
  849. wait(.08)
  850. end
  851. end
  852.  
  853. function DerpMagic(part,x1,y1,z1,x2,y2,z2,color)
  854. local msh1 = Instance.new("BlockMesh")
  855. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  856. local S=Instance.new("Part")
  857. S.Name="Effect"
  858. S.Material="Neon"
  859. S.formFactor=0
  860. S.Size=Vector3.new(x1,y1,z1)
  861. S.BrickColor=color
  862. S.Reflectance = 0
  863. S.TopSurface=0
  864. S.BottomSurface=0
  865. S.Transparency=0
  866. S.Anchored=false
  867. S.CanCollide=false
  868. S.CFrame=part.CFrame
  869. S.Parent=game.Workspace
  870. msh1.Parent = S
  871. local W=Instance.new("Weld")
  872. W.Parent=S
  873. W.Part0=S
  874. W.Part1=part
  875. W.C0=CFrame.new(x2,y2,z2) * CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  876. W.Parent=nil
  877. S.Anchored=true
  878. coroutine.resume(coroutine.create(function(Part,Weld) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) --[[Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))]] Part.Transparency=i*.1 wait() end Part.Parent=nil Weld.Parent=nil end),S,W)
  879. end
  880.  
  881. local function BlackHole(parent,cframe)
  882. local effectsmsh = Instance.new("SpecialMesh")
  883. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  884. --effectsmsh.Scale = Vector3.new(1,1,2.5)
  885. effectsmsh.Scale = Vector3.new(3,3,3)
  886. local effectsg = Instance.new("Part")
  887. effectsg.formFactor = 3
  888. effectsg.CanCollide = false
  889. effectsg.Name = "Effect"
  890. effectsg.Locked = true
  891. effectsg.Transparency = 1
  892. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  893. effectsg.Parent = parent
  894. effectsg.BrickColor = BrickColor.random()
  895. effectsg.Material="Neon"
  896. coroutine.resume(coroutine.create(function(Part,Mesh)
  897. local Mesh = Instance.new("SpecialMesh")
  898. Mesh.Scale = Vector3.new(0.5,0.5,0.5)
  899. Mesh.MeshType = "Sphere"
  900. -- Mesh.TextureId="http://www.roblox.com/asset/?id=1529460"
  901. Part=Instance.new("Part")
  902. Part.Name="Effect"
  903. Part.formFactor=0
  904. Part.Size=Vector3.new(1,1,1)
  905. Part.BrickColor=BrickColor.random()
  906. Part.Material="Neon"
  907. Part.Reflectance = 0
  908. Part.TopSurface=0
  909. Part.BottomSurface=0
  910. Part.Transparency=0
  911. Part.Anchored=true
  912. NoOutline(Part)
  913. Part.CanCollide=false
  914. Part.CFrame=cframe
  915. Part.Parent=parent
  916. Mesh.Parent = Part
  917. lol=true
  918. coroutine.resume(coroutine.create(function()
  919. DarkRiftF(Part)
  920. end))
  921. for i=0,200 do
  922. wait()
  923. DerpMagic(Part,1,i/3,1,0,i/3,0,BrickColor.random())
  924. Mesh.Scale=Mesh.Scale-Vector3.new(0.2,0.2,0.2)
  925. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  926. end
  927. local fff=200
  928. for i=0,100 do
  929. wait()
  930. DerpMagic(Part,1,fff/3,1,0,fff/3,0,BrickColor.random())
  931. Part.CFrame=cframe*CFrame.fromEulerAnglesXYZ(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  932. end
  933. for i=0,1,0.05 do
  934. wait()
  935. Part.Transparency=Part.Transparency+0.05
  936. Mesh.Scale=Mesh.Scale+Vector3.new(1.5,1.5,1.5)
  937. end
  938. lol=false
  939. Part.Parent=nil
  940. end),nil,nil)
  941. end
  942.  
  943. function makeShockwave(height,color,speed,range,pulse)
  944. local range = range or 2000
  945. local p = Instance.new("Part")
  946. p.Anchored = true
  947. p.CanCollide = false
  948. p.FormFactor = "Custom"
  949. p.BrickColor = color
  950. p.Parent = workspace
  951. local m = Instance.new("SpecialMesh",p)
  952. m.MeshId = "rbxassetid://3270017"
  953. local estimateSurvival = math.floor(range/speed) * 0.03
  954. game:GetService("Debris"):AddItem(p,estimateSurvival)
  955. Spawn(function ()
  956. for i = 1,range,speed do
  957. p.Transparency = 1-math.min(0.5,3-(i/500))
  958. m.Scale = Vector3.new(i,i,i*height)
  959. p.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(90),0,0)
  960. wait()
  961. end
  962. p:Destroy()
  963. end)
  964. end
  965.  
  966. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  967. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  968. prt.Anchored=true
  969. prt.CFrame=cframe
  970. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(.1,.1,.1))
  971. game:GetService("Debris"):AddItem(prt,2)
  972. coroutine.resume(coroutine.create(function(Part,Mesh)
  973. for i=0,2,delay do
  974. wait()
  975. Part.CFrame=Part.CFrame
  976. Part.Transparency=i
  977. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  978. end
  979. Part.Parent=nil
  980. end),prt,msh)
  981. end
  982.  
  983. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  984. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  985. prt.Anchored=true
  986. prt.CFrame=cframe
  987. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  988. game:GetService("Debris"):AddItem(prt,5)
  989. coroutine.resume(coroutine.create(function(Part,Mesh)
  990. for i=0,1,delay do
  991. wait()
  992. Part.CFrame=Part.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  993. Part.Transparency=i
  994. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  995. end
  996. Part.Parent=nil
  997. end),prt,msh)
  998. end
  999.  
  1000. local function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,Type,parent)
  1001. local prt=ppart(3,game.Workspace,0,1,brickcolor,"Effect",vt())
  1002. if Type~=2 then
  1003. prt.Anchored=true
  1004. end
  1005. prt.CFrame=cframe
  1006. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1007. game:GetService("Debris"):AddItem(prt,5)
  1008. coroutine.resume(coroutine.create(function(Part,Mesh,dur)
  1009. local wld=nil
  1010. if dur==2 then
  1011. wld=weld(Part,Part,parent,euler(0,0,0)*cf(0,0,0))
  1012. end
  1013. for i=0,1,delay do
  1014. swait()
  1015. if dur==1 then
  1016. Part.CFrame=Part.CFrame
  1017. elseif dur==2 then
  1018. wld.C0=cframe
  1019. end
  1020. Part.Transparency=i
  1021. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1022. end
  1023. Part.Parent=nil
  1024. end),prt,msh,Type)
  1025. end
  1026.  
  1027. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1028. local prt=ppart(3,game.Workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1029. prt.Anchored=true
  1030. prt.CFrame=cframe
  1031. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1032. game:GetService("Debris"):AddItem(prt,5)
  1033. coroutine.resume(coroutine.create(function(Part,Mesh)
  1034. for i=0,1,delay do
  1035. swait()
  1036. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1037. Part.Transparency=i
  1038. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1039. end
  1040. Part.Parent=nil
  1041. end),prt,msh)
  1042. end
  1043.  
  1044. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1045. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1046. prt.Anchored=true
  1047. prt.CFrame=cframe
  1048. local msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1049. game:GetService("Debris"):AddItem(prt,5)
  1050. coroutine.resume(coroutine.create(function(Part,Mesh)
  1051. for i=0,1,delay do
  1052. wait()
  1053. Part.CFrame=Part.CFrame
  1054. Part.Transparency=i
  1055. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1056. end
  1057. Part.Parent=nil
  1058. end),prt,msh)
  1059. end
  1060.  
  1061. function MagicWave(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1062. local prt=ppart(3,workspace,0,0,brickcolor,"Effect",vt())
  1063. prt.Anchored=true
  1064. prt.CFrame=cframe
  1065. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1066. game:GetService("Debris"):AddItem(prt,5)
  1067. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1068. end
  1069.  
  1070. function Blast(parent)
  1071. MagicBlock(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1072. MagicWaveThing(BrickColor.random(),parent.CFrame,4,4,4,0.2,0.2,0.2,0.01)
  1073. end
  1074.  
  1075. function ChargeBall(parent,t)
  1076. local counter=0
  1077. local size=1
  1078. for i=0,t,1 do
  1079. swait()
  1080. counter=counter+1
  1081. if counter%10==0 then
  1082. if size==3 then
  1083. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1084. elseif size==2 then
  1085. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1086. end
  1087. end
  1088. if counter%5==0 then
  1089. if size==1 then
  1090. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1091. elseif size==2 then
  1092. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1093. elseif size==3 then
  1094. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1095. end
  1096. end
  1097. end
  1098. end
  1099.  
  1100. function ChargeBall2(parent,t)
  1101. local counter=0
  1102. local size=1
  1103. for i=0,t,1 do
  1104. swait()
  1105. counter=counter+1
  1106. if counter%10==0 then
  1107. if size==3 then
  1108. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1109. elseif size==2 then
  1110. MagicRing(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1111. end
  1112. end
  1113. if counter%5==0 then
  1114. if size==1 then
  1115. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1116. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1117. elseif size==2 then
  1118. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1119. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1120. elseif size==3 then
  1121. MagicBlock(BrickColor.random(),parent.CFrame,.5,.5,.5,1,1,1,0.1,3,parent)
  1122. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),1,1,1,1,.5,1,0.05)
  1123. end
  1124. end
  1125. end
  1126. end
  1127.  
  1128. function MagniDamage(Part,dis,mind,maxd,force,knock)
  1129. for _,c in pairs(workspace:children()) do
  1130. local hum=c:findFirstChild("Humanoid")
  1131. if hum~=nil then
  1132. local head=c:findFirstChild("Torso")
  1133. if head~=nil then
  1134. local targ=head.Position-Part.Position
  1135. local mag=targ.magnitude
  1136. if mag<=dis and c.Name~=Character.Name then
  1137. Damagefunc(Part,hum.Parent.Torso,mind,maxd,force,knock,RootPart,.2,1)
  1138. end
  1139. end
  1140. end
  1141. end
  1142. end
  1143.  
  1144. function computeDirection(vec)
  1145. local lenSquared = vec.magnitude * vec.magnitude
  1146. local invSqrt = 1 / math.sqrt(lenSquared)
  1147. return Vector3.new(vec.x * invSqrt, vec.y * invSqrt, vec.z * invSqrt)
  1148. end
  1149.  
  1150. function attackone()
  1151. attack = true
  1152.  
  1153. --[[local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1154. local fx=Hitbox.Touched:connect(function(part)
  1155. local human=part.Parent:findFirstChild("Humanoid")
  1156. if human~=nil and bounce==false then
  1157. bounce=true
  1158.  
  1159.  
  1160.  
  1161. end
  1162. end)
  1163. for i = 0,1,0.1 do
  1164. swait()
  1165. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1166. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1167. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1168. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1169. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1170. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1171. end
  1172. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1173. for i = 0,1,0.1 do
  1174. swait()
  1175. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1176. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1177. local h = 5
  1178. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1179. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1180. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1181. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1182. scfr = blcf
  1183. elseif not scfr then
  1184. scfr = blcf
  1185. end
  1186. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1187. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1188. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1189. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1190. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1191. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1192. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1193. end
  1194. attack = false
  1195. bounce=false
  1196. scfr=nil
  1197. fx:disconnect()
  1198. con:disconnect() ]]
  1199. attack=true
  1200. con1=Hitbox.Touched:connect(function(hit) Damagefunc(hit,12,30,math.random(5,10),"Normal",RootPart,.2,1) end)
  1201. for i=0,1,0.08 do
  1202. swait()
  1203. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(20)),.3)
  1204. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  1205. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1206. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1207. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-80)),.3)
  1208. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(80)),.3)
  1209. end
  1210. for i=0,1,0.08 do
  1211. swait()
  1212. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1213. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1214. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1215. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1216. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(80)),.3)
  1217. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(10),math.rad(-80)),.3)
  1218. end
  1219. attack=false
  1220. con1:disconnect()
  1221. end
  1222.  
  1223. function attacktwo()
  1224. attack=true
  1225.  
  1226. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1227. local fx=Hitbox.Touched:connect(function(part)
  1228. local human=part.Parent:findFirstChild("Humanoid")
  1229. if human~=nil and bounce==false then
  1230. bounce=true
  1231.  
  1232.  
  1233.  
  1234. end
  1235. end)
  1236. for i=0,1,.1 do
  1237. swait()
  1238. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1239. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1240. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1241. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1242. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1243. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1244. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1245. end
  1246. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1247. for i = 0,1,0.1 do
  1248. swait()
  1249. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1250. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1251. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1252. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1253. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1254. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1255. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1256. end
  1257. attack=false
  1258. bounce=false
  1259. con:disconnect()
  1260. fx:disconnect()
  1261. end
  1262.  
  1263. function attackthree()
  1264. attack=true
  1265.  
  1266. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1267. local fx=Hitbox.Touched:connect(function(part)
  1268. local human=part.Parent:findFirstChild("Humanoid")
  1269. if human~=nil and bounce==false then
  1270. bounce=true
  1271.  
  1272.  
  1273.  
  1274. end
  1275. end)
  1276. for i=0,1,.1 do
  1277. swait()
  1278. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1279. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1280. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1281. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1282. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1283. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1284. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1285. end
  1286. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1287. for i = 0,1,0.1 do
  1288. swait()
  1289. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1290. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1291. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1292. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1293. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1294. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1295. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1296. end
  1297. attack=false
  1298. bounce=false
  1299. scfr=nil
  1300. con:disconnect()
  1301. fx:disconnect()
  1302. end
  1303.  
  1304. function attackfour()
  1305. attack = true
  1306.  
  1307. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(20,30),"Normal",RootPart,.2,1) end)
  1308. local fx=Hitbox.Touched:connect(function(part)
  1309. local human=part.Parent:findFirstChild("Humanoid")
  1310. if human~=nil and bounce==false then
  1311. bounce=true
  1312.  
  1313.  
  1314.  
  1315. end
  1316. end)
  1317. for i = 0,1,0.1 do
  1318. swait()
  1319. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(-5),math.rad(-60)),.3)
  1320. Torso.Neck.C0=clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.3)
  1321. RW.C0=clerp(RW.C0,cf(1.5, 0.8, 0.2) * angles(math.rad(5), math.rad(-15), math.rad(112)), 0.3)
  1322. LW.C0=clerp(LW.C0,cf(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-20)), 0.3)
  1323. RH.C0=clerp(RH.C0,cf(1.1,-1,0)*angles(math.rad(-5),math.rad(120),math.rad(-8)),.3)
  1324. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-60),math.rad(0)),.3)
  1325. handleweld.C0=clerp(handleweld.C0,cf(0,-.2,.5)*angles(math.rad(50),math.rad(-15),math.rad(0)),.3)
  1326. end
  1327. so("http://www.roblox.com/asset/?id=199145433",Hitbox,1,1.1)
  1328. local v=it("BodyVelocity",Torso)
  1329. v.maxForce=Vector3.new(4e+005,4e+005,4e+005)*1
  1330. v.velocity=RootPart.CFrame.lookVector*50
  1331. for i = 0,1,0.1 do
  1332. swait()
  1333. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(60)),.3)
  1334. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1335. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(60), math.rad(100)), 0.3)
  1336. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-15)), 0.3)
  1337. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  1338. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  1339. handleweld.C0=clerp(handleweld.C0,cf(0,-1,-1)*angles(math.rad(-100),math.rad(0),math.rad(0)),.3)
  1340. end
  1341. v.Parent=nil
  1342. scfr=nil
  1343. attack = false
  1344. bounce=false
  1345. con:disconnect()
  1346. fx:disconnect()
  1347. end
  1348.  
  1349. function Slash()
  1350. attack=true
  1351.  
  1352. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1353. local fx=Hitbox.Touched:connect(function(part)
  1354. local human=part.Parent:findFirstChild("Humanoid")
  1355. if human~=nil and bounce==false then
  1356. bounce=true
  1357.  
  1358.  
  1359.  
  1360. end
  1361. end)
  1362. for i=0,1,.1 do
  1363. swait()
  1364. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-30)),0.4)
  1365. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  1366. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(20)),0.4)
  1367. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25), math.rad(0), math.rad(-30)),0.4)
  1368. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(105),math.rad(0)),0.4)
  1369. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-75),math.rad(-10)),0.4)
  1370. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1371. end
  1372. so("http://www.roblox.com/asset/?id=199145913",handle,1,.9)
  1373. for i = 0,1,0.1 do
  1374. swait()
  1375. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1376. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1377. local h = 5
  1378. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1379. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1380. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1381. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1382. scfr = blcf
  1383. elseif not scfr then
  1384. scfr = blcf
  1385. end
  1386. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1387. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  1388. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-10)),0.4)
  1389. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-10)),0.4)
  1390. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0)),0.4)
  1391. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-100),math.rad(-10)),0.4)
  1392. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-40),math.rad(0),math.rad(0)),.4)
  1393. end
  1394. for i = 0,1,0.1 do ----------------------------------- second attack
  1395. swait()
  1396. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1397. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1398. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1399. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1400. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1401. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1402. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1403. end
  1404. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1405. for i = 0,1,0.1 do
  1406. swait()
  1407. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1408. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1409. local h = 5
  1410. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1411. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1412. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1413. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1414. scfr = blcf
  1415. elseif not scfr then
  1416. scfr = blcf
  1417. end
  1418. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1419. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1420. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1421. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1422. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1423. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1424. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1425. end
  1426. attack=false
  1427. bounce=false
  1428. scfr=nil
  1429. con:disconnect()
  1430. fx:disconnect()
  1431. end
  1432. function Combo()
  1433. attack = true
  1434.  
  1435. local con=Hitbox.Touched:connect(function(hit) Damagefunc(Hitbox,hit,70,100,math.rad(5,5),"Normal",RootPart,.2,1) end)
  1436. local fx=Hitbox.Touched:connect(function(part)
  1437. local human=part.Parent:findFirstChild("Humanoid")
  1438. if human~=nil and bounce==false then
  1439. bounce=true
  1440.  
  1441.  
  1442.  
  1443. end
  1444. end)
  1445. for i = 0,1,0.1 do ----------------------------------- first attack
  1446. swait()
  1447. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1448. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1449. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1450. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1451. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1452. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1453. end
  1454. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1455. for i = 0,1,0.1 do
  1456. swait()
  1457. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1458. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1459. local h = 5
  1460. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1461. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1462. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1463. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1464. scfr = blcf
  1465. elseif not scfr then
  1466. scfr = blcf
  1467. end
  1468. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1469. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1470. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1471. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1472. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1473. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1474. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1475. end
  1476. for i = 0,1,0.1 do ----------------------------------- second attack
  1477. swait()
  1478. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1479. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1480. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1481. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1482. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1483. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1484. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1485. end
  1486. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1487. for i = 0,1,0.1 do
  1488. swait()
  1489. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1490. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1491. local h = 5
  1492. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1493. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1494. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1495. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1496. scfr = blcf
  1497. elseif not scfr then
  1498. scfr = blcf
  1499. end
  1500. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1501. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1502. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1503. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1504. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1505. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1506. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1507. end
  1508. for i = 0,1,0.1 do
  1509. swait()
  1510. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1512. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1513. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1514. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1515. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1516. end
  1517. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1518. for i = 0,1,0.1 do
  1519. swait()
  1520. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1521. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1522. local h = 5
  1523. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1524. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1525. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1526. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1527. scfr = blcf
  1528. elseif not scfr then
  1529. scfr = blcf
  1530. end
  1531. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1532. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1533. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1534. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1535. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1536. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1537. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1538. end
  1539. for i = 0,1,0.1 do ----------------------------------- second attack
  1540. swait()
  1541. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1542. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1543. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1544. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1545. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1546. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1547. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1548. end
  1549. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1550. for i = 0,1,0.1 do
  1551. swait()
  1552. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1553. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1554. local h = 5
  1555. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1556. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1557. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1558. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1559. scfr = blcf
  1560. elseif not scfr then
  1561. scfr = blcf
  1562. end
  1563. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1564. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1565. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1566. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1567. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1568. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1569. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1570. end
  1571. for i = 0,1,0.1 do ----------------------------------- first attack
  1572. swait()
  1573. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.4)
  1574. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),0.4)
  1575. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),0.4)
  1576. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),0.4)
  1577. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),0.4)
  1578. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.4)
  1579. end
  1580. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1581. for i = 0,1,0.1 do
  1582. swait()
  1583. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1584. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1585. local h = 5
  1586. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1587. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1588. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1589. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1590. scfr = blcf
  1591. elseif not scfr then
  1592. scfr = blcf
  1593. end
  1594. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.4)
  1595. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.4)
  1596. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1597. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1598. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.4)
  1599. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.4)
  1600. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1601. end
  1602. for i = 0,1,0.1 do ----------------------------------- second attack
  1603. swait()
  1604. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.4)
  1605. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-70)),0.4)
  1606. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.4)
  1607. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.4)
  1608. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4)
  1609. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.4)
  1610. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-25),math.rad(0),math.rad(0)),.4)
  1611. end
  1612. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1613. for i = 0,1,0.1 do
  1614. swait()
  1615. local blcf = Hitbox.CFrame*CFrame.new(0,.5,0)
  1616. if scfr and (Hitbox.Position-scfr.p).magnitude > .1 then
  1617. local h = 5
  1618. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  1619. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1620. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  1621. if a then game.Debris:AddItem(a,1) end if b then game.Debris:AddItem(b,1) end
  1622. scfr = blcf
  1623. elseif not scfr then
  1624. scfr = blcf
  1625. end
  1626. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.4)
  1627. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),0.4)
  1628. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.4)
  1629. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.4)
  1630. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.4)
  1631. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.4)
  1632. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.4)
  1633. end
  1634. attack = false
  1635. bounce=false
  1636. scfr=nil
  1637. fx:disconnect()
  1638. con:disconnect()
  1639. end
  1640. function LustrisFulgo()
  1641. attack=true
  1642. Humanoid.WalkSpeed=0
  1643. for i=0,1,0.1 do
  1644. swait()
  1645. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-15),math.rad(0),math.rad(10)),.3)
  1646. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(-10)),.3)
  1647. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(145), math.rad(0), math.rad(7)), 0.3)
  1648. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(4), math.rad(-15)), 0.3)
  1649. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-15),math.rad(90),math.rad(0)),.3)
  1650. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-25),math.rad(-90),math.rad(0)),.3)
  1651. handleweld.C0=clerp(handleweld.C0,cf(0,0,-.5)*angles(math.rad(-60),math.rad(0),math.rad(0)),.3)
  1652. end
  1653. local function boom()
  1654. local pprt=ppart(3,game.Workspace,0,1,BrickColor.random(),"Effect",vt(1,1,1))
  1655. pprt.Anchored=true
  1656. pprt.CFrame=EffectPart.CFrame
  1657. game:GetService("Debris"):AddItem(pprt,2)
  1658. MagicCircle(BrickColor.random(),EffectPart.CFrame,20,20,20,-0.01,-0.01,-0.01,0.01)
  1659. so("http://roblox.com/asset/?id=228343412",EffectPart,1,0.6)
  1660. so("http://roblox.com/asset/?id=228343408",EffectPart,1,1.4)
  1661. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  1662. local waveweld=weld(game.Workspace,handle,wave,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00693154335, 0.014090538, 6.03910685, -5.23798153e-005, -6.36925748e-008, -1, 0.99999994, -0.000210702419, -5.23798008e-005, -0.000210702419, -0.99999994, 7.47295417e-008))
  1663. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1664. MagniDamage(wave,20,15,25,math.rad(20,30),"Knockdown",RootPart)
  1665. for i=0,80 do
  1666. swait()
  1667. MagicBlock(BrickColor.random(),EffectPart.CFrame,7,7,7,-0.5,-0.5,-0.5,0.05)
  1668. MagicCircle(BrickColor.random(),EffectPart.CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,5,0),0.5,1,0.5,0.02,1,0.02,0.05)
  1669. wave.Size=vt(1+i,1+i,1+i)
  1670. wavemesh.Scale=vt(1+i,1+i,1+i)
  1671. wave.CFrame=EffectPart.CFrame
  1672. Humanoid.Health=Humanoid.Health+.15
  1673. end
  1674. wave:Destroy()
  1675. end
  1676. boom()
  1677. attack=false
  1678. Humanoid.WalkSpeed=16
  1679. end
  1680.  
  1681. function LeviterGlomus()
  1682. attack=true
  1683. for i=0,1,.1 do
  1684. swait()
  1685. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1686. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1687. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(18), math.rad(-15), math.rad(15)), 0.3)
  1688. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-75), math.rad(0), math.rad(-50)), 0.3)
  1689. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(65),math.rad(0)),.3)
  1690. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(-25),math.rad(-110),math.rad(0))*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1691. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(-35),math.rad(-15),math.rad(0)),.3)
  1692. end
  1693. son = Instance.new('Sound',EffectPart2)
  1694. son.SoundId="http://www.roblox.com/asset/?id=401604539"
  1695. son.Volume=1
  1696. son.Pitch=1
  1697. wait(0.001)
  1698. son:Play()
  1699. --so("http://www.roblox.com/asset/?id=401604539",EffectPart2,1,1)
  1700. --n--so("http://www.roblox.com/asset/?id=199145659",EffectPart2,1,1)
  1701. efprt=part(Enum.FormFactor.Custom,game.Workspace,Enum.Material.Neon,0,0,"Institutional white","BallEffect",Vector3.new(2, 2, 2))
  1702. weld(m,Character["Left Arm"],efprt,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.15575993, 0.00814216491, -0.0231294632, -5.23798153e-005, 0.999999821, -0.000210702419, -6.36925748e-008, -0.00021070239, -0.99999994, -1, -5.23797935e-005, 7.47295417e-008))
  1703. mesh("SpecialMesh",efprt,"Sphere","",vt(0,0,0),vt(1,1,1))
  1704. ChargeBall(EffectPart2,35)
  1705. for i=0,1,.1 do
  1706. swait()
  1707. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  1708. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  1709. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-18), math.rad(15), math.rad(15)), 0.3)
  1710. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-65)), 0.3)
  1711. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  1712. LH.C0=clerp(LH.C0,cf(-1.1,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  1713. handleweld.C0=clerp(handleweld.C0,cf(0,.2,-.3)*angles(math.rad(0),math.rad(-15),math.rad(0)),.3)
  1714. end
  1715. so("http://www.roblox.com/asset/?id=199145534",EffectPart2,1,1.2)
  1716. efprt:BreakJoints()
  1717. local Target=mouse.Hit.p
  1718. local direction = Target - handle.Position
  1719. direction = computeDirection(direction)
  1720. local pos = handle.Position + (direction * 10.0)
  1721. efprt.CFrame = CFrame.new(pos, pos + direction) * CFrame.Angles(math.pi/2, 0, 0)
  1722. local floatForce = Instance.new("BodyForce")
  1723. floatForce.force = Vector3.new(0, efprt:GetMass() * 196.1, 0.0)
  1724. floatForce.Parent = efprt
  1725. efprt.Velocity = direction * 160
  1726. efprt.Touched:connect(function(hit)
  1727. if not hit:IsDescendantOf(Character) then
  1728. if hit.Name~="Effect" then
  1729. MagniDamage(efprt,15,70,100,math.rad(20,30),"Knockdown",RootPart)
  1730. floatForce.Parent=nil
  1731. efprt.Anchored=true
  1732. so("http://www.roblox.com/asset/?id=228343330",hit,1,.8)
  1733. Blast(efprt)
  1734. efprt:Destroy()
  1735. end
  1736. end
  1737. end)
  1738. game:GetService("Debris"):AddItem(efprt,6)
  1739. attack=false
  1740. son:Remove()
  1741. end
  1742.  
  1743. function PortalStorm()
  1744. Humanoid.WalkSpeed=0
  1745. attack=true
  1746. for i=0,1,.1 do
  1747. swait()
  1748. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1749. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-40)), 0.3)
  1751. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(40)), 0.3)
  1752. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(5),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1753. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(5),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1754. handleweld.C0=clerp(handleweld.C0,cf(-1,-2.3,-.4)*angles(math.rad(-165),math.rad(-15),math.rad(50)),.3)
  1755. end
  1756. so("http://www.roblox.com/asset/?id=199145446",handle,1,1)
  1757. ChargeBall2(handle,100)
  1758. makeShockwave(0.5,BrickColor.random(),30,1000,0)
  1759. MagicWave(BrickColor.random(),cf(Torso.Position)*cf(0,-1,0)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1760. so("http://www.roblox.com/asset/?id=280247455",game.Workspace,1,1)
  1761. wait(2)
  1762. so("http://www.roblox.com/asset/?id=110284742",game.Workspace,1,0)
  1763. delay(0.5,function ()
  1764. MagniDamage(Torso,20,70,100,math.rad(50,70),"Knockdown",RootPart)
  1765. end)
  1766. Humanoid.Health=Humanoid.Health-0
  1767. makeShockwave(4,BrickColor.new("Teal"),10,2000,1)
  1768. attack=false
  1769. Humanoid.WalkSpeed=9
  1770. wait(4)
  1771. Humanoid.WalkSpeed=16
  1772. end
  1773.  
  1774. function SolSiderea()
  1775. Humanoid.WalkSpeed=0
  1776. attack=true
  1777. son = Instance.new('Sound',EffectPart2)
  1778. son.SoundId="http://www.roblox.com/asset/?id=401604539"
  1779. son.Volume=1
  1780. son.Pitch=1
  1781. wait(0.001)
  1782. son:Play()
  1783. --so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1784. for i=0,1,.1 do
  1785. swait()
  1786. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1787. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1788. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1789. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1790. 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)
  1791. 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)
  1792. handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1793. end
  1794. for i=0,1,.1 do
  1795. swait()
  1796. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1797. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1798. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1799. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1800. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1801. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1802. handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1803. end
  1804. coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1805. local n=2
  1806. local orb=ppart(3,Character,0,1,BrickColor.random(),"Orb",vt())
  1807. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1808. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1809. for i=1,0.3,-0.01 do
  1810. wait()
  1811. orb.Transparency=i
  1812. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1813. MagicBlock(BrickColor.random(),orb.CFrame,15,15,15,2,2,2,0.1)
  1814. local ef=ppart(3,workspace,0,0,BrickColor.random(),"Effect",vt())
  1815. ef.Anchored=true
  1816. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.rad(1000,1500)/100,2))
  1817. local ceef=euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,math.rad(10,20),0)
  1818. ef.CFrame=orb.CFrame*ceef
  1819. game:GetService("Debris"):AddItem(ef,2)
  1820. coroutine.resume(coroutine.create(function(Part,Mesh)
  1821. for i=0,1,0.1 do
  1822. wait()
  1823. Part.Transparency=i
  1824. Part.CFrame=Part.CFrame*cf(0,-1,0)
  1825. end
  1826. Part.Parent=nil
  1827. end),ef,emsh)
  1828. end
  1829. local Pos=cf(orb.Position,Player:GetMouse().Hit.p).lookVector
  1830. wait(.5)
  1831. orb.Parent=nil
  1832. wait(1)
  1833. local hit,pos = rayCast(orb.Position,Pos,1000,Character)
  1834. local mag=(orb.Position-pos).magnitude
  1835. BlackHole(game.Workspace,cf(pos))
  1836. coroutine.resume(coroutine.create(function()
  1837. local wave=part(3,game.Workspace,"Neon",0,.7,BrickColor.random(),"Effect",vt(1,1,1))
  1838. wweld(game.Workspace,wave,orb,Torso.CFrame)
  1839. local wavemesh=mesh("SpecialMesh",wave,"Sphere","",vt(0,0,0),vt(1,1,1))
  1840. for i=1,100 do
  1841. swait()
  1842. wave.Size=vt(1+i,1+i,1+i)
  1843. wavemesh.Scale=vt(1+i,1+i,1+i)
  1844. wave.CFrame=cf(pos)
  1845. end
  1846. end))
  1847. coroutine.resume(coroutine.create(function()
  1848. for i=0,20 do
  1849. swait(15)
  1850. local range = 1500
  1851. local p = Instance.new("Part")
  1852. p.Anchored = true
  1853. p.CanCollide = false
  1854. p.FormFactor = "Custom"
  1855. p.BrickColor = BrickColor.random()
  1856. p.Parent = workspace
  1857. p.Name="Effect"
  1858. p.CFrame=cf(pos)
  1859. local m = Instance.new("SpecialMesh",p)
  1860. m.MeshId = "rbxassetid://3270017"
  1861. local estimateSurvival = math.floor(range/30) * 0.03
  1862. game:GetService("Debris"):AddItem(p,estimateSurvival)
  1863. Spawn(function ()
  1864. for i = 1,range,30 do
  1865. p.Transparency = 1-math.min(0.5,3-(i/500))
  1866. m.Scale = Vector3.new(i,i,i*0.5)
  1867. p.CFrame = cf(pos) * CFrame.Angles(math.rad(90),0,0)
  1868. wait()
  1869. end
  1870. p:Destroy()
  1871. end)
  1872. end
  1873. end))
  1874. MagicCylinder(BrickColor.random(),CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0),10,mag*5,10,0.5,0,0.5,0.01)
  1875. for i=1,2 do
  1876. end
  1877. for i=1,5 do
  1878. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(mag/5)*(i/2),0)
  1879. end
  1880. for i=0,5 do
  1881. tehcf=CFrame.new((orb.Position+pos)/2,pos)*euler(1.57,0,0)*cf(0,(-mag/5)*(i/2),0)
  1882. end
  1883. local ref=ppart(3,workspace,0,1,BrickColor.random(),"Effect",vt())
  1884. ref.CFrame=cf(pos)
  1885. coroutine.resume(coroutine.create(function(Part)
  1886. wait(1)
  1887. Part.Parent=nil
  1888. end),ref)
  1889. MagniDamage(ref,25,70,100,35,"Knockdown",ref)
  1890. if hit~=nil then
  1891. Damagefunc(ref,hit,40,50,35,"Knockdown",RootPart,0)
  1892. end
  1893. local n=2
  1894. MagicWave(BrickColor.random(),cf(pos)*euler(0,math.rad(-50,50),0),2,2,2,.5,.3,.5,0.01)
  1895. swait(75)
  1896. Humanoid.WalkSpeed=16
  1897. attack=false
  1898. end
  1899.  
  1900. function spawn()
  1901. Humanoid.WalkSpeed=0
  1902. attack=true
  1903. son = Instance.new('Sound',EffectPart2)
  1904. son.SoundId="http://www.roblox.com/asset/?id=401604539"
  1905. son.Volume=1
  1906. son.Pitch=1
  1907. wait(0.001)
  1908. son:Play()
  1909. --so("http://www.roblox.com/asset/?id=280758833",Workspace,1,1.3)
  1910. for i=0,1,.1 do
  1911. swait()
  1912. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1913. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1914. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(95), math.rad(-10), math.rad(-17)), 0.3)
  1915. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(95), math.rad(10), math.rad(17)), 0.3)
  1916. 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)
  1917. 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)
  1918. --handleweld.C0=clerp(handleweld.C0,cf(0,-2,-.5)*angles(math.rad(0),math.rad(7.5),math.rad(-75)),.3)
  1919. end
  1920. for i=0,1,.1 do
  1921. swait()
  1922. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,3)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1923. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1924. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1925. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1926. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1927. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1928. --handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1929. ----handleweld.C0=clerp(handleweld.C0,cf(-1.1,-4,-2)*angles(math.rad(-72),math.rad(8.5),math.rad(-92)),.3)
  1930. end
  1931. coroutine.resume(coroutine.create(function() ChargeBall(Character.PS,120) end))
  1932. --coroutine.resume(coroutine.create(function() ChargeBall(EffectPart,120) end))
  1933. local n=2
  1934. local orb=ppart(3,Character,0,1,BrickColor.random(),"Orb",vt())
  1935. local omsh=mesh("SpecialMesh",orb,"Sphere","",vt(0,0,0),vt(15,15,15))
  1936. local owld=wweld(orb,orb,Torso,cf(-10,-150,0))
  1937. for i=1,0.3,-0.01 do
  1938. wait()
  1939. orb.Transparency=i
  1940. omsh.Scale=omsh.Scale+vt(0.5,0.5,0.5)
  1941. MagicBlock(BrickColor.random(),orb.CFrame,15,15,15,2,2,2,0.1)
  1942. local ef=ppart(3,workspace,0,0,BrickColor.random(),"Effect",vt())
  1943. ef.Anchored=true
  1944. local emsh=mesh("SpecialMesh",ef,"Sphere","",vt(0,0,0),vt(2,math.rad(1000,1500)/100,2))
  1945. local ceef=euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))*cf(0,math.rad(10,20),0)
  1946. ef.CFrame=orb.CFrame*ceef
  1947. game:GetService("Debris"):AddItem(ef,2)
  1948. end
  1949. Character.Humanoid.WalkSpeed=16
  1950. attack=false
  1951. end
  1952.  
  1953. spawn()
  1954.  
  1955. Hover = true
  1956. Animator = Humanoid.Animator
  1957. --Animator.Parent = nil
  1958. Character.Animate.Disabled = true
  1959.  
  1960. function Flight()
  1961. if stanceToggle == "Normal" then
  1962. Animator.Parent = nil
  1963. Character.Animate.Disabled = true
  1964. stanceToggle = "Flight"
  1965. --Hover = true
  1966. Humanoid.JumpPower = 50
  1967. Humanoid.WalkSpeed = 25
  1968. end
  1969. end
  1970.  
  1971. function Normal()
  1972. if stanceToggle == "Flight" then
  1973. Animator.Parent = Humanoid
  1974. Character.Animate.Disabled = false
  1975. stanceToggle = "Normal"
  1976. --Hover = false
  1977. Humanoid.JumpPower = 50
  1978. Humanoid.WalkSpeed = 16
  1979. end
  1980. end
  1981.  
  1982. attacktype=1
  1983. mouse.Button1Down:connect(function()
  1984. if attacktype==1 and attack==false then
  1985. attacktype=2
  1986. attackone()
  1987. elseif attacktype==2 and attack==false then
  1988. attacktype=3
  1989. attacktwo()
  1990. elseif attacktype==3 and attack==false then
  1991. attacktype=4
  1992. attackthree()
  1993. elseif attacktype==4 and attack==false then
  1994. attacktype=1
  1995. attackfour()
  1996. end
  1997. end)
  1998.  
  1999. mouse.KeyDown:connect(function(k)
  2000. k=k:lower()
  2001. if attack == false and k == 'e' then
  2002. LeviterGlomus()
  2003. ChargeBall(efprt,100)
  2004. end
  2005. if attack == false and k == 'q' then
  2006. LustrisFulgo()
  2007. end
  2008. if attack == false and k == 'f' and deeznuts==false then
  2009. deeznuts=true
  2010. SolSiderea()
  2011. deeznuts=false
  2012. end
  2013. if attack == false and k == 'r' and cooldown==false then
  2014. cooldown=true
  2015. PortalStorm()
  2016. cooldown=false
  2017. end
  2018. if attack == false and k == 'u' then
  2019. FireBlaster()
  2020. end
  2021. if attack == false and k == 'g' then
  2022. spawn()
  2023. end
  2024. if k == 'v' and Hover == true then
  2025. Hover=false
  2026. for i,v in pairs(game.Workspace.Upscalegaming.wep1:GetChildren()) do
  2027. if v.ClassName=="Part" or v.ClassName=="UnionOperation" then
  2028. v.Transparency=0
  2029. end
  2030. end
  2031. for i,v in pairs(game.Workspace.Upscalegaming.wep2:GetChildren()) do
  2032. if v.ClassName=="Part" or v.ClassName=="UnionOperation" then
  2033. v.Transparency=0
  2034. end
  2035. end
  2036. Normal()
  2037. end
  2038. if k == 'b' and Hover == false then
  2039. Hover=true
  2040. for i,v in pairs(game.Workspace.Upscalegaming.wep1:GetChildren()) do
  2041. if v.ClassName=="Part" or v.ClassName=="UnionOperation" then
  2042. v.Transparency=1
  2043. end
  2044. end
  2045. for i,v in pairs(game.Workspace.Upscalegaming.wep2:GetChildren()) do
  2046. if v.ClassName=="Part" or v.ClassName=="UnionOperation" then
  2047. v.Transparency=1
  2048. end
  2049. end
  2050. Flight()
  2051. end
  2052. end)
  2053.  
  2054. mouse.KeyDown:connect(function(k)
  2055. if attack == false and k == 't' then
  2056. Combo()
  2057. end
  2058. end)
  2059. mouse.KeyDown:connect(function(k)
  2060. if attack == false and k == 'y' then
  2061. Slash()
  2062. end
  2063. end)
  2064.  
  2065.  
  2066. local sine = 0
  2067. local change = 1
  2068. local val = 0
  2069.  
  2070. while true do
  2071. swait()
  2072. sine = sine + change
  2073. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2074. local velderp=RootPart.Velocity.y
  2075. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2076. if equipped==true or equipped==false then
  2077. if attack==false then
  2078. idle=idle+1
  2079. else
  2080. idle=0
  2081. end
  2082. if idle>=500 then
  2083. if attack==false then
  2084. end
  2085. end
  2086. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2087. Anim="Jump"
  2088. if attack==false and stanceToggle=="Normal" then
  2089. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2090. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2091. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(15)), 0.3)
  2092. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15)), 0.3)
  2093. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-30),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2094. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-30),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2095. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2096. end
  2097. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2098. Anim="Fall"
  2099. if attack==false and stanceToggle=="Normal" then
  2100. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2101. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(13),math.rad(0),math.rad(0)),.3)
  2102. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(20)), 0.3)
  2103. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2104. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2105. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2106. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  2107. end
  2108. elseif torvel<1 and hitfloor~=nil then
  2109. Anim="Idle"
  2110. if attack==false and stanceToggle=="Normal" then
  2111. --[[RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-2),math.rad(0),math.rad(15)),.3)
  2112. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(2),math.rad(0),math.rad(-15)),.3)
  2113. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(15), math.rad(0), math.rad(0)), 0.3)
  2114. LW.C0 = clerp(LW.C0, CFrame.new(-0.3, 0.5, -1) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  2115. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(85),math.rad(0)),.3)
  2116. LH.C0=clerp(LH.C0,cf(-1,-1,0.3)*angles(math.rad(-36),math.rad(-95),math.rad(0)),.3)
  2117. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(-10),math.rad(-2),math.rad(0)),.2) ]]
  2118. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-10)),0.15)
  2119. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(10)),0.15)
  2120. RW.C0=clerp(RW.C0,CFrame.new(1.5,0.5,0)*angles(math.rad(20),math.rad(0),math.rad(10)),0.15)
  2121. LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-10)),0.15)
  2122. RH.C0=clerp(RH.C0,cf(1.05,-1,0)*angles(math.rad(0),math.rad(80),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(5)),0.15)
  2123. LH.C0=clerp(LH.C0,cf(-1.05,-1,0)*angles(math.rad(0),math.rad(-70),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(5)),0.15)
  2124. elseif attack==false and stanceToggle=="Flight" then
  2125. change = 1
  2126. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2127. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  2128. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(20)),.3)
  2129. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-20)),.3)
  2130. RH.C0=clerp(RH.C0,cf(0,-.8,0)*angles(math.rad(-0),math.rad(90),math.rad(0)),.3)
  2131. LH.C0=clerp(LH.C0,cf(0,-.8,0)*angles(math.rad(-0),math.rad(-90),math.rad(-0)),.3)
  2132. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(5),math.rad(-10),math.rad(0)),.3) ]]
  2133. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 5+0.2*math.cos(sine/15)) * angles(math.rad(0), math.rad(0), math.rad(0)), .3)
  2134. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10+3.5*math.cos(sine/15)), math.rad(0), math.rad(0)), .3)
  2135. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.3, .3) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  2136. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, .3) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  2137. RH.C0 = clerp(RH.C0, cf(1, -.8, -.3) * angles(math.rad(0), math.rad(90), math.rad(-30)) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
  2138. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(40)) * angles(math.rad(2), math.rad(0), math.rad(0)), .3)
  2139. end
  2140. elseif torvel>2 and hitfloor~=nil then
  2141. Anim="Walk"
  2142. if attack==false and stanceToggle=="Normal" then
  2143. change=3
  2144. --[[RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  2145. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-5),math.rad(25)),.3)
  2146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(-25), math.rad(5)), 0.3)
  2147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30)*math.cos(sine/10), math.rad(5), math.rad(0)), 0.3)
  2148. RH.C0=clerp(RH.C0,cf(1.1,-.9,0)*angles(math.rad(0),math.rad(110),math.rad(0)),.3)
  2149. LH.C0=clerp(LH.C0,cf(-1.1,-.9,0)*angles(math.rad(0),math.rad(-70),math.rad(0)),.3)
  2150. handleweld.C0=clerp(handleweld.C0,cf(0,0,.3)*angles(math.rad(10),math.rad(0),math.rad(0)),.3) ]]
  2151. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2152. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2153. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10+5*math.cos(sine/30)),math.rad(-20),math.rad(30+5*math.cos(sine/30))),.3)
  2154. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10+5*math.cos(sine/30)),math.rad(20),math.rad(-30-5*math.cos(sine/30))),.3)
  2155. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2156. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2157. elseif attack==false and stanceToggle=="Flight" then
  2158. change = 1
  2159. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2160. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-0),math.rad(0),math.rad(0)),.3)
  2161. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(20)),.3)
  2162. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(-10),math.rad(20),math.rad(-20)),.3)
  2163. RH.C0=clerp(RH.C0,cf(0,-.8,0)*angles(math.rad(-0),math.rad(90),math.rad(-20)),.3)
  2164. LH.C0=clerp(LH.C0,cf(0,-.8,0)*angles(math.rad(-0),math.rad(-90),math.rad(20)),.3)
  2165. handleweld.C0=clerp(handleweld.C0,cf(0,-0,0)*angles(math.rad(5),math.rad(-10),math.rad(0)),.3) ]]
  2166. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 5+0.2*math.cos(sine/15)) * angles(math.rad(30+3.5*math.cos(sine/15)), math.rad(0), math.rad(0)), .3)
  2167. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-15-3.5*math.cos(sine/15)), math.rad(0), math.rad(0)), .3)
  2168. RW.C0 = clerp(RW.C0, CFrame.new(1.4, 0.45, 0) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.3)
  2169. LW.C0 = clerp(LW.C0, CFrame.new(-1.4, 0.45, 0) * angles(math.rad(-30), math.rad(0), math.rad(-30)), 0.3)
  2170. RH.C0 = clerp(RH.C0, cf(1, -.8, -.3) * angles(math.rad(0), math.rad(90), math.rad(-30)) * angles(math.rad(5), math.rad(0), math.rad(0)), .3)
  2171. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(40)) * angles(math.rad(3), math.rad(0), math.rad(0)), .3)
  2172. --end
  2173. end
  2174. end
  2175. end
  2176. if #Effects>0 then
  2177. for e=1,#Effects do
  2178. if Effects[e]~=nil then
  2179. local Thing=Effects[e]
  2180. if Thing~=nil then
  2181. local Part=Thing[1]
  2182. local Mode=Thing[2]
  2183. local Delay=Thing[3]
  2184. local IncX=Thing[4]
  2185. local IncY=Thing[5]
  2186. local IncZ=Thing[6]
  2187. if Thing[1].Transparency<=1 then
  2188. if Thing[2]=="Block1" then
  2189. Thing[1].CFrame=Thing[1].CFrame*euler(math.rad(-50,50),math.rad(-50,50),math.rad(-50,50))
  2190. Mesh=Thing[1].Mesh
  2191. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2192. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2193. elseif Thing[2]=="Cylinder" then
  2194. Mesh=Thing[1].Mesh
  2195. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2196. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2197. elseif Thing[2]=="Blood" then
  2198. Mesh=Thing[7]
  2199. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2200. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2201. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2202. elseif Thing[2]=="Elec" then
  2203. Mesh=Thing[1].Mesh
  2204. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2205. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2206. elseif Thing[2]=="Disappear" then
  2207. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2208. end
  2209. else
  2210. Part.Parent=nil
  2211. table.remove(Effects,e)
  2212. end
  2213. end
  2214. end
  2215. end
  2216. end
  2217. end
Add Comment
Please, Sign In to add comment