Advertisement
TheYoutuber_Pro

Chips Edited Lol

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