Advertisement
DarkScriptZEditors

X-Gaster FE Edited

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