Advertisement
rivahaviz

Untitled

Jul 7th, 2018
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 95.64 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. local Player = game.Players.localPlayer
  6. local Character = Player.Character
  7. local Humanoid = Character.Humanoid
  8. local Mouse = Player:GetMouse()
  9. local LeftArm = Character["Left Arm"]
  10. local RightArm = Character["Right Arm"]
  11. local LeftLeg = Character["Left Leg"]
  12. local RightLeg = Character["Right Leg"]
  13. local Head = Character.Head
  14. local Torso = Character.Torso
  15. local Camera = game.Workspace.CurrentCamera
  16. local RootPart = Character.HumanoidRootPart
  17. local RootJoint = RootPart.RootJoint
  18. local attack = false
  19. local Anim = 'Idle'
  20. local Lighty = game:GetService"Lighting"
  21. local attacktype = 1
  22. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  23. local velocity = RootPart.Velocity.y
  24. local sine = 0
  25. local change = 1
  26. local Create = LoadLibrary("RbxUtility").Create
  27.  
  28. local chara = Character
  29. local m = Create("Model"){
  30. Parent = Character,
  31. Name = "WeaponModel",
  32. }
  33. function chat(...)
  34. local txxt = {...}
  35. local ch = coroutine.wrap(function()
  36. if chara:FindFirstChild("Chatt")~= nil then
  37. Character:FindFirstChild("Chatt"):destroy()
  38. end
  39. local txt = Instance.new("BillboardGui", chara)
  40. txt.Adornee = chara.Head
  41. txt.Name = "Chatt"
  42. txt.Size = UDim2.new(2, 0, 1.2, 0)
  43. txt.StudsOffset = Vector3.new(-9, 7, 0)
  44. local text = Instance.new("TextLabel", txt)
  45. text.Size = UDim2.new(10, 0, 7, 0)
  46. text.TextSize = 32
  47. text.Font = Enum.Font.Antique
  48. text.TextScaled = false
  49. text.BackgroundTransparency = 1
  50. text.TextColor3 = Color3.new(0,0,0)
  51. text.TextStrokeTransparency = 0
  52. text.TextStrokeColor3 = Color3.new(66/255, 0/255, 127/255)
  53. text.Text = ""
  54. txxt = table.concat(txxt,"\t")
  55. for i = 1, #txxt do
  56. text.Text = txxt:sub(1,i)
  57.  
  58. end
  59. wait(2)
  60. for trans = 0,1,00.1 do
  61. text.TextTransparency = trans
  62. text.TextStrokeTransparency = trans
  63. wait()
  64. end
  65. wait()
  66. txt:destroy()
  67. end)
  68.  
  69. ch(...)
  70. end
  71. --Player.Chatted:connect(chat)
  72.  
  73. wait(0.2)
  74.  
  75. Player = game:GetService("Players").LocalPlayer
  76. PlayerGui = Player.PlayerGui
  77. Cam = workspace.CurrentCamera
  78. Backpack = Player.Backpack
  79. Character = Player.Character
  80. Humanoid = Character.Humanoid
  81. Mouse = Player:GetMouse()
  82. RootPart = Character["HumanoidRootPart"]
  83. Torso = Character["Torso"]
  84. Head = Character["Head"]
  85. RightArm = Character["Right Arm"]
  86. LeftArm = Character["Left Arm"]
  87. RightLeg = Character["Right Leg"]
  88. LeftLeg = Character["Left Leg"]
  89. RootJoint = RootPart["RootJoint"]
  90. Neck = Torso["Neck"]
  91. RightShoulder = Torso["Right Shoulder"]
  92. LeftShoulder = Torso["Left Shoulder"]
  93. RightHip = Torso["Right Hip"]
  94. LeftHip = Torso["Left Hip"]
  95. Character.Archivable = true
  96. Player:ClearCharacterAppearance()
  97.  
  98. IT = Instance.new
  99. CF = CFrame.new
  100. VT = Vector3.new
  101. RAD = math.rad
  102. C3 = Color3.new
  103. UD2 = UDim2.new
  104. BRICKC = BrickColor.new
  105. ANGLES = CFrame.Angles
  106. EULER = CFrame.fromEulerAnglesXYZ
  107. COS = math.cos
  108. ACOS = math.acos
  109. SIN = math.sin
  110. ASIN = math.asin
  111. ABS = math.abs
  112. MRANDOM = math.random
  113. FLOOR = math.floor
  114.  
  115. --//=================================\\
  116. --|| USEFUL VALUES
  117. --\\=================================//
  118.  
  119. Animation_Speed = 1
  120. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  121. local Speed = 30
  122. local SIZE = 1.4
  123. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  124. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  125. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  126. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  127. local DAMAGEMULTIPLIER = 5
  128. local ANIM = "Idle"
  129. local ATTACK = false
  130. local EQUIPPED = false
  131. local HOLD = false
  132. local COMBO = 1
  133. local Rooted = false
  134. local SINE = 0
  135. local KEYHOLD = false
  136. local CHANGE = 2 / Animation_Speed
  137. local WALKINGANIM = false
  138. local VALUE1 = false
  139. local VALUE2 = false
  140. local ROBLOXIDLEANIMATION = IT("Animation")
  141. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  142. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  143. local ATANIM = IT("Animation")
  144. ATANIM.Name = "Attack Animation"
  145. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  146. --ROBLOXIDLEANIMATION.Parent = Humanoid
  147. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  148. WEAPONGUI.Name = "Weapon GUI"
  149. local Weapon = IT("Model")
  150. Weapon.Name = "Adds"
  151. local Effects = IT("Folder", Weapon)
  152. Effects.Name = "Effects"
  153. local ANIMATOR = Humanoid.Animator
  154. local ANIMATE = Character.Animate
  155. local UNANCHOR = true
  156. local CLOCKLOOP = 0
  157. local SONG = 1382488262
  158. local CLOCKTARGET = nil
  159. local CLOCKSPEED = 2.5
  160. script.Parent = WEAPONGUI
  161. local CLONE = Character:Clone()
  162. CLONE.Parent = nil
  163. Character.Archivable = false
  164. local sick = Instance.new("Sound",Torso)
  165. sick.Volume = 50
  166.  
  167. --//=================================\\
  168. --\\=================================//
  169.  
  170.  
  171. --//=================================\\
  172. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  173. --\\=================================//
  174.  
  175. ArtificialHB = Instance.new("BindableEvent", script)
  176. ArtificialHB.Name = "ArtificialHB"
  177.  
  178. script:WaitForChild("ArtificialHB")
  179.  
  180. frame = Frame_Speed
  181. tf = 0
  182. allowframeloss = false
  183. tossremainder = false
  184. lastframe = tick()
  185. script.ArtificialHB:Fire()
  186.  
  187. game:GetService("RunService").Heartbeat:connect(function(s, p)
  188. tf = tf + s
  189. if tf >= frame then
  190. if allowframeloss then
  191. script.ArtificialHB:Fire()
  192. lastframe = tick()
  193. else
  194. for i = 1, math.floor(tf / frame) do
  195. script.ArtificialHB:Fire()
  196. end
  197. lastframe = tick()
  198. end
  199. if tossremainder then
  200. tf = 0
  201. else
  202. tf = tf - frame * math.floor(tf / frame)
  203. end
  204. end
  205. end)
  206.  
  207. --//=================================\\
  208. --\\=================================//
  209.  
  210. --//=================================\\
  211. --|| SOME FUNCTIONS
  212. --\\=================================//
  213. local TrailColors = {
  214. Color3.fromRGB(255, 176, 0),
  215. Color3.fromRGB(255, 255, 0)
  216. }
  217.  
  218. function CharacterFade(COLOR,TIMER)
  219. coroutine.resume(coroutine.create(function()
  220. local FADE = IT("Model",Effects)
  221. for _, c in pairs(Character:GetChildren()) do
  222. if c.ClassName == "Part" and c ~= RootPart then
  223. local FADER = c:Clone()
  224. FADER.Color = COLOR
  225. FADER.CFrame = c.CFrame
  226. FADER.Parent = FADE
  227. FADER.Anchored = true
  228. FADER.Transparency = 0.25
  229. FADER:BreakJoints()
  230. FADER.CanCollide = false
  231. FADER.Material = "Neon"
  232. FADER:ClearAllChildren()
  233. if FADER.Name == "Head" then
  234. FADER.Size = VT(1,1,1)
  235. end
  236. end
  237. end
  238. local TRANS = 0.75/TIMER
  239. for i = 1, TIMER do
  240. Swait()
  241. for _, c in pairs(FADE:GetChildren()) do
  242. if c.ClassName == "Part" then
  243. c.Transparency = c.Transparency + TRANS
  244. end
  245. end
  246. end
  247. FADE:remove()
  248. end))
  249. end
  250.  
  251. coroutine.resume(coroutine.create(function()
  252. while wait(.1) do
  253. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  254. if TORSOVELOCITY > 11 then
  255. CharacterFade(TrailColors[math.random(1,2)], 35)
  256. end
  257. end
  258. end))
  259.  
  260. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  261. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  262. end
  263.  
  264. function PositiveAngle(NUMBER)
  265. if NUMBER >= 0 then
  266. NUMBER = 0
  267. end
  268. return NUMBER
  269. end
  270.  
  271. function NegativeAngle(NUMBER)
  272. if NUMBER <= 0 then
  273. NUMBER = 0
  274. end
  275. return NUMBER
  276. end
  277.  
  278. function Swait(NUMBER)
  279. if NUMBER == 0 or NUMBER == nil then
  280. ArtificialHB.Event:wait()
  281. else
  282. for i = 1, NUMBER do
  283. ArtificialHB.Event:wait()
  284. end
  285. end
  286. end
  287.  
  288. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  289. local NEWMESH = IT(MESH)
  290. if MESH == "SpecialMesh" then
  291. NEWMESH.MeshType = MESHTYPE
  292. if MESHID ~= "nil" and MESHID ~= "" then
  293. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  294. end
  295. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  296. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  297. end
  298. end
  299. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  300. NEWMESH.Scale = SCALE
  301. NEWMESH.Parent = PARENT
  302. return NEWMESH
  303. end
  304.  
  305. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  306. local NEWPART = IT("Part")
  307. NEWPART.formFactor = FORMFACTOR
  308. NEWPART.Reflectance = REFLECTANCE
  309. NEWPART.Transparency = TRANSPARENCY
  310. NEWPART.CanCollide = false
  311. NEWPART.Locked = true
  312. NEWPART.Anchored = true
  313. if ANCHOR == false then
  314. NEWPART.Anchored = false
  315. end
  316. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  317. NEWPART.Name = NAME
  318. NEWPART.Size = SIZE
  319. NEWPART.Position = Torso.Position
  320. NEWPART.Material = MATERIAL
  321. NEWPART:BreakJoints()
  322. NEWPART.Parent = PARENT
  323. return NEWPART
  324. end
  325.  
  326. local function weldBetween(a, b)
  327. local weldd = Instance.new("ManualWeld")
  328. weldd.Part0 = a
  329. weldd.Part1 = b
  330. weldd.C0 = CFrame.new()
  331. weldd.C1 = b.CFrame:inverse() * a.CFrame
  332. weldd.Parent = a
  333. return weldd
  334. end
  335.  
  336.  
  337. function QuaternionFromCFrame(cf)
  338. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  339. local trace = m00 + m11 + m22
  340. if trace > 0 then
  341. local s = math.sqrt(1 + trace)
  342. local recip = 0.5 / s
  343. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  344. else
  345. local i = 0
  346. if m11 > m00 then
  347. i = 1
  348. end
  349. if m22 > (i == 0 and m00 or m11) then
  350. i = 2
  351. end
  352. if i == 0 then
  353. local s = math.sqrt(m00 - m11 - m22 + 1)
  354. local recip = 0.5 / s
  355. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  356. elseif i == 1 then
  357. local s = math.sqrt(m11 - m22 - m00 + 1)
  358. local recip = 0.5 / s
  359. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  360. elseif i == 2 then
  361. local s = math.sqrt(m22 - m00 - m11 + 1)
  362. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  363. end
  364. end
  365. end
  366.  
  367. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  368. local xs, ys, zs = x + x, y + y, z + z
  369. local wx, wy, wz = w * xs, w * ys, w * zs
  370. local xx = x * xs
  371. local xy = x * ys
  372. local xz = x * zs
  373. local yy = y * ys
  374. local yz = y * zs
  375. local zz = z * zs
  376. 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))
  377. end
  378.  
  379. function QuaternionSlerp(a, b, t)
  380. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  381. local startInterp, finishInterp;
  382. if cosTheta >= 0.0001 then
  383. if (1 - cosTheta) > 0.0001 then
  384. local theta = ACOS(cosTheta)
  385. local invSinTheta = 1 / SIN(theta)
  386. startInterp = SIN((1 - t) * theta) * invSinTheta
  387. finishInterp = SIN(t * theta) * invSinTheta
  388. else
  389. startInterp = 1 - t
  390. finishInterp = t
  391. end
  392. else
  393. if (1 + cosTheta) > 0.0001 then
  394. local theta = ACOS(-cosTheta)
  395. local invSinTheta = 1 / SIN(theta)
  396. startInterp = SIN((t - 1) * theta) * invSinTheta
  397. finishInterp = SIN(t * theta) * invSinTheta
  398. else
  399. startInterp = t - 1
  400. finishInterp = t
  401. end
  402. end
  403. 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
  404. end
  405.  
  406. function Clerp(a, b, t)
  407. local qa = {QuaternionFromCFrame(a)}
  408. local qb = {QuaternionFromCFrame(b)}
  409. local ax, ay, az = a.x, a.y, a.z
  410. local bx, by, bz = b.x, b.y, b.z
  411. local _t = 1 - t
  412. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  413. end
  414.  
  415. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  416. local frame = IT("Frame")
  417. frame.BackgroundTransparency = TRANSPARENCY
  418. frame.BorderSizePixel = BORDERSIZEPIXEL
  419. frame.Position = POSITION
  420. frame.Size = SIZE
  421. frame.BackgroundColor3 = COLOR
  422. frame.BorderColor3 = BORDERCOLOR
  423. frame.Name = NAME
  424. frame.Parent = PARENT
  425. return frame
  426. end
  427.  
  428. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  429. local label = IT("TextLabel")
  430. label.BackgroundTransparency = 1
  431. label.Size = UD2(1, 0, 1, 0)
  432. label.Position = UD2(0, 0, 0, 0)
  433. label.TextColor3 = TEXTCOLOR
  434. label.TextStrokeTransparency = STROKETRANSPARENCY
  435. label.TextTransparency = TRANSPARENCY
  436. label.FontSize = TEXTFONTSIZE
  437. label.Font = TEXTFONT
  438. label.BorderSizePixel = BORDERSIZEPIXEL
  439. label.TextStrokeColor3 = C3(1,1,1)
  440. label.TextScaled = false
  441. label.Text = TEXT
  442. label.Name = NAME
  443. label.Parent = PARENT
  444. return label
  445. end
  446.  
  447. function NoOutlines(PART)
  448. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  449. end
  450.  
  451. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  452. local NEWWELD = IT(TYPE)
  453. NEWWELD.Part0 = PART0
  454. NEWWELD.Part1 = PART1
  455. NEWWELD.C0 = C0
  456. NEWWELD.C1 = C1
  457. NEWWELD.Parent = PARENT
  458. return NEWWELD
  459. end
  460.  
  461. local S = IT("Sound")
  462. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  463. local NEWSOUND = nil
  464. coroutine.resume(coroutine.create(function()
  465. NEWSOUND = S:Clone()
  466. NEWSOUND.Parent = PARENT
  467. NEWSOUND.Volume = VOLUME
  468. NEWSOUND.Pitch = PITCH
  469. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  470. NEWSOUND:play()
  471. if DOESLOOP == true then
  472. NEWSOUND.Looped = true
  473. else
  474. repeat wait(1) until NEWSOUND.Playing == false
  475. NEWSOUND:remove()
  476. end
  477. end))
  478. return NEWSOUND
  479. end
  480.  
  481. function CFrameFromTopBack(at, top, back)
  482. local right = top:Cross(back)
  483. 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)
  484. end
  485.  
  486. --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})
  487. function WACKYEFFECT(Table)
  488. local TYPE = (Table.EffectType or "Sphere")
  489. local SIZE = (Table.Size or VT(1,1,1))
  490. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  491. local TRANSPARENCY = (Table.Transparency or 0)
  492. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  493. local CFRAME = (Table.CFrame or Torso.CFrame)
  494. local MOVEDIRECTION = (Table.MoveToPos or nil)
  495. local ROTATION1 = (Table.RotationX or 0)
  496. local ROTATION2 = (Table.RotationY or 0)
  497. local ROTATION3 = (Table.RotationZ or 0)
  498. local MATERIAL = (Table.Material or "Neon")
  499. local COLOR = (Table.Color or C3(1,1,1))
  500. local TIME = (Table.Time or 45)
  501. local SOUNDID = (Table.SoundID or nil)
  502. local SOUNDPITCH = (Table.SoundPitch or nil)
  503. local SOUNDVOLUME = (Table.SoundVolume or nil)
  504. coroutine.resume(coroutine.create(function()
  505. local PLAYSSOUND = false
  506. local SOUND = nil
  507. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  508. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  509. PLAYSSOUND = true
  510. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  511. end
  512. EFFECT.Color = COLOR
  513. local MSH = nil
  514. if TYPE == "Sphere" then
  515. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  516. elseif TYPE == "Block" then
  517. MSH = IT("BlockMesh",EFFECT)
  518. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  519. elseif TYPE == "Wave" then
  520. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  521. elseif TYPE == "Ring" then
  522. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  523. elseif TYPE == "Slash" then
  524. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  525. elseif TYPE == "Round Slash" then
  526. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  527. elseif TYPE == "Swirl" then
  528. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  529. elseif TYPE == "Skull" then
  530. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  531. elseif TYPE == "Crystal" then
  532. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  533. end
  534. if MSH ~= nil then
  535. local MOVESPEED = nil
  536. if MOVEDIRECTION ~= nil then
  537. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  538. end
  539. local GROWTH = SIZE - ENDSIZE
  540. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  541. if TYPE == "Block" then
  542. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  543. else
  544. EFFECT.CFrame = CFRAME
  545. end
  546. for LOOP = 1, TIME+1 do
  547. Swait()
  548. MSH.Scale = MSH.Scale - GROWTH/TIME
  549. if TYPE == "Wave" then
  550. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  551. end
  552. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  553. if TYPE == "Block" then
  554. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  555. else
  556. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  557. end
  558. if MOVEDIRECTION ~= nil then
  559. local ORI = EFFECT.Orientation
  560. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  561. EFFECT.Orientation = ORI
  562. end
  563. end
  564. if PLAYSSOUND == false then
  565. EFFECT:remove()
  566. else
  567. repeat Swait() until SOUND.Playing == false
  568. EFFECT:remove()
  569. end
  570. else
  571. if PLAYSSOUND == false then
  572. EFFECT:remove()
  573. else
  574. repeat Swait() until SOUND.Playing == false
  575. EFFECT:remove()
  576. end
  577. end
  578. end))
  579. end
  580.  
  581. function MakeForm(PART,TYPE)
  582. if TYPE == "Cyl" then
  583. local MSH = IT("CylinderMesh",PART)
  584. elseif TYPE == "Ball" then
  585. local MSH = IT("SpecialMesh",PART)
  586. MSH.MeshType = "Sphere"
  587. elseif TYPE == "Wedge" then
  588. local MSH = IT("SpecialMesh",PART)
  589. MSH.MeshType = "Wedge"
  590. end
  591. end
  592.  
  593. Debris = game:GetService("Debris")
  594.  
  595. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  596. local DIRECTION = CF(StartPos,EndPos).lookVector
  597. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  598. end
  599.  
  600. function turnto(position)
  601. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  602. end
  603.  
  604. --//=================================\\
  605. --|| WEAPON CREATION
  606. --\\=================================//
  607.  
  608. Humanoid.Parent = nil
  609. RootPart.Size = RootPart.Size*SIZE
  610. Torso.Size = Torso.Size*SIZE
  611. RightArm.Size = RightArm.Size*SIZE
  612. RightLeg.Size = RightLeg.Size*SIZE
  613. LeftArm.Size = LeftArm.Size*SIZE
  614. LeftLeg.Size = LeftLeg.Size*SIZE
  615. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  616. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  617. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  618. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  619. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  620. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  621. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  622. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  623. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  624. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  625. Head.Size = Head.Size*SIZE
  626. RootJoint.Parent = RootPart
  627. Neck.Parent = Torso
  628. RightShoulder.Parent = Torso
  629. LeftShoulder.Parent = Torso
  630. RightHip.Parent = Torso
  631. LeftHip.Parent = Torso
  632.  
  633. Humanoid.DisplayDistanceType = "None"
  634. local naeeym2 = IT("BillboardGui",Character)
  635. naeeym2.AlwaysOnTop = true
  636. naeeym2.Size = UDim2.new(5,35,2,15)
  637. naeeym2.StudsOffset = Vector3.new(0,2,0)
  638. naeeym2.MaxDistance = 75
  639. naeeym2.Adornee = Character.Head
  640. naeeym2.Name = "Name"
  641. local tecks2 = IT("TextLabel",naeeym2)
  642. tecks2.BackgroundTransparency = 1
  643. tecks2.TextScaled = true
  644. tecks2.BorderSizePixel = 0
  645. tecks2.Text = "Haste Pandora"
  646. tecks2.Font = "Fantasy"
  647. tecks2.TextSize = 30
  648. tecks2.TextStrokeTransparency = 0
  649. tecks2.TextColor3 = Color3.fromRGB(255, 176, 0)
  650. tecks2.TextStrokeColor3 = Color3.fromRGB(255, 255, 0)
  651. tecks2.Size = UDim2.new(1,0,0.5,0)
  652. tecks2.Parent = naeeym2
  653. local top = Instance.new("Shirt")
  654. top.ShirtTemplate = "rbxassetid://25936703"
  655. top.Parent = Character
  656. top.Name = "Cloth"
  657. local bottom = Instance.new("Pants")
  658. bottom.PantsTemplate = "rbxassetid://130023145"
  659. bottom.Parent = Character
  660. bottom.Name = "Cloth"
  661. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Deep orange ", "Hat", VT(1,1,1),false)
  662. PRT.Color = Color3.fromRGB(255, 176, 0)
  663. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  664. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  665. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  666. PRT.Color = Color3.fromRGB(255, 255, 0)
  667. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  668. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  669. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  670. PRT.Color = C3(66/255, 0/255, 127/255)
  671. MakeForm(PRT,"Ball")
  672. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  673. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  674. PRT.Color = C3(66/255, 0/255, 127/255)
  675. MakeForm(PRT,"Ball")
  676. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  677. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  678. PRT.Color = C3(66/255, 0/255, 127/255)
  679. MakeForm(PRT,"Ball")
  680. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  681. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  682. PRT.Color = C3(66/255, 0/255, 127/255)
  683. MakeForm(PRT,"Ball")
  684. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  685. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  686. PRT.Color = C3(66/255, 0/255, 127/255)
  687. MakeForm(PRT,"Ball")
  688. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  689. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  690. PRT.Color = C3(66/255, 0/255, 127/255)
  691. MakeForm(PRT,"Ball")
  692. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  693.  
  694. local LASTPART = Head
  695. for i = 1, 24 do
  696. local MATH = (1-(i/30))
  697. if LASTPART == Head then
  698. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  699. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  700. LASTPART = Horn
  701. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  702. else
  703. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  704. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  705. LASTPART = Horn
  706. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  707. end
  708. end
  709. local LASTPART = Head
  710. for i = 1, 24 do
  711. local MATH = (1-(i/30))
  712. if LASTPART == Head then
  713. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  714. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  715. LASTPART = Horn
  716. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  717. else
  718. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  719. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  720. LASTPART = Horn
  721. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  722. end
  723. end
  724. local LASTPART = Head
  725. for i = 1, 8 do
  726. local MATH = (1-(i/14))
  727. if LASTPART == Head then
  728. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  729. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  730. LASTPART = Horn
  731. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  732. else
  733. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  734. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  735. LASTPART = Horn
  736. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  737. end
  738. end
  739. local LASTPART = Head
  740. for i = 1, 8 do
  741. local MATH = (1-(i/14))
  742. if LASTPART == Head then
  743. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  744. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  745. LASTPART = Horn
  746. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  747. else
  748. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  749. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  750. LASTPART = Horn
  751. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  752. end
  753. end
  754. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  755. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  756. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  757. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  758. MakeForm(PRT,"Cyl")
  759. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  760. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  761. MakeForm(PRT,"Cyl")
  762. PRT.Color = C3(66/255, 0/255, 127/255)
  763. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  764. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  765. MakeForm(RING,"Cyl")
  766. RING.Color = C3(0,0,0)
  767. for i = 1, 12 do
  768. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  769. PRT.Color = C3(0,0,0)
  770. local MSH = IT("BlockMesh",PRT)
  771. MSH.Scale = VT(0.6,1,1)
  772. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  773. end
  774. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  775. PRT.Color = C3(0,0,0)
  776. local MSH = IT("BlockMesh",PRT)
  777. MSH.Scale = VT(0.4,1,1)
  778. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  779. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  780. PRT.Color = C3(0,0,0)
  781. local MSH = IT("BlockMesh",PRT)
  782. MSH.Scale = VT(0.4,1,1)
  783. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  784.  
  785. coroutine.resume(coroutine.create(function()
  786. while true do
  787. Swait()
  788. CLOCKLOOP = CLOCKLOOP - 5*CLOCKSPEED
  789. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  790. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  791. if CLOCKLOOP <= -150 then
  792. if VALUE1 == false then
  793. CLOCKLOOP = 0
  794. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  795. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  796. ApplyAoE(HITPOS,10,15,45,75,true)
  797. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  798. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = Color3.fromRGB(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  799. if CLOCKTARGET ~= nil then
  800. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  801. if CLOCKTARGET.Torso ~= nil then
  802. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  803. end
  804. if CLOCKTARGET.Health == 0 then
  805. CLOCKTARGET = nil
  806. end
  807. end
  808. end
  809. end
  810. end
  811. end))
  812.  
  813. for _, c in pairs(Weapon:GetChildren()) do
  814. if c.ClassName == "Part" then
  815. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  816. end
  817. end
  818.  
  819. Neck.Name = "Weld"
  820. RootJoint.Name = "Weld"
  821. RightShoulder.Name = "Weld"
  822. LeftShoulder.Name = "Weld"
  823. RightHip.Name = "Weld"
  824. LeftHip.Name = "Weld"
  825.  
  826. local BODY = {}
  827. for _, c in pairs(Character:GetDescendants()) do
  828. if c:IsA("BasePart") and c.Name ~= "Handle" then
  829. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  830. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  831. end
  832. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  833. elseif c:IsA("JointInstance") then
  834. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  835. end
  836. end
  837. for e = 1, #BODY do
  838. if BODY[e] ~= nil then
  839. local STUFF = BODY[e]
  840. local PART = STUFF[1]
  841. local PARENT = STUFF[2]
  842. local MATERIAL = STUFF[3]
  843. local COLOR = STUFF[4]
  844. local TRANSPARENCY = STUFF[5]
  845. if PART.ClassName == "Part" and PART ~= RootPart then
  846. PART.Material = MATERIAL
  847. PART.Color = COLOR
  848. PART.Transparency = TRANSPARENCY
  849. end
  850. PART.AncestryChanged:Connect(function()
  851. PART.Parent = PARENT
  852. end)
  853. end
  854. end
  855.  
  856. function refit()
  857. Character.Parent = workspace
  858. for e = 1, #BODY do
  859. if BODY[e] ~= nil then
  860. local STUFF = BODY[e]
  861. local PART = STUFF[1]
  862. local PARENT = STUFF[2]
  863. local MATERIAL = STUFF[3]
  864. local COLOR = STUFF[4]
  865. local TRANSPARENCY = STUFF[5]
  866. if PART.ClassName == "Part" and PART ~= RootPart then
  867. PART.Material = MATERIAL
  868. PART.Color = COLOR
  869. PART.Transparency = TRANSPARENCY
  870. end
  871. if PART.Parent ~= PARENT then
  872. Humanoid:remove()
  873. PART.Parent = PARENT
  874. Humanoid = IT("Humanoid",Character)
  875. end
  876. end
  877. end
  878. end
  879. local SKILLTEXTCOLOR = C3(66/255, 0/255, 127/255)
  880. local SKILLFONT = "Fantasy"
  881. local SKILLTEXTSIZE = 7
  882.  
  883. Weapon.Parent = Character
  884. Humanoid.Parent = Character
  885.  
  886. Humanoid.Died:connect(function()
  887. refit()
  888. end)
  889.  
  890. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  891. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  892. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  893. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  894. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  895.  
  896. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  897. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  898. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  899. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  900. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  901.  
  902. --//=================================\\
  903. --|| DAMAGING
  904. --\\=================================//
  905.  
  906. function ApplyDamage(Humanoid,Damage,TorsoPart)
  907. local defence = Instance.new("BoolValue",Humanoid.Parent)
  908. defence.Name = ("HitBy"..Player.Name)
  909. game:GetService("Debris"):AddItem(defence, 0.001)
  910. Damage = Damage * DAMAGEMULTIPLIER
  911. if Humanoid.Health ~= 0 then
  912. local CritChance = MRANDOM(1,100)
  913. if Damage > Humanoid.Health then
  914. Damage = math.ceil(Humanoid.Health)
  915. if Damage == 0 then
  916. Damage = 0.1
  917. end
  918. end
  919. Humanoid.Health = Humanoid.Health - Damage
  920. end
  921. end
  922.  
  923. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  924. local CHILDREN = workspace:GetDescendants()
  925. for index, CHILD in pairs(CHILDREN) do
  926. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  927. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  928. if HUM then
  929. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  930. if TORSO then
  931. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  932. if INSTAKILL == false then
  933. CHILD:BreakJoints()
  934. else
  935. local DMG = MRANDOM(MINDMG,MAXDMG)
  936. ApplyDamage(HUM,DMG,TORSO)
  937. end
  938. if FLING > 0 then
  939. for _, c in pairs(CHILD:GetChildren()) do
  940. if c:IsA("BasePart") then
  941. local bv = Instance.new("BodyVelocity")
  942. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  943. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  944. bv.Parent = c
  945. Debris:AddItem(bv,0.05)
  946. end
  947. end
  948. end
  949. end
  950. end
  951. end
  952. end
  953. end
  954. end
  955.  
  956. --//=================================\\
  957. --|| ATTACK FUNCTIONS AND STUFF
  958. --\\=================================//
  959.  
  960. function MagicMissiles()
  961. ATTACK = true
  962. Rooted = false
  963. local SELECTING = true
  964. local SPOTS = {}
  965. coroutine.resume(coroutine.create(function()
  966. local LOOP = 0
  967. repeat
  968. LOOP = LOOP + 1
  969. Swait()
  970. if LOOP >= 15 then
  971. LOOP = 0
  972. for i = 1, #SPOTS do
  973. if SPOTS[i] ~= nil then
  974. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  975. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  976. end
  977. end
  978. end
  979. 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 / 2)
  980. 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 / 2)
  981. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / 2)
  982. 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 / 2)
  983. 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 / 2)
  984. 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 / 2)
  985. until SELECTING == false
  986. Rooted = false
  987. repeat
  988. LOOP = LOOP + 1
  989. Swait()
  990. if LOOP >= 15 then
  991. LOOP = 0
  992. for i = 1, #SPOTS do
  993. if SPOTS[i] ~= nil then
  994. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  995. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  996. end
  997. end
  998. end
  999. 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 / 2)
  1000. 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 / 2)
  1001. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / 2)
  1002. 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 / 2)
  1003. 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 / 2)
  1004. 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 / 2)
  1005. until ATTACK == false
  1006. end))
  1007. repeat
  1008. repeat Swait() until HOLD == true
  1009. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1010. if DIST > 9999 then
  1011. DIST = 9999
  1012. end
  1013. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1014. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1015. if HITFLOOR ~= nil then
  1016. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1017. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1018. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1019. end
  1020. repeat Swait() until HOLD == false
  1021. until #SPOTS == 5
  1022. SELECTING = false
  1023. for i = 1, #SPOTS do
  1024. if SPOTS[i] ~= nil then
  1025. local POS = SPOTS[i]
  1026. coroutine.resume(coroutine.create(function()
  1027. local MISSILE = IT("Model",Effects)
  1028. MISSILE.Name = "Missile"
  1029. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Mid grey", "Part", VT(2,2,2))
  1030. MakeForm(BASEPART,"Cyl")
  1031. MISSILE.PrimaryPart = BASEPART
  1032. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1033. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Mid grey", "Part", VT(2,4,2))
  1034. MakeForm(HEAD,"Ball")
  1035. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1036. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Mid grey", "Part", VT(2.5,0.1,2.5))
  1037. MakeForm(TAIL,"Cyl")
  1038. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1039. for i = 1, 15 do
  1040. --Swait()
  1041. for _, c in pairs(MISSILE:GetChildren()) do
  1042. if c.ClassName == "Part" then
  1043. c.Transparency = c.Transparency - 1/10
  1044. end
  1045. end
  1046. end
  1047. for i = 1, 15*0.92 do
  1048. Swait()
  1049. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*5,0))
  1050. end
  1051. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  1052. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1053. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1054. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1055. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1056. MISSILE:remove()
  1057. end))
  1058. end
  1059. end
  1060. wait(0.6)
  1061. ATTACK = false
  1062. Rooted = false
  1063. end
  1064.  
  1065. function TimesUp()
  1066. CLOCKTARGET = nil
  1067. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1068. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1069. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1070. if TORSO then
  1071. ATTACK = true
  1072. Rooted = false
  1073. coroutine.resume(coroutine.create(function()
  1074. repeat
  1075. Swait()
  1076. 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)
  1077. 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)
  1078. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1079. 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)
  1080. 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)
  1081. 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)
  1082. until ATTACK == false
  1083. end))
  1084. if Effects:FindFirstChild("NeonDoll") then
  1085. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1086. end
  1087. wait(0.5)
  1088. local FAKECHARACTER = IT("Model",Effects)
  1089. FAKECHARACTER.Name = "NeonDoll"
  1090. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.3,0.3,0.15),false)
  1091. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1092. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1093. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1094. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1095. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1096. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1097. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1098. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1099. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1100. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.15,0.15),false)
  1101. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1102. CreateSound(201858045, TORS, 5, 0.4, false)
  1103. for i = 1, 50 do
  1104. Swait()
  1105. CLOCKSPEED = 2.5
  1106. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1107. if c.ClassName == "Part" then
  1108. c.Transparency = c.Transparency - 0.5/150
  1109. end
  1110. end
  1111. end
  1112. CLOCKTARGET = HUM
  1113. coroutine.resume(coroutine.create(function()
  1114. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1115. for i = 1, 25 do
  1116. Swait()
  1117. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1118. if c.ClassName == "Part" then
  1119. c.Transparency = c.Transparency + 0.5/25
  1120. end
  1121. end
  1122. end
  1123. CLOCKSPEED = 2.5
  1124. FAKECHARACTER:remove()
  1125. end))
  1126. wait(0.5)
  1127. ATTACK = false
  1128. Rooted = false
  1129. end
  1130. end
  1131. end
  1132.  
  1133. function ChainPunch()
  1134. ATTACK = true
  1135. Rooted = false
  1136. local GYRO = IT("BodyGyro",RootPart)
  1137. GYRO.D = 25
  1138. GYRO.P = 2000
  1139. GYRO.MaxTorque = VT(0,40000,0)
  1140. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1141. repeat
  1142. Swait()
  1143. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1144. 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 / 2)
  1145. 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 / 2)
  1146. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / 2)
  1147. 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 / 3)
  1148. 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 / 2)
  1149. 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 / 2)
  1150. until HOLD == true
  1151. local POS = Mouse.Hit.p
  1152. local CHAINS = false
  1153. local CHAINLINKS = {}
  1154. local A = IT("Attachment",RightArm)
  1155. A.Position = VT(1,-1,0)*SIZE
  1156. A.Orientation = VT(-90, -89.982, 0)
  1157. local B = IT("Attachment",RightArm)
  1158. B.Position = VT(-1,-1,0)*SIZE
  1159. B.Orientation = VT(-90, 89.988, 0)
  1160. local C = IT("Attachment",RightArm)
  1161. C.Position = VT(0.5,-1.3,0)*SIZE
  1162. C.Orientation = VT(-90, -89.982, 0)
  1163. local D = IT("Attachment",RightArm)
  1164. D.Position = VT(-0.5,-1.3,0)*SIZE
  1165. D.Orientation = VT(-90, 89.988, 0)
  1166. local LIGHT = IT("Attachment",RightArm)
  1167. LIGHT.Position = VT(0,-1,0)*SIZE
  1168. local LIGHT2 = IT("PointLight",LIGHT)
  1169. LIGHT2.Range = 7
  1170. LIGHT2.Brightness = 5
  1171. LIGHT2.Color = SKILLTEXTCOLOR
  1172. for i = 1, 2 do
  1173. local TWIST = -2
  1174. local START = A
  1175. local END = B
  1176. if i == 1 then
  1177. START = B
  1178. END = A
  1179. end
  1180. local ChainLink = IT("Beam",Torso)
  1181. ChainLink.Texture = "rbxassetid://73042633"
  1182. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1183. ChainLink.TextureSpeed = 1
  1184. ChainLink.Width0 = 1
  1185. ChainLink.Width1 = 1
  1186. ChainLink.TextureLength = 2.5
  1187. ChainLink.Attachment0 = START
  1188. ChainLink.Attachment1 = END
  1189. ChainLink.CurveSize0 = TWIST
  1190. ChainLink.CurveSize1 = TWIST
  1191. --ChainLink.FaceCamera = true
  1192. ChainLink.Segments = 45
  1193. ChainLink.Transparency = NumberSequence.new(1)
  1194. table.insert(CHAINLINKS,ChainLink)
  1195. end
  1196. for i = 1, 2 do
  1197. local TWIST = -1
  1198. local START = C
  1199. local END = D
  1200. if i == 1 then
  1201. START = D
  1202. END = C
  1203. end
  1204. local ChainLink = IT("Beam",Torso)
  1205. ChainLink.Texture = "rbxassetid://73042633"
  1206. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1207. ChainLink.TextureSpeed = 1
  1208. ChainLink.Width0 = 1
  1209. ChainLink.Width1 = 1
  1210. ChainLink.TextureLength = 5
  1211. ChainLink.Attachment0 = START
  1212. ChainLink.Attachment1 = END
  1213. ChainLink.CurveSize0 = TWIST
  1214. ChainLink.CurveSize1 = TWIST
  1215. --ChainLink.FaceCamera = true
  1216. ChainLink.Segments = 25
  1217. ChainLink.LightEmission = 0.5
  1218. ChainLink.Transparency = NumberSequence.new(1)
  1219. table.insert(CHAINLINKS,ChainLink)
  1220. end
  1221. coroutine.resume(coroutine.create(function()
  1222. repeat
  1223. Swait()
  1224. 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 / 2)
  1225. 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 / 2)
  1226. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / 2)
  1227. 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 / 2)
  1228. 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 / 2)
  1229. 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 / 2)
  1230. until CHAINS == true
  1231. repeat
  1232. Swait()
  1233. 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 / 2)
  1234. 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 / 2)
  1235. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / 2)
  1236. 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 / 2)
  1237. 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 / 2)
  1238. 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 / 2)
  1239. until ATTACK == false
  1240. for e = 1, 15 do
  1241. Swait()
  1242. for i = 1, #CHAINLINKS do
  1243. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1244. end
  1245. end
  1246. A:remove()
  1247. B:remove()
  1248. C:remove()
  1249. D:remove()
  1250. end))
  1251. CreateSound(233856115, RightArm, 5, 1.2, false)
  1252. for e = 1, 15 do
  1253. Swait()
  1254. for i = 1, #CHAINLINKS do
  1255. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1256. end
  1257. end
  1258. CHAINS = true
  1259. Rooted = false
  1260. wait(0.25)
  1261. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
  1262. FIST.Color = C3(1, 215/255, 1)
  1263. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1264. local LIGHT3 = IT("PointLight",FIST)
  1265. LIGHT3.Range = 7
  1266. LIGHT3.Brightness = 5
  1267. LIGHT3.Color = SKILLTEXTCOLOR
  1268. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1269. local FISTA = IT("Attachment",FIST)
  1270. FISTA.Position = VT(0.062, 0.977, 0)
  1271. local ChainLink = IT("Beam",Torso)
  1272. ChainLink.Texture = "rbxassetid://73042633"
  1273. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1274. ChainLink.TextureSpeed = 0
  1275. ChainLink.Width0 = 3
  1276. ChainLink.Width1 = 3
  1277. ChainLink.TextureLength = 12
  1278. ChainLink.Attachment0 = LIGHT
  1279. ChainLink.Attachment1 = FISTA
  1280. ChainLink.FaceCamera = true
  1281. ChainLink.Segments = 45
  1282. ChainLink.LightEmission = 0.5
  1283. ChainLink.Transparency = NumberSequence.new(0.25)
  1284. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1285. for i = 1, 85 do
  1286. Swait()
  1287. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1288. ChainLink.TextureLength = 12+(i*2)
  1289. ApplyAoE(FIST.Position,10,15,25,100,false)
  1290. 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})
  1291. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1292. if HITFLOOR ~= nil then
  1293. HITFLOOR:BreakJoints()
  1294. coroutine.resume(coroutine.create(function()
  1295. for i = 1, 15 do
  1296. Swait()
  1297. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1298. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1299. 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})
  1300. end
  1301. end))
  1302. break
  1303. end
  1304. end
  1305. coroutine.resume(coroutine.create(function()
  1306. for i = 1, 50 do
  1307. Swait()
  1308. FIST.Transparency = FIST.Transparency + 0.5/50
  1309. LIGHT3.Range = LIGHT3.Range - 7/50
  1310. end
  1311. FIST:remove()
  1312. end))
  1313. LIGHT:remove()
  1314. GYRO:remove()
  1315. ATTACK = false
  1316. Rooted = false
  1317. end
  1318.  
  1319. function WarpMeteor()
  1320. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1321. if DIST > 9999 then
  1322. DIST = 9999
  1323. end
  1324. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1325. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1326. if HITFLOOR then
  1327. local POS = HITPOS
  1328. ATTACK = true
  1329. Rooted = false
  1330. local WARPED = false
  1331. local SMASHED = false
  1332. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1333. coroutine.resume(coroutine.create(function()
  1334. repeat
  1335. Swait()
  1336. 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)
  1337. 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)
  1338. 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)
  1339. 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)
  1340. 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)
  1341. 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)
  1342. until WARPED == true
  1343. repeat
  1344. Swait()
  1345. 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)
  1346. 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)
  1347. 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)
  1348. 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)
  1349. 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)
  1350. 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)
  1351. until SMASHED == true
  1352. repeat
  1353. Swait()
  1354. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. 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)
  1360. until ATTACK == false
  1361. end))
  1362. VALUE1 = true
  1363. CreateSound(233856115, Torso, 5, 1.6, false)
  1364. for i = 1, 25 do
  1365. Swait()
  1366. for _, c in pairs(Character:GetChildren()) do
  1367. if c.ClassName == "Part" then
  1368. c.Transparency = c.Transparency + 1/25
  1369. end
  1370. end
  1371. for _, c in pairs(Weapon:GetChildren()) do
  1372. if c.ClassName == "Part" then
  1373. c.Transparency = c.Transparency + 1/25
  1374. end
  1375. end
  1376. end
  1377. UNANCHOR = false
  1378. RootPart.Anchored = true
  1379. RootPart.Velocity = VT(0,0,0)
  1380. local ROOTPOS = RootPart.Position
  1381. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1382. WARPED = true
  1383. for i = 1, 25 do
  1384. Swait()
  1385. for _, c in pairs(Character:GetChildren()) do
  1386. if c.ClassName == "Part" then
  1387. c.Transparency = c.Transparency - 1/25
  1388. end
  1389. end
  1390. for _, c in pairs(Weapon:GetChildren()) do
  1391. if c.ClassName == "Part" then
  1392. c.Transparency = c.Transparency - 1/25
  1393. end
  1394. end
  1395. end
  1396. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Mid grey", "Part", VT(0,0,0))
  1397. SHELL.CFrame = RootPart.CFrame
  1398. MakeForm(SHELL,"Ball")
  1399. CreateSound(402981977, SHELL, 5, 1.6, false)
  1400. for i = 1, 10 do
  1401. Swait()
  1402. SHELL.Transparency = SHELL.Transparency - 1/10
  1403. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1404. end
  1405. for i = 1, math.ceil(75/2) do
  1406. Swait()
  1407. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1408. SHELL.CFrame = CF(RootPart.Position)
  1409. 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})
  1410. end
  1411. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1412. SHELL.CFrame = CF(RootPart.Position)
  1413. 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})
  1414. 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})
  1415. 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})
  1416. for i = 1, 5 do
  1417. 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})
  1418. end
  1419. SHELL:remove()
  1420. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1421. SMASHED = true
  1422. wait(1)
  1423. VALUE1 = false
  1424. UNANCHOR = true
  1425. ATTACK = false
  1426. Rooted = false
  1427. end
  1428. end
  1429.  
  1430. function PandorasBox()
  1431. 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)
  1432. if HITFLOOR ~= nil then
  1433. ATTACK = false
  1434. Rooted = false
  1435. local RINGSPIN = true
  1436. local CONSTRUCTING = true
  1437. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1438. RING.Color = C3(0,0,0)
  1439. MakeForm(RING,"Cyl")
  1440. RING.CFrame = CF(HITPOS)
  1441. CreateSound(402981977, RING, 5, 1.2, false)
  1442. coroutine.resume(coroutine.create(function()
  1443. repeat
  1444. Swait()
  1445. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1446. 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)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. 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)
  1451. 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)
  1452. until CONSTRUCTING == false
  1453. repeat
  1454. Swait()
  1455. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1456. until RINGSPIN == false
  1457. for i = 1, 25 do
  1458. Swait()
  1459. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1460. RING.Size = RING.Size - VT(0.15,0,0.15)
  1461. --DECAL.Transparency = DECAL.Transparency + 1/25
  1462. RING.Transparency = RING.Transparency + 1/25
  1463. end
  1464. RING:remove()
  1465. end))
  1466. for i = 1, 15 do
  1467. Swait()
  1468. RING.Size = RING.Size + VT(0.75,0,0.75)
  1469. RING.Transparency = RING.Transparency - 1/15
  1470. end
  1471. local BOXSPIN = true
  1472. local PANDORASBOX = IT("Model",Effects)
  1473. PANDORASBOX.Name = "Pandora's Box"
  1474. local BOX = IT("Model",PANDORASBOX)
  1475. BOX.Name = "Body"
  1476. local LID = IT("Model",PANDORASBOX)
  1477. LID.Name = "Lid"
  1478. --BUILDING THE BOX--
  1479. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1480. BASE.Color = C3(0,0,0)
  1481. PANDORASBOX.PrimaryPart = BASE
  1482. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1483. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1484. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1485. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1486. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1487. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1488. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1489. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1490. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1491. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1492. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1493. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1494. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1495. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1496. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1497. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1498. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1499. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1500. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1501. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1502. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1503. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1504. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1505. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1506. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1507. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1508. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1509. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1510. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1511. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1512. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1513. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1514. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1515. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1516. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1517. -------------
  1518. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1519. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1520. LID.PrimaryPart = LIDPART
  1521. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1522. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1523. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1524. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1525. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1526. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1527. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1528. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1529. local DECAL = IT("Decal",LIDPART)
  1530. DECAL.Face = "Top"
  1531. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1532. DECAL.Color3 = C3(0,0,0)
  1533. --BUILDING THE BOX--
  1534. coroutine.resume(coroutine.create(function()
  1535. repeat
  1536. Swait()
  1537. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1538. until BOXSPIN == false
  1539. end))
  1540. for i = 1, 25 do
  1541. Swait()
  1542. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1543. end
  1544. wait(0.5)
  1545. BOXSPIN = false
  1546. CONSTRUCTING = false
  1547. coroutine.resume(coroutine.create(function()
  1548. 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})
  1549. --[[for i = 1, 45 do
  1550. Swait()
  1551. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1552. end-
  1553. LID:remove()]]--
  1554. for _, c in pairs(LID:GetChildren()) do
  1555. if c.ClassName == "Part" then
  1556. c.Anchored = false
  1557. c.CanCollide = true
  1558. if c ~= LIDPART then
  1559. weldBetween(LIDPART,c)
  1560. end
  1561. end
  1562. end
  1563. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1564. Debris:AddItem(LID,15)
  1565. wait(0.5)
  1566. local RANDOMEFFECT = MRANDOM(1,4)
  1567. if RANDOMEFFECT == 1 then
  1568. for i = 1, 45 do
  1569. wait((2-(i/15))/15)
  1570. 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})
  1571. end
  1572. wait(1)
  1573. 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})
  1574. 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})
  1575. 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})
  1576. for i = 1, 5 do
  1577. 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})
  1578. end
  1579. ApplyAoE(BASE.Position,50,1,200,375,false)
  1580. ApplyAoE(BASE.Position,250,35,75,175,false)
  1581. elseif RANDOMEFFECT == 2 then
  1582. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1583. FIELD.CFrame = BASE.CFrame
  1584. MakeForm(FIELD,"Ball")
  1585. for i = 1, 50 do
  1586. Swait()
  1587. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1588. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1589. end
  1590. wait(0.2)
  1591. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1592. coroutine.resume(coroutine.create(function()
  1593. for i = 1, 75 do
  1594. Swait()
  1595. LOOP.Volume = LOOP.Volume + 10/75
  1596. LOOP.Parent = FIELD
  1597. local CHILDREN = workspace:GetDescendants()
  1598. for index, CHILD in pairs(CHILDREN) do
  1599. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1600. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1601. if HUM then
  1602. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1603. if TORSO then
  1604. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1605. HUM.Health = HUM.Health - 0.1
  1606. TORSO.Velocity = VT(0,5,0)
  1607. HUM.PlatformStand = true
  1608. if TORSO.RotVelocity.Magnitude < 15 then
  1609. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1610. end
  1611. end
  1612. end
  1613. end
  1614. end
  1615. end
  1616. FIELD.Size = FIELD.Size + VT(3,3,3)
  1617. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1618. end
  1619. for i = 1, 500 do
  1620. Swait()
  1621. LOOP.Parent = FIELD
  1622. local CHILDREN = workspace:GetDescendants()
  1623. for index, CHILD in pairs(CHILDREN) do
  1624. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1625. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1626. if HUM then
  1627. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1628. if TORSO then
  1629. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1630. TORSO.Velocity = VT(0,5,0)
  1631. HUM.Health = HUM.Health - 0.1
  1632. HUM.PlatformStand = true
  1633. if TORSO.RotVelocity.Magnitude < 15 then
  1634. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1635. end
  1636. end
  1637. end
  1638. end
  1639. end
  1640. end
  1641. end
  1642. for i = 1, 25 do
  1643. Swait()
  1644. LOOP.Volume = LOOP.Volume + 10/25
  1645. LOOP.Parent = FIELD
  1646. local CHILDREN = workspace:GetDescendants()
  1647. for index, CHILD in pairs(CHILDREN) do
  1648. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1649. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1650. if HUM then
  1651. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1652. if TORSO then
  1653. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1654. TORSO.Velocity = VT(0,5,0)
  1655. HUM.Health = HUM.Health - 0.1
  1656. HUM.PlatformStand = false
  1657. if TORSO.RotVelocity.Magnitude < 15 then
  1658. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1659. end
  1660. end
  1661. end
  1662. end
  1663. end
  1664. end
  1665. FIELD.Size = FIELD.Size - VT(3,3,3)
  1666. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1667. end
  1668. FIELD:remove()
  1669. end))
  1670. elseif RANDOMEFFECT == 3 then
  1671. for i = 1, 10 do
  1672. wait(0.15)
  1673. 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})
  1674. coroutine.resume(coroutine.create(function()
  1675. local MINION = CLONE:Clone()
  1676. MINION.Parent = Effects
  1677. MINION.Name = "Shadow"
  1678. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1679. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1680. for _, c in pairs(MINION:GetChildren()) do
  1681. if c.ClassName == "Part" then
  1682. c.Material = "Neon"
  1683. c.Color = C3(0,0,0)
  1684. c.Transparency = 0.25
  1685. if c.Name == "Head" then
  1686. c:ClearAllChildren()
  1687. local MSH = IT("BlockMesh",c)
  1688. MSH.Scale = VT(0.5,1,1)
  1689. end
  1690. end
  1691. end
  1692. local TORSO = MINION.Torso
  1693. local HUMAN = MINION.Humanoid
  1694. HUMAN.WalkSpeed = 100
  1695. HUMAN.MaxHealth = math.huge
  1696. HUMAN.Health = math.huge
  1697. HUMAN.DisplayDistanceType = "None"
  1698. HUMAN.Died:connect(function()
  1699. MINION:remove()
  1700. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1701. end)
  1702. wait(1)
  1703. local findNearestTorso = function(POS)
  1704. local list = game.Workspace:GetDescendants()
  1705. local torso = nil
  1706. local dist = 9999
  1707. local temp = nil
  1708. local human = nil
  1709. local temp2 = nil
  1710. for x = 1, #list do
  1711. temp2 = list[x]
  1712. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1713. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1714. human = temp2:findFirstChildOfClass("Humanoid")
  1715. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1716. if (temp.Position - POS).magnitude < dist then
  1717. torso = temp
  1718. dist = (temp.Position - POS).magnitude
  1719. end
  1720. end
  1721. end
  1722. end
  1723. return torso, dist
  1724. end
  1725. for i = 1, 40 do
  1726. if HUMAN.Health == 0 then
  1727. break
  1728. end
  1729. wait(0.3)
  1730. local target,dist= findNearestTorso(TORSO.Position)
  1731. if target then
  1732. HUMAN:MoveTo(target.Position)
  1733. if dist < 999 then
  1734. CreateSound(348663022, TORSO, 10, 1, true)
  1735. wait(0.5)
  1736. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1737. --ANIM:Play()
  1738. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1739. ApplyAoE(TORSO.Position,10,0,0,85,false)
  1740. 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})
  1741. for i = 1, 5 do
  1742. 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})
  1743. end
  1744. break
  1745. end
  1746. end
  1747. end
  1748. MINION:remove()
  1749. end))
  1750. end
  1751. elseif RANDOMEFFECT == 4 then
  1752. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1753. FIELD.Color = C3(0,0,0)
  1754. FIELD.CFrame = BASE.CFrame
  1755. MakeForm(FIELD,"Ball")
  1756. FIELD.CanCollide = true
  1757. for i = 1, 50 do
  1758. Swait()
  1759. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1760. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1761. end
  1762. wait(0.2)
  1763. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1764. coroutine.resume(coroutine.create(function()
  1765. local E = 0
  1766. for i = 1, 75 do
  1767. E = E + 1
  1768. Swait()
  1769. if E >= 35 then
  1770. E = 0
  1771. 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})
  1772. end
  1773. LOOP.Volume = LOOP.Volume + 10/75
  1774. LOOP.Parent = FIELD
  1775. local CHILDREN = workspace:GetDescendants()
  1776. for index, CHILD in pairs(CHILDREN) do
  1777. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1778. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1779. if HUM then
  1780. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1781. if TORSO then
  1782. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1783. for _, c in pairs(CHILD:GetChildren()) do
  1784. if c:IsA("BasePart") then
  1785. local bv = Instance.new("BodyVelocity")
  1786. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1787. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1788. bv.Parent = c
  1789. Debris:AddItem(bv,0.05)
  1790. end
  1791. end
  1792. HUM.Health = HUM.Health - 0.3
  1793. end
  1794. end
  1795. end
  1796. end
  1797. end
  1798. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1799. end
  1800. for i = 1, 180 do
  1801. E = E + 1
  1802. Swait()
  1803. if E >= 35 then
  1804. E = 0
  1805. 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})
  1806. end
  1807. LOOP.Parent = FIELD
  1808. local CHILDREN = workspace:GetDescendants()
  1809. for index, CHILD in pairs(CHILDREN) do
  1810. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1811. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1812. if HUM then
  1813. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1814. if TORSO then
  1815. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1816. for _, c in pairs(CHILD:GetChildren()) do
  1817. if c:IsA("BasePart") then
  1818. local bv = Instance.new("BodyVelocity")
  1819. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1820. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1821. bv.Parent = c
  1822. Debris:AddItem(bv,0.05)
  1823. end
  1824. end
  1825. HUM.Health = HUM.Health - 0.3
  1826. end
  1827. end
  1828. end
  1829. end
  1830. end
  1831. end
  1832. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1833. 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})
  1834. for i = 1, 5 do
  1835. 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})
  1836. end
  1837. FIELD:remove()
  1838. end))
  1839. elseif RANDOMEFFECT == 5 then
  1840. end
  1841. wait(0.5)
  1842. for i = 1, 25 do
  1843. Swait()
  1844. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1845. end
  1846. PANDORASBOX:remove()
  1847. RINGSPIN = false
  1848. end))
  1849. ATTACK = false
  1850. Rooted = false
  1851. end
  1852. end
  1853.  
  1854. function Taunt()
  1855. ATTACK = true
  1856. local LAUGH = nil
  1857. coroutine.resume(coroutine.create(function()
  1858. repeat
  1859. Swait()
  1860. 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)
  1861. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1862. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1863. 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)
  1864. 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)
  1865. 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)
  1866. until LAUGH ~= nil
  1867. repeat
  1868. Swait()
  1869. LAUGH.Parent = Head
  1870. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
  1871. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1872. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1873. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1874. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
  1875. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
  1876. until LAUGH.Playing == false
  1877. ATTACK = false
  1878. end))
  1879. wait(0.1)
  1880. sick:Pause()
  1881. LAUGH = CreateSound(333446256, Head, 10, 1, false)
  1882. wait(1.5)
  1883. sick:Resume()
  1884. end
  1885.  
  1886. --//=================================\\
  1887. --|| ASSIGN THINGS TO KEYS
  1888. --\\=================================//
  1889.  
  1890. function MouseDown(Mouse)
  1891. HOLD = true
  1892. if ATTACK == false then
  1893. end
  1894. end
  1895.  
  1896. function MouseUp(Mouse)
  1897. HOLD = false
  1898. end
  1899.  
  1900. function KeyDown(Key)
  1901. KEYHOLD = true
  1902. if Key == "z" and ATTACK == false then
  1903. MagicMissiles()
  1904. end
  1905.  
  1906. if Key == "b" and ATTACK == false then
  1907. TimesUp()
  1908. end
  1909.  
  1910. if Key == "c" and ATTACK == false then
  1911. ChainPunch()
  1912. end
  1913.  
  1914. if Key == "v" and ATTACK == false then
  1915. WarpMeteor()
  1916. end
  1917.  
  1918. if Key == "x" and ATTACK == false then
  1919. PandorasBox()
  1920. end
  1921.  
  1922. if Key == "t" and ATTACK == false then
  1923. Taunt()
  1924. end
  1925. end
  1926.  
  1927. function KeyUp(Key)
  1928. KEYHOLD = false
  1929. end
  1930.  
  1931. Mouse.Button1Down:connect(function(NEWKEY)
  1932. MouseDown(NEWKEY)
  1933. end)
  1934. Mouse.Button1Up:connect(function(NEWKEY)
  1935. MouseUp(NEWKEY)
  1936. end)
  1937. Mouse.KeyDown:connect(function(NEWKEY)
  1938. KeyDown(NEWKEY)
  1939. end)
  1940. Mouse.KeyUp:connect(function(NEWKEY)
  1941. KeyUp(NEWKEY)
  1942. end)
  1943.  
  1944. --//=================================\\
  1945. --\\=================================//
  1946.  
  1947.  
  1948. function unanchor()
  1949. if UNANCHOR == true then
  1950. RootPart.Anchored = false
  1951. end
  1952. g = Character:GetChildren()
  1953. for i = 1, #g do
  1954. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1955. g[i].Anchored = false
  1956. end
  1957. end
  1958. g = Weapon:GetChildren()
  1959. for i = 1, #g do
  1960. if g[i].ClassName == "Part" then
  1961. g[i].Anchored = false
  1962. end
  1963. end
  1964. end
  1965.  
  1966.  
  1967. --//=================================\\
  1968. --|| WRAP THE WHOLE SCRIPT UP
  1969. --\\=================================//
  1970.  
  1971. Humanoid.Changed:connect(function(Jump)
  1972. if Jump == "Jump" and (Disable_Jump == true) then
  1973. Humanoid.Jump = false
  1974. end
  1975. end)
  1976.  
  1977. while true do
  1978. Swait()
  1979. refit()
  1980. script.Parent = WEAPONGUI
  1981. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1982. v:Stop();
  1983. end
  1984. ANIMATE.Parent = nil
  1985. SINE = SINE + CHANGE * 1.5
  1986. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1987. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1988. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1989. local WALKSPEEDVALUE = 50 / (Humanoid.WalkSpeed / 16)
  1990. if ANIM == "Walk" and TORSOVELOCITY > 11 and ATTACK == false then
  1991. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (8 / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 2)
  1992. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (8 / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / 2)
  1993. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / 8)*SIZE - 0.15 * COS(SINE / 8*2), 0 +0.5+ 0.2 * COS(SINE / 8)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / 8))), 0.2 * (Humanoid.WalkSpeed / 16) / 2)
  1994. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / 8)*SIZE - 0.15 * COS(SINE / 8*2), 0 +0.5+ -0.2 * COS(SINE / 8)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / 8))), 0.2 * (Humanoid.WalkSpeed / 16) / 2)
  1995. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) and ATTACK == false then
  1996. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1997. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1998. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1999. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2000. end
  2001. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2002. ANIM = "Jump"
  2003. if ATTACK == false then
  2004. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 2)
  2005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / 2)
  2006. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / 2)
  2007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / 2)
  2008. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / 2)
  2009. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / 2)
  2010. end
  2011. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2012. ANIM = "Fall"
  2013. if ATTACK == false then
  2014. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 2)
  2015. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / 2)
  2016. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / 2)
  2017. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / 2)
  2018. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / 2)
  2019. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / 2)
  2020. end
  2021. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2022. ANIM = "Idle"
  2023. if ATTACK == false then
  2024. 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)
  2025. 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)
  2026. 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)
  2027. 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)
  2028. 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)
  2029. 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)
  2030. end
  2031. elseif TORSOVELOCITY > 20 and HITFLOOR ~= nil then
  2032. ANIM = "Walk"
  2033. if ATTACK == false then
  2034. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2035. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2036. 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)
  2037. 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)
  2038. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2039. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2040. end
  2041. end
  2042. unanchor()
  2043. Humanoid.MaxHealth = 99
  2044. Humanoid.Health = 99
  2045. if Rooted == false then
  2046. Disable_Jump = false
  2047. Humanoid.WalkSpeed = Speed
  2048. elseif Rooted == true then
  2049. Disable_Jump = true
  2050. Humanoid.WalkSpeed = 0
  2051. end
  2052. for _, c in pairs(Character:GetChildren()) do
  2053. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2054. c.Material = "Fabric"
  2055. if c:FindFirstChildOfClass("ParticleEmitter") then
  2056. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2057. end
  2058. if c ~= Head then
  2059. c.Color = Color3.fromRGB(255, 255, 0)
  2060. else
  2061. c.Color = Color3.fromRGB(255, 255, 0)
  2062. end
  2063. if c == Head then
  2064. if c:FindFirstChild("face") then
  2065. c.face:remove()
  2066. end
  2067. end
  2068. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2069. c:remove()
  2070. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2071. c:remove()
  2072. end
  2073. end
  2074. sick.SoundId = "rbxassetid://"..SONG
  2075. sick.Looped = true
  2076. sick.Pitch = 1
  2077. sick.Volume = 5
  2078. sick.Parent = Torso
  2079. sick:Resume()
  2080. --sick.Playing = false
  2081. Humanoid.Name = math.random() * 100
  2082. end
  2083.  
  2084. --//=================================\\
  2085. --\\=================================//
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091. --//====================================================\\--
  2092. --|| END OF SCRIPT
  2093. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement