Advertisement
Mediakiller7Cool

Pandora New EDIT

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