Advertisement
Ban43_GodOfEdits

wip flash???

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