Advertisement
Destroy666j

Untitled

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