Advertisement
5sdfsadgaq5465

Superior Pandora

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