Advertisement
Axelpuff

Pandora FE

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