feigum777

Soy dora

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