Advertisement
Ashie

Mr Pixels Edit

Jun 4th, 2018
179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.56 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 = 50
  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 = 200
  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 = 187742729
  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 HAT1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(2,0.2,2),false)
  482. HATWELD = CreateWeldOrSnapOrMotor("Weld", Head, Head, HAT1, CF(0,0.35,0), CF(0, 0, 0))
  483. local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Part", VT(1.35,0.4,1.35),false)
  484. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, BELT, CF(0,0.25,0), CF(0, 0, 0))
  485. local HAT2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(1.3,2.2,1.3),false)
  486. CreateWeldOrSnapOrMotor("Weld", HAT1, HAT1, HAT2, CF(0,1.1,0), CF(0, 0, 0))
  487.  
  488. local TIE1 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.5,0.5,0),false)
  489. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, TIE1, CF(0,0.8,-0.5), CF(0, 0, 0))
  490. local TIE2 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.2,0.5,0),false)
  491. CreateWeldOrSnapOrMotor("Weld", TIE1, TIE1, TIE2, CF(0,-0.5,0), CF(0, 0, 0))
  492. local TIE3 = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Detail", VT(0.5,1,0),false)
  493. CreateWeldOrSnapOrMotor("Weld", TIE2, TIE2, TIE3, CF(0,-0.75,0), CF(0, 0, 0))
  494.  
  495. Humanoid.DisplayDistanceType = "None"
  496. local naeeym2 = IT("BillboardGui",Character)
  497. naeeym2.AlwaysOnTop = true
  498. naeeym2.Size = UDim2.new(5,35,2,15)
  499. naeeym2.StudsOffset = Vector3.new(0,6,0)
  500. naeeym2.MaxDistance = 75
  501. naeeym2.Adornee = RootPart
  502. naeeym2.Name = "Name"
  503. naeeym2.PlayerToHideFrom = Player
  504. local tecks2 = IT("TextLabel",naeeym2)
  505. tecks2.BackgroundTransparency = 1
  506. tecks2.TextScaled = true
  507. tecks2.BorderSizePixel = 0
  508. tecks2.Text = "Mr Pixels"
  509. tecks2.Font = "Arcade"
  510. tecks2.TextSize = 20
  511. tecks2.TextStrokeTransparency = 1
  512. tecks2.TextColor3 = BRICKC"Cyan".Color
  513. tecks2.TextStrokeColor3 = BRICKC"Cyan".Color
  514. tecks2.Size = UDim2.new(1,0,0.5,0)
  515. tecks2.Parent = naeeym2
  516.  
  517. local MESH = IT("BlockMesh",Head)
  518. MESH.Scale = VT(0.5,1,1)
  519.  
  520. local SKILLTEXTCOLOR = BRICKC"Cyan".Color
  521. local SKILLFONT = "Arcade"
  522. local SKILLTEXTSIZE = 7
  523.  
  524. Humanoid.Died:connect(function()
  525. for _, c in pairs(Character:GetChildren()) do
  526. if c:IsA("BasePart") then
  527. c.Anchored = true
  528. end
  529. end
  530. naeeym2:remove()
  531. ATTACK = true
  532. DEAD = true
  533. UNANCHOR = false
  534. Character.PrimaryPart = RootPart
  535. CreateSound(580288658, Effects, 3, 1, false)
  536. Humanoid:remove()
  537. for i = 1, 50 do
  538. wait()
  539. Character:SetPrimaryPartCFrame(RootPart.CFrame *CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(90)))
  540. end
  541. UNANCHOR = true
  542. for _, c in pairs(Character:GetChildren()) do
  543. if c:IsA("BasePart") then
  544. c.CanCollide = true
  545. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  546. end
  547. end
  548. end)
  549.  
  550. 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")
  551. 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")
  552. 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")
  553. 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")
  554.  
  555. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  556. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  557. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  558. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  559.  
  560. --//=================================\\
  561. --|| DAMAGING
  562. --\\=================================//
  563.  
  564. function ApplyDamage(Humanoid,Damage)
  565. Damage = Damage * DAMAGEMULTIPLIER
  566. if Humanoid.Health ~= 0 then
  567. Humanoid.Health = Humanoid.Health - Damage
  568. end
  569. end
  570.  
  571. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  572. local CHILDREN = workspace:GetDescendants()
  573. for index, CHILD in pairs(CHILDREN) do
  574. if CHILD.ClassName == "Model" and CHILD ~= Character then
  575. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  576. if HUM then
  577. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  578. if TORSO then
  579. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  580. if INSTAKILL == true then
  581. CHILD:BreakJoints()
  582. else
  583. local DMG = MRANDOM(MINDMG,MAXDMG)
  584. ApplyDamage(HUM,DMG)
  585. end
  586. if FLING > 0 then
  587. for _, c in pairs(CHILD:GetChildren()) do
  588. if c:IsA("BasePart") then
  589. local bv = Instance.new("BodyVelocity")
  590. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  591. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  592. bv.Parent = c
  593. Debris:AddItem(bv,0.05)
  594. end
  595. end
  596. end
  597. end
  598. end
  599. end
  600. end
  601. end
  602. end
  603.  
  604. function APPLYMELEE(PART,MINDMG,MAXDMG)
  605. local ONESHOT = false
  606. if MINDMG == "inf" then
  607. ONESHOT = true
  608. end
  609. local HITS = {}
  610. local TOUCH = PART.Touched:Connect(function(hit)
  611. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  612. local HUM = hit.Parent:FindFirstChildOfClass("Humanoid")
  613. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  614. if TORSO and HUM.Health > 0 then
  615. local PASS = true
  616. for i = 1, #HITS do
  617. if HITS[i] == hit.Parent then
  618. PASS = false
  619. end
  620. end
  621. table.insert(HITS,hit.Parent)
  622. if PASS == true then
  623. if ONESHOT == false then
  624. ApplyDamage(HUM,MRANDOM(MINDMG,MAXDMG))
  625. else
  626. CreateSound(1538571923, TORSO, 10, 1, false)
  627. HUM.Parent:BreakJoints()
  628. HUM:remove()
  629. for _, c in pairs(TORSO.Parent:GetChildren()) do
  630. if c:IsA("BasePart") then
  631. c.CanCollide = true
  632. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(45,85),MRANDOM(-45,45))
  633. Debris:AddItem(c,MRANDOM(5,20)/10)
  634. end
  635. end
  636. end
  637. end
  638. end
  639. end
  640. end)
  641. return TOUCH
  642. end
  643.  
  644. function GoombaStomp(OBJECT)
  645. for _, c in pairs(OBJECT:GetChildren()) do
  646. if c:IsA("BasePart") then
  647. c.Size = VT(c.Size.X,0,c.Size.Z)
  648. end
  649. end
  650. end
  651.  
  652. --//=================================\\
  653. --|| ATTACK FUNCTIONS AND STUFF
  654. --\\=================================//
  655.  
  656. function MushroomAi(Mushroom)
  657. coroutine.resume(coroutine.create(function()
  658. for i = 1, 500 do
  659. wait()
  660. local DISTANCE = 500
  661. local TARGET = nil
  662. local HUMAN = nil
  663. for _, c in pairs(workspace:GetChildren()) do
  664. if c.ClassName == "Model" and c:FindFirstChildOfClass("Humanoid") and c ~= Character then
  665. local HUM = c:FindFirstChildOfClass("Humanoid")
  666. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  667. if TORSO and HUM.Health > 0 then
  668. if (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude < DISTANCE then
  669. DISTANCE = (TORSO.Position - Mushroom.PrimaryPart.Position).Magnitude
  670. TARGET = TORSO
  671. HUMAN = HUM
  672. end
  673. end
  674. end
  675. end
  676. if TARGET then
  677. local HITFLOOR,HITPOS = Raycast(Mushroom.PrimaryPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1, Mushroom)
  678. if HITFLOOR then
  679. local CFRAME = CF(Mushroom.PrimaryPart.Position,VT(TARGET.Position.X,Mushroom.PrimaryPart.Position.Y,TARGET.Position.Z))*CF(0,0,-0.3).p
  680. Mushroom:SetPrimaryPartCFrame(CF(CFRAME))
  681. local DIST = (TARGET.Position - Mushroom.PrimaryPart.Position).Magnitude
  682. if DIST < 4*(TARGET.Size.Y/2) then
  683. HUMAN.Health = HUMAN.Health - (HUMAN.MaxHealth-1)
  684. break
  685. end
  686. else
  687. Mushroom:SetPrimaryPartCFrame(CF(HITPOS))
  688. end
  689. end
  690. end
  691. Mushroom:remove()
  692. end))
  693. end
  694.  
  695. function QuestionMarkBlock()
  696. ATTACK = true
  697. Rooted = true
  698. local BLOCKMODEL = IT("Model",Effects)
  699. local LOAD = false
  700. local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "New Yeller", "Base", VT(2,2,2))
  701. BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p)
  702. BLOCKMODEL.PrimaryPart = BLOCK
  703. for i = 1, 4 do
  704. local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Blocc", VT(1.3,1.3,2)*1.001)
  705. BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0))
  706. local DECAL = IT("Decal",BASE)
  707. DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679"
  708. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  709. PART.CFrame = BASE.CFrame*CF(0.75,0.75,0)
  710. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  711. PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0)
  712. end
  713. local LANDED = false
  714. local HIT = false
  715. local LOOP = 0
  716. coroutine.resume(coroutine.create(function()
  717. repeat
  718. Swait()
  719. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  720. 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)
  721. 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)
  722. 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)
  723. 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)
  724. 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)
  725. until LOAD == true
  726. repeat
  727. Swait()
  728. if HIT == false then
  729. local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL)
  730. if HITFLOOR then
  731. HIT = true
  732. coroutine.resume(coroutine.create(function()
  733. local CFRAME = BLOCK.CFrame
  734. RootPart.Velocity = VT(0,0,0)
  735. RootPart.RotVelocity = VT(0,0,0)
  736. for i = 1, 5 do
  737. wait()
  738. RootPart.Velocity = VT(0,-i*4,0)
  739. RootPart.RotVelocity = VT(0,0,0)
  740. BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed))
  741. end
  742. BLOCK.BrickColor = BRICKC"Dirt brown"
  743. for _, c in pairs(BLOCKMODEL:GetChildren()) do
  744. if c:IsA("BasePart") and c.Name ~= "Base" then
  745. c:remove()
  746. end
  747. end
  748. CreateSound(1246464612, BLOCK, 10, 1, false)
  749. local SIZE = 2.25
  750. local MUSHROOM = IT("Model",Effects)
  751. local BASE = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Fawn brown", "Shroom", VT(0.5,0.5,0.5)*SIZE)
  752. MUSHROOM.PrimaryPart = BASE
  753. local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Mulberry", "Shroom", VT(0.75,0.45,0.75)*SIZE)
  754. HEAD.CFrame = BASE.CFrame*CF(0,0.35*SIZE,0)
  755. for i = 1, 2 do
  756. local DOT = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Lime green", "Shroom", VT(0.35,0.35,0.8)*SIZE)
  757. DOT.CFrame = HEAD.CFrame * ANGLES(RAD(0), RAD((180/2)*i), RAD(0))
  758. end
  759. local HEAD = CreatePart(3, MUSHROOM, "Neon", 0, 0, "Mulberry", "Shroom", VT(0.55,0.45,0.55)*SIZE)
  760. HEAD.CFrame = BASE.CFrame*CF(0,0.55*SIZE,0)
  761. MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame)
  762. for i = 1, 30 do
  763. wait()
  764. MUSHROOM:SetPrimaryPartCFrame(BLOCK.CFrame*CF(0,-0.35+(i/18),0))
  765. end
  766. MushroomAi(MUSHROOM)
  767. Debris:AddItem(BLOCKMODEL,5)
  768. end))
  769. end
  770. else
  771. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  772. if HITFLOOR then
  773. LANDED = true
  774. end
  775. end
  776. LOOP = LOOP + 1
  777. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  778. 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)
  779. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  780. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  781. 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)
  782. 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)
  783. until LANDED == true or ATTACK == false
  784. end))
  785. wait(1)
  786. LOAD = true
  787. CreateSound(158309736, Torso, 10, 1, false)
  788. local bv = Instance.new("BodyVelocity",RootPart)
  789. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  790. bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150
  791. Debris:AddItem(bv,0.05)
  792. repeat wait() until LANDED == true or LOOP > 45
  793. Debris:AddItem(BLOCKMODEL,5)
  794. ATTACK = false
  795. Rooted = false
  796. end
  797.  
  798. function SwordBeam()
  799. ATTACK = true
  800. Rooted = false
  801. local SWORDMODEL = IT("Model",Effects)
  802. local HANDLE = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Shamrock", "Stic", VT(0.2,2,0.2),false)
  803. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1,0)* ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, -0.3, 0))
  804. local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Shamrock", "Stic", VT(1,0.2,0.2),false)
  805. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,1,0), CF(0, 0, 0))
  806. local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.5,2,0.1),false)
  807. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,2,0), CF(0, 0, 0))
  808. local PART = CreatePart(3, SWORDMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.25,2,0.1),false)
  809. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, PART, CF(0,2.25,0), CF(0, 0, 0))
  810. for i=0, 1, 0.1 / Animation_Speed do
  811. Swait()
  812. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  813. 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)
  814. 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)
  815. 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)
  816. 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)
  817. 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)
  818. end
  819. coroutine.resume(coroutine.create(function()
  820. local BEAM = IT("Model",Effects)
  821. local BASE = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.5,2))
  822. BASE.CFrame = RootPart.CFrame*CF(1.5,-0.4,0)
  823. local PART = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.25,2))
  824. PART.CFrame = BASE.CFrame*CF(0,0,-0.2)
  825. for i = 1, 4 do
  826. local PART = CreatePart(3, BEAM, "Neon", 0, 0, "Really red", "Stic", VT(0.1,0.75,0.1))
  827. PART.CFrame = BASE.CFrame*CF(0,0,-0.8+(i/2.5))
  828. end
  829. BEAM.PrimaryPart = BASE
  830. for i = 1, 75 do
  831. wait()
  832. BEAM:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0,-2))
  833. local HITFLOOR = Raycast(BASE.Position, BASE.CFrame.lookVector, 2.1, Character)
  834. if HITFLOOR then
  835. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  836. local HUM = HITFLOOR.Parent:FindFirstChildOfClass("Humanoid")
  837. ApplyDamage(HUM,15)
  838. end
  839. break
  840. end
  841. end
  842. BEAM:remove()
  843. end))
  844. for i=0, 0.05, 0.1 / Animation_Speed do
  845. Swait()
  846. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  847. 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)
  848. 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)
  849. 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)
  850. 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)
  851. 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)
  852. end
  853. for i=0, 0.5, 0.1 / Animation_Speed do
  854. Swait()
  855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  856. 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)
  857. 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)
  858. 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)
  859. 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)
  860. 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)
  861. end
  862. SWORDMODEL:remove()
  863. ATTACK = false
  864. Rooted = false
  865. end
  866.  
  867. function Candy()
  868. ATTACK = true
  869. Rooted = true
  870. local CANDYMODEL = IT("Model",Effects)
  871. local HANDLE = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Dirt brown", "Stic", VT(0.2,1,0.2),false)
  872. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1,0)* ANGLES(RAD(-90), RAD(90), RAD(0)), CF(0, -0.3, 0))
  873. local HEAD1 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(1,1,0.21),false)
  874. CreateWeldOrSnapOrMotor("Weld", HANDLE, HANDLE, HEAD1, CF(0,1,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  875. local HEAD2 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Really red", "Stic", VT(0.85,0.85,0.22),false)
  876. CreateWeldOrSnapOrMotor("Weld", HEAD1, HEAD1, HEAD2, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  877. local HEAD3 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Pearl", "Stic", VT(0.55,0.55,0.23),false)
  878. CreateWeldOrSnapOrMotor("Weld", HEAD2, HEAD2, HEAD3, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  879. local HEAD4 = CreatePart(3, CANDYMODEL, "Neon", 0, 0, "Really red", "Stic", VT(0.25,0.25,0.24),false)
  880. CreateWeldOrSnapOrMotor("Weld", HEAD3, HEAD3, HEAD4, CF(0,0,0)* ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  881. local THROWN = false
  882. local THROW = Mouse.Button1Down:connect(function(NEWKEY)
  883. THROWN = true
  884. end)
  885. for i=0, 2, 0.1 / Animation_Speed do
  886. Swait()
  887. if THROWN == true then
  888. break
  889. end
  890. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  891. 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)
  892. 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)
  893. 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)
  894. 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)
  895. 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)
  896. end
  897. THROW:disconnect()
  898. for i=0, 1, 0.1 / Animation_Speed do
  899. Swait()
  900. if THROWN == true then
  901. break
  902. end
  903. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  904. 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)
  905. 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)
  906. 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)
  907. 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)
  908. 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)
  909. end
  910. if THROWN == false then
  911. CANDYMODEL:remove()
  912. coroutine.resume(coroutine.create(function()
  913. SONG = 554418756
  914. Speed = 35
  915. sick:Play()
  916. for i = 1, 150 do
  917. local MELEES = {}
  918. for _, c in pairs(Character:GetChildren()) do
  919. if c:IsA("BasePart") then
  920. local MELEE = APPLYMELEE(c,"inf","inf")
  921. table.insert(MELEES,MELEE)
  922. 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})
  923. end
  924. end
  925. wait(0.1)
  926. for e = 1, #MELEES do
  927. MELEES[e]:disconnect()
  928. end
  929. end
  930. sick:Play()
  931. Speed = 20
  932. SONG = 853518668
  933. end))
  934. else
  935. local GIVEINV = function(OBJECT,HUMAN)
  936. local TORSO = OBJECT:FindFirstChild("Torso") or OBJECT:FindFirstChild("UpperTorso")
  937. if TORSO then
  938. if TORSO:FindFirstChild("YAY") == nil then
  939. local MUSIC = CreateSound(554418756, TORSO, 3, 1, true)
  940. MUSIC.Name = "YAY"
  941. HUMAN.WalkSpeed = 35
  942. local HEALTH = HUMAN.MaxHealth
  943. for i = 1, 150 do
  944. HUMAN.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999
  945. HUMAN.Health = HUMAN.MaxHealth
  946. MUSIC.Parent = TORSO
  947. local MELEES = {}
  948. for _, c in pairs(OBJECT:GetChildren()) do
  949. if c:IsA("BasePart") then
  950. local MELEE = APPLYMELEE(c,"inf","inf")
  951. table.insert(MELEES,MELEE)
  952. 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})
  953. end
  954. end
  955. wait(0.1)
  956. for e = 1, #MELEES do
  957. MELEES[e]:disconnect()
  958. end
  959. end
  960. HUMAN.MaxHealth = HEALTH
  961. HUMAN.Health = HUMAN.MaxHealth
  962. MUSIC:remove()
  963. HUMAN.WalkSpeed = 16
  964. end
  965. end
  966. end
  967. for i=0, 1, 0.1 / Animation_Speed do
  968. Swait()
  969. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  970. 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)
  971. 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)
  972. 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)
  973. 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)
  974. 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)
  975. end
  976. for i=0, 0.05, 0.1 / Animation_Speed do
  977. Swait()
  978. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  979. 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)
  980. 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)
  981. 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)
  982. 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)
  983. 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)
  984. end
  985. for _, c in pairs(CANDYMODEL:GetChildren()) do
  986. if c:IsA("BasePart") then
  987. c.CanCollide = true
  988. c.Touched:Connect(function(hit)
  989. if hit.Parent ~= Character then
  990. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  991. CANDYMODEL:remove()
  992. GIVEINV(hit.Parent,hit.Parent:FindFirstChildOfClass("Humanoid"))
  993. end
  994. end
  995. end)
  996. end
  997. end
  998. GRIP:remove()
  999. HANDLE.Velocity = CF(HANDLE.Position,Torso.CFrame*CF(0,7,-15).p).lookVector*MRANDOM(45,80)
  1000. Debris:AddItem(CANDYMODEL,10)
  1001. for i=0, 0.4, 0.1 / Animation_Speed do
  1002. Swait()
  1003. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1004. 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)
  1005. 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)
  1006. 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)
  1007. 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)
  1008. 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)
  1009. end
  1010. end
  1011. ATTACK = false
  1012. Rooted = false
  1013. end
  1014.  
  1015. function Peashooter()
  1016. ATTACK = true
  1017. Rooted = true
  1018. local LOADED = false
  1019. local BLASTER = IT("Model",Effects)
  1020. local HANDLE = CreatePart(3, BLASTER, "Neon", 0, 1, "Cyan", "Shooter", VT(1.3,1.4,1.3),false)
  1021. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-0.5,0), CF(0, 0, 0))
  1022. local HANDLE = CreatePart(3, BLASTER, "Neon", 0, 1, "Cyan", "Shooter", VT(1.1,1.4,1.1),false)
  1023. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-0.75,0), CF(0, 0, 0))
  1024. local SHOT = false
  1025. local FINISHED = false
  1026. coroutine.resume(coroutine.create(function()
  1027. for i=0, 1, 0.1 / Animation_Speed do
  1028. Swait()
  1029. turnto(Mouse.Hit.p)
  1030. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1031. 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)
  1032. 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)
  1033. 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)
  1034. 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)
  1035. 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)
  1036. end
  1037. LOADED = true
  1038. 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})
  1039. for _, c in pairs(BLASTER:GetChildren()) do
  1040. if c:IsA("BasePart") then
  1041. c.Transparency = 0
  1042. end
  1043. end
  1044. repeat
  1045. Swait()
  1046. turnto(Mouse.Hit.p)
  1047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1048. 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)
  1049. 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)
  1050. 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)
  1051. 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)
  1052. 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)
  1053. until SHOT == true
  1054. repeat
  1055. turnto(Mouse.Hit.p)
  1056. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1057. 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)
  1058. 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)
  1059. 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)
  1060. 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)
  1061. 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)
  1062. coroutine.resume(coroutine.create(function()
  1063. local BULLET = IT("Model",Effects)
  1064. local MAIN = CreatePart(3, BULLET, "Neon", 0, 0, "Cork", "Bullet", VT(1,1,1.5))
  1065. CreateSound(635556833, RightArm, 3, 1, false)
  1066. BULLET.PrimaryPart = MAIN
  1067. local PART = CreatePart(3, BULLET, "Neon", 0, 0, "Cork", "Bullet", VT(0.8,0.8,2))
  1068. MAIN.CFrame = CF(RightArm.CFrame*CF(0,-2,0).p,Mouse.Hit.p)
  1069. PART.CFrame = MAIN.CFrame
  1070. for i = 1, 75 do
  1071. wait()
  1072. BULLET:SetPrimaryPartCFrame(MAIN.CFrame*CF(0,0,-2))
  1073. local HITFLOOR = Raycast(MAIN.Position, MAIN.CFrame.lookVector, 2.1, Character)
  1074. if HITFLOOR then
  1075. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  1076. local HUM = HITFLOOR.Parent:FindFirstChildOfClass("Humanoid")
  1077. ApplyDamage(HUM,10)
  1078. end
  1079. break
  1080. end
  1081. end
  1082. BULLET:remove()
  1083. end))
  1084. for i = 1, 25 do
  1085. Swait()
  1086. turnto(Mouse.Hit.p)
  1087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1088. 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)
  1089. 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)
  1090. 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)
  1091. 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)
  1092. 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)
  1093. end
  1094. until HOLD == false
  1095. for i=0, 0.2, 0.1 / Animation_Speed do
  1096. Swait()
  1097. turnto(Mouse.Hit.p)
  1098. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1099. 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)
  1100. 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)
  1101. 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)
  1102. 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)
  1103. 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)
  1104. end
  1105. 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})
  1106. BLASTER:remove()
  1107. FINISHED = true
  1108. end))
  1109. repeat wait() until LOADED == true
  1110. wait(0.5)
  1111. local FIRE = Mouse.Button1Down:connect(function(NEWKEY)
  1112. SHOT = true
  1113. end)
  1114. repeat wait() until SHOT == true
  1115. FIRE:disconnect()
  1116. repeat wait() until FINISHED == true
  1117. ATTACK = false
  1118. Rooted = false
  1119. end
  1120.  
  1121. function QuestionMarkBlock2()
  1122. ATTACK = true
  1123. Rooted = true
  1124. local BLOCKMODEL = IT("Model",Effects)
  1125. local LOAD = false
  1126. local BLOCK = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "New Yeller", "Base", VT(2,2,2))
  1127. BLOCK.CFrame = CF(RootPart.CFrame*CF(0,15,0).p)
  1128. BLOCKMODEL.PrimaryPart = BLOCK
  1129. local FRAME = RootPart.CFrame*CF(0,15,0)
  1130. for i = 1, 4 do
  1131. local BASE = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "New Yeller", "Blocc", VT(1.3,1.3,2)*1.001)
  1132. BASE.CFrame = BLOCK.CFrame * ANGLES(RAD(0), RAD((360/4)*i), RAD(0))
  1133. local DECAL = IT("Decal",BASE)
  1134. DECAL.Texture = "http://www.roblox.com/asset/?id=1019185679"
  1135. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  1136. PART.CFrame = BASE.CFrame*CF(0.75,0.75,0)
  1137. local PART = CreatePart(3, BLOCKMODEL, "Neon", 0, 0, "Pearl", "Blocc", VT(0.2,0.2,2.1))
  1138. PART.CFrame = BASE.CFrame*CF(0.75,-0.75,0)
  1139. end
  1140. local LANDED = false
  1141. local HIT = false
  1142. local LOOP = 0
  1143. coroutine.resume(coroutine.create(function()
  1144. repeat
  1145. Swait()
  1146. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1147. 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)
  1148. 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)
  1149. 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)
  1150. 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)
  1151. 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)
  1152. until LOAD == true
  1153. repeat
  1154. Swait()
  1155. if HIT == false then
  1156. local HITFLOOR = Raycast(BLOCK.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 1.2, BLOCKMODEL)
  1157. if HITFLOOR then
  1158. HIT = true
  1159. coroutine.resume(coroutine.create(function()
  1160. local CFRAME = BLOCK.CFrame
  1161. RootPart.Velocity = VT(0,0,0)
  1162. RootPart.RotVelocity = VT(0,0,0)
  1163. coroutine.resume(coroutine.create(function()
  1164. CreateSound(138702491, BLOCK, 10, 1, false)
  1165. local COIN = CreatePart(3, BLOCKMODEL, "Neon", 0, 1, "Carnation pink", "Coin", VT(1.8,1.8,0))
  1166. COIN.CFrame = BLOCK.CFrame
  1167. local DECAL = IT("Decal",COIN)
  1168. DECAL.Texture = "http://www.roblox.com/asset/?id=1512322302"
  1169. local DECAL = IT("Decal",COIN)
  1170. DECAL.Texture = "http://www.roblox.com/asset/?id=1512322302"
  1171. DECAL.Face = "Back"
  1172. for i = 1, 15 do
  1173. wait()
  1174. COIN.CFrame = Clerp(FRAME, FRAME*CF(0,(15-(i/10)),0), 1 / Animation_Speed)
  1175. end
  1176. COIN:remove()
  1177. end))
  1178. for i = 1, 5 do
  1179. wait()
  1180. RootPart.Velocity = VT(0,-i*4,0)
  1181. RootPart.RotVelocity = VT(0,0,0)
  1182. BLOCKMODEL:SetPrimaryPartCFrame(Clerp(CFRAME, CFRAME*CF(0,(5-i),0), 1 / Animation_Speed))
  1183. end
  1184. BLOCK.BrickColor = BRICKC"Carnation pink"
  1185. for _, c in pairs(BLOCKMODEL:GetChildren()) do
  1186. if c:IsA("BasePart") and c.Name ~= "Base" then
  1187. c:remove()
  1188. end
  1189. end
  1190. Debris:AddItem(BLOCKMODEL,5)
  1191. end))
  1192. end
  1193. else
  1194. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1195. if HITFLOOR then
  1196. LANDED = true
  1197. end
  1198. end
  1199. LOOP = LOOP + 1
  1200. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1201. 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)
  1202. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1203. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1204. 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)
  1205. 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)
  1206. until LANDED == true or ATTACK == false
  1207. end))
  1208. wait(0.3)
  1209. LOAD = true
  1210. CreateSound(158309736, Torso, 10, 1, false)
  1211. local bv = Instance.new("BodyVelocity",RootPart)
  1212. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1213. bv.velocity = CF(RootPart.Position,BLOCK.Position).lookVector*150
  1214. Debris:AddItem(bv,0.05)
  1215. repeat wait() until LANDED == true or LOOP > 45
  1216. Debris:AddItem(BLOCKMODEL,5)
  1217. ATTACK = false
  1218. Rooted = false
  1219. end
  1220.  
  1221. --//=================================\\
  1222. --|| ASSIGN THINGS TO KEYS
  1223. --\\=================================//
  1224.  
  1225. function MouseDown(Mouse)
  1226. HOLD = true
  1227. if ATTACK == false then
  1228. end
  1229. end
  1230.  
  1231. function MouseUp(Mouse)
  1232. HOLD = false
  1233. end
  1234.  
  1235. function KeyDown(Key)
  1236. KEYHOLD = true
  1237. if Key == "z" and ATTACK == false then
  1238. QuestionMarkBlock()
  1239. end
  1240.  
  1241. if Key == "b" and ATTACK == false then
  1242. SwordBeam()
  1243. end
  1244.  
  1245. if Key == "c" and ATTACK == false and SONG == 853518668 then
  1246. Candy()
  1247. end
  1248.  
  1249. if Key == "v" and ATTACK == false then
  1250. Peashooter()
  1251. end
  1252.  
  1253. if Key == "t" and ATTACK == false then
  1254. QuestionMarkBlock2()
  1255. end
  1256. end
  1257.  
  1258. function KeyUp(Key)
  1259. KEYHOLD = false
  1260. end
  1261.  
  1262. Mouse.Button1Down:connect(function(NEWKEY)
  1263. MouseDown(NEWKEY)
  1264. end)
  1265. Mouse.Button1Up:connect(function(NEWKEY)
  1266. MouseUp(NEWKEY)
  1267. end)
  1268. Mouse.KeyDown:connect(function(NEWKEY)
  1269. KeyDown(NEWKEY)
  1270. end)
  1271. Mouse.KeyUp:connect(function(NEWKEY)
  1272. KeyUp(NEWKEY)
  1273. end)
  1274.  
  1275. --//=================================\\
  1276. --\\=================================//
  1277.  
  1278. function unanchor()
  1279. if UNANCHOR == true then
  1280. for _, c in pairs(Character:GetChildren()) do
  1281. if c:IsA("BasePart") then
  1282. c.Anchored = false
  1283. end
  1284. end
  1285. else
  1286. for _, c in pairs(Character:GetChildren()) do
  1287. if c:IsA("BasePart") then
  1288. c.Anchored = true
  1289. end
  1290. end
  1291. end
  1292. end
  1293.  
  1294. --//=================================\\
  1295. --|| WRAP THE WHOLE SCRIPT UP
  1296. --\\=================================//
  1297.  
  1298. local JUMPED = false
  1299.  
  1300. Humanoid.Changed:connect(function(Jump)
  1301. if Jump == "Jump" and (Disable_Jump == true) then
  1302. Humanoid.Jump = false
  1303. elseif Jump == "Jump" and Disable_Jump == false and JUMPED == false then
  1304. JUMPED = true
  1305. CreateSound(158309736, Torso, 10, 1, false)
  1306. end
  1307. end)
  1308.  
  1309. while true do
  1310. Swait()
  1311. script.Parent = WEAPONGUI
  1312. ANIMATE.Parent = nil
  1313. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1314. v:Stop();
  1315. end
  1316. Humanoid.JumpPower = 75
  1317. SINE = SINE + CHANGE
  1318. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1319. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1320. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1321. local WALKSPEEDVALUE = 4 / (Humanoid.WalkSpeed / 16)
  1322. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1323. 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)
  1324. 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)
  1325. 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)
  1326. 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)
  1327. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1328. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1329. 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)
  1330. 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)
  1331. 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)
  1332. end
  1333. if HITFLOOR == nil then
  1334. ANIM = "Midair"
  1335. local JUMPHIT = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  1336. if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then
  1337. if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then
  1338. local HIT = IT("Folder",JUMPHIT)
  1339. HIT.Name = "Stomped"
  1340. CreateSound(165013277, JUMPHIT, 10, 1, false)
  1341. RootPart.Velocity = VT(0,80,0)
  1342. GoombaStomp(JUMPHIT.Parent)
  1343. elseif JUMPHIT.Parent.ClassName == "Accessory" then
  1344. local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head")
  1345. if HEAD then
  1346. if HEAD:FindFirstChild("Stomped") == nil then
  1347. local HIT = IT("Folder",HEAD)
  1348. HIT.Name = "Stomped"
  1349. CreateSound(165013277, HEAD, 10, 1, false)
  1350. RootPart.Velocity = VT(0,80,0)
  1351. GoombaStomp(HEAD.Parent)
  1352. end
  1353. end
  1354. end
  1355. end
  1356. local JUMPHIT = Raycast(RootPart.CFrame*CF(1,0,0).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  1357. if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then
  1358. if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then
  1359. local HIT = IT("Folder",JUMPHIT)
  1360. HIT.Name = "Stomped"
  1361. CreateSound(165013277, JUMPHIT, 10, 1, false)
  1362. RootPart.Velocity = VT(0,80,0)
  1363. GoombaStomp(JUMPHIT.Parent)
  1364. elseif JUMPHIT.Parent.ClassName == "Accessory" then
  1365. local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head")
  1366. if HEAD then
  1367. if HEAD:FindFirstChild("Stomped") == nil then
  1368. local HIT = IT("Folder",HEAD)
  1369. HIT.Name = "Stomped"
  1370. CreateSound(165013277, HEAD, 10, 1, false)
  1371. RootPart.Velocity = VT(0,80,0)
  1372. GoombaStomp(HEAD.Parent)
  1373. end
  1374. end
  1375. end
  1376. end
  1377. local JUMPHIT = Raycast(RootPart.CFrame*CF(-1,0,0).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 5, Character)
  1378. if JUMPHIT ~= nil and TORSOVERTICALVELOCITY < 0 then
  1379. if JUMPHIT.Name == "Head" and JUMPHIT:FindFirstChild("Stomped") == nil then
  1380. local HIT = IT("Folder",JUMPHIT)
  1381. HIT.Name = "Stomped"
  1382. CreateSound(165013277, JUMPHIT, 10, 1, false)
  1383. RootPart.Velocity = VT(0,80,0)
  1384. GoombaStomp(JUMPHIT.Parent)
  1385. elseif JUMPHIT.Parent.ClassName == "Accessory" then
  1386. local HEAD = JUMPHIT.Parent.Parent:FindFirstChild("Head")
  1387. if HEAD then
  1388. if HEAD:FindFirstChild("Stomped") == nil then
  1389. local HIT = IT("Folder",HEAD)
  1390. HIT.Name = "Stomped"
  1391. CreateSound(165013277, HEAD, 10, 1, false)
  1392. RootPart.Velocity = VT(0,80,0)
  1393. GoombaStomp(HEAD.Parent)
  1394. end
  1395. end
  1396. end
  1397. end
  1398. if ATTACK == false then
  1399. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  1400. 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)
  1401. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, -0.2) * ANGLES(RAD(150), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1402. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  1403. 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)
  1404. 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)
  1405. end
  1406. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1407. ANIM = "Idle"
  1408. JUMPED = false
  1409. if ATTACK == false then
  1410. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0+sick.PlaybackLoudness/800) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1411. 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)
  1412. 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)
  1413. 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)
  1414. 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)
  1415. 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)
  1416. end
  1417. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1418. ANIM = "Walk"
  1419. JUMPED = false
  1420. if ATTACK == false then
  1421. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1+sick.PlaybackLoudness/800) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1422. 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)
  1423. 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)
  1424. 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)
  1425. 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)
  1426. 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)
  1427. end
  1428. end
  1429. unanchor()
  1430. Humanoid.MaxHealth = 999999999999999999*999999999999999999*999999999999999999*999999999999999999
  1431. Humanoid.Health = Humanoid.MaxHealth
  1432. if Rooted == false then
  1433. Disable_Jump = false
  1434. Humanoid.WalkSpeed = Speed
  1435. elseif Rooted == true then
  1436. Disable_Jump = true
  1437. Humanoid.WalkSpeed = 0
  1438. end
  1439. local COLOR = C3((0+sick.PlaybackLoudness/200)/510,(115+sick.PlaybackLoudness/25)/510,(150+sick.PlaybackLoudness*1.5)/610)
  1440. for _, c in pairs(Character:GetChildren()) do
  1441. if c:IsA("BasePart") and c.Name ~= "Detail" then
  1442. c.Material = "Neon"
  1443. if c:FindFirstChildOfClass("ParticleEmitter") then
  1444. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1445. end
  1446. c.Color = BRICKC"Crimson".Color
  1447. if c == Head then
  1448. if c:FindFirstChild("face") then
  1449. c.face:remove()
  1450. end
  1451. end
  1452. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1453. c:remove()
  1454. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1455. c:remove()
  1456. elseif c.Name == "Detail" then
  1457. c.Material = "Neon"
  1458. c.Color = COLOR
  1459. end
  1460. end
  1461. if DEAD == false then
  1462. sick.SoundId = "rbxassetid://"..SONG
  1463. sick.Looped = true
  1464. sick.Pitch = 1
  1465. sick.Volume = 2
  1466. sick.Playing = true
  1467. sick.Parent = Torso
  1468. else
  1469. sick:remove()
  1470. end
  1471. Humanoid.Name = "Iron Pixels"
  1472. end
  1473.  
  1474. --//=================================\\
  1475. --\\=================================//
  1476.  
  1477.  
  1478.  
  1479.  
  1480.  
  1481. --//====================================================\\--
  1482. --|| END OF SCRIPT
  1483. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement