Advertisement
num6456

The Slenderman

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