Advertisement
DarkScriptZEditors

That

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