Advertisement
Black_Magic

Untitled

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