Advertisement
DarkScriptZEditors

Pandora FE

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