Advertisement
rohanboi

cringed pandora

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