Advertisement
PiterMosskva_TV

Insane Pandora

Jan 31st, 2019
508
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 123.30 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. --//====================================================\\--
  88. --|| CREATED BY SHACKLUSTER
  89. --\\====================================================//--
  90.  
  91. print'Pandora Edit By UndeniableInfinity.'
  92. print'Script name: "INSANITY PANDORA"'
  93. print'Insanity Pandora is an edit which makes it more op.'
  94. print'The Upgrades are:'
  95. warn'More Magic Bullets, which is now named Bullet Hell.'
  96. warn'Much Bigger Impact Of "Warp Meteor" which is now named "Warp Apocalypse"'
  97. warn'"Times up", which is now named "Game Over" has now Ultra-Fast Wave/Pulse Killing.'
  98. warn'WAVES ARE NOW INSANELY FAST. at this point i do not know if anyone can touch you. except Ghosts.'
  99. warn'Chained Punch was only SLIGHTLY buffed.'
  100. warn'"Pandoras Box", which is now named "Insanity Box", has now;'
  101. warn'More "Ghosts" Spawn.'
  102. warn'Bigger Black Hole And Gravity Orb...thing.'
  103. warn'Bigger Box Explosion.'
  104. warn'Added Two Moves that came from OTHER Shackluster Scripts.'
  105. print'MOVES BELOW'
  106. warn'[Z] Bullet Hell'
  107. warn'[B] Game Over'
  108. warn'[V] Warp Apocalypse'
  109. warn'[C] Chained Punch'
  110. warn'[X] Insanity Box'
  111. warn'[Q] Isolation (Warden Lock)'
  112. warn'[E] Void Blast (Ravager Beam)'
  113. print'Welp, Thats it all covered up.'
  114. print'Credits to Shackluster, as there are some moves from other scripts he did too. this may be a Minor Mix, and kind of major edit.'
  115.  
  116. wait(0.2)
  117.  
  118. Player = owner
  119. PlayerGui = Player.PlayerGui
  120. Cam = workspace.CurrentCamera
  121. Backpack = Player.Backpack
  122. Character = Player.Character
  123. Humanoid = Character.Humanoid
  124. RootPart = Character["HumanoidRootPart"]
  125. Torso = Character["Torso"]
  126. Head = Character["Head"]
  127. RightArm = Character["Right Arm"]
  128. LeftArm = Character["Left Arm"]
  129. RightLeg = Character["Right Leg"]
  130. LeftLeg = Character["Left Leg"]
  131. RootJoint = RootPart["RootJoint"]
  132. Neck = Torso["Neck"]
  133. RightShoulder = Torso["Right Shoulder"]
  134. LeftShoulder = Torso["Left Shoulder"]
  135. RightHip = Torso["Right Hip"]
  136. LeftHip = Torso["Left Hip"]
  137. Character.Archivable = true
  138. Player:ClearCharacterAppearance()
  139.  
  140. IT = Instance.new
  141. CF = CFrame.new
  142. VT = Vector3.new
  143. RAD = math.rad
  144. C3 = Color3.new
  145. UD2 = UDim2.new
  146. BRICKC = BrickColor.new
  147. ANGLES = CFrame.Angles
  148. EULER = CFrame.fromEulerAnglesXYZ
  149. COS = math.cos
  150. ACOS = math.acos
  151. SIN = math.sin
  152. ASIN = math.asin
  153. ABS = math.abs
  154. MRANDOM = math.random
  155. FLOOR = math.floor
  156.  
  157. --//=================================\\
  158. --|| USEFUL VALUES
  159. --\\=================================//
  160.  
  161. Animation_Speed = 3
  162. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  163. local Speed = 20
  164. local SIZE = 1.4
  165. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  166. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  167. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  168. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  169. local DAMAGEMULTIPLIER = 1
  170. local ANIM = "Idle"
  171. local ATTACK = false
  172. local EQUIPPED = false
  173. local HOLD = false
  174. local COMBO = 1
  175. local Rooted = false
  176. local SINE = 0
  177. local KEYHOLD = false
  178. local CHANGE = 2 / Animation_Speed
  179. local WALKINGANIM = false
  180. local VALUE1 = false
  181. local VALUE2 = false
  182. local ROBLOXIDLEANIMATION = IT("Animation")
  183. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  184. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  185. local ATANIM = IT("Animation")
  186. ATANIM.Name = "Attack Animation"
  187. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  188. --ROBLOXIDLEANIMATION.Parent = Humanoid
  189. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  190. WEAPONGUI.Name = "Weapon GUI"
  191. local Weapon = IT("Model")
  192. Weapon.Name = "Adds"
  193. local Effects = IT("Folder", Weapon)
  194. Effects.Name = "Effects"
  195. local ANIMATOR = Humanoid.Animator
  196. local ANIMATE = Character.Animate
  197. local UNANCHOR = true
  198. local CLOCKLOOP = 0
  199. local SONG = 1382488262
  200. local CLOCKTARGET = nil
  201. local CLOCKSPEED = 50
  202. script.Parent = WEAPONGUI
  203. local CLONE = Character:Clone()
  204. CLONE.Parent = nil
  205. Character.Archivable = false
  206. local sick = Instance.new("Sound",Torso)
  207. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  208. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  209. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  210. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  211.  
  212. --//=================================\\
  213. --\\=================================//
  214.  
  215.  
  216. --//=================================\\
  217. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  218. --\\=================================//
  219.  
  220. ArtificialHB = Instance.new("BindableEvent", script)
  221. ArtificialHB.Name = "ArtificialHB"
  222.  
  223. script:WaitForChild("ArtificialHB")
  224.  
  225. frame = Frame_Speed
  226. tf = 0
  227. allowframeloss = false
  228. tossremainder = false
  229. lastframe = tick()
  230. script.ArtificialHB:Fire()
  231.  
  232. game:GetService("RunService").Heartbeat:connect(function(s, p)
  233. tf = tf + s
  234. if tf >= frame then
  235. if allowframeloss then
  236. script.ArtificialHB:Fire()
  237. lastframe = tick()
  238. else
  239. for i = 1, math.floor(tf / frame) do
  240. script.ArtificialHB:Fire()
  241. end
  242. lastframe = tick()
  243. end
  244. if tossremainder then
  245. tf = 0
  246. else
  247. tf = tf - frame * math.floor(tf / frame)
  248. end
  249. end
  250. end)
  251.  
  252. --//=================================\\
  253. --\\=================================//
  254.  
  255. --//=================================\\
  256. --|| SOME FUNCTIONS
  257. --\\=================================//
  258. function Reappear()
  259. for _, c in pairs(Character:GetChildren()) do
  260. if c.ClassName == "Part" and c.Name ~= "HumanoidRootPart" then
  261. c.Transparency = 0
  262. if c:FindFirstChildOfClass("Decal") then
  263. c:FindFirstChildOfClass("Decal").Transparency = 0
  264. end
  265. if c:FindFirstChildOfClass("ParticleEmitter") then
  266. c:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  267. end
  268. elseif c.ClassName == "Accessory" then
  269. c.Handle.Transparency = 0
  270. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  271. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = true
  272. end
  273. end
  274. end
  275. end
  276.  
  277. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  278. if FLOOR ~= nil then
  279. coroutine.resume(coroutine.create(function()
  280. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Really red", "DebreeCenter", VT(0,0,0))
  281. PART.CFrame = CF(POSITION)
  282. for i = 1, 45 do
  283. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Really red", "DebreePart", BLOCKSIZE)
  284. RingPiece.Material = FLOOR.Material
  285. RingPiece.Color = FLOOR.Color
  286. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  287. Debris:AddItem(RingPiece,SWAIT)
  288. end
  289. PART:remove()
  290. end))
  291. end
  292. end
  293.  
  294. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  295. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  296. local mesh = IT("SpecialMesh",wave)
  297. mesh.MeshType = "FileMesh"
  298. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  299. mesh.Scale = SIZE
  300. mesh.Offset = VT(0,0,0)
  301. wave.CFrame = CFRAME
  302. coroutine.resume(coroutine.create(function(PART)
  303. for i = 1, WAIT do
  304. Swait()
  305. mesh.Scale = mesh.Scale + GROW
  306. if DOESROT == true then
  307. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  308. end
  309. wave.Transparency = wave.Transparency + (0.5/WAIT)
  310. if wave.Transparency > 0.99 then
  311. wave:remove()
  312. end
  313. end
  314. end))
  315. end
  316.  
  317. function VanishPlayer()
  318. for _, c in pairs(Character:GetChildren()) do
  319. if c.ClassName == "Part" then
  320. c.Transparency = 1
  321. if c:FindFirstChildOfClass("Decal") then
  322. c:FindFirstChildOfClass("Decal").Transparency = 1
  323. end
  324. if c:FindFirstChildOfClass("ParticleEmitter") then
  325. c:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  326. end
  327. elseif c.ClassName == "Accessory" then
  328. c.Handle.Transparency = 1
  329. if c.Handle:FindFirstChildOfClass("ParticleEmitter") then
  330. c.Handle:FindFirstChildOfClass("ParticleEmitter").Enabled = false
  331. end
  332. end
  333. end
  334. end
  335.  
  336. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  337. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  338. end
  339.  
  340. function PositiveAngle(NUMBER)
  341. if NUMBER >= 0 then
  342. NUMBER = 0
  343. end
  344. return NUMBER
  345. end
  346.  
  347. function NegativeAngle(NUMBER)
  348. if NUMBER <= 0 then
  349. NUMBER = 0
  350. end
  351. return NUMBER
  352. end
  353.  
  354. function Swait(NUMBER)
  355. if NUMBER == 0 or NUMBER == nil then
  356. ArtificialHB.Event:wait()
  357. else
  358. for i = 1, NUMBER do
  359. ArtificialHB.Event:wait()
  360. end
  361. end
  362. end
  363.  
  364. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  365. local NEWMESH = IT(MESH)
  366. if MESH == "SpecialMesh" then
  367. NEWMESH.MeshType = MESHTYPE
  368. if MESHID ~= "nil" and MESHID ~= "" then
  369. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  370. end
  371. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  372. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  373. end
  374. end
  375. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  376. NEWMESH.Scale = SCALE
  377. NEWMESH.Parent = PARENT
  378. return NEWMESH
  379. end
  380.  
  381. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  382. local NEWPART = IT("Part")
  383. NEWPART.formFactor = FORMFACTOR
  384. NEWPART.Reflectance = REFLECTANCE
  385. NEWPART.Transparency = TRANSPARENCY
  386. NEWPART.CanCollide = false
  387. NEWPART.Locked = true
  388. NEWPART.Anchored = true
  389. if ANCHOR == false then
  390. NEWPART.Anchored = false
  391. end
  392. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  393. NEWPART.Name = NAME
  394. NEWPART.Size = SIZE
  395. NEWPART.Position = Torso.Position
  396. NEWPART.Material = MATERIAL
  397. NEWPART:BreakJoints()
  398. NEWPART.Parent = PARENT
  399. return NEWPART
  400. end
  401.  
  402. local function weldBetween(a, b)
  403. local weldd = Instance.new("ManualWeld")
  404. weldd.Part0 = a
  405. weldd.Part1 = b
  406. weldd.C0 = CFrame.new()
  407. weldd.C1 = b.CFrame:inverse() * a.CFrame
  408. weldd.Parent = a
  409. return weldd
  410. end
  411.  
  412.  
  413. function QuaternionFromCFrame(cf)
  414. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  415. local trace = m00 + m11 + m22
  416. if trace > 0 then
  417. local s = math.sqrt(1 + trace)
  418. local recip = 0.5 / s
  419. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  420. else
  421. local i = 0
  422. if m11 > m00 then
  423. i = 1
  424. end
  425. if m22 > (i == 0 and m00 or m11) then
  426. i = 2
  427. end
  428. if i == 0 then
  429. local s = math.sqrt(m00 - m11 - m22 + 1)
  430. local recip = 0.5 / s
  431. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  432. elseif i == 1 then
  433. local s = math.sqrt(m11 - m22 - m00 + 1)
  434. local recip = 0.5 / s
  435. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  436. elseif i == 2 then
  437. local s = math.sqrt(m22 - m00 - m11 + 1)
  438. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  439. end
  440. end
  441. end
  442.  
  443. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  444. local xs, ys, zs = x + x, y + y, z + z
  445. local wx, wy, wz = w * xs, w * ys, w * zs
  446. local xx = x * xs
  447. local xy = x * ys
  448. local xz = x * zs
  449. local yy = y * ys
  450. local yz = y * zs
  451. local zz = z * zs
  452. 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))
  453. end
  454.  
  455. function QuaternionSlerp(a, b, t)
  456. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  457. local startInterp, finishInterp;
  458. if cosTheta >= 0.0001 then
  459. if (1 - cosTheta) > 0.0001 then
  460. local theta = ACOS(cosTheta)
  461. local invSinTheta = 1 / SIN(theta)
  462. startInterp = SIN((1 - t) * theta) * invSinTheta
  463. finishInterp = SIN(t * theta) * invSinTheta
  464. else
  465. startInterp = 1 - t
  466. finishInterp = t
  467. end
  468. else
  469. if (1 + cosTheta) > 0.0001 then
  470. local theta = ACOS(-cosTheta)
  471. local invSinTheta = 1 / SIN(theta)
  472. startInterp = SIN((t - 1) * theta) * invSinTheta
  473. finishInterp = SIN(t * theta) * invSinTheta
  474. else
  475. startInterp = t - 1
  476. finishInterp = t
  477. end
  478. end
  479. 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
  480. end
  481.  
  482. function Clerp(a, b, t)
  483. local qa = {QuaternionFromCFrame(a)}
  484. local qb = {QuaternionFromCFrame(b)}
  485. local ax, ay, az = a.x, a.y, a.z
  486. local bx, by, bz = b.x, b.y, b.z
  487. local _t = 1 - t
  488. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  489. end
  490.  
  491. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  492. local frame = IT("Frame")
  493. frame.BackgroundTransparency = TRANSPARENCY
  494. frame.BorderSizePixel = BORDERSIZEPIXEL
  495. frame.Position = POSITION
  496. frame.Size = SIZE
  497. frame.BackgroundColor3 = COLOR
  498. frame.BorderColor3 = BORDERCOLOR
  499. frame.Name = NAME
  500. frame.Parent = PARENT
  501. return frame
  502. end
  503.  
  504. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  505. local label = IT("TextLabel")
  506. label.BackgroundTransparency = 1
  507. label.Size = UD2(1, 0, 1, 0)
  508. label.Position = UD2(0, 0, 0, 0)
  509. label.TextColor3 = TEXTCOLOR
  510. label.TextStrokeTransparency = STROKETRANSPARENCY
  511. label.TextTransparency = TRANSPARENCY
  512. label.FontSize = TEXTFONTSIZE
  513. label.Font = TEXTFONT
  514. label.BorderSizePixel = BORDERSIZEPIXEL
  515. label.TextStrokeColor3 = C3(1,1,1)
  516. label.TextScaled = false
  517. label.Text = TEXT
  518. label.Name = NAME
  519. label.Parent = PARENT
  520. return label
  521. end
  522.  
  523. function NoOutlines(PART)
  524. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  525. end
  526.  
  527. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  528. local NEWWELD = IT(TYPE)
  529. NEWWELD.Part0 = PART0
  530. NEWWELD.Part1 = PART1
  531. NEWWELD.C0 = C0
  532. NEWWELD.C1 = C1
  533. NEWWELD.Parent = PARENT
  534. return NEWWELD
  535. end
  536.  
  537. local S = IT("Sound")
  538. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  539. local NEWSOUND = nil
  540. coroutine.resume(coroutine.create(function()
  541. NEWSOUND = S:Clone()
  542. NEWSOUND.Parent = PARENT
  543. NEWSOUND.Volume = VOLUME
  544. NEWSOUND.Pitch = PITCH
  545. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  546. NEWSOUND:play()
  547. if DOESLOOP == true then
  548. NEWSOUND.Looped = true
  549. else
  550. repeat wait(1) until NEWSOUND.Playing == false
  551. NEWSOUND:remove()
  552. end
  553. end))
  554. return NEWSOUND
  555. end
  556.  
  557. function CFrameFromTopBack(at, top, back)
  558. local right = top:Cross(back)
  559. 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)
  560. end
  561.  
  562. --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})
  563. function WACKYEFFECT(Table)
  564. local TYPE = (Table.EffectType or "Sphere")
  565. local SIZE = (Table.Size or VT(1,1,1))
  566. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  567. local TRANSPARENCY = (Table.Transparency or 0)
  568. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  569. local CFRAME = (Table.CFrame or Torso.CFrame)
  570. local MOVEDIRECTION = (Table.MoveToPos or nil)
  571. local ROTATION1 = (Table.RotationX or 0)
  572. local ROTATION2 = (Table.RotationY or 0)
  573. local ROTATION3 = (Table.RotationZ or 0)
  574. local MATERIAL = (Table.Material or "Neon")
  575. local COLOR = (Table.Color or C3(1,1,1))
  576. local TIME = (Table.Time or 45)
  577. local SOUNDID = (Table.SoundID or nil)
  578. local SOUNDPITCH = (Table.SoundPitch or nil)
  579. local SOUNDVOLUME = (Table.SoundVolume or nil)
  580. coroutine.resume(coroutine.create(function()
  581. local PLAYSSOUND = false
  582. local SOUND = nil
  583. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  584. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  585. PLAYSSOUND = true
  586. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  587. end
  588. EFFECT.Color = COLOR
  589. local MSH = nil
  590. if TYPE == "Sphere" then
  591. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  592. elseif TYPE == "Block" then
  593. MSH = IT("BlockMesh",EFFECT)
  594. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  595. elseif TYPE == "Wave" then
  596. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  597. elseif TYPE == "Ring" then
  598. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  599. elseif TYPE == "Slash" then
  600. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  601. elseif TYPE == "Round Slash" then
  602. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  603. elseif TYPE == "Swirl" then
  604. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  605. elseif TYPE == "Skull" then
  606. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  607. elseif TYPE == "Crystal" then
  608. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  609. end
  610. if MSH ~= nil then
  611. local MOVESPEED = nil
  612. if MOVEDIRECTION ~= nil then
  613. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  614. end
  615. local GROWTH = SIZE - ENDSIZE
  616. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  617. if TYPE == "Block" then
  618. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  619. else
  620. EFFECT.CFrame = CFRAME
  621. end
  622. for LOOP = 1, TIME+1 do
  623. Swait()
  624. MSH.Scale = MSH.Scale - GROWTH/TIME
  625. if TYPE == "Wave" then
  626. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  627. end
  628. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  629. if TYPE == "Block" then
  630. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  631. else
  632. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  633. end
  634. if MOVEDIRECTION ~= nil then
  635. local ORI = EFFECT.Orientation
  636. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  637. EFFECT.Orientation = ORI
  638. end
  639. end
  640. if PLAYSSOUND == false then
  641. EFFECT:remove()
  642. else
  643. repeat Swait() until SOUND.Playing == false
  644. EFFECT:remove()
  645. end
  646. else
  647. if PLAYSSOUND == false then
  648. EFFECT:remove()
  649. else
  650. repeat Swait() until SOUND.Playing == false
  651. EFFECT:remove()
  652. end
  653. end
  654. end))
  655. end
  656. function killnearest(position,range,maxstrength)
  657. for i,v in ipairs(workspace:GetChildren()) do
  658. local body = v:GetChildren()
  659. for part = 1, #body do
  660. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  661. if(body[part].Position - position).Magnitude < range then
  662. if v.ClassName == "Model" then
  663. v:BreakJoints()
  664. end
  665. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  666. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  667. end
  668. end
  669. end
  670. if v.ClassName == "Part" then
  671. if v.Anchored == false and (v.Position - position).Magnitude < range then
  672. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  673. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  674. end
  675. end
  676. end
  677. end
  678.  
  679. function CheckTableForString(Table, String)
  680. for i, v in pairs(Table) do
  681. if string.find(string.lower(String), string.lower(v)) then
  682. return true
  683. end
  684. end
  685. return false
  686. end
  687.  
  688. function CheckIntangible(Hit)
  689. local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"}
  690. if Hit and Hit.Parent then
  691. if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then
  692. return true
  693. end
  694. end
  695. return false
  696. end
  697.  
  698. function MakeForm(PART,TYPE)
  699. if TYPE == "Cyl" then
  700. local MSH = IT("CylinderMesh",PART)
  701. elseif TYPE == "Ball" then
  702. local MSH = IT("SpecialMesh",PART)
  703. MSH.MeshType = "Sphere"
  704. elseif TYPE == "Wedge" then
  705. local MSH = IT("SpecialMesh",PART)
  706. MSH.MeshType = "Wedge"
  707. end
  708. end
  709.  
  710. Debris = game:GetService("Debris")
  711.  
  712. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  713. local DIRECTION = CF(StartPos,EndPos).lookVector
  714. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  715. end
  716.  
  717. function turnto(position)
  718. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  719. end
  720.  
  721. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  722. PLAYMAINANIM = false
  723. if WhichPose == "Cast1" then
  724. for i=0, Time, 0.1 / Animation_Speed do
  725. Swait()
  726. if Magic == true then
  727. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  728. end
  729. if Gyro ~= nil and Gyro ~= false then
  730. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  731. end
  732. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  733. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  734. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  735. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  736. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  737. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  738. end
  739. elseif WhichPose == "Cast2" then
  740. for i=0, Time, 0.1 / Animation_Speed do
  741. Swait()
  742. if Magic == true then
  743. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  744. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  745. end
  746. if Gyro ~= nil and Gyro ~= false then
  747. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  748. end
  749. 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)
  750. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  751. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  752. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  753. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  754. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  755. end
  756. elseif WhichPose == "RightArmUp" then
  757. for i=0, Time, 0.1 / Animation_Speed do
  758. Swait()
  759. if Magic == true then
  760. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  761. end
  762. if Gyro ~= nil and Gyro ~= false then
  763. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  764. end
  765. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  766. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  767. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  768. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  769. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  770. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  771. end
  772. elseif WhichPose == "Taunt" then
  773. for i=0, Time, 0.1 / Animation_Speed do
  774. Swait()
  775. 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)
  776. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  777. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  778. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  779. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  780. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  781. end
  782. HATWELD.Part0 = RightArm
  783. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  784. CreateSound(221057812,Torso,10,1,false)
  785. for i=0, Time*2, 0.1 / Animation_Speed do
  786. Swait()
  787. 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)
  788. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  789. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  790. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  791. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  792. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  793. end
  794. for i=0, Time, 0.1 / Animation_Speed do
  795. Swait()
  796. 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)
  797. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  798. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  799. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  800. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  801. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  802. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  803. end
  804. HATWELD.Part0 = Head
  805. HATWELD.C0 = CF(0,0.35,0)
  806. elseif WhichPose == "Prepare key" then
  807. for i=0, Time, 0.1 / Animation_Speed do
  808. Swait()
  809. if Gyro ~= nil and Gyro ~= false then
  810. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  811. end
  812. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  813. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  814. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  815. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  816. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  817. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  818. end
  819. elseif WhichPose == "Turn key" then
  820. for i=0, Time, 0.1 / Animation_Speed do
  821. Swait()
  822. if Gyro ~= nil and Gyro ~= false then
  823. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  824. end
  825. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  829. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  831. end
  832. end
  833. PLAYMAINANIM = true
  834. end
  835.  
  836. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false})
  837. function Lightning(Table)
  838. local Color = Table.Color or C3(1,1,1)
  839. local StartPos = Table.Start or Torso.Position
  840. local EndPos = Table.End or Mouse.Hit.p
  841. local SegmentLength = Table.SegmentL or 2
  842. local Thickness = Table.Thickness or 0.1
  843. local Dissapear = Table.DoesFade or false
  844. local Parent = Table.Ignore or Character
  845. local MaxDist = Table.MaxDist or 400
  846. local Branches = Table.Branches or false
  847. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  848. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  849. local LIGHTNINGMODEL = IT("Model",Effects)
  850. LIGHTNINGMODEL.Name = "Lightning"
  851. local LastBolt = nil
  852. for E = 1, DISTANCE do
  853. local ExtraSize = (DISTANCE-E)/15
  854. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  855. PART.Color = Color
  856. MakeForm(PART,"Cyl")
  857. if LastBolt == nil then
  858. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  859. else
  860. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  861. end
  862. LastBolt = PART
  863. if Branches == true then
  864. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  865. if CHOICE == 1 then
  866. local LASTBRANCH = nil
  867. for i = 1, MRANDOM(2,5) do
  868. local ExtraSize2 = ((DISTANCE-E)/25)/i
  869. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  870. PART.Color = Color
  871. MakeForm(PART,"Cyl")
  872. if LASTBRANCH == nil then
  873. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  874. else
  875. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  876. end
  877. LASTBRANCH = PART
  878. end
  879. end
  880. end
  881. end
  882. if Dissapear == true then
  883. coroutine.resume(coroutine.create(function()
  884. for i = 1, 10 do
  885. Swait()
  886. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  887. if c.ClassName == "Part" then
  888. c.Transparency = i/10
  889. end
  890. end
  891. end
  892. LIGHTNINGMODEL:remove()
  893. end))
  894. elseif Dissapear == false then
  895. Debris:AddItem(LIGHTNINGMODEL,0.1)
  896. end
  897. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  898. end
  899.  
  900. --//=================================\\
  901. --|| WEAPON CREATION
  902. --\\=================================//
  903.  
  904. RootPart.Size = RootPart.Size*SIZE
  905. Torso.Size = Torso.Size*SIZE
  906. RightArm.Size = RightArm.Size*SIZE
  907. RightLeg.Size = RightLeg.Size*SIZE
  908. LeftArm.Size = LeftArm.Size*SIZE
  909. LeftLeg.Size = LeftLeg.Size*SIZE
  910. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  911. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  912. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  913. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  914. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  915. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  916. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  917. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  918. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  919. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  920. Head.Size = Head.Size*SIZE
  921. RootJoint.Parent = RootPart
  922. Neck.Parent = Torso
  923. RightShoulder.Parent = Torso
  924. LeftShoulder.Parent = Torso
  925. RightHip.Parent = Torso
  926. LeftHip.Parent = Torso
  927.  
  928. Humanoid.DisplayDistanceType = "None"
  929. local naeeym2 = IT("BillboardGui",Character)
  930. naeeym2.AlwaysOnTop = true
  931. naeeym2.Size = UDim2.new(5,35,2,15)
  932. naeeym2.StudsOffset = Vector3.new(0,2,0)
  933. naeeym2.MaxDistance = 75
  934. naeeym2.Adornee = Character.Head
  935. naeeym2.Name = "Name"
  936. local tecks2 = IT("TextLabel",naeeym2)
  937. tecks2.BackgroundTransparency = 1
  938. tecks2.TextScaled = true
  939. tecks2.BorderSizePixel = 0
  940. tecks2.Text = "!Insanity! Pandora"
  941. tecks2.Font = "Fantasy"
  942. tecks2.TextSize = 30
  943. tecks2.TextStrokeTransparency = 0
  944. tecks2.TextColor3 = C3(1,1,1)
  945. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  946. tecks2.Size = UDim2.new(1,0,0.5,0)
  947. tecks2.Parent = naeeym2
  948. local top = Instance.new("Shirt")
  949. top.ShirtTemplate = "rbxassetid://1533635803"
  950. top.Parent = Character
  951. top.Name = "Cloth"
  952. local bottom = Instance.new("Pants")
  953. bottom.PantsTemplate = "rbxassetid://1460022985"
  954. bottom.Parent = Character
  955. bottom.Name = "Cloth"
  956. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  957. PRT.Color = C3(0,0,0)
  958. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  959. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  960. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  961. PRT.Color = C3(1,1,1)
  962. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  963. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  964. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(1,1.2,0.2),false)
  965. PRT.Color = C3(159/255, 111/255, 183/255)
  966. MakeForm(PRT,"Ball")
  967. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  968. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.4,0.5),false)
  969. PRT.Color = C3(159/255, 111/255, 183/255)
  970. MakeForm(PRT,"Ball")
  971. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  972. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
  973. PRT.Color = C3(159/255, 111/255, 183/255)
  974. MakeForm(PRT,"Ball")
  975. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  976. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.5,0.3,0.3),false)
  977. PRT.Color = C3(159/255, 111/255, 183/255)
  978. MakeForm(PRT,"Ball")
  979. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  980. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
  981. PRT.Color = C3(159/255, 111/255, 183/255)
  982. MakeForm(PRT,"Ball")
  983. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  984. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Detail", VT(0.4,0.4,0.3),false)
  985. PRT.Color = C3(159/255, 111/255, 183/255)
  986. MakeForm(PRT,"Ball")
  987. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  988.  
  989. local LASTPART = Head
  990. for i = 1, 24 do
  991. local MATH = (1-(i/30))
  992. if LASTPART == Head then
  993. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  994. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  995. LASTPART = Horn
  996. Horn.Color = C3(0,0,0)
  997. else
  998. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  999. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1000. LASTPART = Horn
  1001. Horn.Color = C3(0,0,0)
  1002. end
  1003. end
  1004. local LASTPART = Head
  1005. for i = 1, 24 do
  1006. local MATH = (1-(i/30))
  1007. if LASTPART == Head then
  1008. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1009. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  1010. LASTPART = Horn
  1011. Horn.Color = C3(0,0,0)
  1012. else
  1013. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1014. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(5), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1015. LASTPART = Horn
  1016. Horn.Color = C3(0,0,0)
  1017. end
  1018. end
  1019. local LASTPART = Head
  1020. for i = 1, 8 do
  1021. local MATH = (1-(i/14))
  1022. if LASTPART == Head then
  1023. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1024. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  1025. LASTPART = Horn
  1026. Horn.Color = C3(0,0,0)
  1027. else
  1028. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1029. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1030. LASTPART = Horn
  1031. Horn.Color = C3(0,0,0)
  1032. end
  1033. end
  1034. local LASTPART = Head
  1035. for i = 1, 8 do
  1036. local MATH = (1-(i/14))
  1037. if LASTPART == Head then
  1038. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1039. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1040. LASTPART = Horn
  1041. Horn.Color = C3(0,0,0)
  1042. else
  1043. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1044. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/2, 0) * ANGLES(RAD(10), RAD(-3), RAD(0)), CF(0, -Horn.Size.Y/2, 0))
  1045. LASTPART = Horn
  1046. Horn.Color = C3(0,0,0)
  1047. end
  1048. end
  1049. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1050. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1051. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1052. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1053. MakeForm(PRT,"Cyl")
  1054. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1055. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1056. MakeForm(PRT,"Cyl")
  1057. PRT.Color = C3(159/255, 111/255, 183/255)
  1058. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1059. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1060. MakeForm(RING,"Cyl")
  1061. RING.Color = C3(0,0,0)
  1062. for i = 1, 12 do
  1063. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0,0.15,0)*SIZE,false)
  1064. PRT.Color = C3(0,0,0)
  1065. local MSH = IT("BlockMesh",PRT)
  1066. MSH.Scale = VT(0.6,1,1)
  1067. 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))
  1068. end
  1069. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1070. PRT.Color = C3(0,0,0)
  1071. local MSH = IT("BlockMesh",PRT)
  1072. MSH.Scale = VT(0.4,1,1)
  1073. 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))
  1074. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1075. PRT.Color = C3(0,0,0)
  1076. local MSH = IT("BlockMesh",PRT)
  1077. MSH.Scale = VT(0.4,1,1)
  1078. 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))
  1079. coroutine.resume(coroutine.create(function()
  1080. while true do
  1081. Swait()
  1082. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1083. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1084. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1085. if CLOCKLOOP <= -150 then
  1086. if VALUE1 == false then
  1087. CLOCKLOOP = 0
  1088. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  1089. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1090. ApplyAoE(HITPOS,10,15,45,75,false)
  1091. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1092. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1093. if CLOCKTARGET ~= nil then
  1094. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1095. if CLOCKTARGET.Torso ~= nil then
  1096. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1097. end
  1098. if CLOCKTARGET.Health == 0 then
  1099. CLOCKTARGET = nil
  1100. end
  1101. end
  1102. end
  1103. end
  1104. end
  1105. end))
  1106.  
  1107. for _, c in pairs(Weapon:GetChildren()) do
  1108. if c.ClassName == "Part" then
  1109. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1110. end
  1111. end
  1112.  
  1113. Neck.Name = "Weld"
  1114. RootJoint.Name = "Weld"
  1115. RightShoulder.Name = "Weld"
  1116. LeftShoulder.Name = "Weld"
  1117. RightHip.Name = "Weld"
  1118. LeftHip.Name = "Weld"
  1119.  
  1120. local SKILLTEXTCOLOR = C3(255/255, 0/255, 0/255)
  1121. local SKILLFONT = "Fantasy"
  1122. local SKILLTEXTSIZE = 7
  1123.  
  1124. Weapon.Parent = Character
  1125. Humanoid.Parent = Character
  1126.  
  1127. Humanoid.Died:connect(function()
  1128. ATTACK = true
  1129. end)
  1130.  
  1131. --//=================================\\
  1132. --|| DAMAGING
  1133. --\\=================================//
  1134.  
  1135. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1136. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1137. defence.Name = ("HitBy"..Player.Name)
  1138. game:GetService("Debris"):AddItem(defence, 0.001)
  1139. Damage = Damage * DAMAGEMULTIPLIER
  1140. if Humanoid.Health ~= 0 then
  1141. local CritChance = MRANDOM(1,100)
  1142. if Damage > Humanoid.Health then
  1143. Damage = math.ceil(Humanoid.Health)
  1144. if Damage == 0 then
  1145. Damage = 0.1
  1146. end
  1147. end
  1148. Humanoid.Health = Humanoid.Health - Damage
  1149. end
  1150. end
  1151.  
  1152. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1153. local CHILDREN = workspace:GetDescendants()
  1154. for index, CHILD in pairs(CHILDREN) do
  1155. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1156. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1157. if HUM then
  1158. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1159. if TORSO then
  1160. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1161. if INSTAKILL == true then
  1162. CHILD:BreakJoints()
  1163. else
  1164. local DMG = MRANDOM(MINDMG,MAXDMG)
  1165. ApplyDamage(HUM,DMG,TORSO)
  1166. end
  1167. if FLING > 0 then
  1168. for _, c in pairs(CHILD:GetChildren()) do
  1169. if c:IsA("BasePart") then
  1170. local bv = Instance.new("BodyVelocity")
  1171. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1172. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1173. bv.Parent = c
  1174. Debris:AddItem(bv,0.05)
  1175. end
  1176. end
  1177. end
  1178. end
  1179. end
  1180. end
  1181. end
  1182. end
  1183. end
  1184.  
  1185. function MagicSphere2(size,waitt,cframe,color)
  1186. local wave = CreatePart(3, Effects, "Neon", 0, 1, BRICKC(color), "Effect", VT(1,1,1))
  1187. local mesh = IT("SpecialMesh",wave)
  1188. mesh.MeshType = "Sphere"
  1189. mesh.Scale = VT(size,size,size)
  1190. mesh.Offset = VT(0,0,0)
  1191. wave.CFrame = cframe
  1192. coroutine.resume(coroutine.create(function(PART)
  1193. for i = 1, waitt do
  1194. Swait()
  1195. mesh.Scale = mesh.Scale - VT(size/waitt,size/waitt,size/waitt)
  1196. wave.Transparency = wave.Transparency - (1/waitt)
  1197. end
  1198. wave:remove()
  1199. end))
  1200. end
  1201.  
  1202. function MagicSphere(size,waitt,cframe,color)
  1203. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(color), "Effect", VT(1,1,1))
  1204. local mesh = IT("SpecialMesh",wave)
  1205. mesh.MeshType = "Sphere"
  1206. mesh.Scale = VT(size,size,size)
  1207. mesh.Offset = VT(0,0,0)
  1208. wave.CFrame = cframe
  1209. coroutine.resume(coroutine.create(function(PART)
  1210. for i = 1, waitt do
  1211. Swait()
  1212. mesh.Scale = mesh.Scale + VT(size/5,size/5,size/5)
  1213. wave.Transparency = wave.Transparency + (1/waitt)
  1214. if wave.Transparency > 0.99 then
  1215. wave:remove()
  1216. end
  1217. end
  1218. end))
  1219. end
  1220.  
  1221. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1222. local Direction = CFrame.new(StartPos, Vec).lookVector
  1223. local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
  1224. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore)
  1225. if RayHit and CheckIntangible(RayHit) then
  1226. if DelayIfHit then
  1227. wait()
  1228. end
  1229. RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit)
  1230. end
  1231. return RayHit, RayPos, RayNormal
  1232. end
  1233.  
  1234. function CreateSwirl(inair,size,doesrotate,rotatedirection,waitt,cframe,color)
  1235. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(color), "Effect", VT(0,0,0))
  1236. local mesh = IT("SpecialMesh",wave)
  1237. mesh.MeshType = "FileMesh"
  1238. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1239. mesh.Scale = VT(size,size,size)
  1240. wave.CFrame = cframe
  1241. coroutine.resume(coroutine.create(function(PART)
  1242. for i = 1, waitt do
  1243. Swait()
  1244. mesh.Scale = mesh.Scale + VT(size/5,0,size/5)
  1245. if doesrotate == true then
  1246. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, rotatedirection, 0)
  1247. end
  1248. wave.Transparency = wave.Transparency + (0.5/waitt)
  1249. if wave.Transparency > 0.99 then
  1250. wave:remove()
  1251. end
  1252. end
  1253. end))
  1254. end
  1255.  
  1256. --//=================================\\
  1257. --|| ATTACK FUNCTIONS AND STUFF
  1258. --\\=================================//
  1259.  
  1260. function MagicMissiles()
  1261. ATTACK = true
  1262. Rooted = true
  1263. local SELECTING = true
  1264. local SPOTS = {}
  1265. coroutine.resume(coroutine.create(function()
  1266. local LOOP = 0
  1267. repeat
  1268. LOOP = LOOP + 1
  1269. Swait()
  1270. if LOOP >= 20 then
  1271. LOOP = 0
  1272. for i = 1, #SPOTS do
  1273. if SPOTS[i] ~= nil then
  1274. 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})
  1275. 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})
  1276. end
  1277. end
  1278. end
  1279. 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)
  1280. 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)
  1281. 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)
  1282. 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)
  1283. 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)
  1284. 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)
  1285. until SELECTING == false
  1286. Rooted = false
  1287. repeat
  1288. LOOP = LOOP + 1
  1289. Swait()
  1290. if LOOP >= 20 then
  1291. LOOP = 0
  1292. for i = 1, #SPOTS do
  1293. if SPOTS[i] ~= nil then
  1294. 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})
  1295. 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})
  1296. end
  1297. end
  1298. end
  1299. 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)
  1300. 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)
  1301. 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)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. until ATTACK == false
  1306. end))
  1307. repeat
  1308. repeat Swait() until HOLD == true
  1309. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1310. if DIST > 9999 then
  1311. DIST = 9999
  1312. end
  1313. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1314. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1315. if HITFLOOR ~= nil then
  1316. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1317. 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})
  1318. 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})
  1319. end
  1320. repeat Swait() until HOLD == false
  1321. until #SPOTS == 15
  1322. SELECTING = false
  1323. for i = 1, #SPOTS do
  1324. if SPOTS[i] ~= nil then
  1325. local POS = SPOTS[i]
  1326. coroutine.resume(coroutine.create(function()
  1327. local MISSILE = IT("Model",Effects)
  1328. MISSILE.Name = "Missile"
  1329. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,2,2))
  1330. MakeForm(BASEPART,"Cyl")
  1331. MISSILE.PrimaryPart = BASEPART
  1332. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1333. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2,4,2))
  1334. MakeForm(HEAD,"Ball")
  1335. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1336. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Alder", "Part", VT(2.5,0.1,2.5))
  1337. MakeForm(TAIL,"Cyl")
  1338. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1339. for i = 1, 10 do
  1340. Swait()
  1341. for _, c in pairs(MISSILE:GetChildren()) do
  1342. if c.ClassName == "Part" then
  1343. c.Transparency = c.Transparency - 1/10
  1344. end
  1345. end
  1346. end
  1347. for i = 1, 15*1.5 do
  1348. Swait()
  1349. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1350. end
  1351. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  1352. 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})
  1353. 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})
  1354. 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})
  1355. 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})
  1356. MISSILE:remove()
  1357. end))
  1358. end
  1359. end
  1360. wait(0.6)
  1361. ATTACK = false
  1362. Rooted = false
  1363. end
  1364.  
  1365.  
  1366.  
  1367. function TimesUp()
  1368. CLOCKTARGET = nil
  1369. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1370. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1371. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1372. if TORSO then
  1373. ATTACK = true
  1374. Rooted = false
  1375. coroutine.resume(coroutine.create(function()
  1376. repeat
  1377. Swait()
  1378. 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)
  1379. 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)
  1380. 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)
  1381. 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)
  1382. 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)
  1383. 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)
  1384. until ATTACK == false
  1385. end))
  1386. if Effects:FindFirstChild("NeonDoll") then
  1387. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1388. end
  1389. wait(0.5)
  1390. local FAKECHARACTER = IT("Model",Effects)
  1391. FAKECHARACTER.Name = "NeonDoll"
  1392. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.3,0.3,0.15),false)
  1393. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1394. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1395. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1396. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1397. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1398. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1399. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1400. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.3,0.15),false)
  1401. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1402. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Alder", "Part", VT(0.15,0.15,0.15),false)
  1403. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1404. CreateSound(201858045, TORS, 5, 0.4, false)
  1405. for i = 1, 150 do
  1406. Swait()
  1407. CLOCKSPEED = 100
  1408. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1409. if c.ClassName == "Part" then
  1410. c.Transparency = c.Transparency - 0.5/150
  1411. end
  1412. end
  1413. end
  1414. CLOCKTARGET = HUM
  1415. coroutine.resume(coroutine.create(function()
  1416. repeat Swait() CLOCKSPEED = 100 until CLOCKTARGET == nil
  1417. for i = 1, 25 do
  1418. Swait()
  1419. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1420. if c.ClassName == "Part" then
  1421. c.Transparency = c.Transparency + 0.5/25
  1422. end
  1423. end
  1424. end
  1425. CLOCKSPEED = 100
  1426. FAKECHARACTER:remove()
  1427. end))
  1428. wait(0.5)
  1429. ATTACK = false
  1430. Rooted = false
  1431. end
  1432. end
  1433. end
  1434.  
  1435. function ChainPunch()
  1436. ATTACK = true
  1437. Rooted = false
  1438. local GYRO = IT("BodyGyro",RootPart)
  1439. GYRO.D = 25
  1440. GYRO.P = 2000
  1441. GYRO.MaxTorque = VT(0,40000,0)
  1442. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1443. repeat
  1444. Swait()
  1445. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1446. 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)
  1447. 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)
  1448. 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)
  1449. 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)
  1450. 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)
  1451. 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)
  1452. until HOLD == true
  1453. local POS = Mouse.Hit.p
  1454. local CHAINS = false
  1455. local CHAINLINKS = {}
  1456. local A = IT("Attachment",RightArm)
  1457. A.Position = VT(1,-1,0)*SIZE
  1458. A.Orientation = VT(-90, -89.982, 0)
  1459. local B = IT("Attachment",RightArm)
  1460. B.Position = VT(-1,-1,0)*SIZE
  1461. B.Orientation = VT(-90, 89.988, 0)
  1462. local C = IT("Attachment",RightArm)
  1463. C.Position = VT(0.5,-1.3,0)*SIZE
  1464. C.Orientation = VT(-90, -89.982, 0)
  1465. local D = IT("Attachment",RightArm)
  1466. D.Position = VT(-0.5,-1.3,0)*SIZE
  1467. D.Orientation = VT(-90, 89.988, 0)
  1468. local LIGHT = IT("Attachment",RightArm)
  1469. LIGHT.Position = VT(0,-1,0)*SIZE
  1470. local LIGHT2 = IT("PointLight",LIGHT)
  1471. LIGHT2.Range = 7
  1472. LIGHT2.Brightness = 5
  1473. LIGHT2.Color = SKILLTEXTCOLOR
  1474. for i = 1, 2 do
  1475. local TWIST = -2
  1476. local START = A
  1477. local END = B
  1478. if i == 1 then
  1479. START = B
  1480. END = A
  1481. end
  1482. local ChainLink = IT("Beam",Torso)
  1483. ChainLink.Texture = "rbxassetid://73042633"
  1484. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1485. ChainLink.TextureSpeed = 1
  1486. ChainLink.Width0 = 1
  1487. ChainLink.Width1 = 1
  1488. ChainLink.TextureLength = 2.5
  1489. ChainLink.Attachment0 = START
  1490. ChainLink.Attachment1 = END
  1491. ChainLink.CurveSize0 = TWIST
  1492. ChainLink.CurveSize1 = TWIST
  1493. --ChainLink.FaceCamera = true
  1494. ChainLink.Segments = 45
  1495. ChainLink.Transparency = NumberSequence.new(1)
  1496. table.insert(CHAINLINKS,ChainLink)
  1497. end
  1498. for i = 1, 2 do
  1499. local TWIST = -1
  1500. local START = C
  1501. local END = D
  1502. if i == 1 then
  1503. START = D
  1504. END = C
  1505. end
  1506. local ChainLink = IT("Beam",Torso)
  1507. ChainLink.Texture = "rbxassetid://73042633"
  1508. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1509. ChainLink.TextureSpeed = 1
  1510. ChainLink.Width0 = 1
  1511. ChainLink.Width1 = 1
  1512. ChainLink.TextureLength = 5
  1513. ChainLink.Attachment0 = START
  1514. ChainLink.Attachment1 = END
  1515. ChainLink.CurveSize0 = TWIST
  1516. ChainLink.CurveSize1 = TWIST
  1517. --ChainLink.FaceCamera = true
  1518. ChainLink.Segments = 25
  1519. ChainLink.LightEmission = 0.5
  1520. ChainLink.Transparency = NumberSequence.new(1)
  1521. table.insert(CHAINLINKS,ChainLink)
  1522. end
  1523. coroutine.resume(coroutine.create(function()
  1524. repeat
  1525. Swait()
  1526. 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)
  1527. 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)
  1528. 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)
  1529. 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)
  1530. 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)
  1531. 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)
  1532. until CHAINS == true
  1533. repeat
  1534. Swait()
  1535. 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)
  1536. 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)
  1537. 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)
  1538. 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)
  1539. 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)
  1540. 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)
  1541. until ATTACK == false
  1542. for e = 1, 15 do
  1543. Swait()
  1544. for i = 1, #CHAINLINKS do
  1545. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1546. end
  1547. end
  1548. A:remove()
  1549. B:remove()
  1550. C:remove()
  1551. D:remove()
  1552. end))
  1553. CreateSound(233856115, RightArm, 5, 1.2, false)
  1554. for e = 1, 15 do
  1555. Swait()
  1556. for i = 1, #CHAINLINKS do
  1557. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1558. end
  1559. end
  1560. CHAINS = true
  1561. Rooted = true
  1562. wait(0.25)
  1563. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Alder", "Part", VT(2,2,2))
  1564. FIST.Color = C3(1, 215/255, 1)
  1565. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1566. local LIGHT3 = IT("PointLight",FIST)
  1567. LIGHT3.Range = 7
  1568. LIGHT3.Brightness = 5
  1569. LIGHT3.Color = SKILLTEXTCOLOR
  1570. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1571. local FISTA = IT("Attachment",FIST)
  1572. FISTA.Position = VT(0.062, 0.977, 0)
  1573. local ChainLink = IT("Beam",Torso)
  1574. ChainLink.Texture = "rbxassetid://73042633"
  1575. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1576. ChainLink.TextureSpeed = 0
  1577. ChainLink.Width0 = 3
  1578. ChainLink.Width1 = 3
  1579. ChainLink.TextureLength = 12
  1580. ChainLink.Attachment0 = LIGHT
  1581. ChainLink.Attachment1 = FISTA
  1582. ChainLink.FaceCamera = true
  1583. ChainLink.Segments = 45
  1584. ChainLink.LightEmission = 0.5
  1585. ChainLink.Transparency = NumberSequence.new(0.25)
  1586. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1587. for i = 1, 85 do
  1588. Swait()
  1589. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1590. ChainLink.TextureLength = 12+(i*2)
  1591. ApplyAoE(FIST.Position,40,15,20,100,false)
  1592. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(20,0,20), 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})
  1593. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1594. if HITFLOOR ~= nil then
  1595. HITFLOOR:BreakJoints()
  1596. coroutine.resume(coroutine.create(function()
  1597. for i = 1, 15 do
  1598. Swait()
  1599. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1600. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1601. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(60,3,60), 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})
  1602. end
  1603. end))
  1604. break
  1605. end
  1606. end
  1607. coroutine.resume(coroutine.create(function()
  1608. for i = 1, 50 do
  1609. Swait()
  1610. FIST.Transparency = FIST.Transparency + 0.5/50
  1611. LIGHT3.Range = LIGHT3.Range - 7/50
  1612. end
  1613. FIST:remove()
  1614. end))
  1615. LIGHT:remove()
  1616. GYRO:remove()
  1617. ATTACK = false
  1618. Rooted = false
  1619. end
  1620.  
  1621. function WarpMeteor()
  1622. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1623. if DIST > 180 then
  1624. DIST = 180
  1625. end
  1626. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1627. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1628. if HITFLOOR then
  1629. local POS = HITPOS
  1630. ATTACK = true
  1631. Rooted = true
  1632. local WARPED = false
  1633. local SMASHED = false
  1634. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1635. coroutine.resume(coroutine.create(function()
  1636. repeat
  1637. Swait()
  1638. 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)
  1639. 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)
  1640. 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)
  1641. 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)
  1642. 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)
  1643. 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)
  1644. until WARPED == true
  1645. repeat
  1646. Swait()
  1647. 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)
  1648. 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)
  1649. 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)
  1650. 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)
  1651. 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)
  1652. 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)
  1653. until SMASHED == true
  1654. repeat
  1655. Swait()
  1656. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1657. 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)
  1658. 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)
  1659. 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)
  1660. 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)
  1661. 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)
  1662. until ATTACK == false
  1663. end))
  1664. VALUE1 = true
  1665. CreateSound(233856115, Torso, 5, 1.6, false)
  1666. for i = 1, 25 do
  1667. Swait()
  1668. for _, c in pairs(Character:GetChildren()) do
  1669. if c.ClassName == "Part" then
  1670. c.Transparency = c.Transparency + 1/25
  1671. end
  1672. end
  1673. for _, c in pairs(Weapon:GetChildren()) do
  1674. if c.ClassName == "Part" then
  1675. c.Transparency = c.Transparency + 1/25
  1676. end
  1677. end
  1678. end
  1679. UNANCHOR = false
  1680. RootPart.Anchored = true
  1681. RootPart.Velocity = VT(0,0,0)
  1682. local ROOTPOS = RootPart.Position
  1683. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1684. WARPED = true
  1685. for i = 1, 25 do
  1686. Swait()
  1687. for _, c in pairs(Character:GetChildren()) do
  1688. if c.ClassName == "Part" then
  1689. c.Transparency = c.Transparency - 1/25
  1690. end
  1691. end
  1692. for _, c in pairs(Weapon:GetChildren()) do
  1693. if c.ClassName == "Part" then
  1694. c.Transparency = c.Transparency - 1/25
  1695. end
  1696. end
  1697. end
  1698. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Part", VT(0,0,0))
  1699. SHELL.CFrame = RootPart.CFrame
  1700. MakeForm(SHELL,"Ball")
  1701. CreateSound(402981977, SHELL, 5, 1.6, false)
  1702. for i = 1, 10 do
  1703. Swait()
  1704. SHELL.Transparency = SHELL.Transparency - 1/10
  1705. SHELL.Size = SHELL.Size + VT(2,2,2)*1.8
  1706. end
  1707. for i = 1, math.ceil(75/2) do
  1708. Swait()
  1709. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1710. SHELL.CFrame = CF(RootPart.Position)
  1711. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(10,6,10), 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})
  1712. end
  1713. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1714. SHELL.CFrame = CF(RootPart.Position)
  1715. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(100,100,100)*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})
  1716. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(60,6,60)*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})
  1717. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(60,6,60)*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})
  1718. for i = 1, 5 do
  1719. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(50,5,50)*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})
  1720. end
  1721. SHELL:remove()
  1722. ApplyAoE(RootPart.Position,75,35,75,300,false)
  1723. SMASHED = true
  1724. wait(1)
  1725. VALUE1 = false
  1726. UNANCHOR = true
  1727. ATTACK = false
  1728. Rooted = false
  1729. end
  1730. end
  1731.  
  1732. function PandorasBox()
  1733. 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)
  1734. if HITFLOOR ~= nil then
  1735. ATTACK = true
  1736. Rooted = true
  1737. local RINGSPIN = true
  1738. local CONSTRUCTING = true
  1739. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1740. RING.Color = C3(0,0,0)
  1741. MakeForm(RING,"Cyl")
  1742. RING.CFrame = CF(HITPOS)
  1743. CreateSound(402981977, RING, 5, 1.2, false)
  1744. coroutine.resume(coroutine.create(function()
  1745. repeat
  1746. Swait()
  1747. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1748. 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)
  1749. 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)
  1750. 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)
  1751. 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)
  1752. 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)
  1753. 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)
  1754. until CONSTRUCTING == false
  1755. repeat
  1756. Swait()
  1757. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1758. until RINGSPIN == false
  1759. for i = 1, 25 do
  1760. Swait()
  1761. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1762. RING.Size = RING.Size - VT(0.15,0,0.15)
  1763. --DECAL.Transparency = DECAL.Transparency + 1/25
  1764. RING.Transparency = RING.Transparency + 1/25
  1765. end
  1766. RING:remove()
  1767. end))
  1768. for i = 1, 15 do
  1769. Swait()
  1770. RING.Size = RING.Size + VT(0.75,0,0.75)
  1771. RING.Transparency = RING.Transparency - 1/15
  1772. end
  1773. local BOXSPIN = true
  1774. local PANDORASBOX = IT("Model",Effects)
  1775. PANDORASBOX.Name = "Pandora's Box"
  1776. local BOX = IT("Model",PANDORASBOX)
  1777. BOX.Name = "Body"
  1778. local LID = IT("Model",PANDORASBOX)
  1779. LID.Name = "Lid"
  1780. --BUILDING THE BOX--
  1781. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1782. BASE.Color = C3(0,0,0)
  1783. PANDORASBOX.PrimaryPart = BASE
  1784. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1785. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1786. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1787. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1788. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1789. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1790. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1791. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1792. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1793. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1794. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1795. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1796. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1797. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1798. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1799. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1800. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1801. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1802. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1803. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1804. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1805. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1806. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1807. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1808. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1809. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1810. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1811. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1812. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1813. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1814. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1815. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1816. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1817. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1818. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1819. -------------
  1820. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1821. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1822. LID.PrimaryPart = LIDPART
  1823. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1824. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1825. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1826. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1827. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1828. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1829. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1830. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1831. local DECAL = IT("Decal",LIDPART)
  1832. DECAL.Face = "Top"
  1833. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1834. DECAL.Color3 = C3(0,0,0)
  1835. --BUILDING THE BOX--
  1836. coroutine.resume(coroutine.create(function()
  1837. repeat
  1838. Swait()
  1839. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1840. until BOXSPIN == false
  1841. end))
  1842. for i = 1, 25 do
  1843. Swait()
  1844. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1845. end
  1846. wait(0.5)
  1847. BOXSPIN = false
  1848. CONSTRUCTING = false
  1849. coroutine.resume(coroutine.create(function()
  1850. 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})
  1851. --[[for i = 1, 45 do
  1852. Swait()
  1853. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1854. end-
  1855. LID:remove()]]--
  1856. for _, c in pairs(LID:GetChildren()) do
  1857. if c.ClassName == "Part" then
  1858. c.Anchored = false
  1859. c.CanCollide = true
  1860. if c ~= LIDPART then
  1861. weldBetween(LIDPART,c)
  1862. end
  1863. end
  1864. end
  1865. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1866. Debris:AddItem(LID,15)
  1867. wait(0.5)
  1868. local RANDOMEFFECT = MRANDOM(1,4)
  1869. if RANDOMEFFECT == 1 then
  1870. for i = 1, 45 do
  1871. wait((2-(i/15))/15)
  1872. 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})
  1873. end
  1874. wait(1)
  1875. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(70,70,70)*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})
  1876. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(60,6,60)*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})
  1877. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(60,6,60)*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})
  1878. for i = 1, 5 do
  1879. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(60,6,60)*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})
  1880. end
  1881. ApplyAoE(BASE.Position,50,1,200,375,false)
  1882. ApplyAoE(BASE.Position,250,35,75,475,false)
  1883. elseif RANDOMEFFECT == 2 then
  1884. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1885. FIELD.CFrame = BASE.CFrame
  1886. MakeForm(FIELD,"Ball")
  1887. for i = 1, 50 do
  1888. Swait()
  1889. FIELD.Size = FIELD.Size + VT(1,1,1)
  1890. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1891. end
  1892. wait(0.2)
  1893. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1894. coroutine.resume(coroutine.create(function()
  1895. for i = 1, 75 do
  1896. Swait()
  1897. LOOP.Volume = LOOP.Volume + 10/75
  1898. LOOP.Parent = FIELD
  1899. local CHILDREN = workspace:GetDescendants()
  1900. for index, CHILD in pairs(CHILDREN) do
  1901. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1902. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1903. if HUM then
  1904. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1905. if TORSO then
  1906. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1907. HUM.Health = HUM.Health - 0.1
  1908. TORSO.Velocity = VT(0,5,0)
  1909. HUM.PlatformStand = true
  1910. if TORSO.RotVelocity.Magnitude < 15 then
  1911. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1912. end
  1913. end
  1914. end
  1915. end
  1916. end
  1917. end
  1918. FIELD.Size = FIELD.Size + VT(6,6,6)
  1919. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1920. end
  1921. for i = 1, 500 do
  1922. Swait()
  1923. LOOP.Parent = FIELD
  1924. local CHILDREN = workspace:GetDescendants()
  1925. for index, CHILD in pairs(CHILDREN) do
  1926. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1927. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1928. if HUM then
  1929. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1930. if TORSO then
  1931. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1932. TORSO.Velocity = VT(0,5,0)
  1933. HUM.Health = HUM.Health - 0.1
  1934. HUM.PlatformStand = true
  1935. if TORSO.RotVelocity.Magnitude < 15 then
  1936. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1937. end
  1938. end
  1939. end
  1940. end
  1941. end
  1942. end
  1943. end
  1944. for i = 1, 25 do
  1945. Swait()
  1946. LOOP.Volume = LOOP.Volume + 10/25
  1947. LOOP.Parent = FIELD
  1948. local CHILDREN = workspace:GetDescendants()
  1949. for index, CHILD in pairs(CHILDREN) do
  1950. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1951. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1952. if HUM then
  1953. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1954. if TORSO then
  1955. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1956. TORSO.Velocity = VT(0,5,0)
  1957. HUM.Health = HUM.Health - 0.1
  1958. HUM.PlatformStand = false
  1959. if TORSO.RotVelocity.Magnitude < 15 then
  1960. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1961. end
  1962. end
  1963. end
  1964. end
  1965. end
  1966. end
  1967. FIELD.Size = FIELD.Size - VT(9,9,9)
  1968. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1969. end
  1970. FIELD:remove()
  1971. end))
  1972. elseif RANDOMEFFECT == 3 then
  1973. for i = 1, 20 do
  1974. wait(0.15)
  1975. 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})
  1976. coroutine.resume(coroutine.create(function()
  1977. local MINION = CLONE:Clone()
  1978. MINION.Parent = Effects
  1979. MINION.Name = "Shadow"
  1980. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1981. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1982. for _, c in pairs(MINION:GetChildren()) do
  1983. if c.ClassName == "Part" then
  1984. c.Material = "Neon"
  1985. c.Color = C3(0,0,0)
  1986. c.Transparency = 0.25
  1987. if c.Name == "Head" then
  1988. c:ClearAllChildren()
  1989. local MSH = IT("BlockMesh",c)
  1990. MSH.Scale = VT(0.5,1,1)
  1991. end
  1992. end
  1993. end
  1994. local TORSO = MINION.Torso
  1995. local HUMAN = MINION.Humanoid
  1996. HUMAN.WalkSpeed = 20
  1997. HUMAN.MaxHealth = math.huge
  1998. HUMAN.Health = math.huge
  1999. HUMAN.DisplayDistanceType = "None"
  2000. HUMAN.Died:connect(function()
  2001. MINION:remove()
  2002. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2003. end)
  2004. wait(1)
  2005. local findNearestTorso = function(POS)
  2006. local list = game.Workspace:GetDescendants()
  2007. local torso = nil
  2008. local dist = 500
  2009. local temp = nil
  2010. local human = nil
  2011. local temp2 = nil
  2012. for x = 1, #list do
  2013. temp2 = list[x]
  2014. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2015. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2016. human = temp2:findFirstChildOfClass("Humanoid")
  2017. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2018. if (temp.Position - POS).magnitude < dist then
  2019. torso = temp
  2020. dist = (temp.Position - POS).magnitude
  2021. end
  2022. end
  2023. end
  2024. end
  2025. return torso, dist
  2026. end
  2027. for i = 1, 40 do
  2028. if HUMAN.Health == 0 then
  2029. break
  2030. end
  2031. wait(0.3)
  2032. local target,dist= findNearestTorso(TORSO.Position)
  2033. if target then
  2034. HUMAN:MoveTo(target.Position)
  2035. if dist < 25 then
  2036. CreateSound(348663022, TORSO, 10, 1, true)
  2037. wait(2)
  2038. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2039. --ANIM:Play()
  2040. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2041. ApplyAoE(TORSO.Position,10,0,0,85,true)
  2042. 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})
  2043. for i = 1, 5 do
  2044. 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})
  2045. end
  2046. break
  2047. end
  2048. end
  2049. end
  2050. MINION:remove()
  2051. end))
  2052. end
  2053. elseif RANDOMEFFECT == 4 then
  2054. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2055. FIELD.Color = C3(0,0,0)
  2056. FIELD.CFrame = BASE.CFrame
  2057. MakeForm(FIELD,"Ball")
  2058. FIELD.CanCollide = true
  2059. for i = 1, 50 do
  2060. Swait()
  2061. FIELD.Size = FIELD.Size + VT(1,1,1)
  2062. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2063. end
  2064. wait(0.2)
  2065. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2066. coroutine.resume(coroutine.create(function()
  2067. local E = 0
  2068. for i = 1, 75 do
  2069. E = E + 1
  2070. Swait()
  2071. if E >= 60 then
  2072. E = 0
  2073. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*80, 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})
  2074. end
  2075. LOOP.Volume = LOOP.Volume + 10/75
  2076. LOOP.Parent = FIELD
  2077. local CHILDREN = workspace:GetDescendants()
  2078. for index, CHILD in pairs(CHILDREN) do
  2079. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2080. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2081. if HUM then
  2082. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2083. if TORSO then
  2084. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2085. for _, c in pairs(CHILD:GetChildren()) do
  2086. if c:IsA("BasePart") then
  2087. local bv = Instance.new("BodyVelocity")
  2088. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2089. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2090. bv.Parent = c
  2091. Debris:AddItem(bv,0.05)
  2092. end
  2093. end
  2094. HUM.Health = HUM.Health - 0.3
  2095. end
  2096. end
  2097. end
  2098. end
  2099. end
  2100. FIELD.Size = FIELD.Size + VT(10,10,10)/5
  2101. end
  2102. for i = 1, 180 do
  2103. E = E + 1
  2104. Swait()
  2105. if E >= 60 then
  2106. E = 0
  2107. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*60, 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})
  2108. end
  2109. LOOP.Parent = FIELD
  2110. local CHILDREN = workspace:GetDescendants()
  2111. for index, CHILD in pairs(CHILDREN) do
  2112. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2113. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2114. if HUM then
  2115. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2116. if TORSO then
  2117. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2118. for _, c in pairs(CHILD:GetChildren()) do
  2119. if c:IsA("BasePart") then
  2120. local bv = Instance.new("BodyVelocity")
  2121. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2122. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2123. bv.Parent = c
  2124. Debris:AddItem(bv,0.05)
  2125. end
  2126. end
  2127. HUM.Health = HUM.Health - 0.3
  2128. end
  2129. end
  2130. end
  2131. end
  2132. end
  2133. end
  2134. ApplyAoE(FIELD.Position,40,100,20,400,false)
  2135. 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})
  2136. for i = 1, 5 do
  2137. 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})
  2138. end
  2139. FIELD:remove()
  2140. end))
  2141. elseif RANDOMEFFECT == 5 then
  2142. end
  2143. wait(0.5)
  2144. for i = 1, 25 do
  2145. Swait()
  2146. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2147. end
  2148. PANDORASBOX:remove()
  2149. RINGSPIN = false
  2150. end))
  2151. ATTACK = false
  2152. Rooted = false
  2153. end
  2154. end
  2155.  
  2156. function Taunt()
  2157. ATTACK = true
  2158. local LAUGH = nil
  2159. coroutine.resume(coroutine.create(function()
  2160. repeat
  2161. Swait()
  2162. 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)
  2163. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2164. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2165. 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)
  2166. 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)
  2167. 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)
  2168. until LAUGH ~= nil
  2169. repeat
  2170. Swait()
  2171. LAUGH.Parent = Head
  2172. 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)
  2173. 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)
  2174. 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)
  2175. 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)
  2176. 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)
  2177. 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)
  2178. until LAUGH.Playing == false
  2179. ATTACK = false
  2180. end))
  2181. wait(0.1)
  2182. sick:Pause()
  2183. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  2184. wait(1)
  2185. sick:Resume()
  2186. end
  2187.  
  2188. function Prison_Key()
  2189. if Mouse.Target ~= nil then
  2190. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2191. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2192. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2193. local GYRO = IT("BodyGyro",RootPart)
  2194. GYRO.D = 750
  2195. GYRO.P = 20000
  2196. GYRO.MaxTorque = VT(0,40000000,0)
  2197. local grav = Instance.new("BodyPosition",TORSO)
  2198. grav.D = 15
  2199. grav.P = 20000
  2200. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2201. grav.position = TORSO.Position
  2202. local GYRO2 = IT("BodyGyro",TORSO)
  2203. GYRO2.D = 750
  2204. GYRO2.P = 20000
  2205. GYRO2.MaxTorque = VT(0,40000000,0)
  2206. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2207. grav.Name = "Jail"
  2208. local LOCKPARTS = {}
  2209. ATTACK = true
  2210. Rooted = false
  2211. local LOCK = IT("Model",Effects)
  2212. LOCK.Name = "Lock"
  2213. local LOCK2 = IT("Model",LOCK)
  2214. LOCK2.Name = "Metal"
  2215. --CREATE LOCK--
  2216. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  2217. LOCK.PrimaryPart = BASE
  2218. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2219. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  2220. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2221. MakeForm(PRT,"Cyl")
  2222. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2223. PRT.Color = C3(0,0,0)
  2224. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2225. MakeForm(PRT,"Cyl")
  2226. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2227. PRT.Color = C3(0,0,0)
  2228. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2229. for i = 1, 45 do
  2230. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2231. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2232. end
  2233. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2234. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2235. LOCK2.PrimaryPart = PRT
  2236. ---------------
  2237. local CHILDREN = LOCK:GetDescendants()
  2238. for index, CHILD in pairs(CHILDREN) do
  2239. if CHILD:IsA("BasePart") then
  2240. CHILD.Transparency = 1
  2241. end
  2242. end
  2243. for i = 1, 75 do
  2244. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2245. Swait()
  2246. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2247. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2248. local CHILDREN = LOCK:GetDescendants()
  2249. for index, CHILD in pairs(CHILDREN) do
  2250. if CHILD:IsA("BasePart") then
  2251. CHILD.Transparency = CHILD.Transparency - 1/75
  2252. end
  2253. end
  2254. end
  2255. HUM.DisplayDistanceType = "None"
  2256. local KEY = IT("Model",Effects)
  2257. KEY.Name = "Key"
  2258. --CREATE KEY--
  2259. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "KeyBase", VT(0.1, 1, 0.1),false)
  2260. KEY.PrimaryPart = KBASE
  2261. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2262. local WLD = weldBetween(RightArm,KBASE)
  2263. for i = 1, 45 do
  2264. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.1, 0.1, 0.1),false)
  2265. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2266. weldBetween(KBASE,PRT)
  2267. end
  2268. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  2269. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2270. weldBetween(KBASE,PRT)
  2271. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Lavender", "Key", VT(0.3, 0.1, 0.1),false)
  2272. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2273. weldBetween(KBASE,PRT)
  2274. --------------
  2275. Rooted = true
  2276. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2277. coroutine.resume(coroutine.create(function()
  2278. for i = 1, 10 do
  2279. Swait()
  2280. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2281. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2282. end
  2283. CreateSound(1149318312,BASE,5,1,false)
  2284. CreateSound(160772554,BASE,3,1,false)
  2285. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2286. for i = 1, 4 do
  2287. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2288. end
  2289. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2290. wait(1)
  2291. TORSO.Parent.Parent = LOCK
  2292. for i = 1, 75 do
  2293. Swait()
  2294. local CHILDREN = KEY:GetDescendants()
  2295. for index, CHILD in pairs(CHILDREN) do
  2296. if CHILD:IsA("BasePart") then
  2297. CHILD.Transparency = i/25
  2298. end
  2299. end
  2300. local CHILDREN = LOCK:GetDescendants()
  2301. for index, CHILD in pairs(CHILDREN) do
  2302. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2303. CHILD.Transparency = CHILD.Transparency + 1/75
  2304. elseif CHILD.ClassName == "Decal" then
  2305. CHILD.Transparency = CHILD.Transparency + 1/75
  2306. end
  2307. end
  2308. end
  2309. TORSO.Parent:ClearAllChildren()
  2310. KEY:remove()
  2311. LOCK:remove()
  2312. end))
  2313. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2314. GYRO:remove()
  2315. ATTACK = false
  2316. Rooted = false
  2317. end
  2318. end
  2319. end
  2320.  
  2321. function RavagingOverthrower()
  2322. ATTACK = true
  2323. Rooted = true
  2324. for i=0, 1, 0.1 / Animation_Speed do
  2325. Swait()
  2326. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE + 0.05 * COS(SINE / 12) * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(180), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(180), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2330. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2331. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE, -0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2332. end
  2333. CreateSound("348663022", Torso, 5, 1)
  2334. local StartPos = RootPart.CFrame * CF(0,10,0).p
  2335. for i = 1, 5 do
  2336. MagicSphere2(25,25,CF(StartPos),"Royal purple")
  2337. Swait(15)
  2338. end
  2339. local soundeffect = IT("Sound",Torso)
  2340. soundeffect.SoundId = "rbxassetid://487186990"
  2341. soundeffect.Looped = true
  2342. soundeffect.Volume = 10
  2343. soundeffect.Playing = true
  2344. repeat
  2345. turnto(Mouse.Hit.p)
  2346. MagicSphere2(25,25,CF(StartPos),"Royal purple")
  2347. MagicSphere(25/10,25,CF(StartPos),"Royal purple")
  2348. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Mouse.Hit.p, 750, Character, false)
  2349. local distance = (StartPos - RayPos).magnitude
  2350. local RayBeam = IT("Part",Effects)
  2351. RayBeam.Material = "Neon"
  2352. RayBeam.Anchored = true
  2353. RayBeam.BrickColor = BRICKC"Royal purple"
  2354. local mesh = IT("SpecialMesh",RayBeam)
  2355. mesh.MeshType = "Cylinder"
  2356. RayBeam.Size = Vector3.new(distance+10, 5, 5)
  2357. RayBeam.CFrame = CFrame.new(StartPos, RayPos) * CFrame.new(0, 0, -distance/2) * ANGLES(RAD(0),RAD(90),RAD(0))
  2358. MagicSphere(15,5,CF(RayPos),"Royal purple")
  2359. killnearest(RayPos,15,100)
  2360. for i = 1, 3 do
  2361. CreateSwirl(0,25,true,-0.2,5,CF(RayPos) * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))),"Really black")
  2362. end
  2363. Swait()
  2364. if KEYHOLD == false then
  2365. coroutine.resume(coroutine.create(function()
  2366. for i = 1, 5 do
  2367. RayBeam.Transparency = RayBeam.Transparency + 1/5
  2368. Swait()
  2369. end
  2370. RayBeam:remove()
  2371. end))
  2372. else
  2373. RayBeam:remove()
  2374. end
  2375. until KEYHOLD == false
  2376. soundeffect:remove()
  2377. ATTACK = false
  2378. Rooted = false
  2379. end
  2380.  
  2381.  
  2382. --//=================================\\
  2383. --|| ASSIGN THINGS TO KEYS
  2384. --\\=================================//
  2385.  
  2386. function MouseDown(Mouse)
  2387. HOLD = true
  2388. if ATTACK == false then
  2389. end
  2390. end
  2391.  
  2392. function MouseUp(Mouse)
  2393. HOLD = false
  2394. end
  2395.  
  2396. function KeyDown(Key)
  2397. KEYHOLD = true
  2398. if Key == "z" and ATTACK == false then
  2399. MagicMissiles()
  2400. end
  2401.  
  2402. if Key == "b" and ATTACK == false then
  2403. TimesUp()
  2404. end
  2405.  
  2406. if Key == "c" and ATTACK == false then
  2407. ChainPunch()
  2408. end
  2409.  
  2410. if Key == "v" and ATTACK == false then
  2411. WarpMeteor()
  2412. end
  2413.  
  2414. if Key == "x" and ATTACK == false then
  2415. PandorasBox()
  2416. end
  2417.  
  2418. if Key == "t" and ATTACK == false then
  2419. Taunt()
  2420. end
  2421.  
  2422. if Key == "q" and ATTACK == false then
  2423. Prison_Key()
  2424. end
  2425.  
  2426. if Key == "e" and ATTACK == false then
  2427. RavagingOverthrower()
  2428. end
  2429. if Key == "r" and ATTACK == false then
  2430. end
  2431. end
  2432.  
  2433. function KeyUp(Key)
  2434. KEYHOLD = false
  2435. end
  2436.  
  2437. Mouse.Button1Down:connect(function(NEWKEY)
  2438. MouseDown(NEWKEY)
  2439. end)
  2440. Mouse.Button1Up:connect(function(NEWKEY)
  2441. MouseUp(NEWKEY)
  2442. end)
  2443. Mouse.KeyDown:connect(function(NEWKEY)
  2444. KeyDown(NEWKEY)
  2445. end)
  2446. Mouse.KeyUp:connect(function(NEWKEY)
  2447. KeyUp(NEWKEY)
  2448. end)
  2449.  
  2450. --//=================================\\
  2451. --\\=================================//
  2452.  
  2453.  
  2454. function unanchor()
  2455. if UNANCHOR == true then
  2456. RootPart.Anchored = false
  2457. end
  2458. g = Character:GetChildren()
  2459. for i = 1, #g do
  2460. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2461. g[i].Anchored = false
  2462. end
  2463. end
  2464. g = Weapon:GetChildren()
  2465. for i = 1, #g do
  2466. if g[i].ClassName == "Part" then
  2467. g[i].Anchored = false
  2468. end
  2469. end
  2470. end
  2471.  
  2472.  
  2473. --//=================================\\
  2474. --|| WRAP THE WHOLE SCRIPT UP
  2475. --\\=================================//
  2476.  
  2477. Humanoid.Changed:connect(function(Jump)
  2478. if Jump == "Jump" and (Disable_Jump == true) then
  2479. Humanoid.Jump = false
  2480. end
  2481. end)
  2482.  
  2483. while true do
  2484. Swait()
  2485. script.Parent = WEAPONGUI
  2486. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2487. v:Stop();
  2488. end
  2489. ANIMATE.Parent = nil
  2490. SINE = SINE + CHANGE*1.5
  2491. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2492. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2493. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2494. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2495. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2496. 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)
  2497. 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)
  2498. 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)
  2499. 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)
  2500. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2501. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2502. 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)
  2503. 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)
  2504. 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)
  2505. end
  2506. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2507. ANIM = "Jump"
  2508. if ATTACK == false then
  2509. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2510. 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)
  2511. 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)
  2512. 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)
  2513. 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)
  2514. 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)
  2515. end
  2516. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2517. ANIM = "Fall"
  2518. if ATTACK == false then
  2519. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2520. 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)
  2521. 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)
  2522. 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)
  2523. 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)
  2524. 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)
  2525. end
  2526. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2527. ANIM = "Idle"
  2528. if ATTACK == false then
  2529. 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)
  2530. 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)
  2531. 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)
  2532. 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)
  2533. 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)
  2534. 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)
  2535. end
  2536. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2537. ANIM = "Walk"
  2538. if ATTACK == false then
  2539. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2540. 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)
  2541. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2542. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2543. 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)
  2544. 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)
  2545. end
  2546. end
  2547. unanchor()
  2548. Humanoid.MaxHealth = "inf"
  2549. Humanoid.Health = "inf"
  2550. if Rooted == false then
  2551. Disable_Jump = false
  2552. Humanoid.WalkSpeed = Speed
  2553. elseif Rooted == true then
  2554. Disable_Jump = true
  2555. Humanoid.WalkSpeed = 0
  2556. end
  2557. for _, c in pairs(Character:GetChildren()) do
  2558. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2559. c.Material = "Fabric"
  2560. if c:FindFirstChildOfClass("ParticleEmitter") then
  2561. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2562. end
  2563. if c ~= Head then
  2564. c.Color = C3(0,0,0)
  2565. else
  2566. c.Color = C3(1,1,1)
  2567. end
  2568. if c == Head then
  2569. if c:FindFirstChild("face") then
  2570. c.face:remove()
  2571. end
  2572. end
  2573. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2574. c:remove()
  2575. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2576. c:remove()
  2577. end
  2578. end
  2579. sick.SoundId = "rbxassetid://"..SONG
  2580. sick.Looped = true
  2581. sick.Pitch = 0.9
  2582. sick.Volume = 5
  2583. sick.Parent = Torso
  2584. sick:Resume()
  2585. --sick.Playing = false
  2586. Humanoid.Name = "Pandora = "..Player.Name
  2587. end
  2588.  
  2589. --//=================================\\
  2590. --\\=================================//
  2591.  
  2592.  
  2593.  
  2594.  
  2595.  
  2596. --//====================================================\\--
  2597. --|| END OF SCRIPT
  2598. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement