saba1517

Untitled

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