Advertisement
9Simplicity9

cant touch this

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