Advertisement
A2C3E4G5I6

Pandora v.1.00

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