Advertisement
NoHackJustStevePlayz

Kickkdskskssk

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