Advertisement
MarcAndrew

Untitled

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