Advertisement
Christoffer07700Extr

Chips Edited

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