Advertisement
Christoffer07700Extr

Mr Pixel's Edit

Dec 14th, 2019
627
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.99 KB | None | 0 0
  1. --//====================================================\\--
  2. --|| CREATED BY SHACKLUSTER
  3. --\\====================================================//--
  4.  
  5. wait(0.2)
  6.  
  7. Player = game:GetService("Players").LocalPlayer
  8. PlayerGui = Player.PlayerGui
  9. Cam = workspace.CurrentCamera
  10. Backpack = Player.Backpack
  11. Character = Player.Character
  12. Humanoid = Character.Humanoid
  13. Mouse = Player:GetMouse()
  14. RootPart = Character["HumanoidRootPart"]
  15. Torso = Character["Torso"]
  16. Head = Character["Head"]
  17. RightArm = Character["Right Arm"]
  18. LeftArm = Character["Left Arm"]
  19. RightLeg = Character["Right Leg"]
  20. LeftLeg = Character["Left Leg"]
  21. RootJoint = RootPart["RootJoint"]
  22. Neck = Torso["Neck"]
  23. RightShoulder = Torso["Right Shoulder"]
  24. LeftShoulder = Torso["Left Shoulder"]
  25. RightHip = Torso["Right Hip"]
  26. LeftHip = Torso["Left Hip"]
  27.  
  28. IT = Instance.new
  29. CF = CFrame.new
  30. VT = Vector3.new
  31. RAD = math.rad
  32. C3 = Color3.new
  33. UD2 = UDim2.new
  34. BRICKC = BrickColor.new
  35. ANGLES = CFrame.Angles
  36. EULER = CFrame.fromEulerAnglesXYZ
  37. COS = math.cos
  38. ACOS = math.acos
  39. SIN = math.sin
  40. ASIN = math.asin
  41. ABS = math.abs
  42. MRANDOM = math.random
  43. FLOOR = math.floor
  44.  
  45. --//=================================\\
  46. --|| USEFUL VALUES
  47. --\\=================================//
  48.  
  49. Animation_Speed = 3
  50. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  51. local Speed = 20
  52. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  53. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  54. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  55. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  56. local DAMAGEMULTIPLIER = 1
  57. local ANIM = "Idle"
  58. local ATTACK = false
  59. local EQUIPPED = false
  60. local HOLD = false
  61. local COMBO = 1
  62. local Rooted = false
  63. local SINE = 0
  64. local KEYHOLD = false
  65. local CHANGE = 2 / Animation_Speed
  66. local WALKINGANIM = false
  67. local VALUE1 = false
  68. local VALUE2 = false
  69. local ROBLOXIDLEANIMATION = IT("Animation")
  70. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  71. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  72. --ROBLOXIDLEANIMATION.Parent = Humanoid
  73. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  74. WEAPONGUI.Name = "PIXELGUI"
  75. local Effects = IT("Folder", Character)
  76. Effects.Name = "Effects"
  77. local ANIMATOR = Humanoid.Animator
  78. local ANIMATE = Character.Animate
  79. local UNANCHOR = true
  80. local SONG = 853518668
  81. local DEAD = false
  82.  
  83. --//=================================\\
  84. --\\=================================//
  85.  
  86.  
  87. --//=================================\\
  88. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  89. --\\=================================//
  90.  
  91. ArtificialHB = Instance.new("BindableEvent", script)
  92. ArtificialHB.Name = "ArtificialHB"
  93.  
  94. script:WaitForChild("ArtificialHB")
  95.  
  96. frame = Frame_Speed
  97. tf = 0
  98. allowframeloss = false
  99. tossremainder = false
  100. lastframe = tick()
  101. script.ArtificialHB:Fire()
  102.  
  103. game:GetService("RunService").Heartbeat:connect(function(s, p)
  104. tf = tf + s
  105. if tf >= frame then
  106. if allowframeloss then
  107. script.ArtificialHB:Fire()
  108. lastframe = tick()
  109. else
  110. for i = 1, math.floor(tf / frame) do
  111. script.ArtificialHB:Fire()
  112. end
  113. lastframe = tick()
  114. end
  115. if tossremainder then
  116. tf = 0
  117. else
  118. tf = tf - frame * math.floor(tf / frame)
  119. end
  120. end
  121. end)
  122.  
  123. --//=================================\\
  124. --\\=================================//
  125.  
  126. --//=================================\\
  127. --|| SOME FUNCTIONS
  128. --\\=================================//
  129.  
  130. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  131. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  132. end
  133.  
  134. function PositiveAngle(NUMBER)
  135. if NUMBER >= 0 then
  136. NUMBER = 0
  137. end
  138. return NUMBER
  139. end
  140.  
  141. function NegativeAngle(NUMBER)
  142. if NUMBER <= 0 then
  143. NUMBER = 0
  144. end
  145. return NUMBER
  146. end
  147.  
  148. function Swait(NUMBER)
  149. if NUMBER == 0 or NUMBER == nil then
  150. ArtificialHB.Event:wait()
  151. else
  152. for i = 1, NUMBER do
  153. ArtificialHB.Event:wait()
  154. end
  155. end
  156. end
  157.  
  158. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  159. local NEWMESH = IT(MESH)
  160. if MESH == "SpecialMesh" then
  161. NEWMESH.MeshType = MESHTYPE
  162. if MESHID ~= "nil" and MESHID ~= "" then
  163. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  164. end
  165. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  166. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  167. end
  168. end
  169. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  170. NEWMESH.Scale = SCALE
  171. NEWMESH.Parent = PARENT
  172. return NEWMESH
  173. end
  174.  
  175. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  176. local NEWPART = IT("Part")
  177. NEWPART.formFactor = FORMFACTOR
  178. NEWPART.Reflectance = REFLECTANCE
  179. NEWPART.Transparency = TRANSPARENCY
  180. NEWPART.CanCollide = false
  181. NEWPART.Locked = true
  182. NEWPART.Anchored = true
  183. if ANCHOR == false then
  184. NEWPART.Anchored = false
  185. end
  186. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  187. NEWPART.Name = NAME
  188. NEWPART.Size = SIZE
  189. NEWPART.Position = Torso.Position
  190. NEWPART.Material = MATERIAL
  191. NEWPART:BreakJoints()
  192. NEWPART.Parent = PARENT
  193. return NEWPART
  194. end
  195.  
  196. local function weldBetween(a, b)
  197. local weldd = Instance.new("ManualWeld")
  198. weldd.Part0 = a
  199. weldd.Part1 = b
  200. weldd.C0 = CFrame.new()
  201. weldd.C1 = b.CFrame:inverse() * a.CFrame
  202. weldd.Parent = a
  203. return weldd
  204. end
  205.  
  206.  
  207. function QuaternionFromCFrame(cf)
  208. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  209. local trace = m00 + m11 + m22
  210. if trace > 0 then
  211. local s = math.sqrt(1 + trace)
  212. local recip = 0.5 / s
  213. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  214. else
  215. local i = 0
  216. if m11 > m00 then
  217. i = 1
  218. end
  219. if m22 > (i == 0 and m00 or m11) then
  220. i = 2
  221. end
  222. if i == 0 then
  223. local s = math.sqrt(m00 - m11 - m22 + 1)
  224. local recip = 0.5 / s
  225. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  226. elseif i == 1 then
  227. local s = math.sqrt(m11 - m22 - m00 + 1)
  228. local recip = 0.5 / s
  229. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  230. elseif i == 2 then
  231. local s = math.sqrt(m22 - m00 - m11 + 1)
  232. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  233. end
  234. end
  235. end
  236.  
  237. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  238. local xs, ys, zs = x + x, y + y, z + z
  239. local wx, wy, wz = w * xs, w * ys, w * zs
  240. local xx = x * xs
  241. local xy = x * ys
  242. local xz = x * zs
  243. local yy = y * ys
  244. local yz = y * zs
  245. local zz = z * zs
  246. 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))
  247. end
  248.  
  249. function QuaternionSlerp(a, b, t)
  250. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  251. local startInterp, finishInterp;
  252. if cosTheta >= 0.0001 then
  253. if (1 - cosTheta) > 0.0001 then
  254. local theta = ACOS(cosTheta)
  255. local invSinTheta = 1 / SIN(theta)
  256. startInterp = SIN((1 - t) * theta) * invSinTheta
  257. finishInterp = SIN(t * theta) * invSinTheta
  258. else
  259. startInterp = 1 - t
  260. finishInterp = t
  261. end
  262. else
  263. if (1 + cosTheta) > 0.0001 then
  264. local theta = ACOS(-cosTheta)
  265. local invSinTheta = 1 / SIN(theta)
  266. startInterp = SIN((t - 1) * theta) * invSinTheta
  267. finishInterp = SIN(t * theta) * invSinTheta
  268. else
  269. startInterp = t - 1
  270. finishInterp = t
  271. end
  272. end
  273. 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
  274. end
  275.  
  276. function Clerp(a, b, t)
  277. local qa = {QuaternionFromCFrame(a)}
  278. local qb = {QuaternionFromCFrame(b)}
  279. local ax, ay, az = a.x, a.y, a.z
  280. local bx, by, bz = b.x, b.y, b.z
  281. local _t = 1 - t
  282. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  283. end
  284.  
  285. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  286. local frame = IT("Frame")
  287. frame.BackgroundTransparency = TRANSPARENCY
  288. frame.BorderSizePixel = BORDERSIZEPIXEL
  289. frame.Position = POSITION
  290. frame.Size = SIZE
  291. frame.BackgroundColor3 = COLOR
  292. frame.BorderColor3 = BORDERCOLOR
  293. frame.Name = NAME
  294. frame.Parent = PARENT
  295. return frame
  296. end
  297.  
  298. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  299. local label = IT("TextLabel")
  300. label.BackgroundTransparency = 1
  301. label.Size = UD2(1, 0, 1, 0)
  302. label.Position = UD2(0, 0, 0, 0)
  303. label.TextColor3 = TEXTCOLOR
  304. label.TextStrokeTransparency = STROKETRANSPARENCY
  305. label.TextTransparency = TRANSPARENCY
  306. label.FontSize = TEXTFONTSIZE
  307. label.Font = TEXTFONT
  308. label.BorderSizePixel = BORDERSIZEPIXEL
  309. label.TextScaled = false
  310. label.Text = TEXT
  311. label.Name = NAME
  312. label.Parent = PARENT
  313. return label
  314. end
  315.  
  316. function NoOutlines(PART)
  317. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  318. end
  319.  
  320. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  321. local NEWWELD = IT(TYPE)
  322. NEWWELD.Part0 = PART0
  323. NEWWELD.Part1 = PART1
  324. NEWWELD.C0 = C0
  325. NEWWELD.C1 = C1
  326. NEWWELD.Parent = PARENT
  327. return NEWWELD
  328. end
  329.  
  330. local S = IT("Sound")
  331. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  332. local NEWSOUND = nil
  333. coroutine.resume(coroutine.create(function()
  334. NEWSOUND = S:Clone()
  335. NEWSOUND.Parent = PARENT
  336. NEWSOUND.Volume = VOLUME
  337. NEWSOUND.Pitch = PITCH
  338. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  339. NEWSOUND:play()
  340. if DOESLOOP == true then
  341. NEWSOUND.Looped = true
  342. else
  343. repeat wait(1) until NEWSOUND.Playing == false
  344. NEWSOUND:remove()
  345. end
  346. end))
  347. return NEWSOUND
  348. end
  349.  
  350. function CFrameFromTopBack(at, top, back)
  351. local right = top:Cross(back)
  352. 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)
  353. end
  354.  
  355. --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})
  356. function WACKYEFFECT(Table)
  357. local TYPE = (Table.EffectType or "Sphere")
  358. local SIZE = (Table.Size or VT(1,1,1))
  359. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  360. local TRANSPARENCY = (Table.Transparency or 0)
  361. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  362. local CFRAME = (Table.CFrame or Torso.CFrame)
  363. local MOVEDIRECTION = (Table.MoveToPos or nil)
  364. local ROTATION1 = (Table.RotationX or 0)
  365. local ROTATION2 = (Table.RotationY or 0)
  366. local ROTATION3 = (Table.RotationZ or 0)
  367. local MATERIAL = (Table.Material or "Neon")
  368. local COLOR = (Table.Color or C3(1,1,1))
  369. local TIME = (Table.Time or 45)
  370. local SOUNDID = (Table.SoundID or nil)
  371. local SOUNDPITCH = (Table.SoundPitch or nil)
  372. local SOUNDVOLUME = (Table.SoundVolume or nil)
  373. coroutine.resume(coroutine.create(function()
  374. local PLAYSSOUND = false
  375. local SOUND = nil
  376. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  377. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  378. PLAYSSOUND = true
  379. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  380. end
  381. EFFECT.Color = COLOR
  382. local MSH = nil
  383. if TYPE == "Sphere" then
  384. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  385. elseif TYPE == "Block" or TYPE == "Box" then
  386. MSH = IT("BlockMesh",EFFECT)
  387. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  388. elseif TYPE == "Wave" then
  389. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  390. elseif TYPE == "Ring" then
  391. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  392. elseif TYPE == "Slash" then
  393. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  394. elseif TYPE == "Round Slash" then
  395. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  396. elseif TYPE == "Swirl" then
  397. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  398. elseif TYPE == "Skull" then
  399. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  400. elseif TYPE == "Crystal" then
  401. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  402. end
  403. if MSH ~= nil then
  404. local MOVESPEED = nil
  405. if MOVEDIRECTION ~= nil then
  406. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  407. end
  408. local GROWTH = SIZE - ENDSIZE
  409. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  410. if TYPE == "Block" then
  411. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  412. else
  413. EFFECT.CFrame = CFRAME
  414. end
  415. for LOOP = 1, TIME+1 do
  416. Swait()
  417. MSH.Scale = MSH.Scale - GROWTH/TIME
  418. if TYPE == "Wave" then
  419. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  420. end
  421. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  422. if TYPE == "Block" then
  423. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  424. else
  425. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  426. end
  427. if MOVEDIRECTION ~= nil then
  428. local ORI = EFFECT.Orientation
  429. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  430. EFFECT.Orientation = ORI
  431. end
  432. end
  433. if PLAYSSOUND == false then
  434. EFFECT:remove()
  435. else
  436. repeat Swait() until SOUND.Playing == false
  437. EFFECT:remove()
  438. end
  439. else
  440. if PLAYSSOUND == false then
  441. EFFECT:remove()
  442. else
  443. repeat Swait() until SOUND.Playing == false
  444. EFFECT:remove()
  445. end
  446. end
  447. end))
  448. end
  449.  
  450. function MakeForm(PART,TYPE)
  451. if TYPE == "Cyl" then
  452. local MSH = IT("CylinderMesh",PART)
  453. elseif TYPE == "Ball" then
  454. local MSH = IT("SpecialMesh",PART)
  455. MSH.MeshType = "Sphere"
  456. elseif TYPE == "Wedge" then
  457. local MSH = IT("SpecialMesh",PART)
  458. MSH.MeshType = "Wedge"
  459. end
  460. end
  461.  
  462. Debris = game:GetService("Debris")
  463.  
  464. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  465. local DIRECTION = CF(StartPos,EndPos).lookVector
  466. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  467. end
  468.  
  469. function turnto(position)
  470. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  471. end
  472.  
  473. --//=================================\\
  474. --|| WEAPON CREATION
  475. --\\=================================//
  476.  
  477. local sick = CreateSound(853518668, Torso, 3, 0.9, true)
  478.  
  479. Head:ClearAllChildren()
  480.  
  481. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  482. MakeForm(EYE,"Ball")
  483. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  484. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  485. MakeForm(EYE2,"Ball")
  486. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  487.  
  488.  
  489. local HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(2,0.2,2),false)
  490. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  491. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Part", VT(1.35,0.4,1.35),false)
  492. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0.25,0), CF(0, 0, 0))
  493. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(1.3,2.2,1.3),false)
  494. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  495.  
  496. local TIE1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.5,0.5,0),false)
  497. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, TIE1, CF(0,0.8,-0.5), CF(0, 0, 0))
  498. local TIE2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.2,0.5,0),false)
  499. CreateWeldOrSnapOrMotor("Weld", TIE1, TIE1, TIE2, CF(0,-0.5,0), CF(0, 0, 0))
  500. local TIE3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.5,1,0),false)
  501. CreateWeldOrSnapOrMotor("Weld", TIE2, TIE2, TIE3, CF(0,-0.75,0), CF(0, 0, 0))
  502.  
  503. Humanoid.DisplayDistanceType = "None"
  504. local naeeym2 = IT("BillboardGui",Character)
  505. naeeym2.AlwaysOnTop = true
  506. naeeym2.Size = UDim2.new(5,35,2,15)
  507. naeeym2.StudsOffset = Vector3.new(0,6,0)
  508. naeeym2.MaxDistance = 75
  509. naeeym2.Adornee = RootPart
  510. naeeym2.Name = "Name"
  511. naeeym2.PlayerToHideFrom = Player
  512. local tecks2 = IT("TextLabel",naeeym2)
  513. tecks2.BackgroundTransparency = 1
  514. tecks2.TextScaled = true
  515. tecks2.BorderSizePixel = 0
  516. tecks2.Text = "Dark Pixels"
  517. tecks2.Font = "Arcade"
  518. tecks2.TextSize = 20
  519. tecks2.TextStrokeTransparency = 1
  520. tecks2.TextColor3 = BRICKC"Really black".Color
  521. tecks2.TextStrokeColor3 = BRICKC"Really black".Color
  522. tecks2.Size = UDim2.new(1,0,0.5,0)
  523. tecks2.Parent = naeeym2
  524.  
  525. local MESH = IT("BlockMesh",Head)
  526. MESH.Scale = VT(0.5,1,1)
  527.  
  528. local SKILLTEXTCOLOR = BRICKC"Really black".Color
  529. local SKILLFONT = "Arcade"
  530. local SKILLTEXTSIZE = 7
  531.  
  532. Humanoid.Died:connect(function()
  533. for _, c in pairs(Character:GetChildren()) do
  534. if c:IsA("BasePart") then
  535. c.Anchored = true
  536. end
  537. end
  538. naeeym2:remove()
  539. ATTACK = true
  540. DEAD = true
  541. UNANCHOR = false
  542. Character.PrimaryPart = RootPart
  543. CreateSound(580288658, Effects, 3, 1, false)
  544. Humanoid:remove()
  545. for i = 1, 50 do
  546. wait()
  547. Character:SetPrimaryPartCFrame(RootPart.CFrame *CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(90)))
  548. end
  549. UNANCHOR = true
  550. for _, c in pairs(Character:GetChildren()) do
  551. if c:IsA("BasePart") then
  552. c.CanCollide = true
  553. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  554. end
  555. end
  556. end)
  557.  
  558. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  559. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  560. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.78, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  561. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.8, 0, 0.72, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  562.  
  563. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  564. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  565. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  566. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  567.  
  568. --//=================================\\
  569. --|| DAMAGING
  570. --\\=================================//
  571.  
  572. function ApplyDamage(Humanoid,Damage)
  573. Damage = Damage * DAMAGEMULTIPLIER
  574. if Humanoid.Health ~= 0 then
  575. Humanoid.Health = Humanoid.Health - Damage
  576. end
  577. end
  578.  
  579. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  580. local CHILDREN = workspace:GetDescendants()
  581. for index, CHILD in pairs(CHILDREN) do
  582. if CHILD.ClassName == "Model" and CHILD ~= Character then
  583. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  584. if HUM then
  585. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  586. if TORSO then
  587. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  588. if INSTAKILL == true then
  589. CHILD:BreakJoints()
  590. else
  591. local DMG = MRANDOM(MINDMG,MAXDMG)
  592. ApplyDamage(HUM,DMG)
  593. end
  594. if FLING > 0 then
  595. for _, c in pairs(CHILD:GetChildren()) do
  596. if c:IsA("BasePart") then
  597. local bv = Instance.new("BodyVelocity")
  598. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  599. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  600. bv.Parent = c
  601. Debris:AddItem(bv,0.05)
  602. end
  603. end
  604. end
  605. end
  606. end
  607. end
  608. end
  609. end
  610. end
  611.  
  612. function APPLYMELEE(PART,MINDMG,MAXDMG)
  613. local ONESHOT = false
  614. if MINDMG == "inf" then
  615. ONESHOT = true
  616. end
  617. local HITS = {}
  618. local TOUCH = PART.Touched:Connect(function(hit)
  619. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  620. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  621. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  622. if TORSO and HUM.Health > 0 then
  623. local PASS = true
  624. for i = 1, #HITS do
  625. if HITS[i] == hit.Parent then
  626. PASS = false
  627. end
  628. end
  629. table.insert(HITS,hit.Parent)
  630. if PASS == true then
  631. if ONESHOT == false then
  632. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG))
  633. else
  634. CreateSound(1538571923, TORSO, 10, 1, false)
  635. HUM.Parent:BreakJoints()
  636. HUM:remove()
  637. for _, c in pairs(TORSO.Parent:GetChildren()) do
  638. if c:IsA("BasePart") then
  639. c.CanCollide = true
  640. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  641. Debris:AddItem(c,MRANDOM(5,20)/10)
  642. end
  643. end
  644. end
  645. end
  646. end
  647. end
  648. end)
  649. return TOUCH
  650. end
  651.  
  652. function GoombaStomp(OBJECT)
  653. for _, c in pairs(OBJECT:GetChildren()) do
  654. if c:IsA("BasePart") then
  655. c.Size = VT(c.Size.X,0,c.Size.Z)
  656. end
  657. end
  658. end
  659.  
  660. --//=================================\\
  661. --|| ATTACK FUNCTIONS AND STUFF
  662. --\\=================================//
  663.  
  664. function MushroomAi(Mushroom)
  665. coroutine.resume(coroutine.create(function()
  666. for i = 1, 500 do
  667. wait()
  668. local DISTANCE = 500
  669. local TARGET = nil
  670. local HUMAN = nil
  671. for _, c in pairs(workspace:GetChildren()) do
  672. if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  673. local HUM = c:FindFirstChildOfClass("Humanoid")
  674. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  675. if TORSO and HUM.Health > 0 then
  676. if (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude < DISTANCE then
  677. DISTANCE = (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude
  678. TARGET = TORSO
  679. HUMAN = HUM
  680. end
  681. end
  682. end
  683. end
  684. if TARGET then
  685. local HITFLOOR,HITPOS = Raycast(Mushroom.PrimaryPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1, Mushroom)
  686. if HITFLOOR then
  687. local CFRAME = CF(Mushroom.PrimaryPart.Position,VT(TARGET.Position.X,Mushroom.PrimaryPart.Position.Y,TARGET.Position.Z))*CF(0,0,-0.3).p
  688. Mushroom:SetPrimaryPartCFrame(CF(CFRAME))
  689. local DIST = (TARGET.Position - Mushroom.PrimaryPart.Position).Magnitude
  690. if DIST < 4*(TARGET.Size.Y/2) then
  691. HUMAN.Health = HUMAN.Health - (HUMAN.MaxHealth-1)
  692. break
  693. end
  694. else
  695. Mushroom:SetPrimaryPartCFrame(CF(HITPOS))
  696. end
  697. end
  698. end
  699. Mushroom:remove()
  700. end))
  701. end
  702.  
  703. function QuestionMarkBlock()
  704. ATTACK = true
  705. Rooted = true
  706. local BLOCKMODEL = IT("Model",Effects)
  707. local LOAD = false
  708. local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "New Yeller", "Base", VT(2,2,2))
  709. BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p)
  710. BLOCKMODEL.PrimaryPart = BLOCK
  711. for i = 1, 4 do
  712. local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Blocc", VT(1.3,1.3,2)*1.001)
  713. BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0))
  714. local DECAL = IT("Decal",BASE)
  715. DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679"
  716. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  717. PART.CFrame = BASE.CFrame*CF(0.75,0.75,0)
  718. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  719. PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0)
  720. end
  721. local LANDED = false
  722. local HIT = false
  723. local LOOP = 0
  724. coroutine.resume(coroutine.create(function()
  725. repeat
  726. Swait()
  727. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  728. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed)
  729. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  730. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  731. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  732. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  733. until LOAD == true
  734. repeat
  735. Swait()
  736. if HIT == false then
  737. local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL)
  738. if HITFLOOR then
  739. HIT = true
  740. coroutine.resume(coroutine.create(function()
  741. local CFRAME = BLOCK.CFrame
  742. RootPart.Velocity = VT(0,0,0)
  743. RootPart.RotVelocity = VT(0,0,0)
  744. for i = 1, 5 do
  745. wait()
  746. RootPart.Velocity = VT(0,-i*4,0)
  747. RootPart.RotVelocity = VT(0,0,0)
  748. BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed))
  749. end
  750. BLOCK.BrickColor = BRICKC"Dirt brown"
  751. for _, c in pairs(BLOCKMODEL:GetChildren()) do
  752. if c:IsA("BasePart") and c.Name ~= "Base" then
  753. c:remove()
  754. end
  755. end
  756. CreateSound(1246464612, BLOCK, 10, 1, false)
  757. local SIZE = 2.25
  758. local MUSHROOM = IT("Model",Effects)
  759. local BASE = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Fawn brown", "Shroom", VT(0.5,0.5,0.5)*SIZE)
  760. MUSHROOM.PrimaryPart = BASE
  761. local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Mulberry", "Shroom", VT(0.75,0.45,0.75)*SIZE)
  762. HEAD.CFrame = BASE.CFrame*CF(0,0.35*SIZE,0)
  763. for i = 1, 2 do
  764. local DOT = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Lime green", "Shroom", VT(0.35,0.35,0.8)*SIZE)
  765. DOT.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD((180/2)*i), RAD(0))
  766. end
  767. local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Mulberry", "Shroom", VT(0.55,0.45,0.55)*SIZE)
  768. HEAD.CFrame = BASE.CFrame*CF(0,0.55*SIZE,0)
  769. MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame)
  770. for i = 1, 30 do
  771. wait()
  772. MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame*CF(0,-0.35+(i/18),0))
  773. end
  774. MushroomAi(MUSHROOM)
  775. Debris:AddItem(BLOCKMODEL,5)
  776. end))
  777. end
  778. else
  779. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  780. if HITFLOOR then
  781. LANDED = true
  782. end
  783. end
  784. LOOP = LOOP + 1
  785. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  786. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  787. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  788. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  789. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  790. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  791. until LANDED == true or ATTACK == false
  792. end))
  793. wait(1)
  794. LOAD = true
  795. CreateSound(158309736, Torso, 10, 1, false)
  796. local bv = Instance.new("BodyVelocity",RootPart)
  797. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  798. bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150
  799. Debris:AddItem(bv,0.05)
  800. repeat wait() until LANDED == true or LOOP > 45
  801. Debris:AddItem(BLOCKMODEL,5)
  802. ATTACK = false
  803. Rooted = false
  804. end
  805.  
  806. function SwordBeam()
  807. ATTACK = true
  808. Rooted = false
  809. local SWORDMODEL = IT("Model",Effects)
  810. local HANDLE = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Shamrock", "Stic", VT(0.2,2,0.2),false)
  811. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1,0)* ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, -0.3, 0))
  812. local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Shamrock", "Stic", VT(1,0.2,0.2),false)
  813. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,1,0), CF(0, 0, 0))
  814. local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.5,2,0.1),false)
  815. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,2,0), CF(0, 0, 0))
  816. local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.25,2,0.1),false)
  817. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,2.25,0), CF(0, 0, 0))
  818. for i=0, 1, 0.1 / Animation_Speed do
  819. Swait()
  820. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  821. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  822. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(160), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  823. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  824. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  825. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  826. end
  827. coroutine.resume(coroutine.create(function()
  828. local BEAM = IT("Model",Effects)
  829. local BASE = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.5,2))
  830. BASE.CFrame = RootPart.CFrame*CF(1.5,-0.4,0)
  831. local PART = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.25,2))
  832. PART.CFrame = BASE.CFrame*CF(0,0,-0.2)
  833. for i = 1, 4 do
  834. local PART = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.75,0.1))
  835. PART.CFrame = BASE.CFrame*CF(0,0,-0.8+(i/2.5))
  836. end
  837. BEAM.PrimaryPart = BASE
  838. for i = 1, 75 do
  839. wait()
  840. BEAM:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0,-2))
  841. local HITFLOOR = Raycast(BASE.Position, BASE.CFrame.lookVector, 2.1, Character)
  842. if HITFLOOR then
  843. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  844. local HUM = HITFLOOR.Parent:FindFirstChildOfClass("Humanoid")
  845. ApplyDamage(HUM,15)
  846. end
  847. break
  848. end
  849. end
  850. BEAM:remove()
  851. end))
  852. for i=0, 0.05, 0.1 / Animation_Speed do
  853. Swait()
  854. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  855. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  856. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  857. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  858. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  859. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  860. end
  861. for i=0, 0.5, 0.1 / Animation_Speed do
  862. Swait()
  863. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  864. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  865. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(-25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  866. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  867. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  868. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  869. end
  870. SWORDMODEL:remove()
  871. ATTACK = false
  872. Rooted = false
  873. end
  874.  
  875. function Candy()
  876. ATTACK = true
  877. Rooted = true
  878. local CANDYMODEL = IT("Model",Effects)
  879. local HANDLE = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Dirt brown", "Stic", VT(0.2,1,0.2),false)
  880. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1,0)* ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, -0.3, 0))
  881. local HEAD1 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(1,1,0.21),false)
  882. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, HEAD1, CF(0,1,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  883. local HEAD2 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Really red", "Stic", VT(0.85,0.85,0.22),false)
  884. CreateWeldOrSnapOrMotor("Weld", HEAD1, HEAD1, HEAD2, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  885. local HEAD3 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.55,0.55,0.23),false)
  886. CreateWeldOrSnapOrMotor("Weld", HEAD2, HEAD2, HEAD3, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  887. local HEAD4 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Really red", "Stic", VT(0.25,0.25,0.24),false)
  888. CreateWeldOrSnapOrMotor("Weld", HEAD3, HEAD3, HEAD4, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  889. local THROWN = false
  890. local THROW = Mouse.Button1Down:connect(function(NEWKEY)
  891. THROWN = true
  892. end)
  893. for i=0, 2, 0.1 / Animation_Speed do
  894. Swait()
  895. if THROWN == true then
  896. break
  897. end
  898. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  899. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  900. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(120), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  901. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  902. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  903. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  904. end
  905. THROW:disconnect()
  906. for i=0, 1, 0.1 / Animation_Speed do
  907. Swait()
  908. if THROWN == true then
  909. break
  910. end
  911. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  912. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  913. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15+sick.PlaybackLoudness/1200, 0.3) * ANGLES(RAD(100), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  914. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  915. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  916. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  917. end
  918. if THROWN == false then
  919. CANDYMODEL:remove()
  920. coroutine.resume(coroutine.create(function()
  921. SONG = 554418756
  922. Speed = 35
  923. sick:Play()
  924. for i = 1, 150 do
  925. local MELEES = {}
  926. for _, c in pairs(Character:GetChildren()) do
  927. if c:IsA("BasePart") then
  928. local MELEE = APPLYMELEE(c,"inf","inf")
  929. table.insert(MELEES,MELEE)
  930. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)/2, Size2 = VT(1,1,1)/2, Transparency = .7, Transparency2 = 1, CFrame = c.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  931. end
  932. end
  933. wait(0.1)
  934. for e = 1, #MELEES do
  935. MELEES[e]:disconnect()
  936. end
  937. end
  938. sick:Play()
  939. Speed = 20
  940. SONG = 853518668
  941. end))
  942. else
  943. local GIVEINV = function(OBJECT,HUMAN)
  944. local TORSO = OBJECT:FindFirstChild("Torso") or OBJECT:FindFirstChild("UpperTorso")
  945. if TORSO then
  946. if TORSO:FindFirstChild("YAY") == nil then
  947. local MUSIC = CreateSound(554418756, TORSO, 3, 1, true)
  948. MUSIC.Name = "YAY"
  949. HUMAN.WalkSpeed = 35
  950. local HEALTH = HUMAN.MaxHealth
  951. for i = 1, 150 do
  952. HUMAN.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999
  953. HUMAN.Health = HUMAN.MaxHealth
  954. MUSIC.Parent = TORSO
  955. local MELEES = {}
  956. for _, c in pairs(OBJECT:GetChildren()) do
  957. if c:IsA("BasePart") then
  958. local MELEE = APPLYMELEE(c,"inf","inf")
  959. table.insert(MELEES,MELEE)
  960. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)/2, Size2 = VT(1,1,1)/2, Transparency = .7, Transparency2 = 1, CFrame = c.CFrame*ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  961. end
  962. end
  963. wait(0.1)
  964. for e = 1, #MELEES do
  965. MELEES[e]:disconnect()
  966. end
  967. end
  968. HUMAN.MaxHealth = HEALTH
  969. HUMAN.Health = HUMAN.MaxHealth
  970. MUSIC:remove()
  971. HUMAN.WalkSpeed = 16
  972. end
  973. end
  974. end
  975. for i=0, 1, 0.1 / Animation_Speed do
  976. Swait()
  977. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  978. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  979. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(160), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  980. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  981. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  982. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  983. end
  984. for i=0, 0.05, 0.1 / Animation_Speed do
  985. Swait()
  986. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  987. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  988. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  989. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  990. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  991. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  992. end
  993. for _, c in pairs(CANDYMODEL:GetChildren()) do
  994. if c:IsA("BasePart") then
  995. c.CanCollide = true
  996. c.Touched:Connect(function(hit)
  997. if hit.Parent ~= Character then
  998. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  999. CANDYMODEL:remove()
  1000. GIVEINV(hit.Parent,hit.Parent:FindFirstChildOfClass("Humanoid"))
  1001. end
  1002. end
  1003. end)
  1004. end
  1005. end
  1006. GRIP:remove()
  1007. HANDLE.Velocity = CF(HANDLE.Position,Torso.CFrame*CF(0,7,-15).p).lookVector*MRANDOM(45,80)
  1008. Debris:AddItem(CANDYMODEL,10)
  1009. for i=0, 0.4, 0.1 / Animation_Speed do
  1010. Swait()
  1011. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1012. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1013. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(25), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1014. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1015. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1016. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1017. end
  1018. end
  1019. ATTACK = false
  1020. Rooted = false
  1021. end
  1022.  
  1023. function Peashooter()
  1024. ATTACK = true
  1025. Rooted = true
  1026. local LOADED = false
  1027. local BLASTER = IT("Model",Effects)
  1028. local HANDLE = CreatePart(3, BLASTER, "Neon", 0, 1, "Cyan", "Shooter", VT(1.3,1.4,1.3),false)
  1029. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-0.5,0), CF(0, 0, 0))
  1030. local HANDLE = CreatePart(3, BLASTER, "Neon", 0, 1, "Cyan", "Shooter", VT(1.1,1.4,1.1),false)
  1031. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-0.75,0), CF(0, 0, 0))
  1032. local SHOT = false
  1033. local FINISHED = false
  1034. coroutine.resume(coroutine.create(function()
  1035. for i=0, 1, 0.1 / Animation_Speed do
  1036. Swait()
  1037. turnto(Mouse.Hit.p)
  1038. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1039. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1040. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(160), RAD(15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1041. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1042. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1043. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1044. end
  1045. LOADED = true
  1046. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)*3, Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1047. for _, c in pairs(BLASTER:GetChildren()) do
  1048. if c:IsA("BasePart") then
  1049. c.Transparency = 0
  1050. end
  1051. end
  1052. repeat
  1053. Swait()
  1054. turnto(Mouse.Hit.p)
  1055. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1056. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1057. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1058. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1059. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1060. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1061. until SHOT == true
  1062. repeat
  1063. turnto(Mouse.Hit.p)
  1064. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1065. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1066. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1067. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1068. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1069. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1070. coroutine.resume(coroutine.create(function()
  1071. local BULLET = IT("Model",Effects)
  1072. local MAIN = CreatePart(3, BULLET, "Neon", 0, 0, "Cork", "Bullet", VT(1,1,1.5))
  1073. CreateSound(635556833, RightArm, 3, 1, false)
  1074. BULLET.PrimaryPart = MAIN
  1075. local PART = CreatePart(3, BULLET, "Neon", 0, 0, "Cork", "Bullet", VT(0.8,0.8,2))
  1076. MAIN.CFrame = CF(RightArm.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  1077. PART.CFrame = MAIN.CFrame
  1078. for i = 1, 75 do
  1079. wait()
  1080. BULLET:SetPrimaryPartCFrame(MAIN.CFrame*CF(0,0,-2))
  1081. local HITFLOOR = Raycast(MAIN.Position, MAIN.CFrame.lookVector, 2.1, Character)
  1082. if HITFLOOR then
  1083. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1084. local HUM = HITFLOOR.Parent:FindFirstChildOfClass("Humanoid")
  1085. ApplyDamage(HUM,10)
  1086. end
  1087. break
  1088. end
  1089. end
  1090. BULLET:remove()
  1091. end))
  1092. for i = 1, 25 do
  1093. Swait()
  1094. turnto(Mouse.Hit.p)
  1095. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1096. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1097. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1098. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1099. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1100. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1101. end
  1102. until HOLD == false
  1103. for i=0, 0.2, 0.1 / Animation_Speed do
  1104. Swait()
  1105. turnto(Mouse.Hit.p)
  1106. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1107. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1108. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(80), RAD(15), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1109. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1110. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1111. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1112. end
  1113. WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)*3, Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1114. BLASTER:remove()
  1115. FINISHED = true
  1116. end))
  1117. repeat wait() until LOADED == true
  1118. wait(0.5)
  1119. local FIRE = Mouse.Button1Down:connect(function(NEWKEY)
  1120. SHOT = true
  1121. end)
  1122. repeat wait() until SHOT == true
  1123. FIRE:disconnect()
  1124. repeat wait() until FINISHED == true
  1125. ATTACK = false
  1126. Rooted = false
  1127. end
  1128.  
  1129. function QuestionMarkBlock2()
  1130. ATTACK = true
  1131. Rooted = true
  1132. local BLOCKMODEL = IT("Model",Effects)
  1133. local LOAD = false
  1134. local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "New Yeller", "Base", VT(2,2,2))
  1135. BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p)
  1136. BLOCKMODEL.PrimaryPart = BLOCK
  1137. local FRAME = RootPart.CFrame*CF(0,15,0)
  1138. for i = 1, 4 do
  1139. local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Blocc", VT(1.3,1.3,2)*1.001)
  1140. BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0))
  1141. local DECAL = IT("Decal",BASE)
  1142. DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679"
  1143. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  1144. PART.CFrame = BASE.CFrame*CF(0.75,0.75,0)
  1145. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  1146. PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0)
  1147. end
  1148. local LANDED = false
  1149. local HIT = false
  1150. local LOOP = 0
  1151. coroutine.resume(coroutine.create(function()
  1152. repeat
  1153. Swait()
  1154. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1155. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed)
  1156. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1157. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1158. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1159. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1160. until LOAD == true
  1161. repeat
  1162. Swait()
  1163. if HIT == false then
  1164. local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL)
  1165. if HITFLOOR then
  1166. HIT = true
  1167. coroutine.resume(coroutine.create(function()
  1168. local CFRAME = BLOCK.CFrame
  1169. RootPart.Velocity = VT(0,0,0)
  1170. RootPart.RotVelocity = VT(0,0,0)
  1171. coroutine.resume(coroutine.create(function()
  1172. CreateSound(138702491, BLOCK, 10, 1, false)
  1173. local COIN = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Coin", VT(1.8,1.8,0))
  1174. COIN.CFrame = BLOCK.CFrame
  1175. local DECAL = IT("Decal",COIN)
  1176. DECAL.Texture = "http://www.roblox.com/asset/?id=1512322302"
  1177. local DECAL = IT("Decal",COIN)
  1178. DECAL.Texture = "http://www.roblox.com/asset/?id=1512322302"
  1179. DECAL.Face = "Back"
  1180. for i = 1, 15 do
  1181. wait()
  1182. COIN.CFrame = Clerp(FRAME, FRAME*CF(0,(15-(i/10)),0), 1 / Animation_Speed)
  1183. end
  1184. COIN:remove()
  1185. end))
  1186. for i = 1, 5 do
  1187. wait()
  1188. RootPart.Velocity = VT(0,-i*4,0)
  1189. RootPart.RotVelocity = VT(0,0,0)
  1190. BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed))
  1191. end
  1192. BLOCK.BrickColor = BRICKC"Dirt brown"
  1193. for _, c in pairs(BLOCKMODEL:GetChildren()) do
  1194. if c:IsA("BasePart") and c.Name ~= "Base" then
  1195. c:remove()
  1196. end
  1197. end
  1198. Debris:AddItem(BLOCKMODEL,5)
  1199. end))
  1200. end
  1201. else
  1202. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1203. if HITFLOOR then
  1204. LANDED = true
  1205. end
  1206. end
  1207. LOOP = LOOP + 1
  1208. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1209. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1210. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1211. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1212. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1213. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1214. until LANDED == true or ATTACK == false
  1215. end))
  1216. wait(0.3)
  1217. LOAD = true
  1218. CreateSound(158309736, Torso, 10, 1, false)
  1219. local bv = Instance.new("BodyVelocity",RootPart)
  1220. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1221. bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150
  1222. Debris:AddItem(bv,0.05)
  1223. repeat wait() until LANDED == true or LOOP > 45
  1224. Debris:AddItem(BLOCKMODEL,5)
  1225. ATTACK = false
  1226. Rooted = false
  1227. end
  1228.  
  1229. --//=================================\\
  1230. --|| ASSIGN THINGS TO KEYS
  1231. --\\=================================//
  1232.  
  1233. function MouseDown(Mouse)
  1234. HOLD = true
  1235. if ATTACK == false then
  1236. end
  1237. end
  1238.  
  1239. function MouseUp(Mouse)
  1240. HOLD = false
  1241. end
  1242.  
  1243. function KeyDown(Key)
  1244. KEYHOLD = true
  1245. if Key == "z" and ATTACK == false then
  1246. QuestionMarkBlock()
  1247. end
  1248.  
  1249. if Key == "b" and ATTACK == false then
  1250. SwordBeam()
  1251. end
  1252.  
  1253. if Key == "c" and ATTACK == false and SONG == 853518668 then
  1254. Candy()
  1255. end
  1256.  
  1257. if Key == "v" and ATTACK == false then
  1258. Peashooter()
  1259. end
  1260.  
  1261. if Key == "t" and ATTACK == false then
  1262. QuestionMarkBlock2()
  1263. end
  1264. end
  1265.  
  1266. function KeyUp(Key)
  1267. KEYHOLD = false
  1268. end
  1269.  
  1270. Mouse.Button1Down:connect(function(NEWKEY)
  1271. MouseDown(NEWKEY)
  1272. end)
  1273. Mouse.Button1Up:connect(function(NEWKEY)
  1274. MouseUp(NEWKEY)
  1275. end)
  1276. Mouse.KeyDown:connect(function(NEWKEY)
  1277. KeyDown(NEWKEY)
  1278. end)
  1279. Mouse.KeyUp:connect(function(NEWKEY)
  1280. KeyUp(NEWKEY)
  1281. end)
  1282.  
  1283. --//=================================\\
  1284. --\\=================================//
  1285.  
  1286. function unanchor()
  1287. if UNANCHOR == true then
  1288. for _, c in pairs(Character:GetChildren()) do
  1289. if c:IsA("BasePart") then
  1290. c.Anchored = false
  1291. end
  1292. end
  1293. else
  1294. for _, c in pairs(Character:GetChildren()) do
  1295. if c:IsA("BasePart") then
  1296. c.Anchored = true
  1297. end
  1298. end
  1299. end
  1300. end
  1301.  
  1302. --//=================================\\
  1303. --|| WRAP THE WHOLE SCRIPT UP
  1304. --\\=================================//
  1305.  
  1306. local JUMPED = false
  1307.  
  1308. Humanoid.Changed:connect(function(Jump)
  1309. if Jump == "Jump" and (Disable_Jump == true) then
  1310. Humanoid.Jump = false
  1311. elseif Jump == "Jump" and Disable_Jump == false and JUMPED == false then
  1312. JUMPED = true
  1313. CreateSound(158309736, Torso, 10, 1, false)
  1314. end
  1315. end)
  1316.  
  1317. while true do
  1318. Swait()
  1319. script.Parent = WEAPONGUI
  1320. ANIMATE.Parent = nil
  1321. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1322. v:Stop();
  1323. end
  1324. Humanoid.JumpPower = 75
  1325. SINE = SINE + CHANGE
  1326. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1327. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1328. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1329. local WALKSPEEDVALUE = 4 / (Humanoid.WalkSpeed / 16)
  1330. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1331. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1332. 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)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1333. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.825 - 0.175 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.1- 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1334. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.825 + 0.175 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.1+ 0.5 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1335. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1336. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1337. 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)
  1338. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1339. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1340. end
  1341. if HITFLOOR == nil then
  1342. ANIM = "Midair"
  1343. local JUMPHIT = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  1344. if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then
  1345. if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then
  1346. local HIT = IT("Folder",JUMPHIT)
  1347. HIT.Name = "Stomped"
  1348. CreateSound(165013277, JUMPHIT, 10, 1, false)
  1349. RootPart.Velocity = VT(0,80,0)
  1350. GoombaStomp(JUMPHIT.Parent)
  1351. elseif JUMPHIT.Parent.ClassName == "Accessory" then
  1352. local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head")
  1353. if HEAD then
  1354. if HEAD:FindFirstChild("Stomped") == nil then
  1355. local HIT = IT("Folder",HEAD)
  1356. HIT.Name = "Stomped"
  1357. CreateSound(165013277, HEAD, 10, 1, false)
  1358. RootPart.Velocity = VT(0,80,0)
  1359. GoombaStomp(HEAD.Parent)
  1360. end
  1361. end
  1362. end
  1363. end
  1364. local JUMPHIT = Raycast(RootPart.CFrame*CF(1,0,0).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  1365. if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then
  1366. if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then
  1367. local HIT = IT("Folder",JUMPHIT)
  1368. HIT.Name = "Stomped"
  1369. CreateSound(165013277, JUMPHIT, 10, 1, false)
  1370. RootPart.Velocity = VT(0,80,0)
  1371. GoombaStomp(JUMPHIT.Parent)
  1372. elseif JUMPHIT.Parent.ClassName == "Accessory" then
  1373. local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head")
  1374. if HEAD then
  1375. if HEAD:FindFirstChild("Stomped") == nil then
  1376. local HIT = IT("Folder",HEAD)
  1377. HIT.Name = "Stomped"
  1378. CreateSound(165013277, HEAD, 10, 1, false)
  1379. RootPart.Velocity = VT(0,80,0)
  1380. GoombaStomp(HEAD.Parent)
  1381. end
  1382. end
  1383. end
  1384. end
  1385. local JUMPHIT = Raycast(RootPart.CFrame*CF(-1,0,0).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  1386. if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then
  1387. if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then
  1388. local HIT = IT("Folder",JUMPHIT)
  1389. HIT.Name = "Stomped"
  1390. CreateSound(165013277, JUMPHIT, 10, 1, false)
  1391. RootPart.Velocity = VT(0,80,0)
  1392. GoombaStomp(JUMPHIT.Parent)
  1393. elseif JUMPHIT.Parent.ClassName == "Accessory" then
  1394. local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head")
  1395. if HEAD then
  1396. if HEAD:FindFirstChild("Stomped") == nil then
  1397. local HIT = IT("Folder",HEAD)
  1398. HIT.Name = "Stomped"
  1399. CreateSound(165013277, HEAD, 10, 1, false)
  1400. RootPart.Velocity = VT(0,80,0)
  1401. GoombaStomp(HEAD.Parent)
  1402. end
  1403. end
  1404. end
  1405. end
  1406. if ATTACK == false then
  1407. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1408. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  1409. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1410. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1411. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4-sick.PlaybackLoudness/800, -0.7) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1412. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.3) * ANGLES(RAD(-25), RAD(-80), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  1413. end
  1414. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1415. ANIM = "Idle"
  1416. JUMPED = false
  1417. if ATTACK == false then
  1418. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1419. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(0), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0 - 25 * SIN(SINE / 15))), 1 / Animation_Speed)
  1420. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(0), RAD(-15), RAD(-2+sick.PlaybackLoudness/45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1421. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1422. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1423. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1424. end
  1425. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1426. ANIM = "Walk"
  1427. JUMPED = false
  1428. if ATTACK == false then
  1429. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1+sick.PlaybackLoudness/800) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1430. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1+sick.PlaybackLoudness/800) - 1)) * ANGLES(RAD(5 - 2 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(7.5-30*SIN(sick.PlaybackLoudness/300)), RAD(0)), 1 / Animation_Speed)
  1431. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5+sick.PlaybackLoudness/1200, 0) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed)
  1432. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.3) * ANGLES(RAD(0), RAD(55), RAD(-12)) * ANGLES(RAD(-45), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1433. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1-sick.PlaybackLoudness/800, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-3)), 2 / Animation_Speed)
  1434. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1-sick.PlaybackLoudness/800, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(3)), 2 / Animation_Speed)
  1435. end
  1436. end
  1437. unanchor()
  1438. Humanoid.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999
  1439. Humanoid.Health = Humanoid.MaxHealth
  1440. if Rooted == false then
  1441. Disable_Jump = false
  1442. Humanoid.WalkSpeed = Speed
  1443. elseif Rooted == true then
  1444. Disable_Jump = true
  1445. Humanoid.WalkSpeed = 0
  1446. end
  1447. local COLOR = C3((0+sick.PlaybackLoudness/200)/510,(115+sick.PlaybackLoudness/25)/510,(150+sick.PlaybackLoudness*1.5)/610)
  1448. for _, c in pairs(Character:GetChildren()) do
  1449. if c:IsA("BasePart") and c.Name ~= "Detail" then
  1450. c.Material = "Neon"
  1451. if c:FindFirstChildOfClass("ParticleEmitter") then
  1452. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1453. end
  1454. c.Color = BRICKC"Really black".Color
  1455. if c == Head then
  1456. if c:FindFirstChild("face") then
  1457. c.face:remove()
  1458. end
  1459. end
  1460. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1461. c:remove()
  1462. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1463. c:remove()
  1464. elseif c.Name == "Detail" then
  1465. c.Material = "Neon"
  1466. c.Color = COLOR
  1467. end
  1468. end
  1469. if DEAD == false then
  1470. sick.SoundId = "rbxassetid://"..SONG
  1471. sick.Looped = true
  1472. sick.Pitch = 1
  1473. sick.Volume = 2
  1474. sick.Playing = true
  1475. sick.Parent = Torso
  1476. else
  1477. sick:remove()
  1478. end
  1479. Humanoid.Name = "Mr Pixels"
  1480. end
  1481.  
  1482. --//=================================\\
  1483. --\\=================================//
  1484.  
  1485.  
  1486.  
  1487.  
  1488.  
  1489. --//====================================================\\--
  1490. --|| END OF SCRIPT
  1491. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement