Advertisement
memberhero

Untitled

May 14th, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 98.52 KB | None | 0 0
  1. --[[
  2. =============================]}
  3. //{Script: Tenebris
  4. //{User: Citrus
  5. =============================]}
  6. //{Controls:
  7. // X - Void Hook
  8. // F - Void Grip
  9. // C - Implosion
  10. // Shift - Sprint
  11. =============================]}
  12. //{Key combos:
  13. // ssw - Lock-on Strike
  14. =============================]}
  15. --]]
  16.  
  17. --[[This is still a WIP. Significant changes may occur.]]--
  18.  
  19.  
  20. Player=game:GetService("Players").LocalPlayer
  21. Character=Player.Character
  22. PlayerGui=Player.PlayerGui
  23. Backpack=Player.Backpack
  24. Torso=Character.Torso
  25. Head=Character.Head
  26. Humanoid=Character.Humanoid
  27. m=Instance.new('Model',Character)
  28. LeftArm=Character["Left Arm"]
  29. LeftLeg=Character["Left Leg"]
  30. RightArm=Character["Right Arm"]
  31. RightLeg=Character["Right Leg"]
  32. LS=Torso["Left Shoulder"]
  33. LH=Torso["Left Hip"]
  34. RS=Torso["Right Shoulder"]
  35. RH=Torso["Right Hip"]
  36. Neck=Torso.Neck
  37. it=Instance.new
  38. attacktype=1
  39. vt=Vector3.new
  40. cf=CFrame.new
  41. euler=CFrame.fromEulerAnglesXYZ
  42. angles=CFrame.Angles
  43. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  44. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  45. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  46. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  47. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  48. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  49. cn = CFrame.new
  50. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  51. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  52. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  53. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  54. RootPart=Character.HumanoidRootPart
  55. RootJoint=RootPart.RootJoint
  56. RootCF=euler(-1.57,0,3.14)
  57. attack = false
  58. attackdebounce = false
  59. deb=false
  60. equipped=true
  61. hand=false
  62. MMouse=nil
  63. combo=0
  64. mana=0
  65. cam=workspace.CurrentCamera
  66. RocketTarget=nil
  67. Targetting=false
  68. trispeed=.2
  69. attackmode='none'
  70. local idle=0
  71. local Anim="Idle"
  72. local Effects={}
  73. local gun=false
  74. local shoot=false
  75. player=nil
  76. local antirun = false
  77. local mhitsounds = {"199149137","199149186","199149221","199149235","199149269","199149297"}
  78.  
  79. --[[if Humanoid:findFirstChild("Animator") then
  80. Humanoid:findFirstChild("Animator").Parent = Animstore
  81. end
  82. if Character:findFirstChild("Animate") then
  83. Character:findFirstChild("Animate").Parent = Animstore]]
  84.  
  85. mouse=Player:GetMouse()
  86. --save shoulders
  87. RSH, LSH=nil, nil
  88. --welds
  89. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  90. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  91. LH=Torso["Left Hip"]
  92. RH=Torso["Right Hip"]
  93. TorsoColor=Torso.BrickColor
  94. function NoOutline(Part)
  95. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  96. end
  97. player=Player
  98. ch=Character
  99. RSH=ch.Torso["Right Shoulder"]
  100. LSH=ch.Torso["Left Shoulder"]
  101. --
  102. RSH.Parent=nil
  103. LSH.Parent=nil
  104. --
  105. RW.Name="Right Shoulder"
  106. RW.Part0=ch.Torso
  107. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  108. RW.C1=cf(0, 0.5, 0)
  109. RW.Part1=ch["Right Arm"]
  110. RW.Parent=ch.Torso
  111. --
  112. LW.Name="Left Shoulder"
  113. LW.Part0=ch.Torso
  114. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  115. LW.C1=cf(0, 0.5, 0)
  116. LW.Part1=ch["Left Arm"]
  117. LW.Parent=ch.Torso
  118.  
  119. local Stats=Instance.new("BoolValue")
  120. Stats.Name="Stats"
  121. Stats.Parent=Character
  122. local Atk=Instance.new("NumberValue")
  123. Atk.Name="Damage"
  124. Atk.Parent=Stats
  125. Atk.Value=1
  126. local Def=Instance.new("NumberValue")
  127. Def.Name="Defense"
  128. Def.Parent=Stats
  129. Def.Value=1
  130. local Speed=Instance.new("NumberValue")
  131. Speed.Name="Speed"
  132. Speed.Parent=Stats
  133. Speed.Value=1
  134. local Mvmt=Instance.new("NumberValue")
  135. Mvmt.Name="Movement"
  136. Mvmt.Parent=Stats
  137. Mvmt.Value=1
  138.  
  139.  
  140.  
  141. local fengui=it("GuiMain")
  142. fengui.Parent=Player.PlayerGui
  143. fengui.Name="WeaponGUI"
  144. local fenframe=it("Frame")
  145. fenframe.Parent=fengui
  146. fenframe.BackgroundColor3=Color3.new(255,255,255)
  147. fenframe.BackgroundTransparency=1
  148. fenframe.BorderColor3=Color3.new(17,17,17)
  149. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  150. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  151. local fenbarmana1=it("TextLabel")
  152. fenbarmana1.Parent=fenframe
  153. fenbarmana1.Text=" "
  154. fenbarmana1.BackgroundTransparency=0
  155. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  156. fenbarmana1.SizeConstraint="RelativeXY"
  157. fenbarmana1.TextXAlignment="Center"
  158. fenbarmana1.TextYAlignment="Center"
  159. fenbarmana1.Position=UDim2.new(0,0,0,0)
  160. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  161. local fenbarmana2=it("TextLabel")
  162. fenbarmana2.Parent=fenframe
  163. fenbarmana2.Text=" "
  164. fenbarmana2.BackgroundTransparency=0
  165. fenbarmana2.BackgroundColor3=Color3.new(0.5,0,255)
  166. fenbarmana2.SizeConstraint="RelativeXY"
  167. fenbarmana2.TextXAlignment="Center"
  168. fenbarmana2.TextYAlignment="Center"
  169. fenbarmana2.Position=UDim2.new(0,0,0,0)
  170. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  171. local fenbarmana3=it("TextLabel")
  172. fenbarmana3.Parent=fenframe
  173. fenbarmana3.Text=" "
  174. fenbarmana3.BackgroundTransparency=0
  175. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  176. fenbarmana3.SizeConstraint="RelativeXY"
  177. fenbarmana3.TextXAlignment="Center"
  178. fenbarmana3.TextYAlignment="Center"
  179. fenbarmana3.Position=UDim2.new(0,0,0,0)
  180. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  181. local fenbarmana4=it("TextLabel")
  182. fenbarmana4.Parent=fenframe
  183. fenbarmana4.Text="Loading interface"
  184. fenbarmana4.BackgroundTransparency=1
  185. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  186. fenbarmana4.SizeConstraint="RelativeXY"
  187. fenbarmana4.TextXAlignment="Center"
  188. fenbarmana4.TextYAlignment="Center"
  189. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  190. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  191. fenbarmana4.FontSize="Size9"
  192. fenbarmana4.TextStrokeTransparency=0
  193. fenbarmana4.TextColor=BrickColor.new("White")
  194.  
  195. local donum=0
  196.  
  197. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  198. local fp=it("Part")
  199. fp.formFactor=formfactor
  200. fp.Parent=parent
  201. fp.Reflectance=reflectance
  202. fp.Transparency=transparency
  203. fp.CanCollide=false
  204. fp.Locked=true
  205. fp.BrickColor=brickcolor
  206. fp.Name=name
  207. fp.Size=size
  208. fp.Position=Torso.Position
  209. NoOutline(fp)
  210. fp.Material="SmoothPlastic"
  211. fp:BreakJoints()
  212. return fp
  213. end
  214.  
  215. function part2(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  216. local fp = Instance.new("Part")
  217. fp.formFactor = formfactor
  218. fp.Parent = parent
  219. fp.Reflectance = reflectance
  220. fp.Transparency = transparency
  221. fp.CanCollide = false
  222. fp.Locked = true
  223. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  224. fp.Name = name
  225. fp.Size = size
  226. fp.Position = Character.Torso.Position
  227. fp.Material = material
  228.  
  229. NoOutline(fp)
  230. return fp
  231. end
  232.  
  233. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  234. local mesh=it(Mesh)
  235. mesh.Parent=part
  236. if Mesh=="SpecialMesh" then
  237. mesh.MeshType=meshtype
  238. mesh.MeshId=meshid
  239. end
  240. mesh.Offset=offset
  241. mesh.Scale=scale
  242. return mesh
  243. end
  244.  
  245. function weld(parent,part0,part1,c0)
  246. local weld=it("Weld")
  247. weld.Parent=parent
  248. weld.Part0=part0
  249. weld.Part1=part1
  250. weld.C0=c0
  251. return weld
  252. end
  253.  
  254. function weld2(parent, part0, part1, c0, c1)
  255. local Weld = Instance.new("Weld")
  256. Weld.Parent = parent
  257. Weld.Part0 = part0
  258. Weld.Part1 = part1
  259. Weld.C0 = c0
  260. Weld.C1 = c1
  261.  
  262. return Weld
  263. end
  264.  
  265. local Color1=Torso.BrickColor
  266.  
  267. local bodvel=Instance.new("BodyVelocity")
  268. local bg=Instance.new("BodyGyro")
  269.  
  270. ArtificialHB = Instance.new("BindableEvent", script)
  271. ArtificialHB.Name = "Heartbeat"
  272.  
  273. script:WaitForChild("Heartbeat")
  274.  
  275. frame = 1 / 60
  276. tf = 0
  277. allowframeloss = true
  278. tossremainder = false
  279. lastframe = tick()
  280. script.Heartbeat:Fire()
  281.  
  282. game:GetService("RunService").Heartbeat:connect(function(s, p)
  283. tf = tf + s
  284. if tf >= frame then
  285. if allowframeloss then
  286. script.Heartbeat:Fire()
  287. lastframe = tick()
  288. else
  289. for i = 1, math.floor(tf / frame) do
  290. script.Heartbeat:Fire()
  291. end
  292. lastframe = tick()
  293. end
  294. if tossremainder then
  295. tf = 0
  296. else
  297. tf = tf - frame * math.floor(tf / frame)
  298. end
  299. end
  300. end)
  301.  
  302. function swait(num)
  303. if num == 0 or num == nil then
  304. ArtificialHB.Event:wait()
  305. else
  306. for i = 0, num do
  307. ArtificialHB.Event:wait()
  308. end
  309. end
  310. end
  311.  
  312.  
  313. so = function(id,par,vol,pit)
  314. coroutine.resume(coroutine.create(function()
  315. local sou = Instance.new("Sound",par or workspace)
  316. sou.Volume=vol
  317. sou.Pitch=pit or 1
  318. sou.SoundId=id
  319. swait()
  320. sou:play()
  321. game:GetService("Debris"):AddItem(sou,6)
  322. end))
  323. end
  324.  
  325. function clerp(a,b,t)
  326. local qa = {QuaternionFromCFrame(a)}
  327. local qb = {QuaternionFromCFrame(b)}
  328. local ax, ay, az = a.x, a.y, a.z
  329. local bx, by, bz = b.x, b.y, b.z
  330. local _t = 1-t
  331. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  332. end
  333.  
  334. function QuaternionFromCFrame(cf)
  335. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  336. local trace = m00 + m11 + m22
  337. if trace > 0 then
  338. local s = math.sqrt(1 + trace)
  339. local recip = 0.5/s
  340. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  341. else
  342. local i = 0
  343. if m11 > m00 then
  344. i = 1
  345. end
  346. if m22 > (i == 0 and m00 or m11) then
  347. i = 2
  348. end
  349. if i == 0 then
  350. local s = math.sqrt(m00-m11-m22+1)
  351. local recip = 0.5/s
  352. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  353. elseif i == 1 then
  354. local s = math.sqrt(m11-m22-m00+1)
  355. local recip = 0.5/s
  356. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  357. elseif i == 2 then
  358. local s = math.sqrt(m22-m00-m11+1)
  359. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  360. end
  361. end
  362. end
  363.  
  364. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  365. local xs, ys, zs = x + x, y + y, z + z
  366. local wx, wy, wz = w*xs, w*ys, w*zs
  367. local xx = x*xs
  368. local xy = x*ys
  369. local xz = x*zs
  370. local yy = y*ys
  371. local yz = y*zs
  372. local zz = z*zs
  373. 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))
  374. end
  375.  
  376. function QuaternionSlerp(a, b, t)
  377. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  378. local startInterp, finishInterp;
  379. if cosTheta >= 0.0001 then
  380. if (1 - cosTheta) > 0.0001 then
  381. local theta = math.acos(cosTheta)
  382. local invSinTheta = 1/math.sin(theta)
  383. startInterp = math.sin((1-t)*theta)*invSinTheta
  384. finishInterp = math.sin(t*theta)*invSinTheta
  385. else
  386. startInterp = 1-t
  387. finishInterp = t
  388. end
  389. else
  390. if (1+cosTheta) > 0.0001 then
  391. local theta = math.acos(-cosTheta)
  392. local invSinTheta = 1/math.sin(theta)
  393. startInterp = math.sin((t-1)*theta)*invSinTheta
  394. finishInterp = math.sin(t*theta)*invSinTheta
  395. else
  396. startInterp = t-1
  397. finishInterp = t
  398. end
  399. end
  400. 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
  401. end
  402.  
  403. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  404. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  405. end
  406.  
  407.  
  408.  
  409. Damagefunc2 = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  410. if hit.Parent == nil then
  411. return
  412. end
  413. local h = hit.Parent:FindFirstChild("Humanoid")
  414. for _, v in pairs(hit.Parent:children()) do
  415. if v:IsA("Humanoid") then
  416. h = v
  417. end
  418. end
  419. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  420. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  421. if hit.Parent.DebounceHit.Value == true then
  422. return
  423. end
  424. end
  425. if h.MaxHealth >= math.huge then
  426. hit:BreakJoints()
  427. end
  428. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  429. return
  430. end]]
  431. -- hs(hit,1.2)
  432. local c = Instance.new("ObjectValue")
  433. c.Name = "creator"
  434. c.Value = game:service("Players").LocalPlayer
  435. c.Parent = h
  436.  
  437. game:GetService("Debris"):AddItem(c, .5)
  438. if HitSound ~= nil and HitPitch ~= nil then
  439. so(HitSound, hit, 1, HitPitch)
  440. end
  441. local Damage = math.random(minim, maxim)
  442. -- h:TakeDamage(Damage)
  443. local blocked = false
  444. local block = hit.Parent:findFirstChild("Block")
  445. if block ~= nil then
  446. if block.className == "IntValue" then
  447. if block.Value > 0 then
  448. blocked = true
  449. block.Value = block.Value - 1
  450. print(block.Value)
  451. end
  452. end
  453. end
  454. if blocked == false then
  455. -- h:TakeDamage(Damage)
  456. h.Health = h.Health - Damage
  457. if Damage ~= 0 then
  458. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  459. end
  460. else
  461. h.Health = h.Health - (Damage / 2)
  462. if Damage ~=0 then
  463. ShowDamage2((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  464. end
  465. end
  466. if Type == "Knockdown" then
  467. local hum = hit.Parent.Humanoid
  468. hum.PlatformStand = true
  469. coroutine.resume(coroutine.create(function(HHumanoid)
  470. swait(1)
  471. HHumanoid.PlatformStand = false
  472. end), hum)
  473. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  474. local bodvol = Instance.new("BodyVelocity")
  475. bodvol.velocity = angle * knockback
  476. bodvol.P = 5000
  477. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  478. bodvol.Parent = hit
  479.  
  480. local rl = Instance.new("BodyAngularVelocity")
  481. rl.P = 3000
  482. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  483. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  484. rl.Parent = hit
  485.  
  486. game:GetService("Debris"):AddItem(bodvol, .5)
  487. game:GetService("Debris"):AddItem(rl, .5)
  488. elseif Type == "Plat" then
  489. local hum = hit.Parent.Humanoid
  490. hum.PlatformStand = true
  491. coroutine.resume(coroutine.create(function(HHumanoid)
  492. swait(2)
  493. HHumanoid.PlatformStand = false
  494. end), hum)
  495.  
  496. local rl = Instance.new("BodyAngularVelocity")
  497. rl.P = 3000
  498. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  499. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  500. rl.Parent = hit
  501.  
  502. game:GetService("Debris"):AddItem(rl, .5)
  503. elseif Type == "Normal" then
  504. local vp = Instance.new("BodyVelocity")
  505. vp.P = 500
  506. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  507. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  508.  
  509. if knockback > 0 then
  510. vp.Parent = hit.Parent.Torso
  511. end
  512. game:GetService("Debris"):AddItem(vp, .5)
  513. elseif Type == "Up" then
  514. local bodyVelocity = Instance.new("BodyVelocity")
  515. bodyVelocity.velocity = vt(0, 20, 0)
  516. bodyVelocity.P = 5000
  517. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  518. bodyVelocity.Parent = hit
  519.  
  520. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  521. elseif Type == "Snare" then
  522. local bp = Instance.new("BodyPosition")
  523. bp.P = 2000
  524. bp.D = 100
  525. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  526. bp.position = hit.Parent.Torso.Position
  527. bp.Parent = hit.Parent.Torso
  528.  
  529. game:GetService("Debris"):AddItem(bp, 1)
  530. elseif Type == "Freeze" then
  531. local BodPos = Instance.new("BodyPosition")
  532. BodPos.P = 50000
  533. BodPos.D = 1000
  534. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  535. BodPos.position = hit.Parent.Torso.Position
  536. BodPos.Parent = hit.Parent.Torso
  537.  
  538. local BodGy = Instance.new("BodyGyro")
  539. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  540. BodGy.P = 20e+003
  541. BodGy.Parent = hit.Parent.Torso
  542. BodGy.cframe = hit.Parent.Torso.CFrame
  543.  
  544. hit.Parent.Torso.Anchored = true
  545. coroutine.resume(coroutine.create(function(Part)
  546. swait(1.5)
  547. Part.Anchored = false
  548. end), hit.Parent.Torso)
  549. game:GetService("Debris"):AddItem(BodPos, 3)
  550. game:GetService("Debris"):AddItem(BodGy, 3)
  551. end
  552. local debounce = Instance.new("BoolValue")
  553. debounce.Name = "DebounceHit"
  554. debounce.Parent = hit.Parent
  555. debounce.Value = true
  556.  
  557. game:GetService("Debris"):AddItem(debounce, Delay)
  558. c = Instance.new("ObjectValue")
  559. c.Name = "creator"
  560. c.Value = Player
  561. c.Parent = h
  562. game:GetService("Debris"):AddItem(c, .5)
  563. end
  564. end
  565.  
  566. function ShowDamage2(Pos, Text, Time, Color)
  567. local Rate = (1 / 30)
  568. local Pos = (Pos or Vector3.new(0, 0, 0))
  569. local Text = (Text or "")
  570. local Time = (Time or 2)
  571. local Color = (Color or Color3.new(1, 0, 0))
  572. local EffectPart = part2("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  573. EffectPart.Anchored = true
  574. local BillboardGui = Instance.new("BillboardGui")
  575. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  576. BillboardGui.Adornee = EffectPart
  577. BillboardGui.Parent = EffectPart
  578.  
  579. local TextLabel = Instance.new("TextLabel")
  580. TextLabel.BackgroundTransparency = 1
  581. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  582. TextLabel.Text = Text
  583. TextLabel.TextColor3 = Color
  584. TextLabel.TextScaled = true
  585. TextLabel.Font = Enum.Font.ArialBold
  586. TextLabel.Parent = BillboardGui
  587.  
  588. game.Debris:AddItem(EffectPart, (Time + 0.1))
  589. EffectPart.Parent = game:GetService("Workspace")
  590. delay(0, function()
  591. local Frames = (Time / Rate)
  592. for Frame = 1, Frames do
  593. wait(Rate)
  594. local Percent = (Frame / Frames)
  595. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  596. TextLabel.TextTransparency = Percent
  597. end
  598. if EffectPart and EffectPart.Parent then
  599. EffectPart:Destroy()
  600. end
  601. end)
  602. end
  603.  
  604. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  605. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  606. prt.Anchored = true
  607. prt.CFrame = cframe
  608. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  609. coroutine.resume(coroutine.create(function()
  610. for i = 0, 1, 0.05 do
  611. wait()
  612. prt.Transparency = i
  613. msh.Scale = msh.Scale + vt(x2, y2, z2)
  614. end
  615. prt.Parent = nil
  616. end))
  617. end
  618.  
  619. function weld(parent, part0, part1, c0, c1)
  620. local Weld = Instance.new("Weld")
  621. Weld.Parent = parent
  622. Weld.Part0 = part0
  623. Weld.Part1 = part1
  624. Weld.C0 = c0
  625. Weld.C1 = c1
  626.  
  627. return Weld
  628. end
  629.  
  630. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  631. for _, c in pairs(workspace:children()) do
  632. local hum = c:findFirstChild("Humanoid")
  633. if hum ~= nil then
  634. local head = c:findFirstChild("Torso")
  635. if head ~= nil then
  636. local targ = head.Position - Part.Position
  637. local mag = targ.magnitude
  638. if mag <= magni and c.Name ~= Player.Name then
  639. -- Damagefunc2(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  640. Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  641. end
  642. end
  643. end
  644. end
  645. end
  646.  
  647. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  648. local prt = part2(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  649. prt.Anchored = true
  650. prt.CFrame = cframe
  651. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  652. game:GetService("Debris"):AddItem(prt, 2)
  653. coroutine.resume(coroutine.create(function(Part, Mesh)
  654. for i = 0, 1, delay do
  655. swait()
  656. Part.CFrame = Part.CFrame
  657. Part.Transparency = i
  658. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  659. end
  660. Part.Parent = nil
  661. end), prt, msh)
  662. end
  663.  
  664. user=game:service'Players'.localPlayer
  665. char=user.Character
  666. mouse=user:GetMouse()
  667. tenebris=Instance.new('Model',char)
  668. game:service'Lighting'.Outlines=false
  669. tenebris.Name = "Tenebris"
  670.  
  671. -----------------------------------------
  672.  
  673. local poweremitter = Instance.new("ParticleEmitter", game.Players.LocalPlayer.Character.Torso)
  674. poweremitter.ZOffset = 1
  675. poweremitter.Lifetime = NumberRange.new(0.5)
  676. poweremitter.Speed = NumberRange.new(0)
  677. poweremitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 10), NumberSequenceKeypoint.new(1, 10)})
  678. poweremitter.Acceleration = Vector3.new(0, 50, 0)
  679. poweremitter.Rate = 200
  680. poweremitter.Rotation = NumberRange.new(100)
  681. poweremitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 0.9)})
  682. poweremitter.LightEmission = 0.95
  683. poweremitter.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  684. poweremitter.Enabled = false
  685. poweremitter.LockedToPart = true
  686.  
  687. ds = Instance.new("Sound",Torso)
  688. ds.SoundId = "http://roblox.com/asset/?id=149560784"
  689. ds.Pitch = 0.3
  690. ds.Volume = 0.4
  691. ds.Looped = true
  692. ds.Playing = false
  693.  
  694.  
  695. coroutine.resume(coroutine.create(function()
  696. while wait() do
  697. if mana>100 then
  698. poweremitter.Enabled = true
  699. ds.Playing = true
  700. elseif mana<= 99 then
  701. poweremitter.Enabled = false
  702. ds.Playing = false
  703. end
  704. end
  705. end))
  706.  
  707.  
  708.  
  709. local basering = Instance.new("Part", tenebris)
  710. basering.FormFactor = Enum.FormFactor.Symmetric
  711. basering.CanCollide = false
  712. basering.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  713. basering.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  714. basering.Reflectance = 0.2
  715. basering.Material = Enum.Material.Neon
  716. basering.Size = Vector3.new(0.4, 0.42, 0.6)
  717. basering.Name = "basering"
  718. basering.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  719. basering.CFrame = CFrame.new(-44.767, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  720. basering.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  721. basering.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  722. basering.BrickColor = BrickColor.new("Royal purple")
  723. basering.Friction = 0.3
  724. basering.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  725.  
  726. local mesh_3 = Instance.new("SpecialMesh", basering)
  727. mesh_3.Scale = Vector3.new(1.1, 0.5, 1.1)
  728.  
  729. local spikeconnector = Instance.new("WedgePart", tenebris)
  730. spikeconnector.CanCollide = false
  731. spikeconnector.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  732. spikeconnector.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  733. spikeconnector.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  734. spikeconnector.Friction = 0.3
  735. spikeconnector.Material = Enum.Material.SmoothPlastic
  736. spikeconnector.Size = Vector3.new(0.3, 0.54, 0.54)
  737. spikeconnector.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  738. spikeconnector.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  739. spikeconnector.Name = "spikeconnector"
  740. spikeconnector.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  741. spikeconnector.CFrame = CFrame.new(-50.027, 15.107, -113) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  742. spikeconnector.BrickColor = BrickColor.new("Really black")
  743.  
  744. local weld = Instance.new("ManualWeld", spikeconnector)
  745. weld.Part1 = basering
  746. weld.Name = "Weld"
  747. weld.C1 = CFrame.new(0, 5.26, 0.35) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  748. weld.Part0 = spikeconnector
  749. weld.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
  750.  
  751. local handle = Instance.new("Part", tenebris)
  752. handle.CanCollide = false
  753. handle.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  754. handle.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  755. handle.Material = Enum.Material.SmoothPlastic
  756. handle.Size = Vector3.new(5, 0.2, 0.2)
  757. handle.Name = "handle"
  758. handle.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  759. handle.CFrame = CFrame.new(-47.027, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  760. handle.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  761. handle.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  762. handle.BrickColor = BrickColor.new("Really black")
  763. handle.Friction = 0.3
  764. handle.Shape = Enum.PartType.Cylinder
  765. handle.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  766.  
  767. local weld_2 = Instance.new("ManualWeld", handle)
  768. weld_2.Part1 = basering
  769. weld_2.Name = "Weld"
  770. weld_2.C1 = CFrame.new(0, 2.26, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  771. weld_2.Part0 = handle
  772. weld_2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  773.  
  774. local light6 = Instance.new("Part", tenebris)
  775. light6.FormFactor = Enum.FormFactor.Custom
  776. light6.CanCollide = false
  777. light6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  778. light6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  779. light6.Material = Enum.Material.Neon
  780. light6.Size = Vector3.new(0.2, 0.2, 0.2)
  781. light6.Name = "light6"
  782. light6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  783. light6.CFrame = CFrame.new(-49.651, 14.467, -113.07) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  784. light6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  785. light6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  786. light6.BrickColor = BrickColor.new("Dark indigo")
  787. light6.Friction = 0.3
  788. light6.Shape = Enum.PartType.Ball
  789. light6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  790.  
  791. local weld_3 = Instance.new("ManualWeld", light6)
  792. weld_3.Part1 = basering
  793. weld_3.Name = "Weld"
  794. weld_3.C1 = CFrame.new(0.07, 4.884, -0.29) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  795. weld_3.Part0 = light6
  796. weld_3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  797.  
  798. local bigspike = Instance.new("WedgePart", tenebris)
  799. bigspike.FormFactor = Enum.FormFactor.Symmetric
  800. bigspike.CanCollide = false
  801. bigspike.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  802. bigspike.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  803. bigspike.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  804. bigspike.Friction = 0.3
  805. bigspike.Material = Enum.Material.SmoothPlastic
  806. bigspike.Size = Vector3.new(0.3, 2, 0.9)
  807. bigspike.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  808. bigspike.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  809. bigspike.Name = "bigspike"
  810. bigspike.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  811. bigspike.CFrame = CFrame.new(-50.757, 14.387, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  812. bigspike.BrickColor = BrickColor.new("Really black")
  813.  
  814. local weld_4 = Instance.new("ManualWeld", bigspike)
  815. weld_4.Part1 = basering
  816. weld_4.Name = "Weld"
  817. weld_4.C1 = CFrame.new(0, 5.99, -0.37) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  818. weld_4.Part0 = bigspike
  819. weld_4.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  820.  
  821. local smallspike = Instance.new("WedgePart", tenebris)
  822. smallspike.CanCollide = false
  823. smallspike.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  824. smallspike.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  825. smallspike.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  826. smallspike.Friction = 0.3
  827. smallspike.Material = Enum.Material.SmoothPlastic
  828. smallspike.Size = Vector3.new(0.3, 1.04, 0.2)
  829. smallspike.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  830. smallspike.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  831. smallspike.Name = "smallspike"
  832. smallspike.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  833. smallspike.CFrame = CFrame.new(-50.277, 15.477, -113) * CFrame.Angles(1.5707963705063, 0, 1.5707963705063)
  834. smallspike.BrickColor = BrickColor.new("Really black")
  835.  
  836. local weld_5 = Instance.new("ManualWeld", smallspike)
  837. weld_5.Part1 = basering
  838. weld_5.Name = "Weld"
  839. weld_5.C1 = CFrame.new(0, 5.51, 0.72) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  840. weld_5.Part0 = smallspike
  841. weld_5.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 1.5707963705063, 0)
  842.  
  843. local light4 = Instance.new("Part", tenebris)
  844. light4.FormFactor = Enum.FormFactor.Custom
  845. light4.CanCollide = false
  846. light4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  847. light4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  848. light4.Material = Enum.Material.Neon
  849. light4.Size = Vector3.new(0.2, 0.2, 0.2)
  850. light4.Name = "light4"
  851. light4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  852. light4.CFrame = CFrame.new(-49.654, 15.027, -113.07) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  853. light4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  854. light4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  855. light4.BrickColor = BrickColor.new("Dark indigo")
  856. light4.Friction = 0.3
  857. light4.Shape = Enum.PartType.Ball
  858. light4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  859.  
  860. local weld_6 = Instance.new("ManualWeld", light4)
  861. weld_6.Part1 = basering
  862. weld_6.Name = "Weld"
  863. weld_6.C1 = CFrame.new(0.07, 4.887, 0.27) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  864. weld_6.Part0 = light4
  865. weld_6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  866.  
  867. local biglightholder = Instance.new("Part", tenebris)
  868. biglightholder.FormFactor = Enum.FormFactor.Symmetric
  869. biglightholder.CanCollide = false
  870. biglightholder.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  871. biglightholder.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  872. biglightholder.Reflectance = 0.2
  873. biglightholder.Material = Enum.Material.Marble
  874. biglightholder.Size = Vector3.new(0.4, 0.8, 0.6)
  875. biglightholder.Name = "biglightholder"
  876. biglightholder.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  877. biglightholder.CFrame = CFrame.new(-50.027, 14.357, -113) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  878. biglightholder.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  879. biglightholder.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  880. biglightholder.BrickColor = BrickColor.new("Royal purple")
  881. biglightholder.Friction = 0.3
  882. biglightholder.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  883.  
  884. local mesh = Instance.new("SpecialMesh", biglightholder)
  885. mesh.Scale = Vector3.new(1.1, 0.5, 1.1)
  886.  
  887. local weld_7 = Instance.new("ManualWeld", biglightholder)
  888. weld_7.Part1 = basering
  889. weld_7.Name = "Weld"
  890. weld_7.C1 = CFrame.new(0, 5.26, -0.4) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  891. weld_7.Part0 = biglightholder
  892. weld_7.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.5707963705063, 0, -3.1415927410126)
  893.  
  894. local bladesupport = Instance.new("Part", tenebris)
  895. bladesupport.CanCollide = false
  896. bladesupport.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  897. bladesupport.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  898. bladesupport.Material = Enum.Material.SmoothPlastic
  899. bladesupport.Size = Vector3.new(1.64, 0.3, 0.3)
  900. bladesupport.Name = "bladesupport"
  901. bladesupport.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  902. bladesupport.CFrame = CFrame.new(-49.507, 14.757, -113) * CFrame.Angles(-0, -0.78539830446243, -1.5707963705063)
  903. bladesupport.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  904. bladesupport.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  905. bladesupport.BrickColor = BrickColor.new("Really black")
  906. bladesupport.Friction = 0.3
  907. bladesupport.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  908.  
  909. local weld_8 = Instance.new("ManualWeld", bladesupport)
  910. weld_8.Part1 = basering
  911. weld_8.Name = "Weld"
  912. weld_8.C1 = CFrame.new(0, 4.74, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  913. weld_8.Part0 = bladesupport
  914. weld_8.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.78539818525314, 0, 1.5707963705063)
  915.  
  916. local lightholder = Instance.new("Part", tenebris)
  917. lightholder.CanCollide = false
  918. lightholder.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  919. lightholder.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  920. lightholder.Material = Enum.Material.SmoothPlastic
  921. lightholder.Size = Vector3.new(1.64, 0.23, 0.3)
  922. lightholder.Name = "lightholder"
  923. lightholder.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  924. lightholder.CFrame = CFrame.new(-49.642, 14.757, -113) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  925. lightholder.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  926. lightholder.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  927. lightholder.BrickColor = BrickColor.new("Really black")
  928. lightholder.Friction = 0.3
  929. lightholder.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  930.  
  931. local weld_9 = Instance.new("ManualWeld", lightholder)
  932. weld_9.Part1 = basering
  933. weld_9.Name = "Weld"
  934. weld_9.C1 = CFrame.new(0, 4.875, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  935. weld_9.Part0 = lightholder
  936. weld_9.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  937.  
  938. local light1 = Instance.new("Part", tenebris)
  939. light1.FormFactor = Enum.FormFactor.Custom
  940. light1.CanCollide = false
  941. light1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  942. light1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  943. light1.Material = Enum.Material.Neon
  944. light1.Size = Vector3.new(0.2, 0.2, 0.2)
  945. light1.Name = "light1"
  946. light1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  947. light1.CFrame = CFrame.new(-49.651, 15.027, -112.93) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  948. light1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  949. light1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  950. light1.BrickColor = BrickColor.new("Dark indigo")
  951. light1.Friction = 0.3
  952. light1.Shape = Enum.PartType.Ball
  953. light1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  954.  
  955. local weld_10 = Instance.new("ManualWeld", light1)
  956. weld_10.Part1 = basering
  957. weld_10.Name = "Weld"
  958. weld_10.C1 = CFrame.new(-0.07, 4.884, 0.27) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  959. weld_10.Part0 = light1
  960. weld_10.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  961.  
  962. local biglight1 = Instance.new("Part", tenebris)
  963. biglight1.FormFactor = Enum.FormFactor.Custom
  964. biglight1.CanCollide = false
  965. biglight1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  966. biglight1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  967. biglight1.Material = Enum.Material.Neon
  968. biglight1.Size = Vector3.new(0.2, 0.2, 0.2)
  969. biglight1.Name = "biglight1"
  970. biglight1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  971. biglight1.CFrame = CFrame.new(-50.037, 14.357, -112.87) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  972. biglight1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  973. biglight1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  974. biglight1.BrickColor = BrickColor.new("Institutional white")
  975. biglight1.Friction = 0.3
  976. biglight1.Shape = Enum.PartType.Ball
  977. biglight1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  978.  
  979. local pointlight = Instance.new("PointLight", biglight1)
  980. pointlight.Color = Color3.new(0.580392, 0.0666667, 1)
  981.  
  982. local weld_11 = Instance.new("ManualWeld", biglight1)
  983. weld_11.Part1 = basering
  984. weld_11.Name = "Weld"
  985. weld_11.C1 = CFrame.new(-0.13, 5.27, -0.4) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  986. weld_11.Part0 = biglight1
  987. weld_11.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  988.  
  989. local light2 = Instance.new("Part", tenebris)
  990. light2.FormFactor = Enum.FormFactor.Custom
  991. light2.CanCollide = false
  992. light2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  993. light2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  994. light2.Material = Enum.Material.Neon
  995. light2.Size = Vector3.new(0.2, 0.2, 0.2)
  996. light2.Name = "light2"
  997. light2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  998. light2.CFrame = CFrame.new(-49.647, 14.747, -112.93) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  999. light2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1000. light2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1001. light2.BrickColor = BrickColor.new("Dark indigo")
  1002. light2.Friction = 0.3
  1003. light2.Shape = Enum.PartType.Ball
  1004. light2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1005.  
  1006. local weld_12 = Instance.new("ManualWeld", light2)
  1007. weld_12.Part1 = basering
  1008. weld_12.Name = "Weld"
  1009. weld_12.C1 = CFrame.new(-0.07, 4.88, -0.01) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1010. weld_12.Part0 = light2
  1011. weld_12.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1012.  
  1013. local light3 = Instance.new("Part", tenebris)
  1014. light3.FormFactor = Enum.FormFactor.Custom
  1015. light3.CanCollide = false
  1016. light3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1017. light3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1018. light3.Material = Enum.Material.Neon
  1019. light3.Size = Vector3.new(0.2, 0.2, 0.2)
  1020. light3.Name = "light3"
  1021. light3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1022. light3.CFrame = CFrame.new(-49.647, 14.467, -112.93) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1023. light3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1024. light3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1025. light3.BrickColor = BrickColor.new("Dark indigo")
  1026. light3.Friction = 0.3
  1027. light3.Shape = Enum.PartType.Ball
  1028. light3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1029.  
  1030. local weld_13 = Instance.new("ManualWeld", light3)
  1031. weld_13.Part1 = basering
  1032. weld_13.Name = "Weld"
  1033. weld_13.C1 = CFrame.new(-0.07, 4.88, -0.29) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1034. weld_13.Part0 = light3
  1035. weld_13.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1036.  
  1037. local biglight2 = Instance.new("Part", tenebris)
  1038. biglight2.FormFactor = Enum.FormFactor.Custom
  1039. biglight2.CanCollide = false
  1040. biglight2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1041. biglight2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1042. biglight2.Material = Enum.Material.Neon
  1043. biglight2.Size = Vector3.new(0.2, 0.2, 0.2)
  1044. biglight2.Name = "biglight2"
  1045. biglight2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1046. biglight2.CFrame = CFrame.new(-50.032, 14.357, -113.13) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1047. biglight2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1048. biglight2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1049. biglight2.BrickColor = BrickColor.new("Institutional white")
  1050. biglight2.Friction = 0.3
  1051. biglight2.Shape = Enum.PartType.Ball
  1052. biglight2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1053.  
  1054. local weld_14 = Instance.new("ManualWeld", biglight2)
  1055. weld_14.Part1 = basering
  1056. weld_14.Name = "Weld"
  1057. weld_14.C1 = CFrame.new(0.13, 5.265, -0.4) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1058. weld_14.Part0 = biglight2
  1059. weld_14.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1060.  
  1061. local light5 = Instance.new("Part", tenebris)
  1062. light5.FormFactor = Enum.FormFactor.Custom
  1063. light5.CanCollide = false
  1064. light5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1065. light5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1066. light5.Material = Enum.Material.Neon
  1067. light5.Size = Vector3.new(0.2, 0.2, 0.2)
  1068. light5.Name = "light5"
  1069. light5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1070. light5.CFrame = CFrame.new(-49.651, 14.747, -113.07) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1071. light5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1072. light5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1073. light5.BrickColor = BrickColor.new("Dark indigo")
  1074. light5.Friction = 0.3
  1075. light5.Shape = Enum.PartType.Ball
  1076. light5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1077.  
  1078. local weld_15 = Instance.new("ManualWeld", light5)
  1079. weld_15.Part1 = basering
  1080. weld_15.Name = "Weld"
  1081. weld_15.C1 = CFrame.new(0.07, 4.884, -0.01) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1082. weld_15.Part0 = light5
  1083. weld_15.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1084.  
  1085. local diamond = Instance.new("Part", tenebris)
  1086. diamond.CanCollide = false
  1087. diamond.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1088. diamond.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1089. diamond.Material = Enum.Material.SmoothPlastic
  1090. diamond.Size = Vector3.new(0.29, 0.3, 0.3)
  1091. diamond.Name = "diamond"
  1092. diamond.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1093. diamond.CFrame = CFrame.new(-49.329, 14.762, -113) * CFrame.Angles(0.0028290436603129, 0.61778599023819, 2.3512909412384)
  1094. diamond.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1095. diamond.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1096. diamond.BrickColor = BrickColor.new("Really black")
  1097. diamond.Friction = 0.3
  1098. diamond.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1099.  
  1100. local weld_16 = Instance.new("ManualWeld", diamond)
  1101. weld_16.Part1 = basering
  1102. weld_16.Name = "Weld"
  1103. weld_16.C1 = CFrame.new(0, 4.562, 0.005) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1104. weld_16.Part0 = diamond
  1105. weld_16.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.46561834216118, 0.42198696732521, -2.2507123947144)
  1106.  
  1107. local topring = Instance.new("Part", tenebris)
  1108. topring.FormFactor = Enum.FormFactor.Symmetric
  1109. topring.CanCollide = false
  1110. topring.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1111. topring.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1112. topring.Reflectance = 0.2
  1113. topring.Material = Enum.Material.Neon
  1114. topring.Size = Vector3.new(0.4, 0.36, 0.6)
  1115. topring.Name = "topring"
  1116. topring.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1117. topring.CFrame = CFrame.new(-49.057, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1118. topring.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1119. topring.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1120. topring.BrickColor = BrickColor.new("Royal purple")
  1121. topring.Friction = 0.3
  1122. topring.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1123.  
  1124. local mesh_2 = Instance.new("SpecialMesh", topring)
  1125. mesh_2.Scale = Vector3.new(1.1, 0.5, 1.1)
  1126.  
  1127. local weld_17 = Instance.new("ManualWeld", topring)
  1128. weld_17.Part1 = basering
  1129. weld_17.Name = "Weld"
  1130. weld_17.C1 = CFrame.new(0, 4.29, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1131. weld_17.Part0 = topring
  1132. weld_17.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1133.  
  1134. local staffbase = Instance.new("Part", tenebris)
  1135. staffbase.CanCollide = false
  1136. staffbase.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1137. staffbase.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1138. staffbase.Material = Enum.Material.SmoothPlastic
  1139. staffbase.Size = Vector3.new(0.29, 0.29, 0.29)
  1140. staffbase.Name = "staffbase"
  1141. staffbase.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1142. staffbase.CFrame = CFrame.new(-44.551, 14.762, -113) * CFrame.Angles(0.0028290436603129, 0.61778599023819, 2.3512909412384)
  1143. staffbase.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1144. staffbase.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1145. staffbase.BrickColor = BrickColor.new("Really black")
  1146. staffbase.Friction = 0.3
  1147. staffbase.Shape = Enum.PartType.Ball
  1148. staffbase.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1149.  
  1150. local weld_18 = Instance.new("ManualWeld", staffbase)
  1151. weld_18.Part1 = basering
  1152. weld_18.Name = "Weld"
  1153. weld_18.C1 = CFrame.new(0, -0.216, 0.005) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1154. weld_18.Part0 = staffbase
  1155. weld_18.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-0.46561834216118, 0.42198696732521, -2.2507123947144)
  1156.  
  1157. local staffbaseorb = Instance.new("Part", tenebris)
  1158. staffbaseorb.FormFactor = Enum.FormFactor.Custom
  1159. staffbaseorb.CanCollide = false
  1160. staffbaseorb.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1161. staffbaseorb.Transparency = 0.19
  1162. staffbaseorb.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1163. staffbaseorb.Material = Enum.Material.Neon
  1164. staffbaseorb.Size = Vector3.new(0.6, 0.6, 0.6)
  1165. staffbaseorb.Name = "staffbaseorb"
  1166. staffbaseorb.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1167. staffbaseorb.CFrame = CFrame.new(-44.543, 14.757, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1168. staffbaseorb.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1169. staffbaseorb.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1170. staffbaseorb.BrickColor = BrickColor.new("Dark indigo")
  1171. staffbaseorb.Friction = 0.3
  1172. staffbaseorb.Shape = Enum.PartType.Ball
  1173. staffbaseorb.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1174.  
  1175. local weld_19 = Instance.new("ManualWeld", staffbaseorb)
  1176. weld_19.Part1 = basering
  1177. weld_19.Name = "Weld"
  1178. weld_19.C1 = CFrame.new(0, -0.224, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1179. weld_19.Part0 = staffbaseorb
  1180. weld_19.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1181.  
  1182. local hitbox = Instance.new("Part", tenebris)
  1183. hitbox.CanCollide = false
  1184. hitbox.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1185. hitbox.Transparency = 1
  1186. hitbox.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1187. hitbox.Material = Enum.Material.SmoothPlastic
  1188. hitbox.Size = Vector3.new(1.74, 2.53, 0.3)
  1189. hitbox.Name = "hitbox"
  1190. hitbox.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1191. hitbox.CFrame = CFrame.new(-50.532, 14.767, -113) * CFrame.Angles(3.1415927410126, -0, 1.5707963705063)
  1192. hitbox.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1193. hitbox.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1194. hitbox.BrickColor = BrickColor.new("Really black")
  1195. hitbox.Friction = 0.3
  1196. hitbox.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1197.  
  1198. local weld_20 = Instance.new("ManualWeld", hitbox)
  1199. weld_20.Part1 = basering
  1200. weld_20.Name = "Weld"
  1201. weld_20.C1 = CFrame.new(0, 5.765, 0.01) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1202. weld_20.Part0 = hitbox
  1203. weld_20.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063)
  1204.  
  1205. local hitboxemitter = Instance.new("ParticleEmitter", hitbox)
  1206. hitboxemitter.ZOffset = 1
  1207. hitboxemitter.Lifetime = NumberRange.new(0.5)
  1208. hitboxemitter.Speed = NumberRange.new(0)
  1209. hitboxemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 5)})
  1210. hitboxemitter.Acceleration = Vector3.new(0, 50, 0)
  1211. hitboxemitter.Rate = 200
  1212. hitboxemitter.Rotation = NumberRange.new(100)
  1213. hitboxemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 0.9)})
  1214. hitboxemitter.LightEmission = 0.95
  1215. hitboxemitter.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1216. hitboxemitter.Enabled = false
  1217.  
  1218. local magiccore = Instance.new("Part", tenebris)
  1219. magiccore.FormFactor = Enum.FormFactor.Custom
  1220. magiccore.CanCollide = false
  1221. magiccore.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1222. magiccore.Transparency = 0
  1223. magiccore.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1224. magiccore.Material = Enum.Material.Neon
  1225. magiccore.Size = Vector3.new(0.2, 0.2, 0.2)
  1226. magiccore.Name = "magiccore"
  1227. magiccore.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1228. magiccore.CFrame = CFrame.new(-50.502, 15.107, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1229. magiccore.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1230. magiccore.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1231. magiccore.BrickColor = BrickColor.new("Institutional white")
  1232. magiccore.Friction = 0.3
  1233. magiccore.Shape = Enum.PartType.Ball
  1234. magiccore.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1235.  
  1236. local weld_21 = Instance.new("ManualWeld", magiccore)
  1237. weld_21.Part1 = basering
  1238. weld_21.Name = "Weld"
  1239. weld_21.C1 = CFrame.new(0, 5.735, 0.35) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1240. weld_21.Part0 = magiccore
  1241. weld_21.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1242.  
  1243. local coreemitter = Instance.new("ParticleEmitter", magiccore)
  1244. coreemitter.ZOffset = 1
  1245. coreemitter.Lifetime = NumberRange.new(0.5)
  1246. coreemitter.Speed = NumberRange.new(0)
  1247. coreemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4), NumberSequenceKeypoint.new(1, 0.4)})
  1248. coreemitter.Rate = 200
  1249. coreemitter.Rotation = NumberRange.new(100)
  1250. coreemitter.LightEmission = 0.8
  1251. coreemitter.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1252. coreemitter.LockedToPart = true
  1253.  
  1254. local coreemitter2 = Instance.new("ParticleEmitter", magiccore)
  1255. coreemitter2.ZOffset = 1
  1256. coreemitter2.Lifetime = NumberRange.new(0.5)
  1257. coreemitter2.Speed = NumberRange.new(0)
  1258. coreemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 0.2)})
  1259. coreemitter2.Rate = 200
  1260. coreemitter2.LightEmission = 0.9
  1261. coreemitter2.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1262. coreemitter2.LockedToPart = true
  1263.  
  1264. local magicshell = Instance.new("Part", tenebris)
  1265. magicshell.FormFactor = Enum.FormFactor.Custom
  1266. magicshell.CanCollide = false
  1267. magicshell.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  1268. magicshell.Transparency = 0
  1269. magicshell.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  1270. magicshell.Material = Enum.Material.Neon
  1271. magicshell.Size = Vector3.new(0.4, 0.4, 0.4)
  1272. magicshell.Name = "magicshell"
  1273. magicshell.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  1274. magicshell.CFrame = CFrame.new(-50.502, 15.107, -113) * CFrame.Angles(-1.5707963705063, 0, 1.5707963705063)
  1275. magicshell.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  1276. magicshell.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  1277. magicshell.BrickColor = BrickColor.new("Really black")
  1278. magicshell.Friction = 0.3
  1279. magicshell.Shape = Enum.PartType.Ball
  1280. magicshell.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  1281.  
  1282. local weld_22 = Instance.new("ManualWeld", magicshell)
  1283. weld_22.Part1 = basering
  1284. weld_22.Name = "Weld"
  1285. weld_22.C1 = CFrame.new(0, 5.735, 0.35) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1286. weld_22.Part0 = magicshell
  1287. weld_22.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(1.5707963705063, -1.5707963705063, 0)
  1288.  
  1289.  
  1290. local coreemitter3 = Instance.new("ParticleEmitter", magicshell)
  1291. coreemitter3.ZOffset = 1
  1292. coreemitter3.Lifetime = NumberRange.new(0.5)
  1293. coreemitter3.Speed = NumberRange.new(0)
  1294. coreemitter3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.4), NumberSequenceKeypoint.new(1, 0.4)})
  1295. coreemitter3.Rate = 200
  1296. coreemitter3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  1297. coreemitter3.LightEmission = 1
  1298. coreemitter3.Color = ColorSequence.new(Color3.new(0.0745098, 0.0117647, 0.164706), Color3.new(0.0745098, 0.0117647, 0.164706))
  1299. coreemitter3.LockedToPart = true
  1300.  
  1301.  
  1302. tenebris.Parent = char
  1303. tenebris:MakeJoints()
  1304. print("Tenebris loaded.")
  1305. ----------------------------------------------------
  1306. local cor = Instance.new("Part", char.Tenebris)
  1307. cor.Name = "Thingy"
  1308. cor.Locked = true
  1309. cor.BottomSurface = 0
  1310. cor.CanCollide = false
  1311. cor.Size = Vector3.new(1, 9, 1)
  1312. cor.Transparency = 1
  1313. cor.TopSurface = 0
  1314. corw = Instance.new("Weld", cor)
  1315. corw.Part0 = Character["Right Arm"]
  1316. corw.Part1 = cor
  1317. corw.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(90))
  1318. corw.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  1319. weld1 = Instance.new("Weld", char.Tenebris)
  1320. weld1.Part0 = cor
  1321. weld1.Part1 = handle
  1322. weld1.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(90), math.rad(90))
  1323.  
  1324. -------------------------------------------------------
  1325.  
  1326. local function weldBetween(a, b, name)
  1327. local weld = Instance.new("ManualWeld")
  1328. weld.Part0 = a
  1329. weld.Part1 = b
  1330. weld.C0 = CFrame.new()
  1331. weld.C1 = b.CFrame:inverse() * a.CFrame
  1332. weld.Parent = a
  1333. weld.Name=name or 'weldb1'
  1334. weld.Parent=m
  1335. return weld;
  1336. end
  1337.  
  1338. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1339. if hit.Parent==nil then
  1340. return
  1341. end
  1342. h=hit.Parent:FindFirstChild("Humanoid")
  1343. for _,v in pairs(hit.Parent:children()) do
  1344. if v:IsA("Humanoid") then
  1345. h=v
  1346. end
  1347. end
  1348. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1349. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1350. end
  1351. if hit.Parent.className=="Hat" then
  1352. hit=hit.Parent.Parent:findFirstChild("Head")
  1353. end
  1354. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1355. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1356. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1357. return
  1358. end]]
  1359. -- hs(hit,1.2)
  1360. c=Instance.new("ObjectValue")
  1361. c.Name="creator"
  1362. c.Value=game:service("Players").LocalPlayer
  1363. c.Parent=h
  1364. game:GetService("Debris"):AddItem(c,.5)
  1365. Damage=math.random(minim,maxim)
  1366. -- h:TakeDamage(Damage)
  1367. blocked=false
  1368. block=hit.Parent:findFirstChild("Block")
  1369. if block~=nil then
  1370. print(block.className)
  1371. if block.className=="NumberValue" then
  1372. if block.Value>0 then
  1373. blocked=true
  1374. if decreaseblock==nil then
  1375. block.Value=block.Value-1
  1376. end
  1377. end
  1378. end
  1379. if block.className=="IntValue" then
  1380. if block.Value>0 then
  1381. blocked=true
  1382. if decreaseblock~=nil then
  1383. block.Value=block.Value-1
  1384. end
  1385. end
  1386. end
  1387. end
  1388. if blocked==false then
  1389. -- h:TakeDamage(Damage)
  1390. h.Health=h.Health-Damage
  1391. ShowDamage2((hit.Parent:FindFirstChild("Head").CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  1392. else
  1393. h.Health=h.Health-(Damage/2)
  1394. ShowDamage2((hit.Parent:FindFirstChild("Head").CFrame * CFrame.new(0, 0, (Head.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, BrickColor.new("Really black").Color)
  1395. end
  1396. if Type=="Knockdown" then
  1397. hum=hit.Parent.Humanoid
  1398. hum.PlatformStand=true
  1399. coroutine.resume(coroutine.create(function(HHumanoid)
  1400. swait(1)
  1401. HHumanoid.PlatformStand=false
  1402. end),hum)
  1403. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1404. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1405. local bodvol=Instance.new("BodyVelocity")
  1406. bodvol.velocity=angle*knockback
  1407. bodvol.P=5000
  1408. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1409. bodvol.Parent=hit
  1410. rl=Instance.new("BodyAngularVelocity")
  1411. rl.P=3000
  1412. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1413. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1414. rl.Parent=hit
  1415. game:GetService("Debris"):AddItem(bodvol,.5)
  1416. game:GetService("Debris"):AddItem(rl,.5)
  1417. elseif Type=="Normal" then
  1418. vp=Instance.new("BodyVelocity")
  1419. vp.P=500
  1420. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1421. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1422. if KnockbackType==1 then
  1423. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1424. elseif KnockbackType==2 then
  1425. vp.velocity=Property.CFrame.lookVector*knockback
  1426. end
  1427. if knockback>0 then
  1428. vp.Parent=hit.Parent.Torso
  1429. end
  1430. game:GetService("Debris"):AddItem(vp,.5)
  1431. elseif Type=="Up" then
  1432. local bodyVelocity=Instance.new("BodyVelocity")
  1433. bodyVelocity.velocity=vt(0,60,0)
  1434. bodyVelocity.P=5000
  1435. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1436. bodyVelocity.Parent=hit
  1437. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1438. rl=Instance.new("BodyAngularVelocity")
  1439. rl.P=3000
  1440. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1441. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  1442. rl.Parent=hit
  1443. game:GetService("Debris"):AddItem(rl,.5)
  1444. elseif Type=="Snare" then
  1445. bp=Instance.new("BodyPosition")
  1446. bp.P=2000
  1447. bp.D=100
  1448. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1449. bp.position=hit.Parent.Torso.Position
  1450. bp.Parent=hit.Parent.Torso
  1451. game:GetService("Debris"):AddItem(bp,1)
  1452. elseif Type=="Target" then
  1453. if Targetting==false then
  1454. ZTarget=hit.Parent.Torso
  1455. coroutine.resume(coroutine.create(function(Part)
  1456. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1457. swait(5)
  1458. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1459. end),ZTarget)
  1460. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1461. targetgui=Instance.new("BillboardGui")
  1462. targetgui.Parent=ZTarget
  1463. targetgui.Size=UDim2.new(10,100,10,100)
  1464. targ=Instance.new("ImageLabel")
  1465. targ.Parent=targetgui
  1466. targ.BackgroundTransparency=1
  1467. targ.Image="rbxassetid://4834067"
  1468. targ.Size=UDim2.new(1,0,1,0)
  1469. cam.CameraType="Scriptable"
  1470. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1471. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1472. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1473. Targetting=true
  1474. RocketTarget=ZTarget
  1475. for i=1,Property do
  1476. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1477. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1478. swait()
  1479. end
  1480. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1481. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1482. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1483. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1484. end
  1485. Targetting=false
  1486. RocketTarget=nil
  1487. targetgui.Parent=nil
  1488. cam.CameraType="Custom"
  1489. end
  1490. end
  1491. debounce=Instance.new("BoolValue")
  1492. debounce.Name="DebounceHit"
  1493. debounce.Parent=hit.Parent
  1494. debounce.Value=true
  1495. game:GetService("Debris"):AddItem(debounce,Delay)
  1496. c=Instance.new("ObjectValue")
  1497. c.Name="creator"
  1498. c.Value=Player
  1499. c.Parent=h
  1500. game:GetService("Debris"):AddItem(c,.5)
  1501. CRIT=false
  1502. hitDeb=true
  1503. AttackPos=6
  1504. end
  1505. end
  1506.  
  1507. showDamage=function(Char,Dealt,du,Color)
  1508. m=Instance.new("Model")
  1509. m.Name=tostring(Dealt)
  1510. h=Instance.new("Humanoid")
  1511. h.Health=0
  1512. h.MaxHealth=0
  1513. h.Parent=m
  1514. c=Instance.new("Part")
  1515. c.Transparency=0
  1516. c.BrickColor=Color
  1517. c.Name="Head"
  1518. c.TopSurface=0
  1519. c.BottomSurface=0
  1520. c.formFactor="Plate"
  1521. c.Size=Vector3.new(1,.4,1)
  1522. ms=Instance.new("CylinderMesh")
  1523. ms.Scale=Vector3.new(.8,.8,.8)
  1524. if CRIT==true then
  1525. ms.Scale=Vector3.new(1,1.25,1)
  1526. end
  1527. ms.Parent=c
  1528. c.Reflectance=0
  1529. Instance.new("BodyGyro").Parent=c
  1530. c.Parent=m
  1531. if Char:findFirstChild("Head")~=nil then
  1532. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1533. elseif Char.Parent:findFirstChild("Head")~=nil then
  1534. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1535. end
  1536. f=Instance.new("BodyPosition")
  1537. f.P=2000
  1538. f.D=100
  1539. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1540. f.position=c.Position+Vector3.new(0,3,0)
  1541. f.Parent=c
  1542. game:GetService("Debris"):AddItem(m,.5+du)
  1543. c.CanCollide=false
  1544. m.Parent=workspace
  1545. c.CanCollide=false
  1546. end
  1547.  
  1548. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1549. local msh1 = it("SpecialMesh")
  1550. msh1.Scale = vt(0.5,0.5,0.5)
  1551. msh1.MeshType = "Sphere"
  1552. local S=it("Part")
  1553. S.Name="Effect"
  1554. S.formFactor=0
  1555. S.Size=vt(x1,y1,z1)
  1556. S.BrickColor=color
  1557. S.Reflectance = 0
  1558. S.TopSurface=0
  1559. S.BottomSurface=0
  1560. S.Transparency=0
  1561. S.Anchored=true
  1562. S.CanCollide=false
  1563. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  1564. S.Parent=workspace
  1565. msh1.Parent = S
  1566. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1567. end
  1568.  
  1569. function SummonSword(Part,cframe1,cframe2)
  1570. coroutine.resume(coroutine.create(function()
  1571.  
  1572. local sword=part(1,workspace,0,0.5,TorsoColor,"Sword",vt(2,2,2))
  1573. sword.Anchored=true
  1574. --con1=sword.Touched:connect(function(hit) Damagefunc2(hit,5,1) end)
  1575. local smesh=mesh("SpecialMesh",sword,"FileMesh","http://www.roblox.com/asset/?id=50798664",vt(0,0,0),vt(3,3,3))
  1576. --smesh.Parent=nil
  1577. smesh.VertexColor=Vector3.new(0, 0, 0)
  1578. sword.CFrame=Part.CFrame*cframe1
  1579. con1=sword.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(5,10),"Normal",RootPart,.2,1) end)
  1580. so("http://roblox.com/asset/?id=231917788",sword,0.5,1)
  1581. hitconasdf = sword.Touched:connect(function(hit)
  1582. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1583. if hum12 and not hum12:IsDescendantOf(Character) then
  1584. so('http://roblox.com/asset/?id=220025675',sword,1,3)
  1585. hitconasdf:disconnect()
  1586. end
  1587. end)
  1588. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,TorsoColor)
  1589. for i=0,1,0.2 do
  1590. wait()
  1591. local dir = sword.CFrame.lookVector*-1
  1592. hit2,pos = rayCast(sword.Position,dir,5,Character)
  1593. if hit2~=nil then
  1594. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  1595. hum = hit2.Parent.Humanoid
  1596. --Damagefunc2(hit2,5,1)
  1597. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  1598. hum = hit2.Parent.Parent.Humanoid
  1599. --Damagefunc2(hit2,5,1)
  1600. end
  1601. end
  1602. sword.CFrame=sword.CFrame*cframe2
  1603. end
  1604. EVENMOARMAGIX(sword,4,4,4,0,0,0,0,0,0,TorsoColor)
  1605. sword.Parent=nil
  1606. pcall(function()
  1607. hitconasdf:disconnect()
  1608. end)
  1609. con1:disconnect()
  1610. end))
  1611. end
  1612.  
  1613. rings=Instance.new('Model',Character)
  1614.  
  1615. ring=function(way,way2,where,vector,rv1,rv2,rv3,c1,c2)
  1616. local rng = Instance.new("Part", rings)
  1617. rng.Anchored = true
  1618. rng.BrickColor = BrickColor.new("Bright blue")
  1619. rng.CanCollide = false
  1620. rng.FormFactor = 3
  1621. rng.Name = "Ring"
  1622. rng.Size = Vector3.new(1, 1, 1)
  1623. rng.Transparency = .5
  1624. rng.TopSurface = 0
  1625. rng.BottomSurface = 0
  1626. rng.CFrame = where.CFrame * CFrame.Angles(math.rad(way), math.rad(way2), 0)
  1627. local rngm = Instance.new("SpecialMesh", rng)
  1628. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1629. rngm.Scale = vector--10,10,1
  1630. for i = 1, 20, 1 do
  1631. rngm.Scale = Vector3.new(rv1 + i*c1, rv2 + i*c2, rv3)--(10 + i*2, 10 + i*2, 1)
  1632. rng.Transparency = i/20
  1633. swait()
  1634. end
  1635. wait()
  1636. rng:destroy''
  1637. end
  1638.  
  1639. player=game.Players.localPlayer
  1640. char=player.Character
  1641. Effects={}
  1642. vt=Vector3.new
  1643. cf=CFrame.new
  1644. euler=CFrame.fromEulerAnglesXYZ
  1645. m=Instance.new("Model",char)
  1646.  
  1647. function atktype(s, e)
  1648. coroutine.resume(coroutine.create(function()
  1649. attacktype = e
  1650. swait(80)
  1651. attacktype = s
  1652. end))
  1653. end
  1654.  
  1655. mouse.Button1Down:connect(function()
  1656. if equipped==true and hand==false then
  1657. if attacktype==1 then
  1658. attackone()
  1659. elseif attacktype==2 then
  1660. attacktwo()
  1661. end
  1662. end
  1663. end)
  1664.  
  1665. keypress = false
  1666. input=""
  1667.  
  1668. mouse.KeyDown:connect(function(k)
  1669. k=k:lower()
  1670. if k=='f' then
  1671. if attack==false and mana>=10 then
  1672. VoidGrip()
  1673. end
  1674. elseif k=='0' and antirun == false then
  1675. if attack==false then
  1676. Humanoid.WalkSpeed = 32
  1677. end
  1678. elseif k=='x' then
  1679. if attack==false and mana>=20 then
  1680. VoidHook()
  1681. end
  1682. elseif k=='c' then
  1683. if attack==false and mana>=75 then
  1684. Implosion()
  1685. end
  1686. elseif k == 's' or 'w' and attack == false then
  1687. input=input..k
  1688. print(input)
  1689. coroutine.resume(coroutine.create(function()
  1690. while keypress==true do
  1691. swait()
  1692. end
  1693. for i=1,50 do
  1694. if keypress==false then
  1695. swait()
  1696. end
  1697. end
  1698. input=''
  1699. end))
  1700. end
  1701. if input=='ssw' and attack==false then
  1702. LockOnStrike()
  1703. end
  1704. end)
  1705.  
  1706. function spin()
  1707. attack=true
  1708. mana=mana-40
  1709. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1710. for i=0,1,0.1 do
  1711. swait()
  1712. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.45)
  1713. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.45)
  1714. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.45)
  1715. LW.C0=clerp(LW.C0,cf(0,0.5,-0.7)*euler(1.5,-1.5,0)*euler(.7,0,0),.45)
  1716. RH.C0=clerp(RH.C0,RHC0*euler(-.2,0,0),.45)
  1717. LH.C0=clerp(LH.C0,LHC0*euler(-.2,0,0),.45)
  1718. end
  1719. for i=0,1,0.15 do
  1720. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  1721. swait()
  1722. for i=0,1,0.1 do
  1723. swait()
  1724. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(-.5,0,0),.3)
  1725. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*euler(1.5,-1.5,0)*euler(.5,0,0),.3)
  1726. RootJoint.C0=RootCF*euler(0,0,6.6*i)
  1727. end
  1728. end
  1729. con1:disconnect()
  1730. attack=false
  1731. end
  1732.  
  1733.  
  1734. function attackone()
  1735. if attack==false and attacktype==1 then
  1736. attacktype=2
  1737. attack=true
  1738. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1739. for i=0,1,0.1 do
  1740. swait()
  1741. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,.5),.3)
  1742. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1743. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2,0,1),.3)
  1744. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1745. LW.C0=clerp(LW.C0,cf(-1.3,0.5,-.3)*euler(.4,0,.2)*euler(0,-.2,0),.3)
  1746. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.4)
  1747. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1748. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1749. end
  1750. so("http://www.roblox.com/asset/?id=199145841",handle,1,.9)
  1751. hitconasdf = hitbox.Touched:connect(function(hit)
  1752. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1753. if hum12 and not hum12:IsDescendantOf(Character) then
  1754. so("http://www.roblox.com/asset/?id="..mhitsounds[math.random(1,#mhitsounds)],hit.Parent:FindFirstChild("Torso"),1,1)
  1755. hitconasdf:disconnect()
  1756. end
  1757. end)
  1758. for i=0,1,0.2 do
  1759. swait()
  1760. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1761. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1762. RW.C0=clerp(RW.C0,cf(1.2,0.5,-.3)*euler(0,0,0)*euler(0,0,0),.3)
  1763. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1764. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1765. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1766. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1767. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1768. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1769. end
  1770. for i=0,1,0.1 do
  1771. swait()
  1772. Neck.C0=clerp(Neck.C0,necko*euler(0,0,-.5)*euler(.2,0,0),.3)
  1773. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.5),.3)
  1774. RW.C0=clerp(RW.C0,cf(1,0.5,-.5)*euler(.6,0,-1)*euler(0,-.7,0),.3)
  1775. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1776. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.4,0,-.2),.3)
  1777. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1778. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.5,0),.3)
  1779. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.5,0),.3)
  1780. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  1781. end
  1782. con1:disconnect()
  1783. hitconasdf:disconnect()
  1784. attack=false
  1785. atktype(1, 2)
  1786. end
  1787. end
  1788.  
  1789. function attacktwo()
  1790. if attack==false and attacktype==2 then
  1791. attacktype=1
  1792. attack=true
  1793. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  1794. for i=0,1,0.75 do
  1795. swait()
  1796. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0.5)),.3)
  1797. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1798. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-60), math.rad(0), math.rad(10)), 0.3)
  1799. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-20)), 0.3)
  1800. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(50),math.rad(-10),math.rad(0)),.3)
  1801. end
  1802. so("http://www.roblox.com/asset/?id=199145887",handle,1,1)
  1803. hitconasdf = hitbox.Touched:connect(function(hit)
  1804. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1805. if hum12 and not hum12:IsDescendantOf(Character) then
  1806. so("http://www.roblox.com/asset/?id="..mhitsounds[math.random(1,#mhitsounds)],hit.Parent:FindFirstChild("Torso"),1,1)
  1807. hitconasdf:disconnect()
  1808. end
  1809. end)
  1810. for i=0,1,0.2 do
  1811. swait()
  1812. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.5)*euler(0,0,0),.3)
  1813. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.5),.3)
  1814. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1.3,0,1)*euler(0,1.6,0),.3)
  1815. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1816. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.2,0,-.2),.3)
  1817. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1818. --RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.5,0),.3)
  1819. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.5,0),.3)
  1820. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  1821. end
  1822. for i=0,1,0.1 do
  1823. swait()
  1824. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0.5)),.3)
  1825. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-.5)),.3)
  1826. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-10)), 0.3)
  1827. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-20)), 0.3)
  1828. corw.C0=clerp(corw.C0,cf(0,-2,-1)*angles(math.rad(-90),math.rad(10),math.rad(0)),.3)
  1829. end
  1830. attack=false
  1831. atktype(1, 1)
  1832. con1:disconnect()
  1833. hitconasdf:disconnect()
  1834. end
  1835. end
  1836.  
  1837.  
  1838. function LockOnStrike()
  1839. mana=mana-10
  1840. if Targetting==true then
  1841. Targetting=false
  1842. else
  1843. if attack==false then
  1844. attack=true
  1845. con1 = hitbox.Touched:connect(function(hit) Damagefunc(hit,5,10,0,"Target",600,1,2) end)
  1846. for i=0,1,0.075 do
  1847. swait()
  1848. Neck.C0=clerp(Neck.C0,necko*euler(0,0,.2),.3)
  1849. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,-.3),.3)
  1850. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(1,0,1.2)*euler(0,-2,0),.3)
  1851. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1852. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(.7,0,.1)*euler(0,-.4,0),.3)
  1853. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1854. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,.3,0),.3)
  1855. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,.3,0),.3)
  1856. end
  1857. so("http://roblox.com/asset/?id=234365549",hitbox,1,0.6)
  1858. hitconasdf = hitbox.Touched:connect(function(hit)
  1859. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  1860. if hum12 and not hum12:IsDescendantOf(Character) then
  1861. so("http://www.roblox.com/asset/?id="..mhitsounds[math.random(1,#mhitsounds)],hit.Parent:FindFirstChild("Torso"),1,1)
  1862. hitconasdf:disconnect()
  1863. end
  1864. end)
  1865. for i=0,1,0.075 do
  1866. swait()
  1867. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  1868. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  1869. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  1870. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  1871. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  1872. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  1873. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  1874. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  1875. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  1876. end
  1877. attack=false
  1878. con1:disconnect()
  1879. hitconasdf:disconnect()
  1880. end
  1881. end
  1882. end
  1883.  
  1884. local charging = false
  1885.  
  1886. function Implosion()
  1887. if mana >= 75 then
  1888. mana=mana-75
  1889. attack=true
  1890. so("http://www.roblox.com/asset/?id=199145659",Torso,1,1)
  1891. charging = true
  1892. coroutine.wrap(function()
  1893. while charging==true and wait() do
  1894.  
  1895. local FireColors = {'Dark indigo', 'Royal purple', 'Really black'}
  1896. local p = Instance.new('Part', hitbox)
  1897. p.BrickColor = BrickColor.new(FireColors[math.random(1,#FireColors)])
  1898. p.FormFactor = 'Custom'
  1899. p.Material = 'Neon'
  1900. p.Size = Vector3.new(2, 2, 2)
  1901. p.CanCollide = false
  1902. p.Anchored = true
  1903. p.Locked = true
  1904. p.CFrame = hitbox.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.random(0,3),math.random(0,3),math.random(0,3))
  1905.  
  1906. Instance.new('BlockMesh', p)
  1907. coroutine.wrap(function()
  1908. for i = 1, 10 do
  1909.  
  1910. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(.1, .1, .1)
  1911. p.CFrame = p.CFrame * CFrame.new(0, .35, 0)
  1912.  
  1913. wait()
  1914. end
  1915. end)()
  1916. game:service'Debris':AddItem(p, .55)
  1917. end
  1918. end)()
  1919. for i=0,1,0.075 do
  1920. swait()
  1921. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1922. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-0.4)*euler(0.4+(0.4/2),0,-0.4),.3)
  1923. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4/2,0,0.4),.3)
  1924. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(0),math.rad(150),math.rad(-90)),.3)
  1925. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  1926. RH.C0=clerp(RH.C0,cf(1,-1,-0.4)*euler(-0.2-(0.4/2),1.57,0),.3)
  1927. LH.C0=clerp(LH.C0,cf(-1,-.5+0.4,0)*euler(0.5+(0.4/2),-1.2,0)*euler(-.2,0,0),.3)
  1928. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  1929. end
  1930. wait(1)
  1931. for i=0,1,0.075 do
  1932. swait()
  1933. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  1934. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(2.5,0,0)*euler(0,0,0),.3)
  1935. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1936. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-0.5,0,0)*euler(0,0,0),.3)
  1937. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1938. RH.C0=clerp(RH.C0,cf(1,-0.85,0.1)*euler(0,1.57,0)*euler(0,0,0),.3)
  1939. LH.C0=clerp(LH.C0,cf(-1,-0.9,-0.1)*euler(0,-1.57,0)*euler(0,0,0),.3)
  1940. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  1941. end
  1942. wait(0.1)
  1943. charging=false
  1944. so("http://www.roblox.com/asset/?id=168413145",Torso,0.4,.2)
  1945. so("http://www.roblox.com/asset/?id=183763506",Torso,2,.6)
  1946. so("http://roblox.com/asset/?id=228343408",Torso,1,1.4)
  1947.  
  1948.  
  1949. MagicCircle(BrickColor.new("Dark indigo"),Torso.CFrame - Vector3.new(0,3,0),3,0.1,3,5,0.1,5,0.01)
  1950. MagicCircle(BrickColor.new("Institutional white"),hitbox.CFrame,3,3,3,15,15,15,0.1)
  1951. con1=hitbox.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(5,10),"Normal",RootPart,.2,1) end)
  1952. for i=0,1,0.075 do
  1953. swait()
  1954. Neck.C0=clerp(Neck.C0,necko*euler(.2,0,-.6),.35)
  1955. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,.6),.35)
  1956. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(1.2,0,-1.2)*euler(0,-1.2,0),.35)
  1957. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  1958. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-.2)*euler(-.4,0,-.7)*euler(0,0,0),.35)
  1959. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.35)
  1960. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*euler(0,-.6,0),.35)
  1961. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*euler(0,-.6,0),.35)
  1962. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(-45),math.rad(0),math.rad(0)),.2)
  1963. end
  1964. con1:disconnect()
  1965. attack=false
  1966. end
  1967. end
  1968.  
  1969. local Grabbing = false
  1970.  
  1971. function VoidHook()
  1972. mana=mana-20
  1973. Humanoid.JumpPower = 0
  1974. attack=true
  1975. mana=mana-10
  1976. if Grabbing == false then
  1977. gp = nil
  1978. con1=hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  1979. if Targetting == true then --Make shift lock more pleasant when targeting a player
  1980. Character.Torso.Anchored = true
  1981. elseif Targetting == false then
  1982. end
  1983. local ht = hit.Parent
  1984. local hum1=ht:FindFirstChild('Humanoid')
  1985. if hum1 ~= nil then
  1986. coroutine.resume(coroutine.create(function()
  1987. hum1.PlatformStand=true
  1988. wait(3)
  1989. hum1.PlatformStand=false
  1990. end))
  1991. gp = ht
  1992. Grabbing = true
  1993.  
  1994. coroutine.wrap(function()
  1995. while Grabbing==true and wait() do
  1996.  
  1997. local FireColors = {'Dark indigo', 'Royal purple', 'Really black'}
  1998. local p = Instance.new('Part', ht:FindFirstChild("Torso"))
  1999. p.BrickColor = BrickColor.new(FireColors[math.random(1,#FireColors)])
  2000. p.FormFactor = 'Custom'
  2001. p.Material = 'Neon'
  2002. p.Size = Vector3.new(2, 2, 2)
  2003. p.CanCollide = false
  2004. p.Anchored = true
  2005. p.Locked = true
  2006. p.CFrame = ht:FindFirstChild("Torso").CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.random(0,3),math.random(0,3),math.random(0,3))
  2007. Instance.new('BlockMesh', p)
  2008. coroutine.wrap(function()
  2009. for i = 1, 10 do
  2010. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(.1, .1, .1)
  2011. p.CFrame = p.CFrame * CFrame.new(0, .35, 0)
  2012. wait()
  2013. end
  2014. end)()
  2015. game:service'Debris':AddItem(p, .55)
  2016. end
  2017. end)()
  2018.  
  2019. so("http://www.roblox.com/asset/?id=200632821", Torso, 1, .8)
  2020. local asd=weld2(hitbox,hitbox,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  2021. asd.Parent = RightArm
  2022. asd.Name = "asd"
  2023. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  2024. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  2025. elseif hum1 == nil then
  2026. con1:disconnect()
  2027. wait() return
  2028. end
  2029. end)
  2030. end
  2031. hitboxemitter.Enabled = true
  2032. for i=0,1,0.05 do
  2033. swait()
  2034. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  2035. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-45)),.3)
  2036. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-170),math.rad(6.5),math.rad(31)),.3)
  2037. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2038. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  2039. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2040. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(3 / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(3 / 7))), .3)
  2041. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(3 / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(30 * math.cos(3 / 7))), .3)
  2042. --RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2043. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2044. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  2045. end
  2046. so("http://roblox.com/asset/?id=231917871",hitbox,1,0.8)
  2047. hitconasdf = hitbox.Touched:connect(function(hit)
  2048. local hum12 = hit.Parent:FindFirstChild("Humanoid")
  2049. if hum12 and not hum12:IsDescendantOf(Character) then
  2050. hitconasdf:disconnect()
  2051. end
  2052. end)
  2053. for i=0,0.5,2 do
  2054. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2055. swait()
  2056. so("http://roblox.com/asset/?id=199145761", Torso, 1, math.random(75, 125) / 100)
  2057.  
  2058. for i=0,1,0.025 do
  2059. swait()
  2060. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2061. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  2062. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(31)),.3)
  2063. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2064. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  2065. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2066. --RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2067. --LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2068. corw.C0=clerp(corw.C0,cf(0,0-50*i,0)*angles(math.rad(-90),math.rad(0),math.rad(-100*i)),.3)
  2069. end
  2070. end
  2071.  
  2072. for i=0,0.5,2 do
  2073. so("http://roblox.com/asset/?id=231917987",hitbox,1,1)
  2074. swait()
  2075. for i=0,1,0.025 do
  2076. swait()
  2077. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-30)),.3)
  2078. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(30)),.3)
  2079. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(31)),.3)
  2080. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2081. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.3)
  2082. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2083. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2084. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2085. corw.C0=clerp(corw.C0,cf(0,-50+50*i,0)*angles(math.rad(-90),math.rad(0),math.rad(100*i)),.3)
  2086. end
  2087. end
  2088.  
  2089. if Targetting == true then
  2090. Character.Torso.Anchored = true
  2091. elseif Targetting == false then
  2092. Character.Torso.Anchored = false
  2093. end
  2094.  
  2095. if Grabbing == false then
  2096.  
  2097. Character.Torso.Anchored = false
  2098.  
  2099. for i=0,1,0.1 do
  2100. swait()
  2101. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.3)
  2102. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-45)),.3)
  2103. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-170),math.rad(6.5),math.rad(31)),.3)
  2104. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2105. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(30),math.rad(0),math.rad(-20)),.3)
  2106. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2107. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2108. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2109. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  2110. end
  2111.  
  2112. else
  2113.  
  2114. if Targetting == true then
  2115. Character.Torso.Anchored = true
  2116. elseif Targetting == false then
  2117. Character.Torso.Anchored = false
  2118. end
  2119.  
  2120. if Targetting ~= true then
  2121.  
  2122.  
  2123.  
  2124. for i = 0, 1, 0.15 do
  2125. swait()
  2126. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2127. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2128. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2129. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2130. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2131. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2132. end
  2133.  
  2134.  
  2135.  
  2136. for i=0,1,0.05 do
  2137. swait()
  2138. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(0),math.rad(20),math.rad(-50)),.3)
  2139. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(10)),.3)
  2140. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(0),math.rad(-150),math.rad(-90)),.3)
  2141. RW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2142. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2143. LW.C1=clerp(LW.C1,cf(0,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2144. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2145. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2146. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2147. end
  2148.  
  2149.  
  2150.  
  2151. for i=0,1,0.05 do
  2152. swait()
  2153. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-80),math.rad(80),math.rad(-90)),.3)
  2154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5-0.4)*euler(0.4+(0.4/2),0,-0.4),.3)
  2155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(-0.4/2,0,0.4),.3)
  2156. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(0),math.rad(-150),math.rad(-90)),.3)
  2157. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),math.rad(0),math.rad(45)),.3)
  2158. RH.C0=clerp(RH.C0,cf(1,-1,-0.4)*euler(-0.2-(0.4/2),1.57,0),.3)
  2159. LH.C0=clerp(LH.C0,cf(-1,-.5+0.4,0)*euler(0.5+(0.4/2),-1.2,0)*euler(-.2,0,0),.3)
  2160. end
  2161.  
  2162. else
  2163. end
  2164.  
  2165.  
  2166. so("http://www.roblox.com/asset/?id=183763506",Torso,5,.7)
  2167. so("http://www.roblox.com/asset/?id=168413145",Torso,0.4,.7)
  2168. so("http://www.roblox.com/asset/?id=168413145",Torso,0.4,.9)
  2169. MagniDamage(hitbox,hitbox,6,30,40,0,"Up")
  2170. MagicCircle(BrickColor.new("Really black"),RightArm.CFrame,3,3,3,5,5,5,0.05)
  2171. MagicCircle(BrickColor.new("Dark indigo"),RightArm.CFrame,2,2,2,4,4,4,0.05)
  2172. BlastEffect(BrickColor.new("Really black"),Torso.CFrame,1,1,1,.7,.7,.7)
  2173. BlastEffect(BrickColor.new("Dark indigo"),Torso.CFrame,.9,.9,.9,.6,.6,.6)
  2174.  
  2175. for i,v in pairs(RightArm:GetChildren()) do
  2176. if v.Name == "asd" and v:IsA("Weld") then
  2177. v:Remove()
  2178.  
  2179. end
  2180. end
  2181.  
  2182. for i = 0, 1, 0.1 do
  2183. swait()
  2184. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2185. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2186. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2187. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2188. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2189. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2190. end
  2191. end
  2192. for i,v in pairs(RightArm:GetChildren()) do
  2193. if v.Name == "asd" and v:IsA("Weld") then
  2194. v:Remove()
  2195.  
  2196. end
  2197. end
  2198.  
  2199. Character.Torso.Anchored = false
  2200.  
  2201. hitboxemitter.Enabled = false
  2202. Grabbing=false
  2203. attack=false
  2204. Humanoid.JumpPower = 50
  2205. con1:disconnect()
  2206. hitconasdf:disconnect()
  2207. end
  2208.  
  2209. function VoidGrip()
  2210. mana=mana-10
  2211. attack = true
  2212. so("http://roblox.com/asset/?id=200632211",hitbox,1,0.5)
  2213. so("http://roblox.com/asset/?id=161006212",hitbox,1,math.random(75, 125) / 100)
  2214. ---con1=handle.Touched:connect(function(hit) Damagefunc(hit,5,10,math.random(5,10),"Normal",RootPart,.2,1) end)
  2215. if Grabbing == false then
  2216. gp = nil
  2217. con1=hitbox.Touched:connect(function(hit) -- credits to TheDarkRevenant for the grabbing
  2218. local ht = hit.Parent
  2219. local hum1=ht:FindFirstChild('Humanoid')
  2220. if hum1 ~= nil then
  2221. coroutine.resume(coroutine.create(function()
  2222. hum1.PlatformStand=true
  2223. wait(3)
  2224. hum1.PlatformStand=false
  2225. end))
  2226. gp = ht
  2227. Grabbing = true
  2228. so("http://www.roblox.com/asset/?id=200632821", Torso, 1, .8)
  2229. local asd=weld2(hitbox,hitbox,ht:FindFirstChild("Torso"),CFrame.new(0,-1.7,0),CFrame.new(0,0,0))
  2230. asd.Parent = RightArm
  2231. asd.Name = "asd"
  2232. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  2233. so("http://roblox.com/asset/?id=200632821",Torso,1,.9)
  2234. elseif hum1 == nil then
  2235. con1:disconnect()
  2236. wait() return
  2237. end
  2238. end)
  2239. end
  2240. if Grabbing == false then
  2241. for i = 0,1,0.05 do
  2242. swait()
  2243. Torso.Velocity = Head.CFrame.lookVector * 50
  2244. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), .3)
  2245. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(5), math.rad(0), math.rad(-90)), .3)
  2246. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  2247. LW.C0 = clerp(LW.C0, CFrame.new(-1.2, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-60)), 0.3)
  2248. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(50), math.rad(0)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2249. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-50), math.rad(0)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2250. corw.C0=clerp(corw.C0,cf(0,-2,-1)*angles(math.rad(-90),math.rad(10),math.rad(0)),.3)
  2251. end
  2252. end
  2253. if Grabbing == true then
  2254. for i = 0, 1, 0.1 do
  2255. swait()
  2256. ----MagniDamage(hitbox,hitbox,5,30,80,0,"Plat")
  2257. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2258. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2259. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2260. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2261. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2262. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2263.  
  2264. end
  2265.  
  2266. for i = 1, 2 do
  2267. RootPart.Velocity = RootPart.CFrame.lookVector * 50
  2268. so("http://roblox.com/asset/?id=320557563", Torso, 1, 0.7)
  2269. so("http://roblox.com/asset/?id=203691492", Torso, 1, 1)
  2270. for i = 0, 1, 0.04 do
  2271. swait()
  2272. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -.2) * angles(math.rad(0), math.rad(0), -8 * i), .1)
  2273. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(20), math.rad(0), math.rad(0)), .1)
  2274. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.3) * angles(math.rad(0), math.rad(130), math.rad(80)), .2)
  2275. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -.5) * angles(math.rad(0), math.rad(-130), math.rad(-80)), .2)
  2276. RH.C0 = clerp(RH.C0, cn(1, -1, -0) * RHCF * angles(math.rad(-3), math.rad(0), math.rad(30)), .1)
  2277. LH.C0 = clerp(LH.C0, cn(-1, -1, -0) * LHCF * angles(math.rad(-3), math.rad(0), math.rad(-30)), .1)
  2278. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(180),math.rad(0)),.3)
  2279. end
  2280. end
  2281.  
  2282. so("http://roblox.com/asset/?id=157878578",hitbox,.6,1.5)
  2283. ---MagniDamage(hitbox,hitbox,5,30,80,0,"Plat")
  2284. MagicCircle(BrickColor.new("Really black"),RightArm.CFrame,3,3,3,5,5,5,0.05)
  2285. MagicCircle(BrickColor.new("Dark indigo"),RightArm.CFrame,2,2,2,4,4,4,0.05)
  2286. BlastEffect(BrickColor.new("Really black"),Torso.CFrame,1,1,1,.3,.3,.3)
  2287. BlastEffect(BrickColor.new("Dark indigo"),Torso.CFrame,.2,.2,.2,-.1,-.1,-.1)
  2288. for i = 0, 1, 0.1 do
  2289. swait()
  2290. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(2), math.rad(0), math.rad(0)), .5)
  2291. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-10), math.rad(0), math.rad(0)), .5)
  2292. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.5) * angles(math.rad(130), math.rad(0), math.rad(0)), 0.5)
  2293. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.5)
  2294. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2295. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(-2)) * angles(math.rad(-3), math.rad(0), math.rad(0)), .3)
  2296. end
  2297. end
  2298. for i,v in pairs(RightArm:GetChildren()) do
  2299. if v.Name == "asd" and v:IsA("Weld") then
  2300. v:Remove()
  2301.  
  2302. end
  2303. end
  2304. con1:disconnect()
  2305. Grabbing = false
  2306. attack = false
  2307. end
  2308.  
  2309. local function CFrameFromTopBack(at, top, back)
  2310. local right = top:Cross(back)
  2311. return CFrame.new(at.x, at.y, at.z,
  2312. right.x, top.x, back.x,
  2313. right.y, top.y, back.y,
  2314. right.z, top.z, back.z)
  2315. end
  2316.  
  2317. function Triangle(a, b, c)
  2318. local edg1 = (c-a):Dot((b-a).unit)
  2319. local edg2 = (a-b):Dot((c-b).unit)
  2320. local edg3 = (b-c):Dot((a-c).unit)
  2321. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  2322. a, b, c = a, b, c
  2323. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  2324. a, b, c = b, c, a
  2325. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2326. a, b, c = c, a, b
  2327. else
  2328. assert(false, "unreachable")
  2329. end
  2330.  
  2331. local len1 = (c-a):Dot((b-a).unit)
  2332. local len2 = (b-a).magnitude - len1
  2333. local width = (a + (b-a).unit*len1 - c).magnitude
  2334.  
  2335. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2336.  
  2337. local list = {}
  2338.  
  2339. if len1 > 0.01 then
  2340. local w1 = Instance.new('WedgePart', m)
  2341. game:GetService("Debris"):AddItem(w1,5)
  2342. w1.Material = "SmoothPlastic"
  2343. w1.FormFactor = 'Custom'
  2344. w1.BrickColor = TorsoColor
  2345. w1.Transparency = 0
  2346. w1.Reflectance = 0
  2347. w1.Material = "SmoothPlastic"
  2348. w1.CanCollide = false
  2349. NoOutline(w1)
  2350. local sz = Vector3.new(0.2, width, len1)
  2351. w1.Size = sz
  2352. local sp = Instance.new("SpecialMesh",w1)
  2353. sp.MeshType = "Wedge"
  2354. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2355. w1:BreakJoints()
  2356. w1.Anchored = true
  2357. w1.Parent = workspace
  2358. w1.Transparency = 0.7
  2359. table.insert(Effects,{w1,"Disappear",.01})
  2360. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2361. table.insert(list,w1)
  2362. end
  2363.  
  2364. if len2 > 0.01 then
  2365. local w2 = Instance.new('WedgePart', m)
  2366. game:GetService("Debris"):AddItem(w2,5)
  2367. w2.Material = "SmoothPlastic"
  2368. w2.FormFactor = 'Custom'
  2369. w2.BrickColor = TorsoColor
  2370. w2.Transparency = 0
  2371. w2.Reflectance = 0
  2372. w2.Material = "SmoothPlastic"
  2373. w2.CanCollide = false
  2374. NoOutline(w2)
  2375. local sz = Vector3.new(0.2, width, len2)
  2376. w2.Size = sz
  2377. local sp = Instance.new("SpecialMesh",w2)
  2378. sp.MeshType = "Wedge"
  2379. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2380. w2:BreakJoints()
  2381. w2.Anchored = true
  2382. w2.Parent = workspace
  2383. w2.Transparency = 0.7
  2384. table.insert(Effects,{w2,"Disappear",.01})
  2385. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2386. table.insert(list,w2)
  2387. end
  2388. return unpack(list)
  2389. end
  2390.  
  2391. function NoOutline(Part)
  2392. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2393. end
  2394.  
  2395. local sine = 0
  2396. local change = 1
  2397. local val = 0
  2398.  
  2399. if #Effects>0 then
  2400. --table.insert(Effects,{prt,"Block1",delay})
  2401. for e=1,#Effects do
  2402. if Effects[e]~=nil then
  2403. --for j=1,#Effects[e] do
  2404. local Thing=Effects[e]
  2405. if Thing~=nil then
  2406. local Part=Thing[1]
  2407. local Mode=Thing[2]
  2408. local Delay=Thing[3]
  2409. local IncX=Thing[4]
  2410. local IncY=Thing[5]
  2411. local IncZ=Thing[6]
  2412. if Thing[1].Transparency<=1 then
  2413. if Thing[2]=="Block1" then
  2414. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2415. Mesh=Thing[1].Mesh
  2416. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2417. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2418. elseif Thing[2]=="Cylinder" then
  2419. Mesh=Thing[1].Mesh
  2420. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2421. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2422. elseif Thing[2]=="Blood" then
  2423. Mesh=Thing[1].Mesh
  2424. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  2425. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  2426. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2427. elseif Thing[2]=="Elec" then
  2428. Mesh=Thing[1].Mesh
  2429. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  2430. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2431. elseif Thing[2]=="Disappear" then
  2432. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  2433. end
  2434. else
  2435. Part.Parent=nil
  2436. table.remove(Effects,e)
  2437. end
  2438. end
  2439. --end
  2440. end
  2441. end
  2442. end
  2443.  
  2444. local mananum=0
  2445. while true do
  2446. swait()
  2447. sine = sine + change
  2448. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2449. local velderp=RootPart.Velocity.y
  2450. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2451. if equipped==true or equipped==false then
  2452. if attack==false then
  2453. idle=idle+1
  2454. else
  2455. idle=0
  2456. end
  2457. if idle>=500 then
  2458. if attack==false then
  2459. --Sheath()
  2460. end
  2461. end
  2462. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2463. Anim="Jump"
  2464. if attack==false then
  2465. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2466. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2467. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2468. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.5,0,0.5),.3)
  2469. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2470. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.5,0,-0.5),.3)
  2471. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2472. RH.C0=clerp(RH.C0,cf(1,-1,-.3)*euler(-0.5,1.57,0)*euler(-.2,0,0),.3)
  2473. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(-.2,0,0),.3)
  2474. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2475. end
  2476. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2477. Anim="Fall"
  2478. if attack==false then
  2479. Neck.C0=clerp(Neck.C0,necko*euler(0.4,0,0),.3)
  2480. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2481. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0,0,0),.3)
  2482. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.3,0,0.2),.3)
  2483. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2484. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.3,0,-0.2),.3)
  2485. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2486. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.4,1.57,0),.3)
  2487. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.2,-1.57,0),.3)
  2488. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2489. end
  2490. elseif torvel<1 and hitfloor~=nil then
  2491. Anim="Idle"
  2492. if attack==false then
  2493. Humanoid.WalkSpeed = 12
  2494. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.1 + 0.1 * math.cos(sine / 25)) * angles(math.rad(0), math.rad(0), math.rad(-30)), .3)
  2495. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(5 - 2 * math.cos(sine / 25)), math.rad(0), math.rad(30)), .3)
  2496. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(5-2.5*math.cos(sine/40)),math.rad(10),math.rad(85-2.5*math.cos(sine/40))),.3)
  2497. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-5 - 3 * math.cos(sine / 25))), 0.3)
  2498. RH.C0 = clerp(RH.C0, cn(1, -.9 - 0.1 * math.cos(sine / 25), 0) * RHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  2499. LH.C0 = clerp(LH.C0, cn(-1, -.9 - 0.1 * math.cos(sine / 25), 0) * LHCF * angles(math.rad(-2 + 2 * math.cos(sine / 25)), math.rad(-5), math.rad(0 + 2 * math.cos(sine / 25))), .3)
  2500. corw.C0=clerp(corw.C0,cf(-0.5,0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2501. end
  2502. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2503. Anim="Walk"
  2504. if attack==false then
  2505. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cn(0, 0, -0.05 + .1 * math.cos(sine / 7)) * angles(math.rad(5), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(2 * math.cos(sine / 10))), .2)
  2506. Torso.Neck.C0 = clerp(Torso.Neck.C0, NeckCF * angles(math.rad(-3), math.rad(0), math.rad(-2 * math.cos(sine / 10)) + RootPart.RotVelocity.Y / 15), .2)
  2507. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-10 * math.cos(sine / 13)), math.rad(0), math.rad(34)), .2)
  2508. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 13)), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2509. RH.C0 = clerp(RH.C0, cn(1, -1 + .1 * math.cos(sine / 5), 0) * RHCF * angles(math.rad(-2), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2510. LH.C0 = clerp(LH.C0, cn(-1, -1 + .1 * math.cos(sine / 5), 0) * LHCF * angles(math.rad(-2), math.rad(0), math.rad(10 * math.cos(sine / 13))), .2)
  2511. corw.C0=clerp(corw.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2512. end
  2513. elseif torvel>=22 and hitfloor~=nil then
  2514. Anim="Run"
  2515. if attack==false then
  2516. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(-30)),.3)
  2517. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(-10),math.rad(30)),.3)
  2518. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30-2.5*math.cos(sine/20)),math.rad(-75),math.rad(15+2.5*math.cos(sine/20))),.3)
  2519. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90+2.5*math.cos(sine/20)),math.rad(0),math.rad(45+2.5*math.cos(sine/20))),.3)
  2520. 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)
  2521. 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)
  2522. end
  2523. end
  2524. end
  2525. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2526. fenbarmana4.Text="[Shadow] <{[ "..mana.." ]}> [Shadow]"
  2527. if mana>=100 then
  2528. mana=100
  2529. else
  2530. if mananum<=8 then
  2531. mananum=mananum+1
  2532. else
  2533. mananum=0
  2534. mana=mana+1
  2535. end
  2536. end
  2537. end
  2538.  
  2539. --[[
  2540. ==================================]}
  2541. //{Base ver: 1
  2542. //{Collection: Phoenix
  2543. ==================================]}
  2544. --]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement