Advertisement
OofNoob

skull back up

Mar 24th, 2018
548
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.73 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27. local sick = Instance.new("Sound",Character)
  28. sick.SoundId = "rbxassetid://1392883147"
  29. sick.Looped = true
  30. sick.Pitch = 1
  31. sick.Volume = 1
  32. sick:Play()
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50.  
  51. --//=================================\\
  52. --|| USEFUL VALUES
  53. --\\=================================//
  54.  
  55. Animation_Speed = 3
  56. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  57. local Speed = 16
  58. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  59. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  60. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  61. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  62. local DAMAGEMULTIPLIER = 1
  63. local ANIM = "Idle"
  64. local ATTACK = false
  65. local EQUIPPED = false
  66. local HOLD = false
  67. local COMBO = 1
  68. local Rooted = false
  69. local SINE = 0
  70. local KEYHOLD = false
  71. local CHANGE = 2 / Animation_Speed
  72. local WALKINGANIM = false
  73. local VALUE1 = false
  74. local VALUE2 = 0
  75. local ROBLOXIDLEANIMATION = IT("Animation")
  76. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  77. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  78. --ROBLOXIDLEANIMATION.Parent = Humanoid
  79. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  80. WEAPONGUI.Name = "Weapon GUI"
  81. local Weapon = IT("Model")
  82. Weapon.Name = "Adds"
  83. local Effects = IT("Folder", Character)
  84. Effects.Name = "Effects"
  85. local ANIMATOR = Humanoid.Animator
  86. local ANIMATE = Character.Animate
  87. local UNANCHOR = true
  88. local HITFLOOR = nil
  89. local HITPOS = nil
  90. local DED = false
  91. local SOULWELL = 0
  92. local HITPLAYERSOUNDS = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  93. local SLASHSOUNDS = {"28144268","28144277","28144291"}
  94.  
  95. --//=================================\\
  96. --\\=================================//
  97.  
  98.  
  99. --//=================================\\
  100. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  101. --\\=================================//
  102.  
  103. ArtificialHB = Instance.new("BindableEvent", script)
  104. ArtificialHB.Name = "ArtificialHB"
  105.  
  106. script:WaitForChild("ArtificialHB")
  107.  
  108. frame = Frame_Speed
  109. tf = 0
  110. allowframeloss = false
  111. tossremainder = false
  112. lastframe = tick()
  113. script.ArtificialHB:Fire()
  114.  
  115. game:GetService("RunService").Heartbeat:connect(function(s, p)
  116. tf = tf + s
  117. if tf >= frame then
  118. if allowframeloss then
  119. script.ArtificialHB:Fire()
  120. lastframe = tick()
  121. else
  122. for i = 1, math.floor(tf / frame) do
  123. script.ArtificialHB:Fire()
  124. end
  125. lastframe = tick()
  126. end
  127. if tossremainder then
  128. tf = 0
  129. else
  130. tf = tf - frame * math.floor(tf / frame)
  131. end
  132. end
  133. end)
  134.  
  135. --//=================================\\
  136. --\\=================================//
  137.  
  138. --//=================================\\
  139. --|| SOME FUNCTIONS
  140. --\\=================================//
  141.  
  142. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  143. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  144. end
  145.  
  146. function PositiveAngle(NUMBER)
  147. if NUMBER >= 0 then
  148. NUMBER = 0
  149. end
  150. return NUMBER
  151. end
  152.  
  153. function NegativeAngle(NUMBER)
  154. if NUMBER <= 0 then
  155. NUMBER = 0
  156. end
  157. return NUMBER
  158. end
  159.  
  160. function Swait(NUMBER)
  161. if NUMBER == 0 or NUMBER == nil then
  162. ArtificialHB.Event:wait()
  163. else
  164. for i = 1, NUMBER do
  165. ArtificialHB.Event:wait()
  166. end
  167. end
  168. end
  169.  
  170. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  171. local NEWMESH = IT(MESH)
  172. if MESH == "SpecialMesh" then
  173. NEWMESH.MeshType = MESHTYPE
  174. if MESHID ~= "nil" and MESHID ~= "" then
  175. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  176. end
  177. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  178. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  179. end
  180. end
  181. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  182. NEWMESH.Scale = SCALE
  183. NEWMESH.Parent = PARENT
  184. return NEWMESH
  185. end
  186.  
  187. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  188. local NEWPART = IT("Part")
  189. NEWPART.formFactor = FORMFACTOR
  190. NEWPART.Reflectance = REFLECTANCE
  191. NEWPART.Transparency = TRANSPARENCY
  192. NEWPART.CanCollide = false
  193. NEWPART.Locked = true
  194. NEWPART.Anchored = true
  195. if ANCHOR == false then
  196. NEWPART.Anchored = false
  197. end
  198. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  199. NEWPART.Name = NAME
  200. NEWPART.Size = SIZE
  201. NEWPART.Position = Torso.Position
  202. NEWPART.Material = MATERIAL
  203. NEWPART:BreakJoints()
  204. NEWPART.Parent = PARENT
  205. return NEWPART
  206. end
  207.  
  208. local function weldBetween(a, b)
  209. local weldd = Instance.new("ManualWeld")
  210. weldd.Part0 = a
  211. weldd.Part1 = b
  212. weldd.C0 = CFrame.new()
  213. weldd.C1 = b.CFrame:inverse() * a.CFrame
  214. weldd.Parent = a
  215. return weldd
  216. end
  217.  
  218.  
  219. function QuaternionFromCFrame(cf)
  220. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  221. local trace = m00 + m11 + m22
  222. if trace > 0 then
  223. local s = math.sqrt(1 + trace)
  224. local recip = 0.5 / s
  225. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  226. else
  227. local i = 0
  228. if m11 > m00 then
  229. i = 1
  230. end
  231. if m22 > (i == 0 and m00 or m11) then
  232. i = 2
  233. end
  234. if i == 0 then
  235. local s = math.sqrt(m00 - m11 - m22 + 1)
  236. local recip = 0.5 / s
  237. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  238. elseif i == 1 then
  239. local s = math.sqrt(m11 - m22 - m00 + 1)
  240. local recip = 0.5 / s
  241. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  242. elseif i == 2 then
  243. local s = math.sqrt(m22 - m00 - m11 + 1)
  244. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  245. end
  246. end
  247. end
  248.  
  249. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  250. local xs, ys, zs = x + x, y + y, z + z
  251. local wx, wy, wz = w * xs, w * ys, w * zs
  252. local xx = x * xs
  253. local xy = x * ys
  254. local xz = x * zs
  255. local yy = y * ys
  256. local yz = y * zs
  257. local zz = z * zs
  258. 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))
  259. end
  260.  
  261. function QuaternionSlerp(a, b, t)
  262. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  263. local startInterp, finishInterp;
  264. if cosTheta >= 0.0001 then
  265. if (1 - cosTheta) > 0.0001 then
  266. local theta = ACOS(cosTheta)
  267. local invSinTheta = 1 / SIN(theta)
  268. startInterp = SIN((1 - t) * theta) * invSinTheta
  269. finishInterp = SIN(t * theta) * invSinTheta
  270. else
  271. startInterp = 1 - t
  272. finishInterp = t
  273. end
  274. else
  275. if (1 + cosTheta) > 0.0001 then
  276. local theta = ACOS(-cosTheta)
  277. local invSinTheta = 1 / SIN(theta)
  278. startInterp = SIN((t - 1) * theta) * invSinTheta
  279. finishInterp = SIN(t * theta) * invSinTheta
  280. else
  281. startInterp = t - 1
  282. finishInterp = t
  283. end
  284. end
  285. 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
  286. end
  287.  
  288. function Clerp(a, b, t)
  289. local qa = {QuaternionFromCFrame(a)}
  290. local qb = {QuaternionFromCFrame(b)}
  291. local ax, ay, az = a.x, a.y, a.z
  292. local bx, by, bz = b.x, b.y, b.z
  293. local _t = 1 - t
  294. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  295. end
  296.  
  297. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  298. local frame = IT("Frame")
  299. frame.BackgroundTransparency = TRANSPARENCY
  300. frame.BorderSizePixel = BORDERSIZEPIXEL
  301. frame.Position = POSITION
  302. frame.Size = SIZE
  303. frame.BackgroundColor3 = COLOR
  304. frame.BorderColor3 = BORDERCOLOR
  305. frame.Name = NAME
  306. frame.Parent = PARENT
  307. return frame
  308. end
  309.  
  310. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  311. local label = IT("TextLabel")
  312. label.BackgroundTransparency = 1
  313. label.Size = UD2(1, 0, 1, 0)
  314. label.Position = UD2(0, 0, 0, 0)
  315. label.TextColor3 = TEXTCOLOR
  316. label.TextStrokeTransparency = STROKETRANSPARENCY
  317. label.TextTransparency = TRANSPARENCY
  318. label.FontSize = TEXTFONTSIZE
  319. label.Font = TEXTFONT
  320. label.BorderSizePixel = BORDERSIZEPIXEL
  321. label.TextScaled = false
  322. label.Text = TEXT
  323. label.Name = NAME
  324. label.Parent = PARENT
  325. return label
  326. end
  327.  
  328. function NoOutlines(PART)
  329. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  330. end
  331.  
  332. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  333. local NEWWELD = IT(TYPE)
  334. NEWWELD.Part0 = PART0
  335. NEWWELD.Part1 = PART1
  336. NEWWELD.C0 = C0
  337. NEWWELD.C1 = C1
  338. NEWWELD.Parent = PARENT
  339. return NEWWELD
  340. end
  341.  
  342. local S = IT("Sound")
  343. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  344. local NEWSOUND = nil
  345. coroutine.resume(coroutine.create(function()
  346. NEWSOUND = S:Clone()
  347. NEWSOUND.Parent = PARENT
  348. NEWSOUND.Volume = VOLUME
  349. NEWSOUND.Pitch = PITCH
  350. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  351. NEWSOUND:play()
  352. if DOESLOOP == true then
  353. NEWSOUND.Looped = true
  354. else
  355. repeat Swait() until NEWSOUND.Playing == false
  356. NEWSOUND:remove()
  357. end
  358. end))
  359. return NEWSOUND
  360. end
  361.  
  362. function CFrameFromTopBack(at, top, back)
  363. local right = top:Cross(back)
  364. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  365. end
  366.  
  367. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  368. function WACKYEFFECT(Table)
  369. local TYPE = (Table.EffectType or "Sphere")
  370. local SIZE = (Table.Size or VT(1,1,1))
  371. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  372. local TRANSPARENCY = (Table.Transparency or 0)
  373. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  374. local CFRAME = (Table.CFrame or Torso.CFrame)
  375. local MOVEDIRECTION = (Table.MoveToPos or nil)
  376. local ROTATION1 = (Table.RotationX or 0)
  377. local ROTATION2 = (Table.RotationY or 0)
  378. local ROTATION3 = (Table.RotationZ or 0)
  379. local MATERIAL = (Table.Material or "Neon")
  380. local COLOR = (Table.Color or C3(1,1,1))
  381. local TIME = (Table.Time or 45)
  382. local SOUNDID = (Table.SoundID or nil)
  383. local SOUNDPITCH = (Table.SoundPitch or nil)
  384. local SOUNDVOLUME = (Table.SoundVolume or nil)
  385. coroutine.resume(coroutine.create(function()
  386. local PLAYSSOUND = false
  387. local SOUND = nil
  388. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  389. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  390. PLAYSSOUND = true
  391. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  392. end
  393. EFFECT.Color = COLOR
  394. local MSH = nil
  395. if TYPE == "Sphere" then
  396. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  397. elseif TYPE == "Block" then
  398. MSH = IT("BlockMesh",EFFECT)
  399. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  400. elseif TYPE == "Wave" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  402. elseif TYPE == "Ring" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  404. elseif TYPE == "Slash" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  406. elseif TYPE == "Round Slash" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  408. elseif TYPE == "Swirl" then
  409. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  410. elseif TYPE == "Skull" then
  411. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  412. elseif TYPE == "Crystal" then
  413. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  414. end
  415. if MSH ~= nil then
  416. local MOVESPEED = nil
  417. if MOVEDIRECTION ~= nil then
  418. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  419. end
  420. local GROWTH = SIZE - ENDSIZE
  421. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  422. if TYPE == "Block" then
  423. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  424. else
  425. EFFECT.CFrame = CFRAME
  426. end
  427. for LOOP = 1, TIME do
  428. Swait()
  429. MSH.Scale = MSH.Scale - GROWTH/TIME
  430. if TYPE == "Wave" then
  431. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  432. end
  433. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  434. if TYPE == "Block" then
  435. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  436. else
  437. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  438. end
  439. if MOVEDIRECTION ~= nil then
  440. local ORI = EFFECT.Orientation
  441. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  442. EFFECT.Orientation = ORI
  443. end
  444. end
  445. if PLAYSSOUND == false then
  446. EFFECT:remove()
  447. else
  448. repeat Swait() until SOUND.Playing == false
  449. EFFECT:remove()
  450. end
  451. else
  452. if PLAYSSOUND == false then
  453. EFFECT:remove()
  454. else
  455. repeat Swait() until SOUND.Playing == false
  456. EFFECT:remove()
  457. end
  458. end
  459. end))
  460. end
  461.  
  462. Debris = game:GetService("Debris")
  463.  
  464. function SpawnSoul(Humanoid)
  465. coroutine.resume(coroutine.create(function()
  466. local TORSO = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso")
  467. local SOULMODEL = IT("Model",Effects)
  468. SOULMODEL.Name = Humanoid.Parent.Name.."'s Soul"
  469. local SOUL = CreatePart(3, SOULMODEL, "Neon", 0, 0, "Really red", "Head", VT(0.5,0.5,0.5))
  470. SOUL.CFrame = CF(TORSO.Position)
  471. local A1 = IT("Attachment",SOUL)
  472. A1.Position = Vector3.new(0, 0.25, 0)
  473. local A2 = IT("Attachment",SOUL)
  474. A2.Position = Vector3.new(0, -0.25, 0)
  475. local Trail = IT("Trail",SOUL)
  476. Trail.LightEmission = 0.3
  477. Trail.FaceCamera = true
  478. Trail.Texture = "rbxassetid://945758042"
  479. Trail.Attachment0 = A1
  480. Trail.Attachment1 = A2
  481. Trail.Lifetime = 0.5
  482. Trail.MinLength = 0
  483. Trail.Transparency = NumberSequence.new(0)
  484. Trail.Color = ColorSequence.new(SOUL.Color)
  485. MakeForm(SOUL,"Ball")
  486. local DISTANCE = nil
  487. local HUM = IT("Humanoid",SOULMODEL)
  488. repeat
  489. Swait()
  490. SOUL.CFrame = CF(SOUL.Position,Torso.Position)*CF(0,0,-0.2)
  491. DISTANCE = (SOUL.Position - Torso.Position).Magnitude
  492. until DISTANCE < 0.4
  493. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(6,6,6), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  494. SOUL.Transparency = 1
  495. A1.Parent = Torso
  496. A2.Parent = Torso
  497. Trail.Parent = Torso
  498. Debris:AddItem(SOULMODEL,10)
  499. SOULWELL = SOULWELL + 1
  500. for i = 1, 100 do
  501. Swait()
  502. Trail.Transparency = NumberSequence.new(i/100)
  503. end
  504. A1:remove()
  505. A2:remove()
  506. Trail:remove()
  507. end))
  508. end
  509.  
  510. function Shatter(Part)
  511. if Part.Transparency == 0 then
  512. local SOUNDPART = CreatePart(3, Effects, "Glass", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  513. Debris:AddItem(SOUNDPART,5)
  514. CreateSound("626807593", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  515. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  516. local SIZESET = SIZE/4
  517. local XOffset = Part.Size.X*1.5/SIZESET
  518. local YOffset = Part.Size.Y*1.5/SIZESET
  519. local ZOffset = Part.Size.Z*1.5/SIZESET
  520. for x = 1, math.ceil(XOffset) do
  521. for y = 1, math.ceil(YOffset) do
  522. for z = 1, math.ceil(ZOffset) do
  523. local SHARD = CreatePart(3, Effects, "Glass", 0, 0.15, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  524. SHARD.CanCollide = true
  525. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-Part.Size.X/4),(Part.Size.Y/2-Part.Size.Y/4),(Part.Size.Z/2-Part.Size.Z/4))
  526. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  527. Debris:AddItem(SHARD,MRANDOM(10,25)/10)
  528. for _, c in pairs(Part:GetChildren()) do
  529. if c.ClassName == "ParticleEmitter" or c.ClassName == "PointLight" or c.ClassName == "Fire" then
  530. c:Clone().Parent = SHARD
  531. end
  532. end
  533. end
  534. end
  535. end
  536. end
  537. Part:remove()
  538. end
  539.  
  540. function MakeForm(PART,TYPE)
  541. if TYPE == "Cyl" then
  542. local MSH = IT("CylinderMesh",PART)
  543. elseif TYPE == "Ball" then
  544. local MSH = IT("SpecialMesh",PART)
  545. MSH.MeshType = "Sphere"
  546. elseif TYPE == "Wedge" then
  547. local MSH = IT("SpecialMesh",PART)
  548. MSH.MeshType = "Wedge"
  549. end
  550. end
  551.  
  552. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  553. local DIRECTION = CF(StartPos,EndPos).lookVector
  554. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  555. end
  556.  
  557. function turnto(position)
  558. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  559. end
  560.  
  561. --//=================================\\
  562. --|| WEAPON CREATION
  563. --\\=================================//
  564.  
  565. local HAT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  566. local Hatweld = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT, CF(0,1,0), CF(0, 0, 0))
  567. CreateMesh("SpecialMesh", HAT, "FileMesh", "97094619", "97094572", VT(1,1,1), VT(0,0,0))
  568.  
  569. local HandlePart = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Really black", "Tophat", VT(1,1,1),false)
  570. local HandleWeld = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HandlePart, CF(0, -2, -5.5) * ANGLES(RAD(-90), RAD(-90), RAD(0)), CF(0, 0, 0))
  571. CreateMesh("SpecialMesh", HandlePart, "FileMesh", "95891318", "95891299", VT(1,1,1), VT(0,0,0))
  572.  
  573. for _, c in pairs(Weapon:GetChildren()) do
  574. if c.ClassName == "Part" then
  575. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  576. end
  577. end
  578.  
  579. local EyeSizes={
  580. NumberSequenceKeypoint.new(0,1,0),
  581. NumberSequenceKeypoint.new(1,0,0)
  582. }
  583. local Trans={
  584. NumberSequenceKeypoint.new(0,0.5,0),
  585. NumberSequenceKeypoint.new(1,1,0)
  586. }
  587. local PE=Instance.new("ParticleEmitter")
  588. PE.LightEmission=.8
  589. PE.Color = ColorSequence.new(BRICKC("Really red").Color)
  590. PE.Size=NumberSequence.new(EyeSizes)
  591. PE.Lifetime=NumberRange.new(0.35,0.35,0.35)
  592. PE.Rotation=NumberRange.new(0,360)
  593. PE.Transparency = NumberSequence.new(Trans)
  594. PE.Rate=999
  595. PE.VelocitySpread = 10000
  596. PE.Acceleration = Vector3.new(0,75,0)
  597. PE.Drag = 5
  598. PE.Speed = NumberRange.new(6,6)
  599. PE.Texture="http://www.roblox.com/asset/?id=241936182"
  600. PE.ZOffset = -1.5
  601. PE.Name = "Rage"
  602. PE.Enabled = false
  603.  
  604. function particles(art)
  605. PE:Clone().Parent = art
  606. end
  607.  
  608. for _, c in pairs(Character:GetChildren()) do
  609. if c.ClassName == "Part" and c ~= RootPart then
  610. particles(c)
  611. end
  612. end
  613.  
  614. local SKILLTEXTCOLOR = C3(0,0,0)
  615. local SKILLFONT = "Antique"
  616. local SKILLTEXTSIZE = 7
  617.  
  618. Weapon.Parent = Character
  619.  
  620. Humanoid.Died:connect(function()
  621. if SOULWELL > 0 then
  622. SOULWELL = SOULWELL - 1
  623. Humanoid.Parent = nil
  624. Humanoid.MaxHealth = "inf"
  625. Humanoid.Health = "inf"
  626. refit()
  627. Humanoid.Parent = Character
  628. else
  629. DED = true
  630. sick:Destroy()
  631. ATTACK = true
  632. wait(2)
  633. for _, c in pairs(Character:GetChildren()) do
  634. if c.ClassName == "Part" then
  635. c.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))
  636. end
  637. end
  638. for _, c in pairs(Character:GetChildren()) do
  639. if c.ClassName == "Part" then
  640. Shatter(c)
  641. end
  642. end
  643. end
  644. end)
  645.  
  646. function refit()
  647. Character.Parent = nil
  648. Weapon.Parent = Character
  649. HandlePart.Parent = Weapon
  650. HandleWeld.Parent = RightArm
  651. HAT.Parent = Character
  652. Hatweld.Parent = Character
  653. RootJoint.Parent = RootPart
  654. Neck.Parent = Torso
  655. RightShoulder.Parent = Torso
  656. LeftShoulder.Parent = Torso
  657. RightHip.Parent = Torso
  658. LeftHip.Parent = Torso
  659. RootPart.Parent = Character
  660. LeftArm.Parent = Character
  661. RightArm.Parent = Character
  662. RightLeg.Parent = Character
  663. LeftLeg.Parent = Character
  664. Torso.Parent = Character
  665. Head.Parent = Character
  666. Character.Parent = workspace
  667. end
  668.  
  669. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.100, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  670. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  671. local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.631, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  672.  
  673. local SOULFRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.365, 0, 0.815, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Soul Frame")
  674.  
  675. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Spire wave", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  676. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Soul bomb", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  677. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Soul rage", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3")
  678.  
  679. local SOULTEXT = CreateLabel(SOULFRAME, "Souls : [0]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Souls")
  680.  
  681. --//=================================\\
  682. --|| DAMAGE FUNCTIONS
  683. --\\=================================//
  684.  
  685. function StatLabel(CFRAME, TEXT, COLOR)
  686. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  687. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  688. local BODYGYRO = IT("BodyGyro", STATPART)
  689. game:GetService("Debris"):AddItem(STATPART ,5)
  690. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  691. BILLBOARDGUI.Adornee = STATPART
  692. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  693. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  694. BILLBOARDGUI.AlwaysOnTop = false
  695. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  696. TEXTLABEL.BackgroundTransparency = 1
  697. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  698. TEXTLABEL.Text = TEXT
  699. TEXTLABEL.Font = SKILLFONT
  700. TEXTLABEL.FontSize="Size42"
  701. TEXTLABEL.TextColor3 = COLOR
  702. TEXTLABEL.TextStrokeTransparency = 1
  703. TEXTLABEL.TextScaled = true
  704. TEXTLABEL.TextWrapped = true
  705. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  706. for i = 1, 50 do
  707. Swait()
  708. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  709. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  710. end
  711. THEPART.Parent = nil
  712. end),STATPART, TEXTLABEL)
  713. end
  714.  
  715. --//=================================\\
  716. --|| DAMAGING
  717. --\\=================================//
  718.  
  719. function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier,DoesOneShot)
  720. coroutine.resume(coroutine.create(function()
  721. local defence = Instance.new("BoolValue",Humanoid.Parent)
  722. defence.Name = ("HitBy"..Player.Name)
  723. game:GetService("Debris"):AddItem(defence, 0.001)
  724. Damage = Damage * DAMAGEMULTIPLIER
  725. if Humanoid.Health ~= 0 then
  726. local CritChance = MRANDOM(1,100)
  727. if CritChance < CritRate + 1 then
  728. Damage = Damage*CritMultiplier
  729. end
  730. if Damage > Humanoid.Health then
  731. Damage = math.ceil(Humanoid.Health)
  732. if Damage == 0 then
  733. Damage = 0.1
  734. end
  735. end
  736. if DoesOneShot == false then
  737. for _, c in pairs(Humanoid.Parent:GetChildren()) do
  738. if c.Name ~= "HumanoidRootPart" and c.Name ~= "Torso" and c.Name ~= "Head" and c.Name ~= "UpperTorso" and c.Name ~= "LowerTorso" then
  739. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  740. if MRANDOM(1,20) == 1 then
  741. Shatter(c)
  742. end
  743. end
  744. end
  745. end
  746. Humanoid.Health = Humanoid.Health - Damage
  747. if Humanoid.Parent:FindFirstChild("Head") then
  748. CreateSound(HITPLAYERSOUNDS[MRANDOM(1,#HITPLAYERSOUNDS)], Humanoid.Parent.Head, 5, 1)
  749. if CritChance < CritRate + 1 then
  750. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0))
  751. else
  752. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0))
  753. end
  754. end
  755. elseif DoesOneShot == true then
  756. --print("["..Humanoid.Parent.Name.."]: One shot!? Really!?!?")
  757. Humanoid.Parent:BreakJoints()
  758. if Humanoid.Parent:FindFirstChild("Head") then
  759. StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "INF", C3(1, 0, 0))
  760. end
  761. for _, c in pairs(Humanoid.Parent:GetChildren()) do
  762. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  763. Shatter(c)
  764. end
  765. end
  766. end
  767. if Humanoid.Health == 0 then
  768. --print("["..Humanoid.Parent.Name.."]: It's like stepping on glass, but worse!")
  769. SpawnSoul(Humanoid)
  770. for _, c in pairs(Humanoid.Parent:GetChildren()) do
  771. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  772. Shatter(c)
  773. end
  774. end
  775. end
  776. end
  777. end))
  778. end
  779.  
  780. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,BESERK)
  781. local dmg = math.random(min,max)
  782. for i,v in ipairs(workspace:GetChildren()) do
  783. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  784. local body = v:GetChildren()
  785. for part = 1, #body do
  786. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  787. if(body[part].Position - position).Magnitude < radius then
  788. if v.ClassName == "Model" then
  789. if v:FindFirstChildOfClass("Humanoid") then
  790. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier,BESERK)
  791. local bv = Instance.new("BodyVelocity")
  792. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  793. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  794. bv.Parent = body[part]
  795. Debris:AddItem(bv,0.2)
  796. end
  797. end
  798. end
  799. end
  800. end
  801. end
  802. if v:FindFirstChild("HitBy"..Player.Name) then
  803. v:FindFirstChild("HitBy"..Player.Name):remove()
  804. end
  805. end
  806. end
  807.  
  808. --//=================================\\
  809. --|| ATTACK FUNCTIONS AND STUFF
  810. --\\=================================//
  811.  
  812. function Slash()
  813. ATTACK = true
  814. Rooted = false
  815. for i=0, 0.2, 0.1 / Animation_Speed do
  816. Swait()
  817. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / Animation_Speed)
  818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 2 / Animation_Speed)
  819. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  820. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  821.  
  822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(40), RAD(65), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  824. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  825. end
  826. CreateSound(SLASHSOUNDS[MRANDOM(1,#SLASHSOUNDS)], HandlePart, 5, 1)
  827. if COMBO == 1 then
  828. COMBO = 2
  829. for i=0, 0.1, 0.1 / Animation_Speed do
  830. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.1)
  831. Swait()
  832. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-65)), 1 / Animation_Speed)
  833. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(65)), 1 / Animation_Speed)
  834. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  835. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  836.  
  837. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(40), RAD(65), RAD(62)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  839. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  840. end
  841. AoEDamage(HandlePart.Position,5,5,15,5,2,2,VALUE1)
  842. for i=0, 0.15, 0.1 / Animation_Speed do
  843. RootPart.CFrame = RootPart.CFrame*CF(0,0,-0.12)
  844. Swait()
  845. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-75)), 2 / Animation_Speed)
  846. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(75)), 2 / Animation_Speed)
  847. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  848. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 2 / Animation_Speed)
  849.  
  850. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(40), RAD(65), RAD(62)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  851. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -1.5) * ANGLES(RAD(120), RAD(0), RAD(30)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  852. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  853. end
  854. elseif COMBO == 2 then
  855. COMBO = 1
  856. for i=0, 0.2, 0.1 / Animation_Speed do
  857. Swait()
  858. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.1)
  859. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  860. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 2 / Animation_Speed)
  861. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  862. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  863.  
  864. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  865. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  866. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(7, -6, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  867. end
  868. AoEDamage(HandlePart.Position,5,5,15,5,2,2,VALUE1)
  869. for i=0, 0.1, 0.1 / Animation_Speed do
  870. Swait()
  871. RootPart.CFrame = RootPart.CFrame*CF(0,0,0.15)
  872. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(90)), 2 / Animation_Speed)
  873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-90)), 2 / Animation_Speed)
  874. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  875. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  876.  
  877. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.3) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  878. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(-25), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  879. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(7, -6, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 2 / Animation_Speed)
  880. end
  881. end
  882. ATTACK = false
  883. Rooted = false
  884. end
  885.  
  886. function SpireWave()
  887. if HITFLOOR ~= nil then
  888. ATTACK = true
  889. Rooted = false
  890. local GYRO = IT("BodyGyro",RootPart)
  891. GYRO.D = 100
  892. GYRO.P = 2000
  893. GYRO.MaxTorque = VT(0,4000000,0)
  894. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  895. for i=0, 1, 0.1 / Animation_Speed do
  896. Swait()
  897. WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(1.8,1.8,1.8), Transparency = 0.8, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(90))*ANGLES(RAD(0),RAD(180),RAD(0)), MoveToPos = LeftArm.CFrame*CF(0,-1,0)*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, RotationX = MRANDOM(-25,25)/15, RotationY = MRANDOM(-25,25)/15, RotationZ = MRANDOM(-25,25)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  898. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  899. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  900. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  901. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  903.  
  904. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  905. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  906. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  907. end
  908. WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(90),RAD(0),RAD(90))*ANGLES(RAD(0),RAD(180),RAD(0)), MoveToPos = nil, RotationX = 0.2, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "305685800", SoundPitch = 1, SoundVolume = 3})
  909. GYRO:remove()
  910. coroutine.resume(coroutine.create(function()
  911. local PITS = {}
  912. local FRAME = RootPart.CFrame
  913. for i = 1, 120 do
  914. Swait()
  915. local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
  916. local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
  917. if HITFLOOR ~= nil then
  918. if MRANDOM(1, 2) == 1 then
  919. local ICICLE = IT("CornerWedgePart",Effects)
  920. ICICLE.Locked = true
  921. ICICLE.CanCollide = false
  922. ICICLE.Anchored = true
  923. ICICLE.BrickColor = BRICKC"Brick yellow"
  924. ICICLE.Material = "Marble"
  925. ICICLE.Size = VT(i/10,i/2,i/10)
  926. ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
  927. table.insert(PITS,ICICLE)
  928. --CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
  929. AoEDamage(ICICLE.Position,ICICLE.Size.X,5,15,5,2,2,VALUE1)
  930. WACKYEFFECT({EffectType = "Wave", Size = VT(ICICLE.Size.X*3,2,ICICLE.Size.X*3), Size2 = VT(0,6,0), Transparency = 1, Transparency2 = 0, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Fabric", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  931. end
  932. else
  933. break
  934. end
  935. end
  936. wait(2)
  937. coroutine.resume(coroutine.create(function()
  938. for i = 1, 10 do
  939. Swait()
  940. for e=1,#PITS do
  941. if PITS[e]~=nil then
  942. local E = PITS[e]
  943. E.Transparency = E.Transparency + 0.1
  944. end
  945. end
  946. end
  947. for e=1,#PITS do
  948. if PITS[e]~=nil then
  949. local E = PITS[e]
  950. E:remove()
  951. end
  952. end
  953. end))
  954. end))
  955. ATTACK = false
  956. Rooted = false
  957. end
  958. end
  959.  
  960. function SoulBomb()
  961. ATTACK = true
  962. Rooted = false
  963. local GYRO = IT("BodyGyro",RootPart)
  964. GYRO.D = 100
  965. GYRO.P = 2000
  966. GYRO.MaxTorque = VT(0,4000000,0)
  967. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  968. local BOMB = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "SkullBomb", VT(0,0,0))
  969. for i=0, 2, 0.1 / Animation_Speed do
  970. BOMB.CFrame = RootPart.CFrame*CF(0,5,0)
  971. Swait()
  972. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = BOMB.Position, RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil})
  973. WACKYEFFECT({Time = 100, EffectType = "Skull", Size = VT(6,6,6), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.Position+VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))/10, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "305685800", SoundPitch = 1, SoundVolume = nil})
  974. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  975. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  976. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  977. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  978. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  979.  
  980. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  981. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 1, 0) * ANGLES(RAD(160), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  982. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  983. end
  984. GYRO:remove()
  985. coroutine.resume(coroutine.create(function()
  986. BOMB.CFrame = CF(BOMB.Position,Mouse.Hit.p)
  987. local IMPACT = false
  988. for i = 1,150 do
  989. Swait()
  990. if MRANDOM(1,5) == 1 then
  991. WACKYEFFECT({Time = 50, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(1.8,1.8,1.8), Transparency = 0.8, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.CFrame*CF(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15)).p, RotationX = MRANDOM(-25,25)/15, RotationY = MRANDOM(-25,25)/15, RotationZ = MRANDOM(-25,25)/15, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  992. end
  993. WACKYEFFECT({Time = 10, EffectType = "Skull", Size = VT(5,5,5), Size2 = VT(8,8,8), Transparency = 0, Transparency2 = 1, CFrame = BOMB.CFrame, MoveToPos = BOMB.Position+VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))/10, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = "305685800", SoundPitch = 1, SoundVolume = nil})
  994. BOMB.CFrame = BOMB.CFrame*CF(0,0,-1)
  995. local HIT = Raycast(BOMB.Position, BOMB.CFrame.lookVector, 2, Character)
  996. if HIT ~= nil then
  997. IMPACT = true
  998. break
  999. end
  1000. end
  1001. if IMPACT == true then
  1002. AoEDamage(BOMB.Position,15,15,25,5,2,2,VALUE1)
  1003. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1004. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1005. WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(BOMB.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1006. else
  1007. BOMB:remove()
  1008. end
  1009. end))
  1010. ATTACK = false
  1011. Rooted = false
  1012. end
  1013.  
  1014. function SoulRage()
  1015. ATTACK = true
  1016. Rooted = true
  1017. for i=0, 1, 0.1 / Animation_Speed do
  1018. Swait()
  1019. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1020. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1021. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1022. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1023.  
  1024. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1025. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1026. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1027. end
  1028. local WELL = math.ceil(SOULWELL/2)
  1029. for i=1, SOULWELL do
  1030. Swait()
  1031. SOULWELL = SOULWELL - 1
  1032. WACKYEFFECT({EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(0,3,0), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = Torso.Position+VT(MRANDOM(-15,15),MRANDOM(-2,15),MRANDOM(-15,15)), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,0,0), SoundID = "444667859", SoundPitch = 2, SoundVolume = 2})
  1033. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1034. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1035. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1036. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1037.  
  1038. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1039. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1040. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1041. end
  1042. ATTACK = false
  1043. Rooted = false
  1044. VALUE1 = true
  1045. VALUE2 = WELL
  1046. for i = 1, WELL do
  1047. wait(1)
  1048. VALUE2 = VALUE2 - 1
  1049. end
  1050. VALUE1 = false
  1051. end
  1052.  
  1053.  
  1054. --//=================================\\
  1055. --|| ASSIGN THINGS TO KEYS
  1056. --\\=================================//
  1057.  
  1058. function MouseDown(Mouse)
  1059. if ATTACK == false then
  1060. Slash()
  1061. end
  1062. end
  1063.  
  1064. function MouseUp(Mouse)
  1065. HOLD = false
  1066. end
  1067.  
  1068. function KeyDown(Key)
  1069. KEYHOLD = true
  1070. if Key == "z" and ATTACK == false then
  1071. SpireWave()
  1072. end
  1073.  
  1074. if Key == "b" and ATTACK == false then
  1075. SoulBomb()
  1076. end
  1077.  
  1078. if Key == "c" and ATTACK == false and VALUE1 == false then
  1079. if SOULWELL > 1 then
  1080. SoulRage()
  1081. end
  1082. end
  1083. end
  1084.  
  1085. function KeyUp(Key)
  1086. KEYHOLD = false
  1087. end
  1088.  
  1089. Mouse.Button1Down:connect(function(NEWKEY)
  1090. MouseDown(NEWKEY)
  1091. end)
  1092. Mouse.Button1Up:connect(function(NEWKEY)
  1093. MouseUp(NEWKEY)
  1094. end)
  1095. Mouse.KeyDown:connect(function(NEWKEY)
  1096. KeyDown(NEWKEY)
  1097. end)
  1098. Mouse.KeyUp:connect(function(NEWKEY)
  1099. KeyUp(NEWKEY)
  1100. end)
  1101.  
  1102. --//=================================\\
  1103. --\\=================================//
  1104.  
  1105.  
  1106. function unanchor()
  1107. if UNANCHOR == true then
  1108. g = Character:GetChildren()
  1109. for i = 1, #g do
  1110. if g[i].ClassName == "Part" then
  1111. g[i].Anchored = false
  1112. end
  1113. end
  1114. end
  1115. end
  1116.  
  1117.  
  1118. --//=================================\\
  1119. --|| WRAP THE WHOLE SCRIPT UP
  1120. --\\=================================//
  1121.  
  1122. Humanoid.Changed:connect(function(Jump)
  1123. if Jump == "Jump" and (Disable_Jump == true) then
  1124. Humanoid.Jump = false
  1125. end
  1126. end)
  1127.  
  1128. while true do
  1129. Swait()
  1130. if DED == false then
  1131. Character.Parent = workspace
  1132. Humanoid.Parent = Character
  1133. ANIMATE.Parent = nil
  1134. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1135. IDLEANIMATION:Play()
  1136. SINE = SINE + CHANGE
  1137. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1138. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1139. HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1140. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1141. if ATTACK == false then
  1142. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0.3) * ANGLES(RAD(40), RAD(65), RAD(32)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1143. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1144. HandleWeld.C1 = Clerp(HandleWeld.C1, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1145. end
  1146. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1147. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1148. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1149. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1150. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1151. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1152. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1153. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1154. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1155. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1156. end
  1157. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1158. ANIM = "Jump"
  1159. if ATTACK == false then
  1160. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1161. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1162. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1163. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1164. end
  1165. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1166. ANIM = "Fall"
  1167. if ATTACK == false then
  1168. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1169. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1170. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1171. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1172. end
  1173. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1174. ANIM = "Idle"
  1175. if ATTACK == false then
  1176. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1177. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1178. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1179. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1180. end
  1181. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1182. ANIM = "Walk"
  1183. if ATTACK == false then
  1184. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1185. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1186. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1187. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1188. end
  1189. end
  1190. unanchor()
  1191. Humanoid.MaxHealth = "inf"
  1192. Humanoid.Health = "inf"
  1193. if Rooted == false then
  1194. Disable_Jump = false
  1195. Humanoid.WalkSpeed = Speed
  1196. elseif Rooted == true then
  1197. Disable_Jump = true
  1198. Humanoid.WalkSpeed = 0
  1199. end
  1200. for _, c in pairs(Character:GetChildren()) do
  1201. if c.ClassName == "Part" then
  1202. for _, q in pairs(c:GetChildren()) do
  1203. if q.ClassName == "ParticleEmitter" and q.Name ~= "Rage" then
  1204. q:remove()
  1205. elseif q.ClassName == "ParticleEmitter" and q.Name == "Rage" then
  1206. q.Enabled = VALUE1
  1207. end
  1208. end
  1209. if c:FindFirstChildOfClass("Fire") then
  1210. c:FindFirstChildOfClass("Fire"):remove()
  1211. end
  1212. if c == Head then
  1213. if c:FindFirstChild("Hood") == nil then
  1214. local M = CreateMesh("SpecialMesh", Head, "FileMesh", "181343290", "181343313", VT(1,1,1), VT(0,0,0))
  1215. M.VertexColor = VT(1, 0.85, 0.62)
  1216. M.Name = "Hood"
  1217. end
  1218. if c:FindFirstChild("face") then
  1219. c.face:remove()
  1220. end
  1221. end
  1222. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1223. c:remove()
  1224. end
  1225. end
  1226. script.Parent = WEAPONGUI
  1227. SOULTEXT.Text = "Souls : ["..SOULWELL.."]"
  1228. if VALUE1 == false then
  1229. SKILL3TEXT.Text = "[C] Soul rage"
  1230. else
  1231. SKILL3TEXT.Text = "["..VALUE2.."] Soul rage"
  1232. end
  1233. Humanoid.DisplayDistanceType = "None"
  1234. Humanoid.Name = "Reaper"
  1235. end
  1236. end
  1237.  
  1238. --//=================================\\
  1239. --\\=================================//
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245. --//====================================================\\--
  1246. --|| END OF SCRIPT
  1247. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement