Advertisement
GojiGaming1337

Untitled

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