Advertisement
Guest_84210423435

;/

Aug 15th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 140.50 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  3. --\\====================================================//--
  4.  
  5. script:ClearAllChildren()
  6. wait(0.2)
  7.  
  8. Player = game:GetService("Players").LocalPlayer
  9. PlayerGui = Player.PlayerGui
  10. Cam = workspace.CurrentCamera
  11. Backpack = Player.Backpack
  12. Character = Player.Character
  13. Humanoid = Character.Humanoid
  14. Mouse = Player:GetMouse()
  15. RootPart = Character["HumanoidRootPart"]
  16. Torso = Character["Torso"]
  17. Head = Character["Head"]
  18. RightArm = Character["Right Arm"]
  19. LeftArm = Character["Left Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LeftLeg = Character["Left Leg"]
  22. RootJoint = RootPart["RootJoint"]
  23. Neck = Torso["Neck"]
  24. RightShoulder = Torso["Right Shoulder"]
  25. LeftShoulder = Torso["Left Shoulder"]
  26. RightHip = Torso["Right Hip"]
  27. LeftHip = Torso["Left Hip"]
  28. local TIME = 0
  29. local sick = Instance.new("Sound",Torso)
  30.  
  31. IT = Instance.new
  32. CF = CFrame.new
  33. VT = Vector3.new
  34. RAD = math.rad
  35. C3 = Color3.new
  36. UD2 = UDim2.new
  37. BRICKC = BrickColor.new
  38. ANGLES = CFrame.Angles
  39. EULER = CFrame.fromEulerAnglesXYZ
  40. COS = math.cos
  41. ACOS = math.acos
  42. SIN = math.sin
  43. ASIN = math.asin
  44. ABS = math.abs
  45. MRANDOM = math.random
  46. FLOOR = math.floor
  47.  
  48. --//=================================\\
  49. --|| USEFUL VALUES
  50. --\\=================================//
  51.  
  52. Animation_Speed = 5
  53. local FORCERESET = false
  54. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  55. local Speed = 40
  56. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  57. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  58. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  59. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  60. local DAMAGEMULTIPLIER = 1
  61. local ANIM = "Idle"
  62. local ATTACK = false
  63. local EQUIPPED = false
  64. local HOLD = false
  65. local COMBO = 1
  66. local Rooted = false
  67. local SINE = 0
  68. local KEYHOLD = false
  69. local CHANGE = 2 / Animation_Speed
  70. local WALKINGANIM = false
  71. local VALUE1 = false
  72. local VALUE2 = false
  73. local ROBLOXIDLEANIMATION = IT("Animation")
  74. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  75. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  76. --ROBLOXIDLEANIMATION.Parent = Humanoid
  77. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  78. WEAPONGUI.Name = "BanishV3Gui"
  79. local Weapon = IT("Model")
  80. Weapon.Name = "Adds"
  81. local Effects = IT("Folder", Weapon)
  82. Effects.Name = "Effects"
  83. local ANIMATOR = Humanoid.Animator
  84. local ANIMATE = Character:FindFirstChild("Animate")
  85. local UNANCHOR = true
  86. local TOBANISH = {}
  87. script.Parent = PlayerGui
  88.  
  89. --//=================================\\
  90. --\\=================================//
  91.  
  92.  
  93. --//=================================\\
  94. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  95. --\\=================================//
  96.  
  97. ArtificialHB = Instance.new("BindableEvent", script)
  98. ArtificialHB.Name = "ArtificialHB"
  99.  
  100. script:WaitForChild("ArtificialHB")
  101.  
  102. frame = Frame_Speed
  103. tf = 0
  104. allowframeloss = false
  105. tossremainder = false
  106. lastframe = tick()
  107. script.ArtificialHB:Fire()
  108.  
  109. game:GetService("RunService").Heartbeat:connect(function(s, p)
  110. tf = tf + s
  111. if tf >= frame then
  112. if allowframeloss then
  113. script.ArtificialHB:Fire()
  114. lastframe = tick()
  115. else
  116. for i = 1, math.floor(tf / frame) do
  117. script.ArtificialHB:Fire()
  118. end
  119. lastframe = tick()
  120. end
  121. if tossremainder then
  122. tf = 0
  123. else
  124. tf = tf - frame * math.floor(tf / frame)
  125. end
  126. end
  127. end)
  128.  
  129. --//=================================\\
  130. --\\=================================//
  131.  
  132. --//=================================\\
  133. --|| SOME FUNCTIONS
  134. --\\=================================//
  135.  
  136. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  137. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  138. end
  139.  
  140. function PositiveAngle(NUMBER)
  141. if NUMBER >= 0 then
  142. NUMBER = 0
  143. end
  144. return NUMBER
  145. end
  146.  
  147. function NegativeAngle(NUMBER)
  148. if NUMBER <= 0 then
  149. NUMBER = 0
  150. end
  151. return NUMBER
  152. end
  153.  
  154. function Swait(NUMBER)
  155. if NUMBER == 0 or NUMBER == nil then
  156. ArtificialHB.Event:wait()
  157. else
  158. for i = 1, NUMBER do
  159. ArtificialHB.Event:wait()
  160. end
  161. end
  162. end
  163.  
  164. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  165. local NEWMESH = IT(MESH)
  166. if MESH == "SpecialMesh" then
  167. NEWMESH.MeshType = MESHTYPE
  168. if MESHID ~= "nil" and MESHID ~= "" then
  169. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  170. end
  171. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  172. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  173. end
  174. end
  175. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  176. NEWMESH.Scale = SCALE
  177. NEWMESH.Parent = PARENT
  178. return NEWMESH
  179. end
  180.  
  181. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  182. local NEWPART = IT("Part")
  183. NEWPART.formFactor = FORMFACTOR
  184. NEWPART.Reflectance = REFLECTANCE
  185. NEWPART.Transparency = TRANSPARENCY
  186. NEWPART.CanCollide = false
  187. NEWPART.Locked = true
  188. NEWPART.Anchored = true
  189. if ANCHOR == false then
  190. NEWPART.Anchored = false
  191. end
  192. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  193. NEWPART.Name = NAME
  194. NEWPART.Size = SIZE
  195. NEWPART.Position = Torso.Position
  196. NEWPART.Material = MATERIAL
  197. NEWPART:BreakJoints()
  198. NEWPART.Parent = PARENT
  199. return NEWPART
  200. end
  201.  
  202. local function weldBetween(a, b)
  203. local weldd = Instance.new("ManualWeld")
  204. weldd.Part0 = a
  205. weldd.Part1 = b
  206. weldd.C0 = CFrame.new()
  207. weldd.C1 = b.CFrame:inverse() * a.CFrame
  208. weldd.Parent = a
  209. return weldd
  210. end
  211.  
  212.  
  213. function QuaternionFromCFrame(cf)
  214. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  215. local trace = m00 + m11 + m22
  216. if trace > 0 then
  217. local s = math.sqrt(1 + trace)
  218. local recip = 0.5 / s
  219. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  220. else
  221. local i = 0
  222. if m11 > m00 then
  223. i = 1
  224. end
  225. if m22 > (i == 0 and m00 or m11) then
  226. i = 2
  227. end
  228. if i == 0 then
  229. local s = math.sqrt(m00 - m11 - m22 + 1)
  230. local recip = 0.5 / s
  231. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  232. elseif i == 1 then
  233. local s = math.sqrt(m11 - m22 - m00 + 1)
  234. local recip = 0.5 / s
  235. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  236. elseif i == 2 then
  237. local s = math.sqrt(m22 - m00 - m11 + 1)
  238. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  239. end
  240. end
  241. end
  242.  
  243. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  244. local xs, ys, zs = x + x, y + y, z + z
  245. local wx, wy, wz = w * xs, w * ys, w * zs
  246. local xx = x * xs
  247. local xy = x * ys
  248. local xz = x * zs
  249. local yy = y * ys
  250. local yz = y * zs
  251. local zz = z * zs
  252. 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))
  253. end
  254.  
  255. function QuaternionSlerp(a, b, t)
  256. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  257. local startInterp, finishInterp;
  258. if cosTheta >= 0.0001 then
  259. if (1 - cosTheta) > 0.0001 then
  260. local theta = ACOS(cosTheta)
  261. local invSinTheta = 1 / SIN(theta)
  262. startInterp = SIN((1 - t) * theta) * invSinTheta
  263. finishInterp = SIN(t * theta) * invSinTheta
  264. else
  265. startInterp = 1 - t
  266. finishInterp = t
  267. end
  268. else
  269. if (1 + cosTheta) > 0.0001 then
  270. local theta = ACOS(-cosTheta)
  271. local invSinTheta = 1 / SIN(theta)
  272. startInterp = SIN((t - 1) * theta) * invSinTheta
  273. finishInterp = SIN(t * theta) * invSinTheta
  274. else
  275. startInterp = t - 1
  276. finishInterp = t
  277. end
  278. end
  279. 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
  280. end
  281.  
  282. function Clerp(a, b, t)
  283. local qa = {QuaternionFromCFrame(a)}
  284. local qb = {QuaternionFromCFrame(b)}
  285. local ax, ay, az = a.x, a.y, a.z
  286. local bx, by, bz = b.x, b.y, b.z
  287. local _t = 1 - t
  288. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  289. end
  290.  
  291. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  292. local frame = IT("Frame")
  293. frame.BackgroundTransparency = TRANSPARENCY
  294. frame.BorderSizePixel = BORDERSIZEPIXEL
  295. frame.Position = POSITION
  296. frame.Size = SIZE
  297. frame.BackgroundColor3 = COLOR
  298. frame.BorderColor3 = BORDERCOLOR
  299. frame.Name = NAME
  300. frame.Parent = PARENT
  301. return frame
  302. end
  303.  
  304. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  305. local label = IT("TextLabel")
  306. label.BackgroundTransparency = 1
  307. label.Size = UD2(1, 0, 1, 0)
  308. label.Position = UD2(0, 0, 0, 0)
  309. label.TextColor3 = TEXTCOLOR
  310. label.TextStrokeTransparency = STROKETRANSPARENCY
  311. label.TextTransparency = TRANSPARENCY
  312. label.FontSize = TEXTFONTSIZE
  313. label.Font = TEXTFONT
  314. label.BorderSizePixel = BORDERSIZEPIXEL
  315. label.TextScaled = false
  316. label.Text = TEXT
  317. label.Name = NAME
  318. label.Parent = PARENT
  319. return label
  320. end
  321.  
  322. function NoOutlines(PART)
  323. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  324. end
  325.  
  326. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  327. local NEWWELD = IT(TYPE)
  328. NEWWELD.Part0 = PART0
  329. NEWWELD.Part1 = PART1
  330. NEWWELD.C0 = C0
  331. NEWWELD.C1 = C1
  332. NEWWELD.Parent = PARENT
  333. return NEWWELD
  334. end
  335.  
  336. local S = IT("Sound")
  337. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  338. local NEWSOUND = nil
  339. coroutine.resume(coroutine.create(function()
  340. NEWSOUND = S:Clone()
  341. NEWSOUND.Parent = PARENT
  342. NEWSOUND.Volume = VOLUME
  343. NEWSOUND.Pitch = PITCH
  344. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  345. NEWSOUND:play()
  346. if DOESLOOP == true then
  347. NEWSOUND.Looped = true
  348. else
  349. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  350. NEWSOUND:remove()
  351. end
  352. end))
  353. return NEWSOUND
  354. end
  355.  
  356. function CFrameFromTopBack(at, top, back)
  357. local right = top:Cross(back)
  358. 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)
  359. end
  360.  
  361. --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})
  362. function WACKYEFFECT(Table)
  363. local TYPE = (Table.EffectType or "Sphere")
  364. local SIZE = (Table.Size or VT(1,1,1))
  365. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  366. local TRANSPARENCY = (Table.Transparency or 0)
  367. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  368. local CFRAME = (Table.CFrame or Torso.CFrame)
  369. local MOVEDIRECTION = (Table.MoveToPos or nil)
  370. local ROTATION1 = (Table.RotationX or 0)
  371. local ROTATION2 = (Table.RotationY or 0)
  372. local ROTATION3 = (Table.RotationZ or 0)
  373. local MATERIAL = (Table.Material or "Neon")
  374. local COLOR = (Table.Color or C3(1,1,1))
  375. local TIME = (Table.Time or 45)
  376. local SOUNDID = (Table.SoundID or nil)
  377. local SOUNDPITCH = (Table.SoundPitch or nil)
  378. local SOUNDVOLUME = (Table.SoundVolume or nil)
  379. coroutine.resume(coroutine.create(function()
  380. local PLAYSSOUND = false
  381. local SOUND = nil
  382. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  383. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  384. PLAYSSOUND = true
  385. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  386. end
  387. EFFECT.Color = COLOR
  388. local MSH = nil
  389. if TYPE == "Sphere" then
  390. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  391. elseif TYPE == "Block" then
  392. MSH = IT("BlockMesh",EFFECT)
  393. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  394. elseif TYPE == "Wave" then
  395. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  396. elseif TYPE == "Ring" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  398. elseif TYPE == "Slash" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  400. elseif TYPE == "Round Slash" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  402. elseif TYPE == "Swirl" then
  403. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  404. elseif TYPE == "Skull" then
  405. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  406. elseif TYPE == "Crystal" then
  407. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  408. end
  409. if MSH ~= nil then
  410. local MOVESPEED = nil
  411. if MOVEDIRECTION ~= nil then
  412. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  413. end
  414. local GROWTH = SIZE - ENDSIZE
  415. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  416. if TYPE == "Block" then
  417. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  418. else
  419. EFFECT.CFrame = CFRAME
  420. end
  421. for LOOP = 1, TIME+1 do
  422. Swait()
  423. MSH.Scale = MSH.Scale - GROWTH/TIME
  424. if TYPE == "Wave" then
  425. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  426. end
  427. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  428. if TYPE == "Block" then
  429. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  430. else
  431. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  432. end
  433. if MOVEDIRECTION ~= nil then
  434. local ORI = EFFECT.Orientation
  435. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  436. EFFECT.Orientation = ORI
  437. end
  438. end
  439. if PLAYSSOUND == false then
  440. EFFECT:remove()
  441. else
  442. SOUND.Stopped:Connect(function()
  443. EFFECT:remove()
  444. end)
  445. end
  446. else
  447. if PLAYSSOUND == false then
  448. EFFECT:remove()
  449. else
  450. repeat Swait() until SOUND.Playing == false
  451. EFFECT:remove()
  452. end
  453. end
  454. end))
  455. end
  456.  
  457. function MakeForm(PART,TYPE)
  458. if TYPE == "Cyl" then
  459. local MSH = IT("CylinderMesh",PART)
  460. elseif TYPE == "Ball" then
  461. local MSH = IT("SpecialMesh",PART)
  462. MSH.MeshType = "Sphere"
  463. elseif TYPE == "Wedge" then
  464. local MSH = IT("SpecialMesh",PART)
  465. MSH.MeshType = "Wedge"
  466. end
  467. end
  468.  
  469. function SpawnTrail(FROM,TO,BIG)
  470. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really Red", "Trail", VT(0,0,0))
  471. MakeForm(TRAIL,"Cyl")
  472. local DIST = (FROM - TO).Magnitude
  473. if BIG == true then
  474. TRAIL.Size = VT(5,DIST,5)
  475. else
  476. TRAIL.Size = VT(5,DIST,5)
  477. end
  478. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  479. coroutine.resume(coroutine.create(function()
  480. for i = 1, 5 do
  481. Swait()
  482. TRAIL.Transparency = TRAIL.Transparency + 0.1
  483. end
  484. TRAIL:remove()
  485. end))
  486. end
  487.  
  488. Debris = game:GetService("Debris")
  489.  
  490. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  491. local DIRECTION = CF(StartPos,EndPos).lookVector
  492. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  493. end
  494.  
  495. function turnto(position)
  496. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  497. end
  498. local asd = Instance.new("ParticleEmitter")
  499. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  500. asd.LightEmission = .1
  501. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  502. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  503. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  504. asd.Transparency = bbb
  505. asd.Size = aaa
  506. asd.ZOffset = .9
  507. asd.Acceleration = Vector3.new(0, -15, 0)
  508. asd.LockedToPart = false
  509. asd.EmissionDirection = "Back"
  510. asd.Lifetime = NumberRange.new(1, 2)
  511. asd.Rotation = NumberRange.new(-100, 100)
  512. asd.RotSpeed = NumberRange.new(-100, 100)
  513. asd.Speed = NumberRange.new(10)
  514. asd.Enabled = false
  515. asd.VelocitySpread = 999
  516.  
  517. function getbloody(victim,amount)
  518. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  519. PART.CFrame = victim.CFrame
  520. local HITPLAYERSOUNDS = {"356551938","264486467"}
  521. Debris:AddItem(PART,5)
  522. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  523. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  524. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  525. local prtcl = asd:Clone()
  526. prtcl.Parent = PART
  527. prtcl:Emit(amount*10)
  528. end
  529.  
  530. local Particle = IT("ParticleEmitter",nil)
  531. Particle.Enabled = false
  532. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  533. Particle.LightEmission = 0.5
  534. Particle.Rate = 150
  535. Particle.ZOffset = 1
  536. Particle.Rotation = NumberRange.new(-180, 180)
  537. Particle.RotSpeed = NumberRange.new(-180, 180)
  538. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  539. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  540.  
  541. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  542. function ParticleEmitter(Table)
  543. local PRTCL = Particle:Clone()
  544. local Speed = Table.Speed or 5
  545. local Drag = Table.Drag or 0
  546. local Size1 = Table.Size1 or 1
  547. local Size2 = Table.Size2 or 5
  548. local Lifetime1 = Table.Lifetime1 or 1
  549. local Lifetime2 = Table.Lifetime2 or 1.5
  550. local Parent = Table.Parent or Torso
  551. local Emit = Table.Emit or 100
  552. local Offset = Table.Offset or 360
  553. local Acel = Table.Acel or VT(0,0,0)
  554. local Enabled = Table.Enabled or false
  555. PRTCL.Parent = Parent
  556. PRTCL.Size = NumberSequence.new(Size1,Size2)
  557. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  558. PRTCL.Speed = NumberRange.new(Speed)
  559. PRTCL.VelocitySpread = Offset
  560. PRTCL.Drag = Drag
  561. PRTCL.Acceleration = Acel
  562. if Enabled == false then
  563. PRTCL:Emit(Emit)
  564. Debris:AddItem(PRTCL,Lifetime2)
  565. else
  566. PRTCL.Enabled = true
  567. end
  568. return PRTCL
  569. end
  570.  
  571. function R_RANDOM(CFRAME,DIST)
  572. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  573. end
  574.  
  575. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  576. coroutine.resume(coroutine.create(function()
  577. local FADE = IT("Model",Effects)
  578. if PARENT ~= nil then
  579. FADE.Parent = PARENT
  580. end
  581. FADE.Name = "FadingEffect"
  582. for _, c in pairs(Character:GetChildren()) do
  583. if c.ClassName == "Part" then
  584. c.CanCollide = false
  585. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Really Red"), c.Name, c.Size, true)
  586. FADER.CFrame = c.CFrame
  587. FADER.Color = COLOR
  588. if FADER.Name == "Head" then
  589. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  590. elseif FADER.Name == "HumanoidRootPart" then
  591. FADE.PrimaryPart = FADER
  592. FADER.Transparency = 1
  593. end
  594. end
  595. end
  596. local TRANS = 0.25/TIMER
  597. local DIST = nil
  598. if MOVEDIRECTION ~= nil then
  599. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  600. end
  601. for i = 1, TIMER do
  602. Swait()
  603. for _, c in pairs(FADE:GetChildren()) do
  604. if c.ClassName == "Part" then
  605. c.Transparency = c.Transparency + TRANS
  606. end
  607. end
  608. if MOVEDIRECTION ~= nil then
  609. local ORI = FADE.PrimaryPart.Orientation
  610. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  611. end
  612. end
  613. FADE:remove()
  614. end))
  615. end
  616.  
  617.  
  618. --//=================================\\
  619. --|| WEAPON CREATION
  620. --\\=================================//
  621.  
  622. local SIZE = 1.25
  623.  
  624. local Particle = IT("ParticleEmitter",nil)
  625. Particle.Enabled = false
  626. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  627. Particle.LightEmission = 0.5
  628. Particle.Rate = 150
  629. Particle.ZOffset = 0.2
  630. Particle.Rotation = NumberRange.new(-180, 180)
  631. Particle.RotSpeed = NumberRange.new(-180, 180)
  632. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  633. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  634.  
  635. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  636. function ParticleEmitter(Table)
  637. local PRTCL = Particle:Clone()
  638. local Speed = Table.Speed or 5
  639. local Drag = Table.Drag or 0
  640. local Size1 = Table.Size1 or 1
  641. local Size2 = Table.Size2 or 5
  642. local Lifetime1 = Table.Lifetime1 or 1
  643. local Lifetime2 = Table.Lifetime2 or 1.5
  644. local Parent = Table.Parent or Torso
  645. local Emit = Table.Emit or 100
  646. local Offset = Table.Offset or 360
  647. local Acel = Table.Acel or VT(0,0,0)
  648. local Enabled = Table.Enabled or false
  649. PRTCL.Parent = Parent
  650. PRTCL.Size = NumberSequence.new(Size1,Size2)
  651. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  652. PRTCL.Speed = NumberRange.new(Speed)
  653. PRTCL.VelocitySpread = Offset
  654. PRTCL.Drag = Drag
  655. PRTCL.Acceleration = Acel
  656. if Enabled == false then
  657. PRTCL:Emit(Emit)
  658. Debris:AddItem(PRTCL,Lifetime2)
  659. else
  660. PRTCL.Enabled = true
  661. end
  662. return PRTCL
  663. end
  664. Humanoid.DisplayDistanceType = "None"
  665. local naeeym2 = IT("BillboardGui",Character)
  666. naeeym2.AlwaysOnTop = true
  667. naeeym2.Size = UDim2.new(5,35,2,15)
  668. naeeym2.StudsOffset = Vector3.new(0,2,0)
  669. naeeym2.MaxDistance = 75
  670. naeeym2.Adornee = Character.Head
  671. naeeym2.Name = "Name"
  672. local tecks2 = IT("TextLabel",naeeym2)
  673. tecks2.BackgroundTransparency = 1
  674. tecks2.TextScaled = true
  675. tecks2.BorderSizePixel = 0
  676. tecks2.Text = "Void Pandora"
  677. tecks2.Font = "SciFi"
  678. tecks2.TextSize = 30
  679. tecks2.TextStrokeTransparency = 0
  680. tecks2.TextColor3 = C3(0,0,0)
  681. tecks2.TextStrokeColor3 = C3(4, 0, 4)
  682. tecks2.Size = UDim2.new(1,0,0.5,0)
  683. tecks2.Parent = naeeym2
  684. local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,128,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,255,255),Color3.fromRGB(0,0,255),Color3.fromRGB(191,0,255),Color3.fromRGB(255,0,191)}
  685. local top = Instance.new("Shirt")
  686. top.ShirtTemplate = "rbxassetid://476542397"
  687. top.Parent = Character
  688. top.Name = "Cloth"
  689. local bottom = Instance.new("Pants")
  690. bottom.PantsTemplate = "rbxassetid://476542637"
  691. bottom.Parent = Character
  692. bottom.Name = "Cloth"
  693. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  694. PRT.Color = C3(1,1,1)
  695. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  696. CreateMesh("SpecialMesh", PRT, "FileMesh", "1028713", "121696731", VT(1,1,1)*SIZE, VT(0,0,0))
  697. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  698. PRT.Color = C3(0, 111, 0)
  699. MakeForm(PRT,"Ball")
  700. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  701. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  702. PRT.Color = C3(0, 111, 0)
  703. MakeForm(PRT,"Ball")
  704. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  705. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  706. PRT.Color = C3(0, 111, 0)
  707. MakeForm(PRT,"Ball")
  708. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  709. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  710. PRT.Color = C3(0, 111, 0)
  711. MakeForm(PRT,"Ball")
  712. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  713. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  714. PRT.Color = C3(0, 111, 0)
  715. MakeForm(PRT,"Ball")
  716. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  717. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  718. PRT.Color = C3(0, 111, 0)
  719. MakeForm(PRT,"Ball")
  720. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  721.  
  722.  
  723.  
  724.  
  725. local LASTPART = Head
  726. for i = 1, 20 do
  727. local MATH = (1-(i/25))
  728. if LASTPART == Head then
  729. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  730. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  731. LASTPART = Horn
  732. Horn.Color = C3((i*3-3)/0,0,0)
  733. else
  734. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  735. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  736. LASTPART = Horn
  737. Horn.Color = C3((i*3-3)/0,127,0)
  738. end
  739. end
  740. local LASTPART = Head
  741. for i = 1, 20 do
  742. local MATH = (1-(i/25))
  743. if LASTPART == Head then
  744. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  745. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  746. LASTPART = Horn
  747. Horn.Color = C3((i*3-3)/0,0,0)
  748. else
  749. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  750. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  751. LASTPART = Horn
  752. Horn.Color = C3((i*3-3)/0,127,0)
  753. end
  754. end
  755.  
  756. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  757. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  758. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  759. MakeForm(Part,"Wedge")
  760. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  761. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  762. MakeForm(Part,"Wedge")
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  764. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  765. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  766. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  767. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  768. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  769. MakeForm(Part,"Cyl")
  770. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  771. for i = 1, 8 do
  772. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  773. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  774. end
  775. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  776. MakeForm(Part,"Cyl")
  777. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  778. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  779. MakeForm(Part,"Ball")
  780. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  781. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  782. MakeForm(Part,"Wedge")
  783. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  784. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  785. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  786. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  787. MakeForm(Part,"Cyl")
  788. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  789. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  790. MakeForm(Part,"Cyl")
  791. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  792. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  793. MakeForm(Part,"Cyl")
  794. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  795. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  796. MakeForm(Part,"Wedge")
  797. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  798. local LASTPART = Handle
  799. for i = 1, 10 do
  800. if LASTPART == Handle then
  801. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  802. LASTPART = Part
  803. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  804. else
  805. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  806. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  807. LASTPART = Part
  808. end
  809. end
  810.  
  811. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  812. MakeForm(Barrel,"Cyl")
  813. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  814. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  815. MakeForm(Part,"Cyl")
  816. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  817. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  818. MakeForm(Part,"Wedge")
  819. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  820. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  821. MakeForm(Hole2,"Cyl")
  822. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  823. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  824. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  825. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  826. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  827. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  828. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  829. coroutine.resume(coroutine.create(function()
  830. while wait() do
  831. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  832. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  833. end
  834. end))
  835.  
  836. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  837. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  838.  
  839. for _, c in pairs(Weapon:GetDescendants()) do
  840. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  841. c.Material = "Glass"
  842. c.Color = C3(0,0,0)
  843. elseif c.ClassName == "Part" and c.Name == "Eye" then
  844. c.Color = C3(0,1,0)
  845. c.Material = "Neon"
  846. end
  847. end
  848.  
  849. Weapon.Parent = Character
  850. for _, c in pairs(Weapon:GetChildren()) do
  851. if c.ClassName == "Part" then
  852. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  853. end
  854. end
  855.  
  856. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  857. PRT.Color = C3(0,0,0)
  858. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  859. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  860.  
  861. if Character:FindFirstChildOfClass("Accessory") then
  862. Character:FindFirstChildOfClass("Accessory"):remove()
  863. elseif Character:FindFirstChildOfClass("Hat") then
  864. Character:FindFirstChildOfClass("Hat"):remove()
  865. end
  866. if Head:FindFirstChild("face") then
  867. Head.face.Texture = "rbxassetid://403870689"
  868. if Character:FindFirstChildOfClass("Accessory") then
  869. Character:FindFirstChildOfClass("Accessory"):remove()
  870. elseif Character:FindFirstChildOfClass("Hat") then
  871. Character:FindFirstChildOfClass("Hat"):remove()
  872. end
  873. if Character:FindFirstChildOfClass("Accessory") then
  874. Character:FindFirstChildOfClass("Accessory"):remove()
  875. elseif Character:FindFirstChildOfClass("Hat") then
  876. Character:FindFirstChildOfClass("Hat"):remove()
  877. end
  878. if Character:FindFirstChildOfClass("Accessory") then
  879. Character:FindFirstChildOfClass("Accessory"):remove()
  880. elseif Character:FindFirstChildOfClass("Hat") then
  881. Character:FindFirstChildOfClass("Hat"):remove()
  882. end
  883. if Character:FindFirstChildOfClass("Accessory") then
  884. Character:FindFirstChildOfClass("Accessory"):remove()
  885. elseif Character:FindFirstChildOfClass("Hat") then
  886. Character:FindFirstChildOfClass("Hat"):remove()
  887. end
  888. if Character:FindFirstChildOfClass("Accessory") then
  889. Character:FindFirstChildOfClass("Accessory"):remove()
  890. elseif Character:FindFirstChildOfClass("Hat") then
  891. Character:FindFirstChildOfClass("Hat"):remove()
  892. end
  893. end
  894.  
  895. function ParticleEmitter(Table)
  896. local PRTCL = Particle:Clone()
  897. local Speed = Table.Speed or 5
  898. local Drag = Table.Drag or 0
  899. local Size1 = Table.Size1 or 1
  900. local Size2 = Table.Size2 or 5
  901. local Lifetime1 = Table.Lifetime1 or 1
  902. local Lifetime2 = Table.Lifetime2 or 1.5
  903. local Parent = Table.Parent or Torso
  904. local Emit = Table.Emit or 100
  905. local Offset = Table.Offset or 360
  906. local Acel = Table.Acel or VT(0,0,0)
  907. local Enabled = Table.Enabled or false
  908. PRTCL.Parent = Parent
  909. PRTCL.Size = NumberSequence.new(Size1,Size2)
  910. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  911. PRTCL.Speed = NumberRange.new(Speed)
  912. PRTCL.VelocitySpread = Offset
  913. PRTCL.Drag = Drag
  914. PRTCL.Acceleration = Acel
  915. if Enabled == false then
  916. PRTCL:Emit(Emit)
  917. Debris:AddItem(PRTCL,Lifetime2)
  918. else
  919. PRTCL.Enabled = true
  920. end
  921. return PRTCL
  922. end
  923.  
  924. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  925. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  926. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  927. MakeForm(Part,"Wedge")
  928. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  929. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  930. MakeForm(Part,"Wedge")
  931. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  932. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  933. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  934. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  935. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  936. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  937. MakeForm(Part,"Cyl")
  938. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  939. for i = 1, 8 do
  940. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  941. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  942. end
  943. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  944. MakeForm(Part,"Cyl")
  945. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  946. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  947. MakeForm(Part,"Ball")
  948. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  949. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  950. MakeForm(Part,"Wedge")
  951. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  952. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  953. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  954. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  955. MakeForm(Part,"Cyl")
  956. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  957. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  958. MakeForm(Part,"Cyl")
  959. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  960. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  961. MakeForm(Part,"Cyl")
  962. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  963. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  964. MakeForm(Part,"Wedge")
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  966. local LASTPART = Handle
  967. for i = 1, 10 do
  968. if LASTPART == Handle then
  969. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  970. LASTPART = Part
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  972. else
  973. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  974. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  975. LASTPART = Part
  976. end
  977. end
  978.  
  979. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  980. MakeForm(Barrel,"Cyl")
  981. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  982. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  983. MakeForm(Part,"Cyl")
  984. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  985. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  986. MakeForm(Part,"Wedge")
  987. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  988. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  989. MakeForm(Hole,"Cyl")
  990. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  991. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  992. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  993. CreateMesh("SpecialMesh", Part, "FileMesh", 1028713, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  994. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  995. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  996. CreateMesh("SpecialMesh", Part, "FileMesh", 1028713, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  997. coroutine.resume(coroutine.create(function()
  998. while wait() do
  999. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1000. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1001. end
  1002. end))
  1003.  
  1004. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1005. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1006.  
  1007. for _, c in pairs(Weapon:GetDescendants()) do
  1008. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1009. c.Material = "Glass"
  1010. c.Color = C3(0.05,0.05,0.05)
  1011. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1012. c.Color = C3(0,1,0)
  1013. c.Material = "Neon"
  1014. end
  1015. end
  1016.  
  1017. Weapon.Parent = Character
  1018. for _, c in pairs(Weapon:GetChildren()) do
  1019. if c.ClassName == "Part" then
  1020. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1021. end
  1022. end
  1023.  
  1024. local SKILLTEXTCOLOR = C3(0,1,0)
  1025. local SKILLFONT = "Antique"
  1026. local SKILLTEXTSIZE = 7
  1027.  
  1028. Humanoid.Died:connect(function()
  1029. ATTACK = true
  1030. end)
  1031.  
  1032.  
  1033. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1034. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1035. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1036. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1037. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1038. ]]
  1039. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1040. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1041. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1042. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1043. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1044. ]]
  1045. function printbye(Name)
  1046. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  1047. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1048. end
  1049.  
  1050. workspace.ChildAdded:connect(function(instance)
  1051. for BANISH = 1, #TOBANISH do
  1052. if TOBANISH[BANISH] ~= nil then
  1053. if instance.Name == TOBANISH[BANISH] then
  1054. coroutine.resume(coroutine.create(function()
  1055. printbye(instance.Name)
  1056. instance:ClearAllChildren()
  1057. Debris:AddItem(instance,0.0005)
  1058. end))
  1059. end
  1060. end
  1061. end
  1062. end)
  1063.  
  1064. --//=================================\\
  1065. --|| DAMAGING
  1066. --\\=================================//
  1067.  
  1068. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1069. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1070. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1071. wave.CFrame = CFRAME
  1072. coroutine.resume(coroutine.create(function(PART)
  1073. for i = 1, WAIT do
  1074. Swait()
  1075. mesh.Scale = mesh.Scale + GROW
  1076. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1077. if DOESROT == true then
  1078. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1079. end
  1080. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1081. if wave.Transparency > 0.99 then
  1082. wave:remove()
  1083. end
  1084. end
  1085. end))
  1086. end
  1087.  
  1088. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1089. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1090. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1091. wave.CFrame = CFRAME
  1092. coroutine.resume(coroutine.create(function(PART)
  1093. for i = 1, WAIT do
  1094. Swait()
  1095. mesh.Scale = mesh.Scale + GROW
  1096. if DOESROT == true then
  1097. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1098. end
  1099. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1100. if wave.Transparency > 0.99 then
  1101. wave:remove()
  1102. end
  1103. end
  1104. end))
  1105. end
  1106.  
  1107. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1108. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1109. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1110. wave.CFrame = CFRAME
  1111. coroutine.resume(coroutine.create(function(PART)
  1112. for i = 1, WAIT do
  1113. Swait()
  1114. mesh.Scale = mesh.Scale + GROW
  1115. wave.Transparency = wave.Transparency + (1/WAIT)
  1116. if wave.Transparency > 0.99 then
  1117. wave:remove()
  1118. end
  1119. end
  1120. end))
  1121. end
  1122.  
  1123. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1124. local mesh = nil
  1125. if KIND == "Base" then
  1126. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1127. elseif KIND == "Thin" then
  1128. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1129. elseif KIND == "Round" then
  1130. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1131. end
  1132. wave.CFrame = CFRAME
  1133. coroutine.resume(coroutine.create(function(PART)
  1134. for i = 1, WAIT do
  1135. Swait()
  1136. mesh.Scale = mesh.Scale + GROW/10
  1137. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1138. if wave.Transparency > 0.99 then
  1139. wave:remove()
  1140. end
  1141. end
  1142. end))
  1143. end
  1144.  
  1145. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1146. local svch = Character2
  1147. Character2:BreakJoints()
  1148. local hum = Character2:findFirstChild("Humanoid")
  1149. local q = Character2:GetChildren()
  1150. local CLONE = IT("Model", Effects)
  1151. for i = 1, #q do
  1152. if q[i].ClassName == "Accessory" and Headless == true then
  1153. q[i]:remove()
  1154. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1155. q[i].Parent = CLONE
  1156. elseif q[i].ClassName ~= "Humanoid" then
  1157. q[i]:remove()
  1158. end
  1159. end
  1160. local chrclone = CLONE
  1161. local ch = chrclone:GetChildren()
  1162. local i
  1163. for i = 1, #ch do
  1164. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1165. ch[i]:remove()
  1166. end
  1167. end
  1168. local function Scan(ch)
  1169. local e
  1170. for e = 1, #ch do
  1171. Scan(ch[e]:GetChildren())
  1172. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1173. ch[e]:remove()
  1174. end
  1175. end
  1176. end
  1177. Character2:remove()
  1178. local NEWHUM = IT("Humanoid")
  1179. NEWHUM.Name = "Corpse"
  1180. NEWHUM.Health = 0
  1181. NEWHUM.MaxHealth = 0
  1182. NEWHUM.PlatformStand = true
  1183. NEWHUM.Parent = CLONE
  1184. NEWHUM.DisplayDistanceType = "None"
  1185. Scan(chrclone:GetChildren())
  1186. local ch = Character2:GetChildren()
  1187. local i
  1188. for i = 1, #ch do
  1189. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1190. ch[i]:remove()
  1191. end
  1192. end
  1193. local ch = Character2:GetChildren()
  1194. local i
  1195. for i = 1, #ch do
  1196. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1197. ch[i]:remove()
  1198. end
  1199. end
  1200. Character2 = chrclone
  1201. local Torso2 = Character2.Torso
  1202. local movevector = Vector3.new()
  1203. if Torso2 then
  1204. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1205. local Head = Character2:FindFirstChild("Head")
  1206. if Head then
  1207. local Neck = Instance.new("Weld")
  1208. Neck.Name = "Neck"
  1209. Neck.Part0 = Torso2
  1210. Neck.Part1 = Head
  1211. Neck.C0 = CFrame.new(0, 1.5, 0)
  1212. Neck.C1 = CFrame.new()
  1213. Neck.Parent = Torso2
  1214. if Headless == true then
  1215. Head.Transparency = 1
  1216. Head:ClearAllChildren()
  1217. end
  1218. end
  1219. local Limb = Character2:FindFirstChild("Right Arm")
  1220. if Limb then
  1221. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1222. local Joint = Instance.new("Glue")
  1223. Joint.Name = "RightShoulder"
  1224. Joint.Part0 = Torso2
  1225. Joint.Part1 = Limb
  1226. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1227. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1228. Joint.Parent = Torso2
  1229. local B = Instance.new("Part")
  1230. B.TopSurface = 0
  1231. B.BottomSurface = 0
  1232. B.formFactor = "Symmetric"
  1233. B.Size = Vector3.new(1, 1, 1)
  1234. B.Transparency = 1
  1235. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1236. B.Parent = Character2
  1237. local W = Instance.new("Weld")
  1238. W.Part0 = Limb
  1239. W.Part1 = B
  1240. W.C0 = CFrame.new(0, -0.5, 0)
  1241. W.Parent = Limb
  1242. end
  1243. local Limb = Character2:FindFirstChild("Left Arm")
  1244. if Limb then
  1245. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1246. local Joint = Instance.new("Glue")
  1247. Joint.Name = "LeftShoulder"
  1248. Joint.Part0 = Torso2
  1249. Joint.Part1 = Limb
  1250. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1251. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1252. Joint.Parent = Torso2
  1253. local B = Instance.new("Part")
  1254. B.TopSurface = 0
  1255. B.BottomSurface = 0
  1256. B.formFactor = "Symmetric"
  1257. B.Size = Vector3.new(1, 1, 1)
  1258. B.Transparency = 1
  1259. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1260. B.Parent = Character2
  1261. local W = Instance.new("Weld")
  1262. W.Part0 = Limb
  1263. W.Part1 = B
  1264. W.C0 = CFrame.new(0, -0.5, 0)
  1265. W.Parent = Limb
  1266. end
  1267. local Limb = Character2:FindFirstChild("Right Leg")
  1268. if Limb then
  1269. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1270. local Joint = Instance.new("Glue")
  1271. Joint.Name = "RightHip"
  1272. Joint.Part0 = Torso2
  1273. Joint.Part1 = Limb
  1274. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1275. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1276. Joint.Parent = Torso2
  1277. local B = Instance.new("Part")
  1278. B.TopSurface = 0
  1279. B.BottomSurface = 0
  1280. B.formFactor = "Symmetric"
  1281. B.Size = Vector3.new(1, 1, 1)
  1282. B.Transparency = 1
  1283. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1284. B.Parent = Character2
  1285. local W = Instance.new("Weld")
  1286. W.Part0 = Limb
  1287. W.Part1 = B
  1288. W.C0 = CFrame.new(0, -0.5, 0)
  1289. W.Parent = Limb
  1290. end
  1291. local Limb = Character2:FindFirstChild("Left Leg")
  1292. if Limb then
  1293. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1294. local Joint = Instance.new("Glue")
  1295. Joint.Name = "LeftHip"
  1296. Joint.Part0 = Torso2
  1297. Joint.Part1 = Limb
  1298. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1299. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1300. Joint.Parent = Torso2
  1301. local B = Instance.new("Part")
  1302. B.TopSurface = 0
  1303. B.BottomSurface = 0
  1304. B.formFactor = "Symmetric"
  1305. B.Size = Vector3.new(1, 1, 1)
  1306. B.Transparency = 1
  1307. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1308. B.Parent = Character2
  1309. local W = Instance.new("Weld")
  1310. W.Part0 = Limb
  1311. W.Part1 = B
  1312. W.C0 = CFrame.new(0, -0.5, 0)
  1313. W.Parent = Limb
  1314. end
  1315. local Bar = Instance.new("Part")
  1316. Bar.TopSurface = 0
  1317. Bar.BottomSurface = 0
  1318. Bar.formFactor = "Symmetric"
  1319. Bar.Size = Vector3.new(1, 1, 1)
  1320. Bar.Transparency = 1
  1321. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1322. Bar.Parent = Character2
  1323. local Weld = Instance.new("Weld")
  1324. Weld.Part0 = Torso2
  1325. Weld.Part1 = Bar
  1326. Weld.C0 = CFrame.new(0, 0.5, 0)
  1327. Weld.Parent = Torso2
  1328. end
  1329. Character2.Parent = Weapon
  1330. if movevector ~= Vector3.new() then
  1331. for i = 1, 10 do
  1332. Torso2.Velocity = movevector * Velocity
  1333. end
  1334. end
  1335. Character2.Name = "Corpse"
  1336. return Character2, Torso2
  1337. end
  1338.  
  1339. function Banish(Foe)
  1340. if Foe then
  1341. coroutine.resume(coroutine.create(function()
  1342. --if game.Players:FindFirstChild(Foe.Name) then
  1343. table.insert(TOBANISH,Foe.Name)
  1344. printbye(Foe.Name)
  1345. --end
  1346. Foe.Archivable = true
  1347. local CLONE = Foe:Clone()
  1348. Foe:Destroy()
  1349. CLONE.Parent = Effects
  1350. CLONE:BreakJoints()
  1351. local MATERIALS = {"Glass","Neon"}
  1352. for _, c in pairs(CLONE:GetDescendants()) do
  1353. if c:IsA("BasePart") then
  1354. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1355. CreateSound(340722848, c, 10, 1, false)
  1356. end
  1357. c.Anchored = true
  1358. c.Transparency = c.Transparency + 0.2
  1359. c.Material = MATERIALS[MRANDOM(1,2)]
  1360. c.Color = C3(0,1,0)
  1361. if c.ClassName == "MeshPart" then
  1362. c.TextureID = ""
  1363. end
  1364. if c:FindFirstChildOfClass("SpecialMesh") then
  1365. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1366. end
  1367. if c:FindFirstChildOfClass("Decal") then
  1368. c:FindFirstChildOfClass("Decal"):remove()
  1369. end
  1370. c.Name = "Banished"
  1371. c.CanCollide = false
  1372. else
  1373. c:remove()
  1374. end
  1375. end
  1376. local A = false
  1377. for i = 1, 35 do
  1378. if A == false then
  1379. A = true
  1380. elseif A == true then
  1381. A = false
  1382. end
  1383. for _, c in pairs(CLONE:GetDescendants()) do
  1384. if c:IsA("BasePart") then
  1385. c.Anchored = true
  1386. c.Material = MATERIALS[MRANDOM(1,2)]
  1387. c.Transparency = c.Transparency + 0.8/35
  1388. if A == false then
  1389. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1390. elseif A == true then
  1391. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1392. end
  1393. end
  1394. end
  1395. Swait()
  1396. end
  1397. CLONE:remove()
  1398. end))
  1399. end
  1400. end
  1401.  
  1402. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1403. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1404. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1405. if HITFLOOR.Name == "BloodPuddle" then
  1406. local DIST = (Position - HITFLOOR.Position).Magnitude
  1407. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1408. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1409. end
  1410. elseif HITFLOOR.Anchored == true then
  1411. do
  1412. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Really Red", "BloodPuddle", VT(2, 0, 2))
  1413. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1414. MakeForm(BLOOD, "Cyl")
  1415. coroutine.resume(coroutine.create(function()
  1416. Swait(75)
  1417. while true do
  1418. Swait()
  1419. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1420. if BLOOD.Size.Z < 0.051 then
  1421. BLOOD:remove()
  1422. break
  1423. end
  1424. end
  1425. end))
  1426. end
  1427. end
  1428. end
  1429. end
  1430.  
  1431. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1432. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Really Red", "BloodPuddle", VT(1, 1, 1), false)
  1433. BLOOD.CFrame = CF(POSITION)
  1434. MakeForm(BLOOD, "Ball")
  1435. local bv = Instance.new("BodyVelocity", BLOOD)
  1436. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1437. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1438. bv.Name = "MOVE"
  1439. Debris:AddItem(bv, 0.05)
  1440. coroutine.resume(coroutine.create(function()
  1441. local HASTOUCHEDGROUND = false
  1442. local HIT = BLOOD.Touched:Connect(function(hit)
  1443. if hit.Anchored == true then
  1444. HASTOUCHEDGROUND = true
  1445. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1446. end
  1447. end)
  1448. wait(5)
  1449. if HASTOUCHEDGROUND == false then
  1450. BLOOD:remove()
  1451. end
  1452. end))
  1453. end
  1454. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1455. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1456. defence.Name = "HitBy" .. Player.Name
  1457. game:GetService("Debris"):AddItem(defence, 0.001)
  1458. Damage = Damage * DAMAGEMULTIPLIER
  1459. if Humanoid.Health ~= 0 then
  1460. local CritChance = MRANDOM(1, 100)
  1461. if Damage > Humanoid.Health then
  1462. Damage = math.ceil(Humanoid.Health)
  1463. if Damage == 0 then
  1464. Damage = 0.1
  1465. end
  1466. end
  1467. Humanoid.Health = Humanoid.Health - Damage
  1468. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1469. end
  1470. end
  1471.  
  1472. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1473. local CHILDREN = workspace:GetDescendants()
  1474. for index, CHILD in pairs(CHILDREN) do
  1475. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1476. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1477. if HUM then
  1478. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1479. if TORSO then
  1480. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1481. if ISBANISH == true then
  1482. Banish(CHILD)
  1483. else
  1484. if ISBANISH == "Gravity" then
  1485. HUM.PlatformStand = true
  1486. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1487. local grav = Instance.new("BodyPosition",TORSO)
  1488. grav.D = 15
  1489. grav.P = 20000
  1490. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1491. grav.position = TORSO.Position
  1492. grav.Name = "V3BanishForce"..Player.Name
  1493. else
  1494. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1495. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1496. end
  1497. else
  1498. HUM.PlatformStand = false
  1499. end
  1500. end
  1501. elseif ISBANISH == "Gravity" then
  1502. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1503. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1504. HUM.PlatformStand = false
  1505. end
  1506. end
  1507. end
  1508. end
  1509. end
  1510. end
  1511. end
  1512.  
  1513. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1514. local dmg = math.random(min,max)
  1515. for i,v in ipairs(workspace:GetChildren()) do
  1516. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1517. local body = v:GetChildren()
  1518. for part = 1, #body do
  1519. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1520. if(body[part].Position - position).Magnitude < radius then
  1521. if v.ClassName == "Model" then
  1522. if v:FindFirstChildOfClass("Humanoid") then
  1523. if CanBeDodgedByJumping == true then
  1524. if body[part].Position.Y < position.Y+5 then
  1525. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1526. end
  1527. else
  1528. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1529. end
  1530. local bv = Instance.new("BodyVelocity")
  1531. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1532. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1533. bv.Parent = body[part]
  1534. Debris:AddItem(bv,0.2)
  1535. end
  1536. end
  1537. end
  1538. end
  1539. end
  1540. end
  1541. if v:FindFirstChild("HitBy"..Player.Name) then
  1542. v:FindFirstChild("HitBy"..Player.Name):remove()
  1543. end
  1544. end
  1545. end
  1546.  
  1547.  
  1548. --//=================================\\
  1549. --|| ATTACK FUNCTIONS AND STUFF
  1550. --\\=================================//
  1551.  
  1552. function ShadowCloak()
  1553. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1554. ATTACK = true
  1555. Rooted = false
  1556. UNANCHOR = false
  1557. FADERS = false
  1558. coroutine.resume(coroutine.create(function()
  1559. coroutine.resume(coroutine.create(function()
  1560. for i=1, 25 do
  1561. Swait()
  1562. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  1563. end
  1564. end))
  1565. repeat
  1566. Swait()
  1567. BLADE.Transparency = Torso.Transparency
  1568. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1569. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1570. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1571. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1572. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1573. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1574. until ATTACK == false
  1575. end))
  1576. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  1577. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1578. for i = 1, 50 do
  1579. Swait()
  1580. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1581. for index, CHILD in pairs(Character:GetChildren()) do
  1582. if CHILD:IsA("BasePart") then
  1583. CHILD.Transparency = CHILD.Transparency + 1/50
  1584. elseif CHILD:IsA("Accessory") then
  1585. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  1586. end
  1587. end
  1588. end
  1589. for i = 1, 25 do
  1590. Swait()
  1591. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1592. end
  1593. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1594. for i = 1, 5 do
  1595. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1596. end
  1597. ApplyAoE(Torso.Position,15,12,22,150,false)
  1598. CreateSound(331666014,Torso,5,1,false)
  1599. for i = 1, 12 do
  1600. Swait()
  1601. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1602. end
  1603. for i = 1, 50 do
  1604. Swait()
  1605. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1606. for index, CHILD in pairs(Character:GetChildren()) do
  1607. if CHILD:IsA("BasePart") then
  1608. CHILD.Transparency = CHILD.Transparency - 1/50
  1609. elseif CHILD:IsA("Accessory") then
  1610. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  1611. end
  1612. end
  1613. end
  1614. UNANCHOR = true
  1615. ATTACK = false
  1616. Rooted = false
  1617. FADERS = true
  1618. end
  1619. end
  1620.  
  1621. function Neck_Snap()
  1622. ATTACK = true
  1623. Rooted = false
  1624. local TARGET, HUM, WLD
  1625. local HIT = RightArm.Touched:Connect(function(hit)
  1626. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1627. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1628. if H.Health > 0 then
  1629. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1630. if TORSO then
  1631. HUM = H
  1632. TARGET = TORSO
  1633. H.PlatformStand = true
  1634. CreateSound("260411131", TORSO, 10, 1)
  1635. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1636. end
  1637. end
  1638. end
  1639. end)
  1640. for i = 0, 1, 0.1 / Animation_Speed do
  1641. Swait()
  1642. if TARGET ~= nil then
  1643. break
  1644. end
  1645. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1646. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1647. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1648. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1649. if ANIM == "Idle" then
  1650. 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)
  1651. 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)
  1652. elseif ANIM == "Walk" then
  1653. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1654. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1655. elseif ANIM == "Jump" or ANIM == "Fall" then
  1656. 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)
  1657. 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)
  1658. end
  1659. end
  1660. HIT:disconnect()
  1661. if TARGET ~= nil then
  1662. if TARGET.Name == "Torso" then
  1663. for i = 0, 2, 0.1 / Animation_Speed do
  1664. Swait()
  1665. 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)
  1666. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1667. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1668. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1669. if ANIM == "Idle" then
  1670. 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)
  1671. 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)
  1672. elseif ANIM == "Walk" then
  1673. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1674. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1675. elseif ANIM == "Jump" or ANIM == "Fall" then
  1676. 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)
  1677. 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)
  1678. end
  1679. end
  1680. WLD:remove()
  1681. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1682. if HEAD then
  1683. UNANCHOR = false
  1684. RootPart.Anchored = true
  1685. local HD = HEAD:Clone()
  1686. HD.Name = "FakeHead"
  1687. for i = 1, 7 do
  1688. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1689. end
  1690. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1691. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1692. HD.Parent = RAGDOLL
  1693. CreateSound("264486467", RAGTORSO, 10, 1)
  1694. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1695. for i = 0, 2, 0.1 / Animation_Speed do
  1696. Swait()
  1697. 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)
  1698. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1699. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1700. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1701. if ANIM == "Idle" then
  1702. 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)
  1703. 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)
  1704. elseif ANIM == "Walk" then
  1705. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1706. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1707. elseif ANIM == "Jump" or ANIM == "Fall" then
  1708. 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)
  1709. 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)
  1710. end
  1711. end
  1712. HEADWELD:remove()
  1713. for i = 0, 0.5, 0.1 / Animation_Speed do
  1714. Swait()
  1715. 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)
  1716. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1717. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1718. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1719. if ANIM == "Idle" then
  1720. 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)
  1721. 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)
  1722. elseif ANIM == "Walk" then
  1723. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1724. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1725. elseif ANIM == "Jump" or ANIM == "Fall" then
  1726. 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)
  1727. 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)
  1728. end
  1729. end
  1730. CreateSound("907333406", Torso, 10, 1)
  1731. for i = 0, 0.25, 0.1 / Animation_Speed do
  1732. Swait()
  1733. 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)
  1734. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1735. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1736. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1737. if ANIM == "Idle" then
  1738. 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)
  1739. 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)
  1740. elseif ANIM == "Walk" then
  1741. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1742. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1743. elseif ANIM == "Jump" or ANIM == "Fall" then
  1744. 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)
  1745. 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)
  1746. end
  1747. end
  1748. RAGWELD:remove()
  1749. local bv = Instance.new("BodyVelocity")
  1750. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1751. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1752. bv.Parent = RAGTORSO
  1753. Debris:AddItem(bv, 0.05)
  1754. Debris:AddItem(RAGDOLL, 5)
  1755. for i = 0, 0.15, 0.1 / Animation_Speed do
  1756. Swait()
  1757. 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)
  1758. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1759. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1760. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1761. if ANIM == "Idle" then
  1762. 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)
  1763. 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)
  1764. elseif ANIM == "Walk" then
  1765. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1766. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1767. elseif ANIM == "Jump" or ANIM == "Fall" then
  1768. 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)
  1769. 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)
  1770. end
  1771. end
  1772. UNANCHOR = true
  1773. RootPart.Anchored = false
  1774. end
  1775. else
  1776. UNANCHOR = false
  1777. RootPart.Anchored = true
  1778. for i = 0, 0.5, 0.1 / Animation_Speed do
  1779. Swait()
  1780. 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)
  1781. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1782. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1783. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1784. if ANIM == "Idle" then
  1785. 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)
  1786. 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)
  1787. elseif ANIM == "Walk" then
  1788. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1789. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1790. elseif ANIM == "Jump" or ANIM == "Fall" then
  1791. 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)
  1792. 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)
  1793. end
  1794. end
  1795. for i = 0, 0.25, 0.1 / Animation_Speed do
  1796. Swait()
  1797. 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)
  1798. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1799. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1800. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1801. if ANIM == "Idle" then
  1802. 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)
  1803. 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)
  1804. elseif ANIM == "Walk" then
  1805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1807. elseif ANIM == "Jump" or ANIM == "Fall" then
  1808. 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)
  1809. 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)
  1810. end
  1811. end
  1812. WLD:remove()
  1813. TARGET.Parent:BreakJoints()
  1814. for _, c in pairs(TARGET.Parent:GetChildren()) do
  1815. if c:IsA("BasePart") then
  1816. local bv = Instance.new("BodyVelocity")
  1817. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1818. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1819. bv.Parent = c
  1820. Debris:AddItem(bv, 0.05)
  1821. end
  1822. end
  1823. for i = 0, 0.15, 0.1 / Animation_Speed do
  1824. Swait()
  1825. 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)
  1826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1829. if ANIM == "Idle" then
  1830. 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)
  1831. 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)
  1832. elseif ANIM == "Walk" then
  1833. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1834. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1835. elseif ANIM == "Jump" or ANIM == "Fall" then
  1836. 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)
  1837. 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)
  1838. end
  1839. end
  1840. UNANCHOR = true
  1841. RootPart.Anchored = false
  1842. end
  1843. end
  1844. ATTACK = false
  1845. Rooted = false
  1846. end
  1847.  
  1848. function PandorasBox()
  1849. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1850. if HITFLOOR ~= nil then
  1851. ATTACK = false
  1852. Rooted = false
  1853. local RINGSPIN = true
  1854. local CONSTRUCTING = true
  1855. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1856. RING.Color = C3(5,6,0)
  1857. MakeForm(RING,"Cyl")
  1858. RING.CFrame = CF(HITPOS)
  1859. CreateSound(402981977, RING, 5, 1.2, false)
  1860. coroutine.resume(coroutine.create(function()
  1861. repeat
  1862. Swait()
  1863. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1864. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1865. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1866. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1867. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1868. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1869. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1870. until CONSTRUCTING == false
  1871. repeat
  1872. Swait()
  1873. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1874. until RINGSPIN == false
  1875. for i = 1, 25 do
  1876. Swait()
  1877. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1878. RING.Size = RING.Size - VT(0.15,0,0.15)
  1879. --DECAL.Transparency = DECAL.Transparency + 1/25
  1880. RING.Transparency = RING.Transparency + 1/25
  1881. end
  1882. RING:remove()
  1883. end))
  1884. for i = 1, 15 do
  1885. Swait()
  1886. RING.Size = RING.Size + VT(0.75,0,0.75)
  1887. RING.Transparency = RING.Transparency - 1/15
  1888. end
  1889. local BOXSPIN = true
  1890. local PANDORASBOX = IT("Model",Effects)
  1891. PANDORASBOX.Name = "Box of wonders"
  1892. local BOX = IT("Model",PANDORASBOX)
  1893. BOX.Name = "Body"
  1894. local LID = IT("Model",PANDORASBOX)
  1895. LID.Name = "Lid"
  1896. --BUILDING THE BOX--
  1897. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1898. BASE.Color = C3(0,0,0)
  1899. PANDORASBOX.PrimaryPart = BASE
  1900. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1901. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1902. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1903. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1904. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1905. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1906. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1907. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1908. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1909. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1910. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1911. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1912. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1913. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1914. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1915. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1916. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1917. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1918. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1919. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1920. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1921. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1922. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1923. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1924. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1925. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1926. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1927. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1928. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1929. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1930. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1931. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1932. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1933. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1934. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1935. -------------
  1936. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1937. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1938. LID.PrimaryPart = LIDPART
  1939. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1940. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1941. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1942. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1943. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1944. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1945. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1946. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1947. local DECAL = IT("Decal",LIDPART)
  1948. DECAL.Face = "Top"
  1949. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1950. DECAL.Color3 = C3(5,6,0)
  1951. --BUILDING THE BOX--
  1952. coroutine.resume(coroutine.create(function()
  1953. repeat
  1954. Swait()
  1955. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1956. until BOXSPIN == false
  1957. end))
  1958. for i = 1, 25 do
  1959. Swait()
  1960. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1961. end
  1962. wait(0.5)
  1963. BOXSPIN = false
  1964. CONSTRUCTING = false
  1965. coroutine.resume(coroutine.create(function()
  1966. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  1967. --[[for i = 1, 45 do
  1968. Swait()
  1969. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1970. end-
  1971. LID:remove()]]--
  1972. for _, c in pairs(LID:GetChildren()) do
  1973. if c.ClassName == "Part" then
  1974. c.Anchored = false
  1975. c.CanCollide = true
  1976. if c ~= LIDPART then
  1977. weldBetween(LIDPART,c)
  1978. end
  1979. end
  1980. end
  1981. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1982. Debris:AddItem(LID,15)
  1983. wait(0.5)
  1984. local RANDOMEFFECT = MRANDOM(1,4)
  1985. if RANDOMEFFECT == 1 then
  1986. for i = 1, 45 do
  1987. wait((2-(i/15))/15)
  1988. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  1989. end
  1990. wait(1)
  1991. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1992. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  1993. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1994. for i = 1, 5 do
  1995. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1996. end
  1997. ApplyAoE(BASE.Position,50,1,200,375,false)
  1998. ApplyAoE(BASE.Position,250,35,75,175,false)
  1999. elseif RANDOMEFFECT == 2 then
  2000. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2001. FIELD.CFrame = BASE.CFrame
  2002. MakeForm(FIELD,"Ball")
  2003. for i = 1, 50 do
  2004. Swait()
  2005. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2006. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2007. end
  2008. wait(0.2)
  2009. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2010. coroutine.resume(coroutine.create(function()
  2011. for i = 1, 75 do
  2012. Swait()
  2013. LOOP.Volume = LOOP.Volume + 10/75
  2014. LOOP.Parent = FIELD
  2015. local CHILDREN = workspace:GetDescendants()
  2016. for index, CHILD in pairs(CHILDREN) do
  2017. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2018. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2019. if HUM then
  2020. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2021. if TORSO then
  2022. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2023. HUM.Health = HUM.Health - 0.1
  2024. TORSO.Velocity = VT(0,5,0)
  2025. HUM.PlatformStand = true
  2026. if TORSO.RotVelocity.Magnitude < 15 then
  2027. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2028. end
  2029. end
  2030. end
  2031. end
  2032. end
  2033. end
  2034. FIELD.Size = FIELD.Size + VT(3,3,3)
  2035. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2036. end
  2037. for i = 1, 500 do
  2038. Swait()
  2039. LOOP.Parent = FIELD
  2040. local CHILDREN = workspace:GetDescendants()
  2041. for index, CHILD in pairs(CHILDREN) do
  2042. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2043. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2044. if HUM then
  2045. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2046. if TORSO then
  2047. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2048. TORSO.Velocity = VT(0,5,0)
  2049. HUM.Health = HUM.Health - 0.1
  2050. HUM.PlatformStand = true
  2051. if TORSO.RotVelocity.Magnitude < 15 then
  2052. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2053. end
  2054. end
  2055. end
  2056. end
  2057. end
  2058. end
  2059. end
  2060. for i = 1, 25 do
  2061. Swait()
  2062. LOOP.Volume = LOOP.Volume + 10/25
  2063. LOOP.Parent = FIELD
  2064. local CHILDREN = workspace:GetDescendants()
  2065. for index, CHILD in pairs(CHILDREN) do
  2066. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2067. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2068. if HUM then
  2069. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2070. if TORSO then
  2071. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2072. TORSO.Velocity = VT(0,5,0)
  2073. HUM.Health = HUM.Health - 0.1
  2074. HUM.PlatformStand = false
  2075. if TORSO.RotVelocity.Magnitude < 15 then
  2076. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2077. end
  2078. end
  2079. end
  2080. end
  2081. end
  2082. end
  2083. FIELD.Size = FIELD.Size - VT(3,3,3)
  2084. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2085. end
  2086. FIELD:remove()
  2087. end))
  2088. elseif RANDOMEFFECT == 3 then
  2089. for i = 1, 10 do
  2090. wait(0.15)
  2091. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  2092. coroutine.resume(coroutine.create(function()
  2093. local MINION = CLONE:Clone()
  2094. MINION.Parent = Effects
  2095. MINION.Name = "Shadow"
  2096. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2097. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2098. for _, c in pairs(MINION:GetChildren()) do
  2099. if c.ClassName == "Part" then
  2100. c.Material = "Neon"
  2101. c.Color = C3(0,0,0)
  2102. c.Transparency = 0.25
  2103. if c.Name == "Head" then
  2104. c:ClearAllChildren()
  2105. local MSH = IT("BlockMesh",c)
  2106. MSH.Scale = VT(0.5,1,1)
  2107. end
  2108. end
  2109. end
  2110. local TORSO = MINION.Torso
  2111. local HUMAN = MINION.Humanoid
  2112. HUMAN.WalkSpeed = 100
  2113. HUMAN.MaxHealth = math.huge
  2114. HUMAN.Health = math.huge
  2115. HUMAN.DisplayDistanceType = "None"
  2116. HUMAN.Died:connect(function()
  2117. MINION:remove()
  2118. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2119. end)
  2120. wait(1)
  2121. local findNearestTorso = function(POS)
  2122. local list = game.Workspace:GetDescendants()
  2123. local torso = nil
  2124. local dist = 9999
  2125. local temp = nil
  2126. local human = nil
  2127. local temp2 = nil
  2128. for x = 1, #list do
  2129. temp2 = list[x]
  2130. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2131. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2132. human = temp2:findFirstChildOfClass("Humanoid")
  2133. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2134. if (temp.Position - POS).magnitude < dist then
  2135. torso = temp
  2136. dist = (temp.Position - POS).magnitude
  2137. end
  2138. end
  2139. end
  2140. end
  2141. return torso, dist
  2142. end
  2143. for i = 1, 40 do
  2144. if HUMAN.Health == 0 then
  2145. break
  2146. end
  2147. wait(0.3)
  2148. local target,dist= findNearestTorso(TORSO.Position)
  2149. if target then
  2150. HUMAN:MoveTo(target.Position)
  2151. if dist < 999 then
  2152. CreateSound(348663022, TORSO, 10, 1, true)
  2153. wait(0.5)
  2154. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2155. --ANIM:Play()
  2156. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2157. ApplyAoE(TORSO.Position,10,0,0,85,false)
  2158. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  2159. for i = 1, 5 do
  2160. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2161. end
  2162. break
  2163. end
  2164. end
  2165. end
  2166. MINION:remove()
  2167. end))
  2168. end
  2169. elseif RANDOMEFFECT == 4 then
  2170. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2171. FIELD.Color = C3(0,0,0)
  2172. FIELD.CFrame = BASE.CFrame
  2173. MakeForm(FIELD,"Ball")
  2174. FIELD.CanCollide = true
  2175. for i = 1, 50 do
  2176. Swait()
  2177. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2178. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2179. end
  2180. wait(0.2)
  2181. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2182. coroutine.resume(coroutine.create(function()
  2183. local E = 0
  2184. for i = 1, 75 do
  2185. E = E + 1
  2186. Swait()
  2187. if E >= 35 then
  2188. E = 0
  2189. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2190. end
  2191. LOOP.Volume = LOOP.Volume + 10/75
  2192. LOOP.Parent = FIELD
  2193. local CHILDREN = workspace:GetDescendants()
  2194. for index, CHILD in pairs(CHILDREN) do
  2195. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2196. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2197. if HUM then
  2198. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2199. if TORSO then
  2200. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2201. for _, c in pairs(CHILD:GetChildren()) do
  2202. if c:IsA("BasePart") then
  2203. local bv = Instance.new("BodyVelocity")
  2204. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2205. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2206. bv.Parent = c
  2207. Debris:AddItem(bv,0.05)
  2208. end
  2209. end
  2210. HUM.Health = HUM.Health - 0.3
  2211. end
  2212. end
  2213. end
  2214. end
  2215. end
  2216. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2217. end
  2218. for i = 1, 180 do
  2219. E = E + 1
  2220. Swait()
  2221. if E >= 35 then
  2222. E = 0
  2223. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2224. end
  2225. LOOP.Parent = FIELD
  2226. local CHILDREN = workspace:GetDescendants()
  2227. for index, CHILD in pairs(CHILDREN) do
  2228. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2229. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2230. if HUM then
  2231. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2232. if TORSO then
  2233. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2234. for _, c in pairs(CHILD:GetChildren()) do
  2235. if c:IsA("BasePart") then
  2236. local bv = Instance.new("BodyVelocity")
  2237. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2238. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2239. bv.Parent = c
  2240. Debris:AddItem(bv,0.05)
  2241. end
  2242. end
  2243. HUM.Health = HUM.Health - 0.3
  2244. end
  2245. end
  2246. end
  2247. end
  2248. end
  2249. end
  2250. ApplyAoE(FIELD.Position,40,15,20,375,false)
  2251. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  2252. for i = 1, 5 do
  2253. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2254. end
  2255. FIELD:remove()
  2256. end))
  2257. elseif RANDOMEFFECT == 5 then
  2258. end
  2259. wait(0.5)
  2260. for i = 1, 25 do
  2261. Swait()
  2262. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2263. end
  2264. PANDORASBOX:remove()
  2265. RINGSPIN = false
  2266. end))
  2267. ATTACK = false
  2268. Rooted = false
  2269. end
  2270. end
  2271.  
  2272. function WarpMeteor()
  2273. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2274. if DIST > 9999 then
  2275. DIST = 9999
  2276. end
  2277. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2278. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  2279. if HITFLOOR then
  2280. local POS = HITPOS
  2281. ATTACK = true
  2282. Rooted = false
  2283. local WARPED = false
  2284. local SMASHED = false
  2285. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2286. coroutine.resume(coroutine.create(function()
  2287. repeat
  2288. Swait()
  2289. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2290. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2291. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2292. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2293. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2294. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2295. until WARPED == true
  2296. repeat
  2297. Swait()
  2298. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2299. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2300. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2301. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2302. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2303. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2304. until SMASHED == true
  2305. repeat
  2306. Swait()
  2307. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2308. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  2309. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2310. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2311. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2312. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2313. until ATTACK == false
  2314. end))
  2315. VALUE1 = true
  2316. CreateSound(233856115, Torso, 5, 1.6, false)
  2317. for i = 1, 25 do
  2318. Swait()
  2319. for _, c in pairs(Character:GetChildren()) do
  2320. if c.ClassName == "Part" then
  2321. c.Transparency = c.Transparency + 1/25
  2322. end
  2323. end
  2324. for _, c in pairs(Weapon:GetChildren()) do
  2325. if c.ClassName == "Part" then
  2326. c.Transparency = c.Transparency + 1/25
  2327. end
  2328. end
  2329. end
  2330. UNANCHOR = false
  2331. RootPart.Anchored = true
  2332. RootPart.Velocity = VT(0,0,0)
  2333. local ROOTPOS = RootPart.Position
  2334. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2335. WARPED = true
  2336. for i = 1, 25 do
  2337. Swait()
  2338. for _, c in pairs(Character:GetChildren()) do
  2339. if c.ClassName == "Part" then
  2340. c.Transparency = c.Transparency - 1/25
  2341. end
  2342. end
  2343. for _, c in pairs(Weapon:GetChildren()) do
  2344. if c.ClassName == "Part" then
  2345. c.Transparency = c.Transparency - 1/25
  2346. end
  2347. end
  2348. end
  2349. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Mid grey", "Part", VT(0,0,0))
  2350. SHELL.CFrame = RootPart.CFrame
  2351. MakeForm(SHELL,"Ball")
  2352. CreateSound(402981977, SHELL, 5, 1.6, false)
  2353. for i = 1, 10 do
  2354. Swait()
  2355. SHELL.Transparency = SHELL.Transparency - 1/10
  2356. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2357. end
  2358. for i = 1, math.ceil(75/2) do
  2359. Swait()
  2360. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2361. SHELL.CFrame = CF(RootPart.Position)
  2362. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2363. end
  2364. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2365. SHELL.CFrame = CF(RootPart.Position)
  2366. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2367. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2368. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2369. for i = 1, 5 do
  2370. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2371. end
  2372. SHELL:remove()
  2373. ApplyAoE(RootPart.Position,75,35,75,175,false)
  2374. SMASHED = true
  2375. wait(1)
  2376. VALUE1 = false
  2377. UNANCHOR = true
  2378. ATTACK = false
  2379. Rooted = false
  2380. end
  2381. end
  2382.  
  2383. function ChainPunch()
  2384. ATTACK = true
  2385. Rooted = false
  2386. local GYRO = IT("BodyGyro",RootPart)
  2387. GYRO.D = 25
  2388. GYRO.P = 2000
  2389. GYRO.MaxTorque = VT(0,40000,0)
  2390. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2391. repeat
  2392. Swait()
  2393. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2394. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2395. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2396. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2397. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2398. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2399. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2400. until HOLD == true
  2401. local POS = Mouse.Hit.p
  2402. local CHAINS = false
  2403. local CHAINLINKS = {}
  2404. local A = IT("Attachment",RightArm)
  2405. A.Position = VT(1,-1,0)*SIZE
  2406. A.Orientation = VT(-90, -89.982, 0)
  2407. local B = IT("Attachment",RightArm)
  2408. B.Position = VT(-1,-1,0)*SIZE
  2409. B.Orientation = VT(-90, 89.988, 0)
  2410. local C = IT("Attachment",RightArm)
  2411. C.Position = VT(0.5,-1.3,0)*SIZE
  2412. C.Orientation = VT(-90, -89.982, 0)
  2413. local D = IT("Attachment",RightArm)
  2414. D.Position = VT(-0.5,-1.3,0)*SIZE
  2415. D.Orientation = VT(-90, 89.988, 0)
  2416. local LIGHT = IT("Attachment",RightArm)
  2417. LIGHT.Position = VT(0,-1,0)*SIZE
  2418. local LIGHT2 = IT("PointLight",LIGHT)
  2419. LIGHT2.Range = 7
  2420. LIGHT2.Brightness = 5
  2421. LIGHT2.Color = SKILLTEXTCOLOR
  2422. for i = 1, 2 do
  2423. local TWIST = -2
  2424. local START = A
  2425. local END = B
  2426. if i == 1 then
  2427. START = B
  2428. END = A
  2429. end
  2430. local ChainLink = IT("Beam",Torso)
  2431. ChainLink.Texture = "rbxassetid://73042633"
  2432. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2433. ChainLink.TextureSpeed = 1
  2434. ChainLink.Width0 = 1
  2435. ChainLink.Width1 = 1
  2436. ChainLink.TextureLength = 2.5
  2437. ChainLink.Attachment0 = START
  2438. ChainLink.Attachment1 = END
  2439. ChainLink.CurveSize0 = TWIST
  2440. ChainLink.CurveSize1 = TWIST
  2441. --ChainLink.FaceCamera = true
  2442. ChainLink.Segments = 45
  2443. ChainLink.Transparency = NumberSequence.new(1)
  2444. table.insert(CHAINLINKS,ChainLink)
  2445. end
  2446. for i = 1, 2 do
  2447. local TWIST = -1
  2448. local START = C
  2449. local END = D
  2450. if i == 1 then
  2451. START = D
  2452. END = C
  2453. end
  2454. local ChainLink = IT("Beam",Torso)
  2455. ChainLink.Texture = "rbxassetid://73042633"
  2456. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2457. ChainLink.TextureSpeed = 1
  2458. ChainLink.Width0 = 1
  2459. ChainLink.Width1 = 1
  2460. ChainLink.TextureLength = 5
  2461. ChainLink.Attachment0 = START
  2462. ChainLink.Attachment1 = END
  2463. ChainLink.CurveSize0 = TWIST
  2464. ChainLink.CurveSize1 = TWIST
  2465. --ChainLink.FaceCamera = true
  2466. ChainLink.Segments = 25
  2467. ChainLink.LightEmission = 0.5
  2468. ChainLink.Transparency = NumberSequence.new(1)
  2469. table.insert(CHAINLINKS,ChainLink)
  2470. end
  2471. coroutine.resume(coroutine.create(function()
  2472. repeat
  2473. Swait()
  2474. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2475. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2476. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2477. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2478. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2479. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2480. until CHAINS == true
  2481. repeat
  2482. Swait()
  2483. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2487. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2489. until ATTACK == false
  2490. for e = 1, 15 do
  2491. Swait()
  2492. for i = 1, #CHAINLINKS do
  2493. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2494. end
  2495. end
  2496. A:remove()
  2497. B:remove()
  2498. C:remove()
  2499. D:remove()
  2500. end))
  2501. CreateSound(233856115, RightArm, 5, 1.2, false)
  2502. for e = 1, 15 do
  2503. Swait()
  2504. for i = 1, #CHAINLINKS do
  2505. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2506. end
  2507. end
  2508. CHAINS = true
  2509. Rooted = false
  2510. wait(0.25)
  2511. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
  2512. FIST.Color = C3(1, 215/255, 1)
  2513. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2514. local LIGHT3 = IT("PointLight",FIST)
  2515. LIGHT3.Range = 7
  2516. LIGHT3.Brightness = 5
  2517. LIGHT3.Color = SKILLTEXTCOLOR
  2518. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2519. local FISTA = IT("Attachment",FIST)
  2520. FISTA.Position = VT(0.062, 0.977, 0)
  2521. local ChainLink = IT("Beam",Torso)
  2522. ChainLink.Texture = "rbxassetid://73042633"
  2523. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2524. ChainLink.TextureSpeed = 0
  2525. ChainLink.Width0 = 3
  2526. ChainLink.Width1 = 3
  2527. ChainLink.TextureLength = 12
  2528. ChainLink.Attachment0 = LIGHT
  2529. ChainLink.Attachment1 = FISTA
  2530. ChainLink.FaceCamera = true
  2531. ChainLink.Segments = 45
  2532. ChainLink.LightEmission = 0.5
  2533. ChainLink.Transparency = NumberSequence.new(0.25)
  2534. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2535. for i = 1, 85 do
  2536. Swait()
  2537. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2538. ChainLink.TextureLength = 12+(i*2)
  2539. ApplyAoE(FIST.Position,10,15,25,100,false)
  2540. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2541. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2542. if HITFLOOR ~= nil then
  2543. HITFLOOR:BreakJoints()
  2544. coroutine.resume(coroutine.create(function()
  2545. for i = 1, 15 do
  2546. Swait()
  2547. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2548. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2549. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2550. end
  2551. end))
  2552. break
  2553. end
  2554. end
  2555. coroutine.resume(coroutine.create(function()
  2556. for i = 1, 50 do
  2557. Swait()
  2558. FIST.Transparency = FIST.Transparency + 0.5/50
  2559. LIGHT3.Range = LIGHT3.Range - 7/50
  2560. end
  2561. FIST:remove()
  2562. end))
  2563. LIGHT:remove()
  2564. GYRO:remove()
  2565. ATTACK = false
  2566. Rooted = false
  2567. end
  2568.  
  2569. function CyberSmash()
  2570. ATTACK = true
  2571. Rooted = false
  2572. local GYRO = IT("BodyGyro",RootPart)
  2573. GYRO.D = 100
  2574. GYRO.P = 2000
  2575. GYRO.MaxTorque = VT(0,4000000,0)
  2576. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2577. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Royal Purple", "Block", VT(25,25,25))
  2578. SMASH.CanCollide = true
  2579. SMASH.Color = C3(0,0,0)
  2580. local EF = Instance.new("SelectionBox",SMASH)
  2581. EF.Adornee = SMASH
  2582. EF.Color = BrickColor.new("Really red")
  2583. EF.LineThickness = 0.2
  2584. EF.Transparency = 1
  2585. coroutine.resume(coroutine.create(function()
  2586. for i = 1, 20 do
  2587. Swait()
  2588. SMASH.Transparency = SMASH.Transparency - 0.05
  2589. EF.Transparency = SMASH.Transparency
  2590. end
  2591. end))
  2592. repeat
  2593. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  2594. Swait()
  2595. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  2596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2602. until HOLD == true and SMASH.Transparency lt 0.99
  2603. for i = 1, 25 do
  2604. Swait()
  2605. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  2606. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2607. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2608. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2609. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2610. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2611. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2612. end
  2613. local TOCH = SMASH.Touched:Connect(function(hit)
  2614. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  2615. Shatter(hit)
  2616. end
  2617. end)
  2618. local n0 = nil
  2619. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  2620. if HITFLOOR ~= nil then
  2621. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  2622. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2623. if HITFLOOR.Parent.ClassName == "Model" then
  2624. HITFLOOR.Parent:BreakJoints()
  2625. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  2626. HITFLOOR.Parent.Parent:BreakJoints()
  2627. end
  2628. end
  2629. local POS = HITPOS
  2630. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  2631. end
  2632. end
  2633. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  2634. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  2635. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  2636. for i = 1, 25 do
  2637. Swait()
  2638. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2639. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2640. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2641. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2642. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2643. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2644. end
  2645. coroutine.resume(coroutine.create(function()
  2646. wait(0.2)
  2647. TOCH:disconnect()
  2648. wait(1.8)
  2649. for i = 1, 100 do
  2650. Swait()
  2651. SMASH.Transparency = i/100
  2652. end
  2653. for i = 1, 10 do
  2654. Swait()
  2655. EF.Transparency = EF.Transparency + 0.1
  2656. end
  2657. SMASH:remove()
  2658. end))
  2659. GYRO:remove()
  2660. ATTACK = false
  2661. Rooted = false
  2662. end
  2663.  
  2664. function Banisher_Bullet()
  2665. ATTACK = true
  2666. Rooted = false
  2667. for i=0, 0.4, 0.1 / Animation_Speed do
  2668. Swait()
  2669. turnto(Mouse.Hit.p)
  2670. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2671. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2672. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2673. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2674. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2675. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2676. end
  2677. repeat
  2678. for i=0, 0.2, 0.1 / Animation_Speed do
  2679. Swait()
  2680. turnto(Mouse.Hit.p)
  2681. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2682. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2683. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2684. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2685. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2686. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2687. end
  2688. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2689. SpawnTrail(Hole2.Position,POS)
  2690. if HIT ~= nil then
  2691. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2692. Banish(HIT.Parent)
  2693. end
  2694. end
  2695. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2696. SpawnTrail(Hole.Position,POS)
  2697. if HIT ~= nil then
  2698. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2699. Banish(HIT.Parent)
  2700. end
  2701. end
  2702. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2703. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2704. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2705. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2706. for i=0, 0.3, 0.1 / Animation_Speed do
  2707. Swait()
  2708. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2709. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2710. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2711. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2712. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2713. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2714. end
  2715. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2716. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2717. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2718. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2719. until KEYHOLD == false
  2720. ATTACK = false
  2721. Rooted = false
  2722. end
  2723.  
  2724. function AttackTemplate()
  2725. ATTACK = true
  2726. Rooted = false
  2727. for i=0, 1, 0.1 / Animation_Speed do
  2728. Swait()
  2729. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2730. 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)
  2731. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2732. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2733. 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)
  2734. 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)
  2735. end
  2736. ATTACK = false
  2737. Rooted = false
  2738. end
  2739.  
  2740. --//=================================\\
  2741. --|| ASSIGN THINGS TO KEYS
  2742. --\\=================================//
  2743.  
  2744. function MouseDown(Mouse)
  2745. if ATTACK == false then
  2746. end
  2747. end
  2748.  
  2749. function MouseUp(Mouse)
  2750. HOLD = false
  2751. end
  2752.  
  2753. function KeyDown(Key)
  2754. KEYHOLD = true
  2755. if Key == "z" and ATTACK == false then
  2756. Banisher_Bullet()
  2757. end
  2758.  
  2759. if Key == "q" and ATTACK == false then
  2760. CyberSmash()
  2761. end
  2762.  
  2763. if Key == "k" and ATTACK == false then
  2764. ChainPunch()
  2765. end
  2766.  
  2767. if Key == "u" and ATTACK == false then
  2768. WarpMeteor()
  2769. end
  2770.  
  2771. if Key == "p" and ATTACK == false then
  2772. PandorasBox()
  2773. end
  2774.  
  2775. if Key == "r" and ATTACK == false then
  2776. TimesUp()
  2777. end
  2778.  
  2779. if Key == "b" and ATTACK == false then
  2780. Neck_Snap()
  2781. end
  2782.  
  2783. if Key == "c" and ATTACK == false then
  2784. ShadowCloak()
  2785. end
  2786.  
  2787. if Key == "v" and ATTACK == false then
  2788. end
  2789.  
  2790. if Key == "x" and ATTACK == false then
  2791. end
  2792. end
  2793.  
  2794. function KeyUp(Key)
  2795. KEYHOLD = false
  2796. end
  2797.  
  2798. Mouse.Button1Down:connect(function(NEWKEY)
  2799. MouseDown(NEWKEY)
  2800. end)
  2801. Mouse.Button1Up:connect(function(NEWKEY)
  2802. MouseUp(NEWKEY)
  2803. end)
  2804. Mouse.KeyDown:connect(function(NEWKEY)
  2805. KeyDown(NEWKEY)
  2806. end)
  2807. Mouse.KeyUp:connect(function(NEWKEY)
  2808. KeyUp(NEWKEY)
  2809. end)
  2810.  
  2811. --//=================================\\
  2812. --\\=================================//
  2813.  
  2814.  
  2815. function unanchor()
  2816. if UNANCHOR == true then
  2817. g = Character:GetChildren()
  2818. for i = 1, #g do
  2819. if g[i].ClassName == "Part" then
  2820. g[i].Anchored = false
  2821. end
  2822. end
  2823. end
  2824. end
  2825.  
  2826.  
  2827. --//=================================\\
  2828. --|| WRAP THE WHOLE SCRIPT UP
  2829. --\\=================================//
  2830.  
  2831. Humanoid.Changed:connect(function(Jump)
  2832. if Jump == "Jump" and (Disable_Jump == true) then
  2833. Humanoid.Jump = false
  2834. end
  2835. end)
  2836.  
  2837. local CONNECT = nil
  2838.  
  2839. while true do
  2840. Swait()
  2841. ANIMATE.Parent = nil
  2842. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2843. Humanoid = IT("Humanoid",Character)
  2844. end
  2845. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2846. v:Stop();
  2847. end
  2848. SINE = SINE + CHANGE
  2849. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2850. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2851. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2852. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2853. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2854. 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)
  2855. 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)
  2856. 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)
  2857. 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)
  2858. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2859. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2860. 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)
  2861. 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)
  2862. 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)
  2863. end
  2864. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2865. ANIM = "Jump"
  2866. if ATTACK == false then
  2867. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2868. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2869. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2870. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2871. 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)
  2872. 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)
  2873. end
  2874. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2875. ANIM = "Fall"
  2876. if ATTACK == false then
  2877. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2878. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2879. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2880. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2881. 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)
  2882. 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)
  2883. end
  2884. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2885. ANIM = "Idle"
  2886. if ATTACK == false then
  2887. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2888. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2889. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(-85 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2890. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(35), RAD(15 - 2.5 * SIN(SINE / 12)), RAD(85 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2891. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2892. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2893. end
  2894. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2895. ANIM = "Walk"
  2896. if ATTACK == false then
  2897. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2898. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2899. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2900. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2901. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2902. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2903. end
  2904. end
  2905. unanchor()
  2906. Humanoid.MaxHealth = "inf"
  2907. Humanoid.Health = "inf"
  2908. if Rooted == false then
  2909. Disable_Jump = false
  2910. Humanoid.WalkSpeed = Speed
  2911. elseif Rooted == true then
  2912. Disable_Jump = true
  2913. Humanoid.WalkSpeed = 0
  2914. end
  2915. sick.Parent = Torso
  2916. sick:resume()
  2917. sick.Volume = 5
  2918. sick.Pitch = 1
  2919. sick.SoundId = "rbxassetid://382893859"
  2920. sick.Name = "BanishV3Music"
  2921. end
  2922.  
  2923. --//=================================\\
  2924. --\\=================================//
  2925.  
  2926.  
  2927.  
  2928.  
  2929.  
  2930. --//====================================================\\--
  2931. --|| END OF SCRIPT
  2932. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement