Advertisement
Infintyboy

idk will it work

Sep 16th, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 77.24 KB | None | 0 0
  1. wait()
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. do
  6.     print("FE Compatibility code by Mokiros")
  7.     script.Parent = Player.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,Connect=function(self,f)self.Function=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()}
  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 and t.Function then
  33.             t.Function(...)
  34.         end
  35.     end
  36.     m.TrigEvent = te
  37.     UIS.TrigEvent = te
  38.  
  39.     Event.OnServerEvent:Connect(function(plr,io)
  40.         if plr~=Player then return end
  41.         if io.isMouse then
  42.             m.Target = io.Target
  43.             m.Hit = io.Hit
  44.         else
  45.             local b = io.UserInputState == Enum.UserInputState.Begin
  46.             if io.UserInputType == Enum.UserInputType.MouseButton1 then
  47.                 return m:TrigEvent(b and "Button1Down" or "Button1Up")
  48.             end
  49.             for _,t in pairs(CAS.Actions) do
  50.                 for _,k in pairs(t.Keys) do
  51.                     if k==io.KeyCode then
  52.                         t.Function(t.Name,io.UserInputState,io)
  53.                     end
  54.                 end
  55.             end
  56.             m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  57.             UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  58.         end
  59.     end)
  60.     Event.Parent = NLS([==[
  61.     local Player = game:GetService("Players").LocalPlayer
  62.     local Event = script:WaitForChild("UserInput_Event")
  63.  
  64.     local UIS = game:GetService("UserInputService")
  65.     local input = function(io,a)
  66.         if a then return end
  67.         --Since InputObject is a client-side instance, we create and pass table instead
  68.         Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  69.     end
  70.     UIS.InputBegan:Connect(input)
  71.     UIS.InputEnded:Connect(input)
  72.  
  73.     local Mouse = Player:GetMouse()
  74.     local h,t
  75.     --Give the server mouse data 30 times every second, but only if the values changed
  76.     --If player is not moving their mouse, client won't fire events
  77.     while wait(1/30) do
  78.         if h~=Mouse.Hit or t~=Mouse.Target then
  79.             h,t=Mouse.Hit,Mouse.Target
  80.             Event:FireServer({isMouse=true,Target=t,Hit=h})
  81.         end
  82.     end]==],Player.Character)
  83.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86.  
  87. local plr = owner
  88. local char = plr.Character
  89. local hum = char:FindFirstChildOfClass'Humanoid'
  90. local hed = char.Head
  91. local root = char:FindFirstChild'HumanoidRootPart'
  92. local rootj = root.RootJoint
  93. local tors = char.Torso
  94. local ra = char["Right Arm"]
  95. local la = char["Left Arm"]
  96. local rl = char["Right Leg"]
  97. local ll = char["Left Leg"]
  98. local neck = tors["Neck"]
  99. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  100. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  101. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  102. local maincolor = BrickColor.new("Institutional white")
  103. -------------------------------------------------------
  104. --Start Good Stuff--
  105. -------------------------------------------------------
  106. cam = game.Workspace.CurrentCamera
  107. CF = CFrame.new
  108. angles = CFrame.Angles
  109. attack = false
  110. Euler = CFrame.fromEulerAnglesXYZ
  111. Rad = math.rad
  112. IT = Instance.new
  113. BrickC = BrickColor.new
  114. Cos = math.cos
  115. Acos = math.acos
  116. Sin = math.sin
  117. Asin = math.asin
  118. Abs = math.abs
  119. Mrandom = math.random
  120. Floor = math.floor
  121. -------------------------------------------------------
  122. --End Good Stuff--
  123. -------------------------------------------------------
  124. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  125. RSH, LSH = nil, nil
  126. RW = Instance.new("Weld")
  127. LW = Instance.new("Weld")
  128. RH = tors["Right Hip"]
  129. LH = tors["Left Hip"]
  130. RSH = tors["Right Shoulder"]
  131. LSH = tors["Left Shoulder"]
  132. RSH.Parent = nil
  133. LSH.Parent = nil
  134. RW.Name = "RW"
  135. RW.Part0 = tors
  136. RW.C0 = CF(1.5, 0.5, 0)
  137. RW.C1 = CF(0, 0.5, 0)
  138. RW.Part1 = ra
  139. RW.Parent = tors
  140. LW.Name = "LW"
  141. LW.Part0 = tors
  142. LW.C0 = CF(-1.5, 0.5, 0)
  143. LW.C1 = CF(0, 0.5, 0)
  144. LW.Part1 = la
  145. LW.Parent = tors
  146. Effects = {}
  147. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  148.     local wld = Instance.new("Weld", wp1)
  149.     wld.Part0 = wp0
  150.     wld.Part1 = wp1
  151.     wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  152. end
  153. newWeld(tors, ll, -0.5, -1, 0)
  154. ll.Weld.C1 = CFrame.new(0, 1, 0)
  155. newWeld(tors, rl, 0.5, -1, 0)
  156. rl.Weld.C1 = CFrame.new(0, 1, 0)
  157. -------------------------------------------------------
  158. --Start HeartBeat--
  159. -------------------------------------------------------
  160. ArtificialHB = Instance.new("BindableEvent", script)
  161. ArtificialHB.Name = "Heartbeat"
  162. script:WaitForChild("Heartbeat")
  163.  
  164. frame = 1 / 60
  165. tf = 0
  166. allowframeloss = false
  167. tossremainder = false
  168.  
  169.  
  170. lastframe = tick()
  171. script.Heartbeat:Fire()
  172.  
  173.  
  174. game:GetService("RunService").Heartbeat:connect(function(s, p)
  175.     tf = tf + s
  176.     if tf >= frame then
  177.         if allowframeloss then
  178.             script.Heartbeat:Fire()
  179.             lastframe = tick()
  180.         else
  181.             for i = 1, math.floor(tf / frame) do
  182.                 script.Heartbeat:Fire()
  183.             end
  184.             lastframe = tick()
  185.         end
  186.         if tossremainder then
  187.             tf = 0
  188.         else
  189.             tf = tf - frame * math.floor(tf / frame)
  190.         end
  191.     end
  192. end)
  193. -------------------------------------------------------
  194. --End HeartBeat--
  195. -------------------------------------------------------
  196.  
  197. -------------------------------------------------------
  198. --Start Important Functions--
  199. -------------------------------------------------------
  200. function swait(num)
  201.     if num == 0 or num == nil then
  202.         game:service("RunService").Stepped:wait(0)
  203.     else
  204.         for i = 0, num do
  205.             game:service("RunService").Stepped:wait(0)
  206.         end
  207.     end
  208. end
  209. function thread(f)
  210.     coroutine.resume(coroutine.create(f))
  211. end
  212. function clerp(a, b, t)
  213.     local qa = {
  214.         QuaternionFromCFrame(a)
  215.     }
  216.     local qb = {
  217.         QuaternionFromCFrame(b)
  218.     }
  219.     local ax, ay, az = a.x, a.y, a.z
  220.     local bx, by, bz = b.x, b.y, b.z
  221.     local _t = 1 - t
  222.     return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  223. end
  224. function QuaternionFromCFrame(cf)
  225.     local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  226.     local trace = m00 + m11 + m22
  227.     if trace > 0 then
  228.         local s = math.sqrt(1 + trace)
  229.         local recip = 0.5 / s
  230.         return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  231.     else
  232.         local i = 0
  233.         if m00 < m11 then
  234.             i = 1
  235.         end
  236.         if m22 > (i == 0 and m00 or m11) then
  237.             i = 2
  238.         end
  239.         if i == 0 then
  240.             local s = math.sqrt(m00 - m11 - m22 + 1)
  241.             local recip = 0.5 / s
  242.             return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  243.         elseif i == 1 then
  244.             local s = math.sqrt(m11 - m22 - m00 + 1)
  245.             local recip = 0.5 / s
  246.             return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  247.         elseif i == 2 then
  248.             local s = math.sqrt(m22 - m00 - m11 + 1)
  249.             local recip = 0.5 / s
  250.             return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  251.         end
  252.     end
  253. end
  254. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  255.     local xs, ys, zs = x + x, y + y, z + z
  256.     local wx, wy, wz = w * xs, w * ys, w * zs
  257.     local xx = x * xs
  258.     local xy = x * ys
  259.     local xz = x * zs
  260.     local yy = y * ys
  261.     local yz = y * zs
  262.     local zz = z * zs
  263.     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))
  264. end
  265. function QuaternionSlerp(a, b, t)
  266.     local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  267.     local startInterp, finishInterp
  268.     if cosTheta >= 1.0E-4 then
  269.         if 1 - cosTheta > 1.0E-4 then
  270.             local theta = math.acos(cosTheta)
  271.             local invSinTheta = 1 / Sin(theta)
  272.             startInterp = Sin((1 - t) * theta) * invSinTheta
  273.             finishInterp = Sin(t * theta) * invSinTheta
  274.         else
  275.             startInterp = 1 - t
  276.             finishInterp = t
  277.         end
  278.     elseif 1 + cosTheta > 1.0E-4 then
  279.         local theta = math.acos(-cosTheta)
  280.         local invSinTheta = 1 / Sin(theta)
  281.         startInterp = Sin((t - 1) * theta) * invSinTheta
  282.         finishInterp = Sin(t * theta) * invSinTheta
  283.     else
  284.         startInterp = t - 1
  285.         finishInterp = t
  286.     end
  287.     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
  288. end
  289. function rayCast(Position, Direction, Range, Ignore)
  290.     return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  291. end
  292. local RbxUtility = LoadLibrary("RbxUtility")
  293. local Create = RbxUtility.Create
  294.  
  295. -------------------------------------------------------
  296. --Start Damage Function--
  297. -------------------------------------------------------
  298. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  299.     if hit.Parent == nil then
  300.         return
  301.     end
  302.     local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  303.     for _, v in pairs(hit.Parent:children()) do
  304.         if v:IsA("Humanoid") then
  305.             h = v
  306.         end
  307.     end
  308.          if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  309.    
  310.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  311.          end
  312.  
  313.     if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  314.         if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  315.             if hit.Parent.DebounceHit.Value == true then
  316.                 return
  317.             end
  318.         end
  319.          if insta == true then
  320.          hit.Parent:FindFirstChild("Head"):BreakJoints()
  321.          end
  322.         local c = Create("ObjectValue"){
  323.             Name = "creator",
  324.             Value = game:service("Players").LocalPlayer,
  325.             Parent = h,
  326.         }
  327.         game:GetService("Debris"):AddItem(c, .5)
  328.         if HitSound ~= nil and HitPitch ~= nil then
  329.             CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  330.         end
  331.         local Damage = math.random(minim, maxim)
  332.         local blocked = false
  333.         local block = hit.Parent:findFirstChild("Block")
  334.         if block ~= nil then
  335.             if block.className == "IntValue" then
  336.                 if block.Value > 0 then
  337.                     blocked = true
  338.                     block.Value = block.Value - 1
  339.                     print(block.Value)
  340.                 end
  341.             end
  342.         end
  343.         if blocked == false then
  344.             h.Health = h.Health - Damage
  345.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  346.         else
  347.             h.Health = h.Health - (Damage / 2)
  348.             ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  349.         end
  350.         if Type == "Knockdown" then
  351.             local hum = hit.Parent.Humanoid
  352.             hum.PlatformStand = true
  353.             coroutine.resume(coroutine.create(function(HHumanoid)
  354.                 swait(1)
  355.                 HHumanoid.PlatformStand = false
  356.             end), hum)
  357.             local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  358.             local bodvol = Create("BodyVelocity"){
  359.                 velocity = angle * knockback,
  360.                 P = 5000,
  361.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  362.                 Parent = hit,
  363.             }
  364.             local rl = Create("BodyAngularVelocity"){
  365.                 P = 3000,
  366.                 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  367.                 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  368.                 Parent = hit,
  369.             }
  370.             game:GetService("Debris"):AddItem(bodvol, .5)
  371.             game:GetService("Debris"):AddItem(rl, .5)
  372.         elseif Type == "Normal" then
  373.             local vp = Create("BodyVelocity"){
  374.                 P = 500,
  375.                 maxForce = Vector3.new(math.huge, 0, math.huge),
  376.                 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  377.             }
  378.             if knockback > 0 then
  379.                 vp.Parent = hit.Parent.Torso
  380.             end
  381.             game:GetService("Debris"):AddItem(vp, .5)
  382.         elseif Type == "Up" then
  383.             local bodyVelocity = Create("BodyVelocity"){
  384.                 velocity = Vector3.new(0, 20, 0),
  385.                 P = 5000,
  386.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  387.                 Parent = hit,
  388.             }
  389.             game:GetService("Debris"):AddItem(bodyVelocity, .5)
  390.         elseif Type == "DarkUp" then
  391.             coroutine.resume(coroutine.create(function()
  392.                 for i = 0, 1, 0.1 do
  393.                     swait()
  394.                     Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  395.                 end
  396.             end))
  397.             local bodyVelocity = Create("BodyVelocity"){
  398.                 velocity = Vector3.new(0, 20, 0),
  399.                 P = 5000,
  400.                 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  401.                 Parent = hit,
  402.             }
  403.             game:GetService("Debris"):AddItem(bodyVelocity, 1)
  404.         elseif Type == "Snare" then
  405.             local bp = Create("BodyPosition"){
  406.                 P = 2000,
  407.                 D = 100,
  408.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  409.                 position = hit.Parent.Torso.Position,
  410.                 Parent = hit.Parent.Torso,
  411.             }
  412.             game:GetService("Debris"):AddItem(bp, 1)
  413.         elseif Type == "Freeze" then
  414.             local BodPos = Create("BodyPosition"){
  415.                 P = 50000,
  416.                 D = 1000,
  417.                 maxForce = Vector3.new(math.huge, math.huge, math.huge),
  418.                 position = hit.Parent.Torso.Position,
  419.                 Parent = hit.Parent.Torso,
  420.             }
  421.             local BodGy = Create("BodyGyro") {
  422.                 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  423.                 P = 20e+003,
  424.                 Parent = hit.Parent.Torso,
  425.                 cframe = hit.Parent.Torso.CFrame,
  426.             }
  427.             hit.Parent.Torso.Anchored = true
  428.             coroutine.resume(coroutine.create(function(Part)
  429.                 swait(1.5)
  430.                 Part.Anchored = false
  431.             end), hit.Parent.Torso)
  432.             game:GetService("Debris"):AddItem(BodPos, 3)
  433.             game:GetService("Debris"):AddItem(BodGy, 3)
  434.         end
  435.         local debounce = Create("BoolValue"){
  436.             Name = "DebounceHit",
  437.             Parent = hit.Parent,
  438.             Value = true,
  439.         }
  440.         game:GetService("Debris"):AddItem(debounce, Delay)
  441.         c = Create("ObjectValue"){
  442.             Name = "creator",
  443.             Value = Player,
  444.             Parent = h,
  445.         }
  446.         game:GetService("Debris"):AddItem(c, .5)
  447.     end
  448. end
  449. -------------------------------------------------------
  450. --End Damage Function--
  451. -------------------------------------------------------
  452.  
  453. -------------------------------------------------------
  454. --Start Damage Function Customization--
  455. -------------------------------------------------------
  456. function ShowDamage(Pos, Text, Time, Color)
  457.     local Rate = (1 / 30)
  458.     local Pos = (Pos or Vector3.new(0, 0, 0))
  459.     local Text = (Text or "")
  460.     local Time = (Time or 2)
  461.     local Color = (Color or Color3.new(1, 0, 1))
  462.     local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  463.     EffectPart.Anchored = true
  464.     local BillboardGui = Create("BillboardGui"){
  465.         Size = UDim2.new(3, 0, 3, 0),
  466.         Adornee = EffectPart,
  467.         Parent = EffectPart,
  468.     }
  469.     local TextLabel = Create("TextLabel"){
  470.         BackgroundTransparency = 1,
  471.         Size = UDim2.new(1, 0, 1, 0),
  472.         Text = Text,
  473.         Font = "Bodoni",
  474.         TextColor3 = Color,
  475.         TextScaled = true,
  476.         TextStrokeColor3 = Color3.fromRGB(0,0,0),
  477.         Parent = BillboardGui,
  478.     }
  479.     game.Debris:AddItem(EffectPart, (Time))
  480.     EffectPart.Parent = game:GetService("Workspace")
  481.     delay(0, function()
  482.         local Frames = (Time / Rate)
  483.         for Frame = 1, Frames do
  484.             wait(Rate)
  485.             local Percent = (Frame / Frames)
  486.             EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  487.             TextLabel.TextTransparency = Percent
  488.         end
  489.         if EffectPart and EffectPart.Parent then
  490.             EffectPart:Destroy()
  491.         end
  492.     end)
  493. end
  494. -------------------------------------------------------
  495. --End Damage Function Customization--
  496. -------------------------------------------------------
  497.  
  498. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  499.   for _, c in pairs(workspace:children()) do
  500.     local hum = c:findFirstChild("Humanoid")
  501.     if hum ~= nil then
  502.       local head = c:findFirstChild("Head")
  503.       if head ~= nil then
  504.         local targ = head.Position - Part.Position
  505.         local mag = targ.magnitude
  506.         if magni >= mag and c.Name ~= plr.Name then
  507.           Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  508.         end
  509.       end
  510.     end
  511.   end
  512. end
  513.  
  514.  
  515. CFuncs = {
  516.     Part = {
  517.         Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  518.             local Part = Create("Part")({
  519.                 Parent = Parent,
  520.                 Reflectance = Reflectance,
  521.                 Transparency = Transparency,
  522.                 CanCollide = false,
  523.                 Locked = true,
  524.                 BrickColor = BrickColor.new(tostring(BColor)),
  525.                 Name = Name,
  526.                 Size = Size,
  527.                 Material = Material
  528.             })
  529.             RemoveOutlines(Part)
  530.             return Part
  531.         end
  532.     },
  533.     Mesh = {
  534.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  535.             local Msh = Create(Mesh)({
  536.                 Parent = Part,
  537.                 Offset = OffSet,
  538.                 Scale = Scale
  539.             })
  540.             if Mesh == "SpecialMesh" then
  541.                 Msh.MeshType = MeshType
  542.                 Msh.MeshId = MeshId
  543.             end
  544.             return Msh
  545.         end
  546.     },
  547.     Mesh = {
  548.         Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  549.             local Msh = Create(Mesh)({
  550.                 Parent = Part,
  551.                 Offset = OffSet,
  552.                 Scale = Scale
  553.             })
  554.             if Mesh == "SpecialMesh" then
  555.                 Msh.MeshType = MeshType
  556.                 Msh.MeshId = MeshId
  557.             end
  558.             return Msh
  559.         end
  560.     },
  561.     Weld = {
  562.         Create = function(Parent, Part0, Part1, C0, C1)
  563.             local Weld = Create("Weld")({
  564.                 Parent = Parent,
  565.                 Part0 = Part0,
  566.                 Part1 = Part1,
  567.                 C0 = C0,
  568.                 C1 = C1
  569.             })
  570.             return Weld
  571.         end
  572.     },
  573.     Sound = {
  574.         Create = function(id, par, vol, pit)
  575.             coroutine.resume(coroutine.create(function()
  576.                 local S = Create("Sound")({
  577.                     Volume = vol,
  578.                     Pitch = pit or 1,
  579.                     SoundId = id,
  580.                     Parent = par or workspace
  581.                 })
  582.                 wait()
  583.                 S:play()
  584.                 game:GetService("Debris"):AddItem(S, 6)
  585.             end))
  586.         end
  587.     },
  588.     ParticleEmitter = {
  589.         Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  590.             local fp = Create("ParticleEmitter")({
  591.                 Parent = Parent,
  592.                 Color = ColorSequence.new(Color1, Color2),
  593.                 LightEmission = LightEmission,
  594.                 Size = Size,
  595.                 Texture = Texture,
  596.                 Transparency = Transparency,
  597.                 ZOffset = ZOffset,
  598.                 Acceleration = Accel,
  599.                 Drag = Drag,
  600.                 LockedToPart = LockedToPart,
  601.                 VelocityInheritance = VelocityInheritance,
  602.                 EmissionDirection = EmissionDirection,
  603.                 Enabled = Enabled,
  604.                 Lifetime = LifeTime,
  605.                 Rate = Rate,
  606.                 Rotation = Rotation,
  607.                 RotSpeed = RotSpeed,
  608.                 Speed = Speed,
  609.                 VelocitySpread = VelocitySpread
  610.             })
  611.             return fp
  612.         end
  613.     }
  614. }
  615. function RemoveOutlines(part)
  616.     part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  617. end
  618. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  619.     local Part = Create("Part")({
  620.         formFactor = FormFactor,
  621.         Parent = Parent,
  622.         Reflectance = Reflectance,
  623.         Transparency = Transparency,
  624.         CanCollide = false,
  625.         Locked = true,
  626.         BrickColor = BrickColor.new(tostring(BColor)),
  627.         Name = Name,
  628.         Size = Size,
  629.         Material = Material
  630.     })
  631.     RemoveOutlines(Part)
  632.     return Part
  633. end
  634. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  635.     local Msh = Create(Mesh)({
  636.         Parent = Part,
  637.         Offset = OffSet,
  638.         Scale = Scale
  639.     })
  640.     if Mesh == "SpecialMesh" then
  641.         Msh.MeshType = MeshType
  642.         Msh.MeshId = MeshId
  643.     end
  644.     return Msh
  645. end
  646. function CreateWeld(Parent, Part0, Part1, C0, C1)
  647.     local Weld = Create("Weld")({
  648.         Parent = Parent,
  649.         Part0 = Part0,
  650.         Part1 = Part1,
  651.         C0 = C0,
  652.         C1 = C1
  653.     })
  654.     return Weld
  655. end
  656.  
  657.  
  658. -------------------------------------------------------
  659. --Start Effect Function--
  660. -------------------------------------------------------
  661. EffectModel = Instance.new("Model", char)
  662. Effects = {
  663.   Block = {
  664.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  665.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  666.       prt.Anchored = true
  667.       prt.CFrame = cframe
  668.       local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  669.       game:GetService("Debris"):AddItem(prt, 10)
  670.       if Type == 1 or Type == nil then
  671.         table.insert(Effects, {
  672.           prt,
  673.           "Block1",
  674.           delay,
  675.           x3,
  676.           y3,
  677.           z3,
  678.           msh
  679.         })
  680.       elseif Type == 2 then
  681.         table.insert(Effects, {
  682.           prt,
  683.           "Block2",
  684.           delay,
  685.           x3,
  686.           y3,
  687.           z3,
  688.           msh
  689.         })
  690.       else
  691.         table.insert(Effects, {
  692.           prt,
  693.           "Block3",
  694.           delay,
  695.           x3,
  696.           y3,
  697.           z3,
  698.           msh
  699.         })
  700.       end
  701.     end
  702.   },
  703.   Sphere = {
  704.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  705.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  706.       prt.Anchored = true
  707.       prt.CFrame = cframe
  708.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  709.       game:GetService("Debris"):AddItem(prt, 10)
  710.       table.insert(Effects, {
  711.         prt,
  712.         "Cylinder",
  713.         delay,
  714.         x3,
  715.         y3,
  716.         z3,
  717.         msh
  718.       })
  719.     end
  720.   },
  721.   Cylinder = {
  722.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  723.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  724.       prt.Anchored = true
  725.       prt.CFrame = cframe
  726.       local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  727.       game:GetService("Debris"):AddItem(prt, 10)
  728.       table.insert(Effects, {
  729.         prt,
  730.         "Cylinder",
  731.         delay,
  732.         x3,
  733.         y3,
  734.         z3,
  735.         msh
  736.       })
  737.     end
  738.   },
  739.   Wave = {
  740.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  741.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  742.       prt.Anchored = true
  743.       prt.CFrame = cframe
  744.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  745.       game:GetService("Debris"):AddItem(prt, 10)
  746.       table.insert(Effects, {
  747.         prt,
  748.         "Cylinder",
  749.         delay,
  750.         x3 / 60,
  751.         y3 / 60,
  752.         z3 / 60,
  753.         msh
  754.       })
  755.     end
  756.   },
  757.   Ring = {
  758.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  759.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  760.       prt.Anchored = true
  761.       prt.CFrame = cframe
  762.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  763.       game:GetService("Debris"):AddItem(prt, 10)
  764.       table.insert(Effects, {
  765.         prt,
  766.         "Cylinder",
  767.         delay,
  768.         x3,
  769.         y3,
  770.         z3,
  771.         msh
  772.       })
  773.     end
  774.   },
  775.   Break = {
  776.     Create = function(brickcolor, cframe, x1, y1, z1)
  777.       local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  778.       prt.Anchored = true
  779.       prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  780.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  781.       local num = math.random(10, 50) / 1000
  782.       game:GetService("Debris"):AddItem(prt, 10)
  783.       table.insert(Effects, {
  784.         prt,
  785.         "Shatter",
  786.         num,
  787.         prt.CFrame,
  788.         math.random() - math.random(),
  789.         0,
  790.         math.random(50, 100) / 100
  791.       })
  792.     end
  793.   },
  794. Spiral = {
  795.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  796.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  797.       prt.Anchored = true
  798.       prt.CFrame = cframe
  799.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  800.       game:GetService("Debris"):AddItem(prt, 10)
  801.       table.insert(Effects, {
  802.         prt,
  803.         "Cylinder",
  804.         delay,
  805.         x3,
  806.         y3,
  807.         z3,
  808.         msh
  809.       })
  810.     end
  811.   },
  812. Push = {
  813.     Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  814.       local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  815.       prt.Anchored = true
  816.       prt.CFrame = cframe
  817.       local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  818.       game:GetService("Debris"):AddItem(prt, 10)
  819.       table.insert(Effects, {
  820.         prt,
  821.         "Cylinder",
  822.         delay,
  823.         x3,
  824.         y3,
  825.         z3,
  826.         msh
  827.       })
  828.     end
  829.   }
  830. }
  831. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  832.     local fp = IT("Part")
  833.     fp.formFactor = formfactor
  834.     fp.Parent = parent
  835.     fp.Reflectance = reflectance
  836.     fp.Transparency = transparency
  837.     fp.CanCollide = false
  838.     fp.Locked = true
  839.     fp.BrickColor = brickcolor
  840.     fp.Name = name
  841.     fp.Size = size
  842.     fp.Position = tors.Position
  843.     RemoveOutlines(fp)
  844.     fp.Material = "SmoothPlastic"
  845.     fp:BreakJoints()
  846.     return fp
  847. end
  848.  
  849. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  850.     local mesh = IT(Mesh)
  851.     mesh.Parent = part
  852.     if Mesh == "SpecialMesh" then
  853.         mesh.MeshType = meshtype
  854.     if meshid ~= "nil" then
  855.         mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  856.         end
  857.     end
  858.     mesh.Offset = offset
  859.     mesh.Scale = scale
  860.     return mesh
  861. end
  862.  
  863. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  864.     local type = type
  865.     local rng = Instance.new("Part", char)
  866.     rng.Anchored = true
  867.     rng.BrickColor = color
  868.     rng.CanCollide = false
  869.     rng.FormFactor = 3
  870.     rng.Name = "Ring"
  871.     rng.Material = "Neon"
  872.     rng.Size = Vector3.new(1, 1, 1)
  873.     rng.Transparency = 0
  874.     rng.TopSurface = 0
  875.     rng.BottomSurface = 0
  876.     rng.CFrame = pos
  877.     local rngm = Instance.new("SpecialMesh", rng)
  878.     rngm.MeshType = MType
  879.     rngm.Scale = scale
  880.     local scaler2 = 1
  881.     if type == "Add" then
  882.         scaler2 = 1 * value
  883.     elseif type == "Divide" then
  884.         scaler2 = 1 / value
  885.     end
  886.     coroutine.resume(coroutine.create(function()
  887.         for i = 0, 10 / bonuspeed, 0.1 do
  888.             swait()
  889.             if type == "Add" then
  890.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  891.             elseif type == "Divide" then
  892.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  893.             end
  894.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  895.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  896.         end
  897.         rng:Destroy()
  898.     end))
  899. end
  900.  
  901. function Eviscerate(dude)
  902.     if dude.Name ~= char then
  903.         local bgf = IT("BodyGyro", dude.Head)
  904.         bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  905.         local val = IT("BoolValue", dude)
  906.         val.Name = "IsHit"
  907.         local ds = coroutine.wrap(function()
  908.             dude:WaitForChild("Head"):BreakJoints()
  909.             wait(0.5)
  910.             target = nil
  911.             coroutine.resume(coroutine.create(function()
  912.                 for i, v in pairs(dude:GetChildren()) do
  913.                     if v:IsA("Accessory") then
  914.                         v:Destroy()
  915.                     end
  916.                     if v:IsA("Humanoid") then
  917.                         v:Destroy()
  918.                     end
  919.                     if v:IsA("CharacterMesh") then
  920.                         v:Destroy()
  921.                     end
  922.                     if v:IsA("Model") then
  923.                         v:Destroy()
  924.                     end
  925.                     if v:IsA("Part") or v:IsA("MeshPart") then
  926.                         for x, o in pairs(v:GetChildren()) do
  927.                             if o:IsA("Decal") then
  928.                                 o:Destroy()
  929.                             end
  930.                         end
  931.                         coroutine.resume(coroutine.create(function()
  932.                             v.Material = "Neon"
  933.                             v.CanCollide = false
  934.                             local PartEmmit1 = IT("ParticleEmitter", v)
  935.                             PartEmmit1.LightEmission = 1
  936.                             PartEmmit1.Texture = "rbxassetid://284205403"
  937.                             PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  938.                             PartEmmit1.Rate = 150
  939.                             PartEmmit1.Lifetime = NumberRange.new(1)
  940.                             PartEmmit1.Size = NumberSequence.new({
  941.                                 NumberSequenceKeypoint.new(0, 0.75, 0),
  942.                                 NumberSequenceKeypoint.new(1, 0, 0)
  943.                             })
  944.                             PartEmmit1.Transparency = NumberSequence.new({
  945.                                 NumberSequenceKeypoint.new(0, 0, 0),
  946.                                 NumberSequenceKeypoint.new(1, 1, 0)
  947.                             })
  948.                             PartEmmit1.Speed = NumberRange.new(0, 0)
  949.                             PartEmmit1.VelocitySpread = 30000
  950.                             PartEmmit1.Rotation = NumberRange.new(-500, 500)
  951.                             PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  952.                             local BodPoss = IT("BodyPosition", v)
  953.                             BodPoss.P = 3000
  954.                             BodPoss.D = 1000
  955.                             BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  956.                             BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  957.                             v.Color = maincolor.Color
  958.                             coroutine.resume(coroutine.create(function()
  959.                                 for i = 0, 49 do
  960.                                     swait(1)
  961.                                     v.Transparency = v.Transparency + 0.08
  962.                                 end
  963.                                 wait(0.5)
  964.                                 PartEmmit1.Enabled = false
  965.                                 wait(3)
  966.                                 v:Destroy()
  967.                                 dude:Destroy()
  968.                             end))
  969.                         end))
  970.                     end
  971.                 end
  972.             end))
  973.         end)
  974.         ds()
  975.     end
  976. end
  977.  
  978. function FindNearestHead(Position, Distance, SinglePlayer)
  979.     if SinglePlayer then
  980.         return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  981.     end
  982.     local List = {}
  983.     for i, v in pairs(workspace:GetChildren()) do
  984.         if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  985.             table.insert(List, v)
  986.         end
  987.     end
  988.     return List
  989. end
  990.  
  991. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  992.     local type = type
  993.     local rng = Instance.new("Part", char)
  994.     rng.Anchored = true
  995.     rng.BrickColor = color
  996.     rng.CanCollide = false
  997.     rng.FormFactor = 3
  998.     rng.Name = "Ring"
  999.     rng.Material = "Neon"
  1000.     rng.Size = Vector3.new(1, 1, 1)
  1001.     rng.Transparency = 0
  1002.     rng.TopSurface = 0
  1003.     rng.BottomSurface = 0
  1004.     rng.CFrame = pos
  1005.     rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1006.     local rngm = Instance.new("SpecialMesh", rng)
  1007.     rngm.MeshType = MType
  1008.     rngm.Scale = Vector3.new(x1, y1, z1)
  1009.     local scaler2 = 1
  1010.     local speeder = FastSpeed
  1011.     if type == "Add" then
  1012.         scaler2 = 1 * value
  1013.     elseif type == "Divide" then
  1014.         scaler2 = 1 / value
  1015.     end
  1016.     coroutine.resume(coroutine.create(function()
  1017.         for i = 0, 10 / bonuspeed, 0.1 do
  1018.             swait()
  1019.             if type == "Add" then
  1020.                 scaler2 = scaler2 - 0.01 * value / bonuspeed
  1021.             elseif type == "Divide" then
  1022.                 scaler2 = scaler2 - 0.01 / value * bonuspeed
  1023.             end
  1024.             speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1025.             rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1026.             rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1027.             rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1028.         end
  1029.         rng:Destroy()
  1030.     end))
  1031. end
  1032.  
  1033. function SoulSteal(dude)
  1034. if dude.Name ~= char then
  1035. local bgf = IT("BodyGyro", dude.Head)
  1036. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1037. local val = IT("BoolValue", dude)
  1038. val.Name = "IsHit"
  1039. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1040. local soulst = coroutine.wrap(function()
  1041. local soul = Instance.new("Part",dude)
  1042. soul.Size = Vector3.new(1,1,1)
  1043. soul.CanCollide = false
  1044. soul.Anchored = false
  1045. soul.Position = torso.Position
  1046. soul.Transparency = 1
  1047. local PartEmmit1 = IT("ParticleEmitter", soul)
  1048. PartEmmit1.LightEmission = 1
  1049. PartEmmit1.Texture = "rbxassetid://569507414"
  1050. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1051. PartEmmit1.Rate = 250
  1052. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1053. PartEmmit1.Size = NumberSequence.new({
  1054.     NumberSequenceKeypoint.new(0, 1, 0),
  1055.     NumberSequenceKeypoint.new(1, 0, 0)
  1056. })
  1057. PartEmmit1.Transparency = NumberSequence.new({
  1058.     NumberSequenceKeypoint.new(0, 0, 0),
  1059.     NumberSequenceKeypoint.new(1, 1, 0)
  1060. })
  1061. PartEmmit1.Speed = NumberRange.new(0, 0)
  1062. PartEmmit1.VelocitySpread = 30000
  1063. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1064. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1065. local BodPoss = IT("BodyPosition", soul)
  1066. BodPoss.P = 3000
  1067. BodPoss.D = 1000
  1068. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1069. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1070. wait(1.6)
  1071. soul.Touched:connect(function(hit)
  1072.     if hit.Parent == char then
  1073.     soul:Destroy()
  1074.     end
  1075. end)
  1076. wait(1.2)
  1077. while soul do
  1078.     swait()
  1079.     PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1080.     BodPoss.Position = tors.Position
  1081. end
  1082. end)
  1083.     soulst()
  1084.     end
  1085. end
  1086. function FaceMouse()
  1087. local   Cam = workspace.CurrentCamera
  1088.     return {
  1089.         CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1090.         Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1091.     }
  1092. end
  1093. Effects = {
  1094.     Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  1095.     local p = Instance.new("Part",EffectModel)
  1096.     p.BrickColor = BrickColor.new(colour)
  1097.     p.Size = partsize
  1098.     p.Anchored = true
  1099.     p.CanCollide = false
  1100.     p.Material = matr
  1101.     p.CFrame = cf
  1102.     if inverse == true then
  1103.         p.Transparency = 1
  1104.     else
  1105.         p.Transparency = 0
  1106.     end
  1107.     local m = Instance.new("BlockMesh",p)
  1108.     m.Scale = meshstart
  1109.     coroutine.wrap(function()
  1110.         for i = 0, 1, factor do
  1111.             swait()
  1112.             if inverse == true then
  1113.                 p.Transparency = 1-i
  1114.             else
  1115.                 p.Transparency = i
  1116.             end
  1117.             m.Scale = m.Scale + meshadd
  1118.             if spin == true then
  1119.                 p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1120.             end
  1121.         end
  1122.         p:Destroy()
  1123.     end)()
  1124. return p
  1125.     end,
  1126.     Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1127.     local p = Instance.new("Part",EffectModel)
  1128.     p.BrickColor = BrickColor.new(colour)
  1129.     p.Size = partsize
  1130.     p.Anchored = true
  1131.     p.CanCollide = false
  1132.     p.Material = matr
  1133.     p.CFrame = cf
  1134.     if inverse == true then
  1135.         p.Transparency = 1
  1136.     else
  1137.         p.Transparency = 0
  1138.     end
  1139.     local m = Instance.new("SpecialMesh",p)
  1140.     m.MeshType = "Sphere"
  1141.     m.Scale = meshstart
  1142.     coroutine.wrap(function()
  1143.         for i=0,1,factor do
  1144.             swait()
  1145.             if inverse == true then
  1146.                 p.Transparency = 1-i
  1147.             else
  1148.                 p.Transparency = i
  1149.             end
  1150.             m.Scale = m.Scale + meshadd
  1151.         end
  1152.     p:Destroy()
  1153. end)()
  1154. return p
  1155.     end,
  1156.  
  1157.     Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  1158.     local p = Instance.new("Part",EffectModel)
  1159.     p.BrickColor = BrickColor.new(colour)
  1160.     p.Size = partsize
  1161.     p.Anchored = true
  1162.     p.CanCollide = false
  1163.     p.Material = matr
  1164.     p.CFrame = cf
  1165.     if inverse == true then
  1166.         p.Transparency = 1
  1167.     else
  1168.         p.Transparency = 0
  1169.     end
  1170.     local m = Instance.new("CylinderMesh",p)
  1171.     m.Scale = meshstart
  1172.     coroutine.wrap(function()
  1173.         for i=0,1,factor do
  1174.             swait()
  1175.             if inverse == true then
  1176.                 p.Transparency = 1-i
  1177.             else
  1178.                 p.Transparency = i
  1179.             end
  1180.             m.Scale = m.Scale + meshadd
  1181.         end
  1182.     p:Destroy()
  1183. end)()
  1184. return p
  1185.     end,
  1186.  
  1187. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  1188. local p = Instance.new("Part",EffectModel)
  1189. p.BrickColor = BrickColor.new(colour)
  1190. p.Size = Vector3.new()
  1191. p.Anchored = true
  1192. p.CanCollide = false
  1193. p.CFrame = cf
  1194. if inverse == true then
  1195. p.Transparency = 1
  1196. else
  1197. p.Transparency = 0
  1198. end
  1199. local m = Instance.new("SpecialMesh",p)
  1200. m.MeshId = "rbxassetid://20329976"
  1201. m.Scale = meshstart
  1202. coroutine.wrap(function()
  1203. for i=0,1,factor do
  1204. swait()
  1205. if inverse == true then
  1206. p.Transparency = 1-i
  1207. else
  1208. p.Transparency = i
  1209. end
  1210. m.Scale = m.Scale + meshadd
  1211. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1212. end
  1213. p:Destroy()
  1214. end)()
  1215. return p
  1216. end,
  1217.  
  1218. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  1219. local p = Instance.new("Part",EffectModel)
  1220. p.BrickColor = BrickColor.new(colour)
  1221. p.Size = Vector3.new()
  1222. p.Anchored = true
  1223. p.CanCollide = false
  1224. p.CFrame = cf
  1225. if inverse == true then
  1226. p.Transparency = 1
  1227. else
  1228. p.Transparency = 0
  1229. end
  1230. local m = Instance.new("SpecialMesh",p)
  1231. m.MeshId = "rbxassetid://3270017"
  1232. m.Scale = meshstart
  1233. coroutine.wrap(function()
  1234. for i=0,1,factor do
  1235. swait()
  1236. if inverse == true then
  1237. p.Transparency = 1-i
  1238. else
  1239. p.Transparency = i
  1240. end
  1241. m.Scale = m.Scale + meshadd
  1242. end
  1243. p:Destroy()
  1244. end)()
  1245. return p
  1246. end,
  1247.  
  1248. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  1249. local p = Instance.new("Part",EffectModel)
  1250. p.BrickColor = BrickColor.new(colour)
  1251. p.Size = Vector3.new()
  1252. p.Anchored = true
  1253. p.CanCollide = false
  1254. p.CFrame = cf
  1255. if inverse == true then
  1256. p.Transparency = 1
  1257. else
  1258. p.Transparency = 0
  1259. end
  1260. local m = Instance.new("SpecialMesh",p)
  1261. m.MeshId = meshid
  1262. m.TextureId = textid
  1263. m.Scale = meshstart
  1264. coroutine.wrap(function()
  1265. for i=0,1,factor do
  1266. swait()
  1267. if inverse == true then
  1268. p.Transparency = 1-i
  1269. else
  1270. p.Transparency = i
  1271. end
  1272. m.Scale = m.Scale + meshadd
  1273. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  1274. end
  1275. p:Destroy()
  1276. end)()
  1277. return p
  1278. end,
  1279.  
  1280. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  1281. local p = Instance.new("Part",EffectModel)
  1282. p.BrickColor = BrickColor.new(colour)
  1283. p.Size = partsize
  1284. p.Anchored = true
  1285. p.CanCollide = false
  1286. p.Material = matr
  1287. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1288. if inverse == true then
  1289. p.Transparency = 1
  1290. else
  1291. p.Transparency = 0
  1292. end
  1293. local m = Instance.new("SpecialMesh",p)
  1294. m.MeshType = "Sphere"
  1295. m.Scale = meshstart
  1296. coroutine.wrap(function()
  1297. for i=0,1,factor do
  1298. swait()
  1299. if inverse == true then
  1300. p.Transparency = 1-i
  1301. else
  1302. p.Transparency = i
  1303. end
  1304. m.Scale = m.Scale + meshadd
  1305. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  1306. end
  1307. p:Destroy()
  1308. end)()
  1309. return p
  1310. end,
  1311.  
  1312. }
  1313. -------------------------------------------------------
  1314. --End Effect Function--
  1315. -------------------------------------------------------
  1316. function Cso(ID, PARENT, VOLUME, PITCH)
  1317.     local NSound = nil
  1318.     coroutine.resume(coroutine.create(function()
  1319.         NSound = IT("Sound", PARENT)
  1320.         NSound.Volume = VOLUME
  1321.         NSound.Pitch = PITCH
  1322.         NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1323.         swait()
  1324.         NSound:play()
  1325.         game:GetService("Debris"):AddItem(NSound, 10)
  1326.     end))
  1327.     return NSound
  1328. end
  1329. function CamShake(Length, Intensity)
  1330.     coroutine.resume(coroutine.create(function()
  1331.         local intensity = 1 * Intensity
  1332.         local rotM = 0.01 * Intensity
  1333.         for i = 0, Length, 0.1 do
  1334.             swait()
  1335.             intensity = intensity - 0.05 * Intensity / Length
  1336.             rotM = rotM - 5.0E-4 * Intensity / Length
  1337.             hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1338.             cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1339.         end
  1340.         hum.CameraOffset = Vector3.new(0, 0, 0)
  1341.     end))
  1342. end
  1343. NewInstance = function(instance,parent,properties)
  1344.     local inst = Instance.new(instance)
  1345.     inst.Parent = parent
  1346.     if(properties)then
  1347.         for i,v in next, properties do
  1348.             pcall(function() inst[i] = v end)
  1349.         end
  1350.     end
  1351.     return inst;
  1352. end
  1353. hum.MaxHealth = 1.0E298
  1354. hum.Health = 1.0E298
  1355. game:GetService("RunService"):BindToRenderStep("HOT", 0, function()
  1356.   if hum.Health > 0.1 and hum.Health < 1.0E298 then
  1357.     hum.MaxHealth = 1.0E298
  1358.     hum.Health = 1.0E298
  1359.   end
  1360. end)
  1361. -------------------------------------------------------
  1362. --End Important Functions--
  1363. -------------------------------------------------------
  1364.  
  1365.  
  1366. -------------------------------------------------------
  1367. --Start Customization--
  1368. -------------------------------------------------------
  1369. local Player_Size = 1
  1370. if Player_Size ~= 1 then
  1371. root.Size = root.Size * Player_Size
  1372. tors.Size = tors.Size * Player_Size
  1373. hed.Size = hed.Size * Player_Size
  1374. ra.Size = ra.Size * Player_Size
  1375. la.Size = la.Size * Player_Size
  1376. rl.Size = rl.Size * Player_Size
  1377. ll.Size = ll.Size * Player_Size
  1378. ----------------------------------------------------------------------------------
  1379. rootj.Parent = root
  1380. neck.Parent = tors
  1381. RW.Parent = tors
  1382. LW.Parent = tors
  1383. RH.Parent = tors
  1384. LH.Parent = tors
  1385. ----------------------------------------------------------------------------------
  1386. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1387. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1388. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1389. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1390. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1391. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1392. ----------------------------------------------------------------------------------
  1393. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1394. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1395. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1396. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1397. --hat.Parent = Character
  1398. end
  1399. ----------------------------------------------------------------------------------
  1400. local SONG = 525565668
  1401. local SONG2 = 0
  1402. local Music = Instance.new("Sound",tors)
  1403. Music.Volume = 2.5
  1404. Music.Looped = true
  1405. Music.Pitch = 1 --Pitcher
  1406. ----------------------------------------------------------------------------------
  1407. local equipped = false
  1408. local idle = 0
  1409. local change = 1
  1410. local val = 0
  1411. local toim = 0
  1412. local idleanim = 0.4
  1413. local sine = 0
  1414. local Sit = 1
  1415. local WasAir = false
  1416. local InAir = false
  1417. local LandTick = 0
  1418. local movelegs = false
  1419. local FF = Instance.new("ForceField",char)
  1420. FF.Visible = false
  1421. local Speed = 56
  1422. local Chips = "onebearnakedwoman"
  1423. ----------------------------------------------------------------------------------
  1424. hum.JumpPower = 55
  1425. hum.Animator.Parent = nil
  1426. ----------------------------------------------------------------------------------
  1427. --[[
  1428.         Thanks for using Build-To-Lua by jarredbcv.
  1429. ]]--
  1430.  
  1431. New = function(Object, Parent, Name, Data)
  1432.     local Object = Instance.new(Object)
  1433.     for Index, Value in pairs(Data or {}) do
  1434.         Object[Index] = Value
  1435.     end
  1436.     Object.Parent = Parent
  1437.     Object.Name = Name
  1438.     return Object
  1439. end
  1440.    
  1441. Helmet = New("UnionOperation",char,"Helmet",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1.78743458, 1.56999993, 1.7874341),CFrame = CFrame.new(2.30465269, 4.90455627, 28.4765491, 0.991367459, 0, 0.131113037, 0, 1, 0, -0.131113052, 0, 0.991367459),Anchored = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  1442.  
  1443. local RWeld = IT("Weld")
  1444. RWeld.Parent = Helmet
  1445. RWeld.Part0 = Helmet
  1446. RWeld.Part1 = hed
  1447. RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90))
  1448. -------------------------------------------------------
  1449. --End Customization--
  1450. -------------------------------------------------------
  1451.  
  1452.  
  1453. -------------------------------------------------------
  1454. --Start Attacks N Stuff--
  1455. -------------------------------------------------------
  1456. function AttackTemplate()
  1457.     attack = true
  1458.     for i = 0, 2, 0.1 do
  1459.         swait()
  1460.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1461.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1462.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1463.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1464.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1465.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1466.     end
  1467.     attack = false
  1468. end
  1469. function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
  1470.   local Hitboxpart = Instance.new("Part", EffectModel)
  1471.   RemoveOutlines(Hitboxpart)
  1472.   Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
  1473.   Hitboxpart.CanCollide = false
  1474.   Hitboxpart.Transparency = 1
  1475.   Hitboxpart.Anchored = true
  1476.   Hitboxpart.CFrame = Pose
  1477.   game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
  1478.   MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
  1479. end
  1480. wait2 = false
  1481. combo = 1
  1482. mouse.Button1Down:connect(function(key)
  1483.   if attack == false then
  1484.     attack = true
  1485.     Speed = 3.01
  1486.     if combo == 1 and wait2 == false then
  1487.       wait2 = true
  1488.         for i = 0, 1.6, 0.1 do
  1489.             swait()
  1490.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.2)
  1491.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(45)), 0.2)
  1492.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-45), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.2)
  1493.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.2)
  1494.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0 + 5 * Sin(sine / 20)), Rad(25 + 5 * Sin(sine / 20))), 0.2)
  1495.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.2)
  1496.         end
  1497.         Cso("138097048", ra, 1.2, 0.8)
  1498.         HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
  1499.         for i = 0, 1.2, 0.1 do
  1500.             swait()
  1501.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  1502.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(-45)), 0.3)
  1503.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(15)), 0.3)
  1504.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(45), Rad(0)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1505.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(85), Rad(0 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.3)
  1506.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-45), Rad(0 - 5 * Sin(sine / 20)), Rad(-25 - 5 * Sin(sine / 20))), 0.3)
  1507.         end
  1508.       combo = 1
  1509.     end
  1510.     Speed = 56
  1511.     wait2 = false
  1512.     attack = false
  1513.     end
  1514. end)
  1515. function Taunt()
  1516.     attack = true
  1517.     Speed = 3
  1518.     if Chips == "onebearnakedwoman" then
  1519.         local Munch = Cso("1575472350", hed, 5, 1)
  1520.         swait(2)
  1521.         repeat
  1522.             swait()
  1523.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1524.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1525.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1526.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1527.             RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  1528.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  1529.         until Munch.Playing == false
  1530.     elseif Chips == "layonme" then
  1531.         for i = 0, 6, 0.1 do
  1532.             swait()
  1533.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1534.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0 - 255.45 * i)), 0.15)
  1535.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1536.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1537.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(30 + 5 * Sin(sine / 20)), Rad(45 + 5 * Sin(sine / 20))), 0.1)
  1538.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(10), Rad(-30 - 5 * Sin(sine / 20)), Rad(-45 - 5 * Sin(sine / 20))), 0.1)
  1539.         end
  1540.     elseif Chips == "howitfeelstochew5gum" then
  1541.         local Munch = Cso("1575472350", hed, 5, 1)
  1542.         swait(2)
  1543.         repeat
  1544.             swait()
  1545.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1546.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  1547.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1548.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1549.             RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1 + 0.1 * Sin(sine / 20)* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  1550.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.3)
  1551.         until Munch.Playing == false
  1552.         Cso("172324194", hed, 5, 1)
  1553.         for i = 0, 5, 0.1 do
  1554.             swait()
  1555.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.2 * Player_Size) * angles(Rad(-20), Rad(0), Rad(0)), 0.3)
  1556.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-35), Rad(0), Rad(0)), 0.3)
  1557.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 * Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.3)
  1558.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 * Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.3)
  1559.             RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.1* Player_Size, -0.6* Player_Size) * angles(Rad(160), Rad(0), Rad(-35)), 0.1)
  1560.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(-20), Rad(0), Rad(-10)), 0.3)
  1561.         end
  1562.         local RUN = Cso("957655044", hed, 5, 1)
  1563.         swait(2)
  1564.         repeat
  1565.             swait()
  1566.             Speed = 56
  1567.             local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  1568.             root.Velocity = root.CFrame.lookVector * 75
  1569.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1)
  1570.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1)
  1571.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-15 - 95 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1572.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 + 95 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1573.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1)
  1574.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1)
  1575.         until RUN.Playing == false
  1576.     elseif Chips == "5gumdowngrade" then
  1577.         Cso("1826625760", hed, 5, 1)
  1578.         for i = 0, 5, 0.1 do
  1579.             swait()
  1580.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  1581.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1582.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1583.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1584.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1585.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1586.         end
  1587.     end
  1588.     Speed = 56
  1589.     movelegs = false
  1590.     attack = false
  1591. end
  1592. function Gum()
  1593.     attack = true
  1594.     Speed = 0
  1595.     local Senses = Cso("605297168", hed, 6, 1)
  1596.     swait(2)
  1597.     repeat
  1598.         swait()
  1599.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.2)
  1600.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.2)
  1601.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2)
  1602.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2)
  1603.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.2)
  1604.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.2)
  1605.     until Senses.TimePosition > 2.7
  1606.     for i = 0, 3, 0.1 do
  1607.         swait()
  1608.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size) * angles(Rad(-30), Rad(0), Rad(0)), 0.5)
  1609.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1610.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  1611.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  1612.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  1613.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  1614.     end
  1615.     root.Anchored = true
  1616.     repeat
  1617.         swait()
  1618.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(90), Rad(0), Rad(0)), 0.5)
  1619.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1620.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  1621.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  1622.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.5)
  1623.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  1624.     until Senses.Playing == false
  1625.     Speed = 56
  1626.     attack = false
  1627.     root.Anchored = false
  1628. end
  1629. function OHHHHHHH()
  1630.     attack = true
  1631.     Speed = 0
  1632.     Cso("663306786", tors, 3, 1)
  1633.     for i = 0, 12, 0.1 do
  1634.         swait()
  1635.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0 + 1 * i * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.1)
  1636.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1637.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1638.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1639.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1640.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(143), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1641.     end
  1642.     Cso("663307468", tors, 6, 1)
  1643.     for i = 0, 6, 0.1 do
  1644.         swait()
  1645.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 4500 * Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1646.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1647.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(47), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1648.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1649.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(75), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1650.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(156), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1651.     end
  1652.     Speed = 56
  1653.     attack = false
  1654. end
  1655. function WoodyGotWood()
  1656.     attack = true
  1657.     Speed = 0
  1658.     local Woodlenny = Cso("1764642350", hed, 6, 1)
  1659.     swait(2)
  1660.     repeat
  1661.         swait()
  1662.         rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 5)) * angles(Rad(20), Rad(0), Rad(5)), 0.2)
  1663.         neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20), Rad(0), Rad(-5 - 15 * Sin(sine / 20))), 0.2)
  1664.         rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.2)
  1665.         ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.2)
  1666.         RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(10)), 0.2)
  1667.         LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 5)* Player_Size, 0* Player_Size) * angles(Rad(20), Rad(0), Rad(-10)), 0.2)
  1668.     until Woodlenny.TimePosition > 3.6
  1669.     root.Anchored = true
  1670.     repeat
  1671.         swait()
  1672.         for i = 0, 2, 0.1 do
  1673.             swait()
  1674.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.7 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  1675.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1676.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  1677.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  1678.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(90)), 0.5)
  1679.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-90)), 0.5)
  1680.         end
  1681.         for i = 0, 1.6, 0.1 do
  1682.             swait()
  1683.             rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -2.4 + 0.1* Player_Size) * angles(Rad(-90), Rad(0), Rad(0)), 0.5)
  1684.             neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0)), 0.5)
  1685.             rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.5)
  1686.             ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.5)
  1687.             RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(75)), 0.5)
  1688.             LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(0), Rad(-75)), 0.5)
  1689.         end
  1690.     until Woodlenny.Playing == false
  1691.     Speed = 56
  1692.     attack = false
  1693.     root.Anchored = false
  1694. end
  1695. -------------------------------------------------------
  1696. --End Attacks N Stuff--
  1697. -------------------------------------------------------
  1698. mouse.KeyDown:connect(function(key)
  1699.     if attack == false then
  1700.         if key == "t" then
  1701.             Taunt()
  1702.         elseif key == "z" then
  1703.             Gum()
  1704.         elseif key == "x" then
  1705.             OHHHHHHH()
  1706.         elseif key == "c" then
  1707.             WoodyGotWood()
  1708.                 elseif key == "f" then
  1709.             SONG = 690663957
  1710.             Music.TimePosition = 0
  1711.             PMesh.TextureId = "rbxassetid://206977326"
  1712.                 Chips = "cheesexd"
  1713.  
  1714.         elseif key == "m" then
  1715. New = function(Object, Parent, Name, Data)
  1716.     local Object = Instance.new(Object)
  1717.     for Index, Value in pairs(Data or {}) do
  1718.         Object[Index] = Value
  1719.     end
  1720.     Object.Parent = Parent
  1721.     Object.Name = Name
  1722.     return Object
  1723. end
  1724.    
  1725. Part = New("Part",Workspace,"Part",{BrickColor = BrickColor.new("Institutional white"),Size = Vector3.new(1.87999952, 2.19999909, 0.269999981),CFrame = CFrame.new(4.23999786, 2.99003077, 27.1199722, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1726. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=33733199",})
  1727. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1728. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1729. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1730. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1731. local RWeld = IT("Weld")
  1732. RWeld.Parent = Part
  1733. RWeld.Part0 = Part
  1734. RWeld.Part1 = ra
  1735. RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90))
  1736.         elseif key == "n" then
  1737.             SONG = 937445925
  1738.             Music.TimePosition = 0
  1739.             PMesh.TextureId = "rbxassetid://342436716"
  1740.             Chips = "layonme"
  1741.         elseif key == "b" then
  1742. New = function(Object, Parent, Name, Data)
  1743.     local Object = Instance.new(Object)
  1744.     for Index, Value in pairs(Data or {}) do
  1745.         Object[Index] = Value
  1746.     end
  1747.     Object.Parent = Parent
  1748.     Object.Name = Name
  1749.     return Object
  1750. end
  1751.    
  1752. Part = New("Part",Workspace,"Part",{BrickColor = BrickColor.new("Institutional white"),Size = Vector3.new(1.87999952, 2.19999909, 0.269999981),CFrame = CFrame.new(10.1690655, 5.19002819, 27.1199722, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.972549, 0.972549, 0.972549),})
  1753. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Right,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1754. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Top,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1755. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Left,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1756. Decal = New("Decal",Part,"Decal",{Face = Enum.NormalId.Back,Texture = "http://www.roblox.com/asset/?id=36264836",})
  1757. Decal = New("Decal",Part,"Decal",{Texture = "http://www.roblox.com/asset/?id=765575082",})
  1758. local RWeld = IT("Weld")
  1759. RWeld.Parent = Part
  1760. RWeld.Part0 = Part
  1761. RWeld.Part1 = ra
  1762. RWeld.C0 = CF(-1.2, -0.5, 0) * angles(Rad(90), Rad(0), Rad(90))
  1763.         elseif key == "v" then
  1764.             SONG = 554967156
  1765.             Music.TimePosition = 0
  1766.             PMesh.TextureId = "rbxassetid://341999245"
  1767.             Chips = "5gumdowngrade"
  1768.         end
  1769.     end
  1770. end)
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779. -------------------------------------------------------
  1780. --Start Animations--
  1781. -------------------------------------------------------
  1782. print("By Makhail07")
  1783. while true do
  1784.     swait()
  1785.     sine = sine + change
  1786.     local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1787.     local velderp = root.Velocity.y
  1788.     hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1789.     if equipped == true or equipped == false then
  1790.         if attack == false then
  1791.             idle = idle + 1
  1792.         else
  1793.             idle = 0
  1794.         end
  1795.         local Landed = false
  1796.         if(hitfloor)then
  1797.             WasAir = false
  1798.         else
  1799.             WasAir = true
  1800.         end
  1801.         if(WasAir == false)then
  1802.             if(InAir == true)then
  1803.                 LandTick = time()
  1804.                 Landed = true
  1805.             end
  1806.         end
  1807.         if(time()-LandTick < .3)then
  1808.             Landed = true
  1809.         end
  1810.         if(hitfloor)then
  1811.             InAir = false
  1812.         else
  1813.             InAir = true
  1814.         end
  1815.         local WALKSPEEDVALUE = 6 / (hum.WalkSpeed / 16)
  1816.         local Walking = (math.abs(root.Velocity.x) > 1 or math.abs(root.Velocity.z) > 1)
  1817.         local State = (hum.PlatformStand and 'Paralyzed' or hum.Sit and 'Sit' or Landed and 'Land' or not hitfloor and root.Velocity.y < -1 and "Fall" or not hitfloor and root.Velocity.y > 1 and "Jump" or hitfloor and Walking and "Walk" or hitfloor and "Idle")
  1818.         if(State == 'Jump')then
  1819.             hum.JumpPower = 55
  1820.             if attack == false then
  1821.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.1)
  1822.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1823.                 rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -.2 - 0.1 * Cos(sine / 20), -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1824.                 ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.1)
  1825.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1826.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1827.             end
  1828.         elseif(State == 'Fall')then
  1829.             if attack == false then
  1830.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1831.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1832.                 rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1833.                 ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(25), Rad(0), Rad(0)), 0.1)
  1834.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1835.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(165), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1836.             end
  1837.         elseif(State == 'Land')then
  1838.             hum.JumpPower = 0
  1839.             if attack == false then
  1840.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1841.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(35 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1842.                 rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(-10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  1843.                 ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, 0.1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(10), Rad(0)) * angles(Rad(-3.5), Rad(0), Rad(-5)), 0.15)
  1844.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(0), Rad(25 + 4.5 * Sin(sine / 20))), 0.1)
  1845.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(0), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  1846.             end
  1847.         elseif(State == 'Idle')then
  1848.             change = 1
  1849.             if attack == false then
  1850.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1851.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1)
  1852.                 rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(-10), Rad(0)) * angles(Rad(0), Rad(0), Rad(5)), 0.1)
  1853.                 ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 - 5 * Sin(sine / 20)), Rad(10), Rad(0)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1854.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 + 5 * Sin(sine / 20)), Rad(10 + 5 * Sin(sine / 20))), 0.1)
  1855.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0 + 15 * Sin(sine / 20)), Rad(0 - 5 * Sin(sine / 20)), Rad(-10 - 5 * Sin(sine / 20))), 0.1)
  1856.             end
  1857.         elseif(State == 'Walk')then
  1858.             change = 0.55
  1859.             hum.JumpPower = 55
  1860.             if attack == false then
  1861.                 rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.3 - 0.65 * Cos(sine / ( WALKSPEEDVALUE / 2 ))) * angles(Rad(-25), Rad(0), Rad(0 - 1.75 * Cos(sine / ( WALKSPEEDVALUE / 2))) + root.RotVelocity.Y / 75), 0.1)
  1862.                 neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-20 + 5 * Sin(sine / (WALKSPEEDVALUE / 2))), Rad(0), Rad(0) + root.RotVelocity.Y / 13), 0.1)
  1863.                 rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-15 - 95 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1864.                 ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-15 + 95 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1865.                 RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(45)), 0.1)
  1866.                 LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.1 * Sin(sine / WALKSPEEDVALUE)* Player_Size, 0* Player_Size) * angles(Rad(215), Rad(0), Rad(-45)), 0.1)
  1867.             elseif attack == true and movelegs == true then
  1868.                 rl.Weld.C0 = clerp(rl.Weld.C0, CF(0.5* Player_Size, -0.8 - 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, 0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size)  * angles(Rad(-10 - 25 * Cos(sine / WALKSPEEDVALUE)) - root.RotVelocity.Y / 75 + -Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1869.                 ll.Weld.C0 = clerp(ll.Weld.C0, CF(-0.5* Player_Size, -0.8 + 0.5 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size, -0.6 * Cos(sine / WALKSPEEDVALUE) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / WALKSPEEDVALUE)) + root.RotVelocity.Y / -75 + Sin(sine / WALKSPEEDVALUE) / 2.5, Rad(0 - 10 * Cos(sine / WALKSPEEDVALUE)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / WALKSPEEDVALUE)), Rad(0), Rad(0)), 0.3)
  1870.             end
  1871.         end
  1872.     end
  1873.     hum.Name = "HUM"
  1874.     hum.WalkSpeed = Speed
  1875.     Music.SoundId = "rbxassetid://"..SONG
  1876.     Music.Looped = true
  1877.     Music.Pitch = 1
  1878.     Music.Volume = 1.5
  1879.     Music.Parent = tors
  1880.     Music.Playing = true
  1881.     if 0 < #Effects then
  1882.         for e = 1, #Effects do
  1883.             if Effects[e] ~= nil then
  1884.                 local Thing = Effects[e]
  1885.                 if Thing ~= nil then
  1886.                     local Part = Thing[1]
  1887.                     local Mode = Thing[2]
  1888.                     local Delay = Thing[3]
  1889.                     local IncX = Thing[4]
  1890.                     local IncY = Thing[5]
  1891.                     local IncZ = Thing[6]
  1892.                     if 1 >= Thing[1].Transparency then
  1893.                         if Thing[2] == "Block1" then
  1894.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1895.                             local Mesh = Thing[1].Mesh
  1896.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1897.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1898.                         elseif Thing[2] == "Block2" then
  1899.                             Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1900.                             local Mesh = Thing[7]
  1901.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1902.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1903.                         elseif Thing[2] == "Block3" then
  1904.                             Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  1905.                             local Mesh = Thing[7]
  1906.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1907.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1908.                         elseif Thing[2] == "Cylinder" then
  1909.                             local Mesh = Thing[1].Mesh
  1910.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1911.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1912.                         elseif Thing[2] == "Blood" then
  1913.                             local Mesh = Thing[7]
  1914.                             Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1915.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1916.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1917.                         elseif Thing[2] == "Elec" then
  1918.                             local Mesh = Thing[1].Mesh
  1919.                             Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1920.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1921.                         elseif Thing[2] == "Disappear" then
  1922.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1923.                         elseif Thing[2] == "Shatter" then
  1924.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1925.                             Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1926.                             Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1927.                             Thing[6] = Thing[6] + Thing[5]
  1928.                         end
  1929.                     else
  1930.                         Part.Parent = nil
  1931.                         table.remove(Effects, e)
  1932.                     end
  1933.                 end
  1934.             end
  1935.         end
  1936.     end
  1937. end
  1938. -------------------------------------------------------
  1939. --End Animations And Script--
  1940. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement