Advertisement
Zebula_The_Scripter

Juice FE

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