Advertisement
StarzoZero

Roblox FE Chips (for friend)

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