Advertisement
scriptingboi1

a

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