DarkScriptZEditors

Mr Pixels!

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