McSans

Untitled

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