Advertisement
Darkraiii7

Untitled

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