Advertisement
idkwhatiam

chips edit

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