Advertisement
SurgeonDoob

baddy v1

Jun 15th, 2018
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --[[ A script By makhail07
  2.  
  3.  
  4. Discord Creterisk#2958
  5.  
  6. Description:
  7.  
  8.  
  9. ]]--
  10.  
  11. local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
  12.  
  13. function swait(num)
  14. if num==0 or num==nil then
  15. game:service'RunService'.Stepped:wait(0)
  16. else
  17. for i=0,num do
  18. game:service'RunService'.Stepped:wait(0)
  19. end
  20. end
  21. end
  22. function thread(f)
  23. coroutine.resume(coroutine.create(f))
  24. end
  25. function clerp(a, b, t)
  26. local qa = {
  27. QuaternionFromCFrame(a)
  28. }
  29. local qb = {
  30. QuaternionFromCFrame(b)
  31. }
  32. local ax, ay, az = a.x, a.y, a.z
  33. local bx, by, bz = b.x, b.y, b.z
  34. local _t = 1 - t
  35. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  36. end
  37. function QuaternionFromCFrame(cf)
  38. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  39. local trace = m00 + m11 + m22
  40. if trace > 0 then
  41. local s = math.sqrt(1 + trace)
  42. local recip = 0.5 / s
  43. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  44. else
  45. local i = 0
  46. if m00 < m11 then
  47. i = 1
  48. end
  49. if m22 > (i == 0 and m00 or m11) then
  50. i = 2
  51. end
  52. if i == 0 then
  53. local s = math.sqrt(m00 - m11 - m22 + 1)
  54. local recip = 0.5 / s
  55. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  56. elseif i == 1 then
  57. local s = math.sqrt(m11 - m22 - m00 + 1)
  58. local recip = 0.5 / s
  59. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  60. elseif i == 2 then
  61. local s = math.sqrt(m22 - m00 - m11 + 1)
  62. local recip = 0.5 / s
  63. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  64. end
  65. end
  66. end
  67. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  68. local xs, ys, zs = x + x, y + y, z + z
  69. local wx, wy, wz = w * xs, w * ys, w * zs
  70. local xx = x * xs
  71. local xy = x * ys
  72. local xz = x * zs
  73. local yy = y * ys
  74. local yz = y * zs
  75. local zz = z * zs
  76. 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))
  77. end
  78. function QuaternionSlerp(a, b, t)
  79. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  80. local startInterp, finishInterp
  81. if cosTheta >= 1.0E-4 then
  82. if 1 - cosTheta > 1.0E-4 then
  83. local theta = math.acos(cosTheta)
  84. local invSinTheta = 1 / math.sin(theta)
  85. startInterp = math.sin((1 - t) * theta) * invSinTheta
  86. finishInterp = math.sin(t * theta) * invSinTheta
  87. else
  88. startInterp = 1 - t
  89. finishInterp = t
  90. end
  91. elseif 1 + cosTheta > 1.0E-4 then
  92. local theta = math.acos(-cosTheta)
  93. local invSinTheta = 1 / math.sin(theta)
  94. startInterp = math.sin((t - 1) * theta) * invSinTheta
  95. finishInterp = math.sin(t * theta) * invSinTheta
  96. else
  97. startInterp = t - 1
  98. finishInterp = t
  99. end
  100. 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
  101. end
  102. function rayCast(Position, Direction, Range, Ignore)
  103. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  104. end
  105. --Wait what okay
  106. wait()
  107. local plr = game:service'Players'.LocalPlayer
  108. local char = plr.Character
  109. local hum = char.Humanoid
  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 hed = char.Head
  115. local root = char.HumanoidRootPart
  116. local rootj = root.RootJoint
  117. local tors = char.Torso
  118. local mouse = plr:GetMouse()
  119. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  120. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  121. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  122. local maincolor = BrickColor.new("Magenta")
  123. cf = CFrame.new
  124. angles = CFrame.Angles
  125. attack = false
  126. euler=CFrame.fromEulerAnglesXYZ
  127. equipped = false
  128. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  129. RSH, LSH = nil, nil
  130. RW = Instance.new("Weld")
  131. LW = Instance.new("Weld")
  132. RH = tors["Right Hip"]
  133. LH = tors["Left Hip"]
  134. RSH = tors["Right Shoulder"]
  135. LSH = tors["Left Shoulder"]
  136. RSH.Parent = nil
  137. LSH.Parent = nil
  138. RW.Name = "RW"
  139. RW.Part0 = tors
  140. RW.C0 = CFrame.new(1.5, 0.5, 0)
  141. RW.C1 = CFrame.new(0, 0.5, 0)
  142. RW.Part1 = ra
  143. RW.Parent = tors
  144. LW.Name = "LW"
  145. LW.Part0 = tors
  146. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  147. LW.C1 = CFrame.new(0, 0.5, 0)
  148. LW.Part1 = la
  149. LW.Parent = tors
  150. print('User is '..plr.Name)
  151. Effects = {}
  152.  
  153. ArtificialHB = Instance.new("BindableEvent", script)
  154. ArtificialHB.Name = "Heartbeat"
  155.  
  156. script:WaitForChild("Heartbeat")
  157.  
  158. frame = 1 / 60
  159. tf = 0
  160. allowframeloss = false
  161. tossremainder = false
  162. lastframe = tick()
  163. script.Heartbeat:Fire()
  164.  
  165. game:GetService("RunService").Heartbeat:connect(function(s, p)
  166. tf = tf + s
  167. if tf >= frame then
  168. if allowframeloss then
  169. script.Heartbeat:Fire()
  170. lastframe = tick()
  171. else
  172. for i = 1, math.floor(tf / frame) do
  173. script.Heartbeat:Fire()
  174. end
  175. lastframe = tick()
  176. end
  177. if tossremainder then
  178. tf = 0
  179. else
  180. tf = tf - frame * math.floor(tf / frame)
  181. end
  182. end
  183. end)
  184. local RbxUtility = LoadLibrary("RbxUtility")
  185. local Create = RbxUtility.Create
  186.  
  187. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  188. if hit.Parent == nil then
  189. return
  190. end
  191. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  192. for _, v in pairs(hit.Parent:children()) do
  193. if v:IsA("Humanoid") then
  194. h = v
  195. end
  196. end
  197. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  198. warn'No R15 allowed'
  199. hit.Parent:FindFirstChild("Head"):BreakJoints()
  200. end
  201.  
  202. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  203. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  204. if hit.Parent.DebounceHit.Value == true then
  205. return
  206. end
  207. end
  208. if insta == true then
  209. hit.Parent:FindFirstChild("Head"):BreakJoints()
  210. end
  211. local c = Create("ObjectValue"){
  212. Name = "creator",
  213. Value = game:service("Players").LocalPlayer,
  214. Parent = h,
  215. }
  216. game:GetService("Debris"):AddItem(c, .5)
  217. if HitSound ~= nil and HitPitch ~= nil then
  218. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  219. end
  220. local Damage = math.random(minim, maxim)
  221. local blocked = false
  222. local block = hit.Parent:findFirstChild("Block")
  223. if block ~= nil then
  224. if block.className == "IntValue" then
  225. if block.Value > 0 then
  226. blocked = true
  227. block.Value = block.Value - 1
  228. print(block.Value)
  229. end
  230. end
  231. end
  232. if blocked == false then
  233. h.Health = h.Health - Damage
  234. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  235. else
  236. h.Health = h.Health - (Damage / 2)
  237. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  238. end
  239. if Type == "Knockdown" then
  240. local hum = hit.Parent.Humanoid
  241. hum.PlatformStand = true
  242. coroutine.resume(coroutine.create(function(HHumanoid)
  243. swait(1)
  244. HHumanoid.PlatformStand = false
  245. end), hum)
  246. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  247. local bodvol = Create("BodyVelocity"){
  248. velocity = angle * knockback,
  249. P = 5000,
  250. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  251. Parent = hit,
  252. }
  253. local rl = Create("BodyAngularVelocity"){
  254. P = 3000,
  255. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  256. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  257. Parent = hit,
  258. }
  259. game:GetService("Debris"):AddItem(bodvol, .5)
  260. game:GetService("Debris"):AddItem(rl, .5)
  261. elseif Type == "Normal" then
  262. local vp = Create("BodyVelocity"){
  263. P = 500,
  264. maxForce = Vector3.new(math.huge, 0, math.huge),
  265. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  266. }
  267. if knockback > 0 then
  268. vp.Parent = hit.Parent.Torso
  269. end
  270. game:GetService("Debris"):AddItem(vp, .5)
  271. elseif Type == "Up" then
  272. local bodyVelocity = Create("BodyVelocity"){
  273. velocity = Vector3.new(0, 20, 0),
  274. P = 5000,
  275. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  276. Parent = hit,
  277. }
  278. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  279. elseif Type == "DarkUp" then
  280. coroutine.resume(coroutine.create(function()
  281. for i = 0, 1, 0.1 do
  282. swait()
  283. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  284. end
  285. end))
  286. local bodyVelocity = Create("BodyVelocity"){
  287. velocity = Vector3.new(0, 20, 0),
  288. P = 5000,
  289. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  290. Parent = hit,
  291. }
  292. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  293. elseif Type == "Snare" then
  294. local bp = Create("BodyPosition"){
  295. P = 2000,
  296. D = 100,
  297. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  298. position = hit.Parent.Torso.Position,
  299. Parent = hit.Parent.Torso,
  300. }
  301. game:GetService("Debris"):AddItem(bp, 1)
  302. elseif Type == "Freeze" then
  303. local BodPos = Create("BodyPosition"){
  304. P = 50000,
  305. D = 1000,
  306. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  307. position = hit.Parent.Torso.Position,
  308. Parent = hit.Parent.Torso,
  309. }
  310. local BodGy = Create("BodyGyro") {
  311. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  312. P = 20e+003,
  313. Parent = hit.Parent.Torso,
  314. cframe = hit.Parent.Torso.CFrame,
  315. }
  316. hit.Parent.Torso.Anchored = true
  317. coroutine.resume(coroutine.create(function(Part)
  318. swait(1.5)
  319. Part.Anchored = false
  320. end), hit.Parent.Torso)
  321. game:GetService("Debris"):AddItem(BodPos, 3)
  322. game:GetService("Debris"):AddItem(BodGy, 3)
  323. end
  324. local debounce = Create("BoolValue"){
  325. Name = "DebounceHit",
  326. Parent = hit.Parent,
  327. Value = true,
  328. }
  329. game:GetService("Debris"):AddItem(debounce, Delay)
  330. c = Create("ObjectValue"){
  331. Name = "creator",
  332. Value = Player,
  333. Parent = h,
  334. }
  335. game:GetService("Debris"):AddItem(c, .5)
  336. end
  337. end
  338.  
  339. function ShowDamage(Pos, Text, Time, Color)
  340. local Rate = (1 / 30)
  341. local Pos = (Pos or Vector3.new(0, 0, 0))
  342. local Text = (Text or "")
  343. local Time = (Time or 2)
  344. local Color = (Color or Color3.new(1, 0, 1))
  345. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  346. EffectPart.Anchored = true
  347. local BillboardGui = Create("BillboardGui"){
  348. Size = UDim2.new(3, 0, 3, 0),
  349. Adornee = EffectPart,
  350. Parent = EffectPart,
  351. }
  352. local TextLabel = Create("TextLabel"){
  353. BackgroundTransparency = 1,
  354. Size = UDim2.new(1, 0, 1, 0),
  355. Text = Text,
  356. Font = "Highway",
  357. TextColor3 = Color,
  358. TextScaled = true,
  359. Parent = BillboardGui,
  360. }
  361. game.Debris:AddItem(EffectPart, (Time))
  362. EffectPart.Parent = game:GetService("Workspace")
  363. delay(0, function()
  364. local Frames = (Time / Rate)
  365. for Frame = 1, Frames do
  366. wait(Rate)
  367. local Percent = (Frame / Frames)
  368. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  369. TextLabel.TextTransparency = Percent
  370. end
  371. if EffectPart and EffectPart.Parent then
  372. EffectPart:Destroy()
  373. end
  374. end)
  375. end
  376. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  377. for _, c in pairs(workspace:children()) do
  378. local hum = c:findFirstChild("Humanoid")
  379. if hum ~= nil then
  380. local head = c:findFirstChild("Head")
  381. if head ~= nil then
  382. local targ = head.Position - Part.Position
  383. local mag = targ.magnitude
  384. if magni >= mag and c.Name ~= plr.Name then
  385. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=231917784", 1.2)
  386. end
  387. end
  388. end
  389. end
  390. end
  391. CFuncs = {
  392. Part = {
  393. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  394. local Part = Create("Part")({
  395. Parent = Parent,
  396. Reflectance = Reflectance,
  397. Transparency = Transparency,
  398. CanCollide = false,
  399. Locked = true,
  400. BrickColor = BrickColor.new(tostring(BColor)),
  401. Name = Name,
  402. Size = Size,
  403. Material = Material
  404. })
  405. RemoveOutlines(Part)
  406. return Part
  407. end
  408. },
  409. Mesh = {
  410. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  411. local Msh = Create(Mesh)({
  412. Parent = Part,
  413. Offset = OffSet,
  414. Scale = Scale
  415. })
  416. if Mesh == "SpecialMesh" then
  417. Msh.MeshType = MeshType
  418. Msh.MeshId = MeshId
  419. end
  420. return Msh
  421. end
  422. },
  423. Mesh = {
  424. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  425. local Msh = Create(Mesh)({
  426. Parent = Part,
  427. Offset = OffSet,
  428. Scale = Scale
  429. })
  430. if Mesh == "SpecialMesh" then
  431. Msh.MeshType = MeshType
  432. Msh.MeshId = MeshId
  433. end
  434. return Msh
  435. end
  436. },
  437. Weld = {
  438. Create = function(Parent, Part0, Part1, C0, C1)
  439. local Weld = Create("Weld")({
  440. Parent = Parent,
  441. Part0 = Part0,
  442. Part1 = Part1,
  443. C0 = C0,
  444. C1 = C1
  445. })
  446. return Weld
  447. end
  448. },
  449. Sound = {
  450. Create = function(id, par, vol, pit)
  451. coroutine.resume(coroutine.create(function()
  452. local S = Create("Sound")({
  453. Volume = vol,
  454. Pitch = pit or 1,
  455. SoundId = id,
  456. Parent = par or workspace
  457. })
  458. wait()
  459. S:play()
  460. game:GetService("Debris"):AddItem(S, 6)
  461. end))
  462. end
  463. },
  464. ParticleEmitter = {
  465. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  466. local fp = Create("ParticleEmitter")({
  467. Parent = Parent,
  468. Color = ColorSequence.new(Color1, Color2),
  469. LightEmission = LightEmission,
  470. Size = Size,
  471. Texture = Texture,
  472. Transparency = Transparency,
  473. ZOffset = ZOffset,
  474. Acceleration = Accel,
  475. Drag = Drag,
  476. LockedToPart = LockedToPart,
  477. VelocityInheritance = VelocityInheritance,
  478. EmissionDirection = EmissionDirection,
  479. Enabled = Enabled,
  480. Lifetime = LifeTime,
  481. Rate = Rate,
  482. Rotation = Rotation,
  483. RotSpeed = RotSpeed,
  484. Speed = Speed,
  485. VelocitySpread = VelocitySpread
  486. })
  487. return fp
  488. end
  489. }
  490. }
  491. function RemoveOutlines(part)
  492. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  493. end
  494. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  495. local Part = Create("Part")({
  496. formFactor = FormFactor,
  497. Parent = Parent,
  498. Reflectance = Reflectance,
  499. Transparency = Transparency,
  500. CanCollide = false,
  501. Locked = true,
  502. BrickColor = BrickColor.new(tostring(BColor)),
  503. Name = Name,
  504. Size = Size,
  505. Material = Material
  506. })
  507. RemoveOutlines(Part)
  508. return Part
  509. end
  510. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  511. local Msh = Create(Mesh)({
  512. Parent = Part,
  513. Offset = OffSet,
  514. Scale = Scale
  515. })
  516. if Mesh == "SpecialMesh" then
  517. Msh.MeshType = MeshType
  518. Msh.MeshId = MeshId
  519. end
  520. return Msh
  521. end
  522. function CreateWeld(Parent, Part0, Part1, C0, C1)
  523. local Weld = Create("Weld")({
  524. Parent = Parent,
  525. Part0 = Part0,
  526. Part1 = Part1,
  527. C0 = C0,
  528. C1 = C1
  529. })
  530. return Weld
  531. end
  532. EffectModel = Instance.new("Model", char)
  533. Effects = {
  534. Block = {
  535. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  536. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  537. prt.Anchored = true
  538. prt.CFrame = cframe
  539. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  540. game:GetService("Debris"):AddItem(prt, 10)
  541. if Type == 1 or Type == nil then
  542. table.insert(Effects, {
  543. prt,
  544. "Block1",
  545. delay,
  546. x3,
  547. y3,
  548. z3,
  549. msh
  550. })
  551. elseif Type == 2 then
  552. table.insert(Effects, {
  553. prt,
  554. "Block2",
  555. delay,
  556. x3,
  557. y3,
  558. z3,
  559. msh
  560. })
  561. else
  562. table.insert(Effects, {
  563. prt,
  564. "Block3",
  565. delay,
  566. x3,
  567. y3,
  568. z3,
  569. msh
  570. })
  571. end
  572. end
  573. },
  574. Sphere = {
  575. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  576. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  577. prt.Anchored = true
  578. prt.CFrame = cframe
  579. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  580. game:GetService("Debris"):AddItem(prt, 10)
  581. table.insert(Effects, {
  582. prt,
  583. "Cylinder",
  584. delay,
  585. x3,
  586. y3,
  587. z3,
  588. msh
  589. })
  590. end
  591. },
  592. Cylinder = {
  593. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  594. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  595. prt.Anchored = true
  596. prt.CFrame = cframe
  597. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  598. game:GetService("Debris"):AddItem(prt, 10)
  599. table.insert(Effects, {
  600. prt,
  601. "Cylinder",
  602. delay,
  603. x3,
  604. y3,
  605. z3,
  606. msh
  607. })
  608. end
  609. },
  610. Wave = {
  611. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  612. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  613. prt.Anchored = true
  614. prt.CFrame = cframe
  615. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  616. game:GetService("Debris"):AddItem(prt, 10)
  617. table.insert(Effects, {
  618. prt,
  619. "Cylinder",
  620. delay,
  621. x3 / 60,
  622. y3 / 60,
  623. z3 / 60,
  624. msh
  625. })
  626. end
  627. },
  628. Ring = {
  629. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  630. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  631. prt.Anchored = true
  632. prt.CFrame = cframe
  633. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  634. game:GetService("Debris"):AddItem(prt, 10)
  635. table.insert(Effects, {
  636. prt,
  637. "Cylinder",
  638. delay,
  639. x3,
  640. y3,
  641. z3,
  642. msh
  643. })
  644. end
  645. },
  646. Break = {
  647. Create = function(brickcolor, cframe, x1, y1, z1)
  648. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  649. prt.Anchored = true
  650. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  651. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  652. local num = math.random(10, 50) / 1000
  653. game:GetService("Debris"):AddItem(prt, 10)
  654. table.insert(Effects, {
  655. prt,
  656. "Shatter",
  657. num,
  658. prt.CFrame,
  659. math.random() - math.random(),
  660. 0,
  661. math.random(50, 100) / 100
  662. })
  663. end
  664. }
  665. }
  666. function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  667. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  668. prt.Anchored = true
  669. prt.CFrame = cframe
  670. local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  671. game:GetService("Debris"):AddItem(prt, 10)
  672. if Type == 1 or Type == nil then
  673. table.insert(Effects, {
  674. prt,
  675. "Block1",
  676. delay,
  677. x3,
  678. y3,
  679. z3,
  680. msh
  681. })
  682. elseif Type == 2 then
  683. table.insert(Effects, {
  684. prt,
  685. "Block2",
  686. delay,
  687. x3,
  688. y3,
  689. z3,
  690. msh
  691. })
  692. elseif Type == 3 then
  693. table.insert(Effects, {
  694. prt,
  695. "Block3",
  696. delay,
  697. x3,
  698. y3,
  699. z3,
  700. msh
  701. })
  702. end
  703. end
  704. function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  705. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  706. prt.Anchored = true
  707. prt.CFrame = cframe
  708. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  709. game:GetService("Debris"):AddItem(prt, 10)
  710. table.insert(Effects, {
  711. prt,
  712. "Cylinder",
  713. delay,
  714. x3,
  715. y3,
  716. z3,
  717. msh
  718. })
  719. end
  720. function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  721. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  722. prt.Anchored = true
  723. prt.CFrame = cframe * CFrame.new(x1, y1, z1)
  724. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", 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. function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  737. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  738. prt.Anchored = true
  739. prt.CFrame = cframe
  740. local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  741. game:GetService("Debris"):AddItem(prt, 10)
  742. table.insert(Effects, {
  743. prt,
  744. "Cylinder",
  745. delay,
  746. x3,
  747. y3,
  748. z3,
  749. msh
  750. })
  751. end
  752. function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  753. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  754. prt.Anchored = true
  755. prt.CFrame = cframe
  756. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  757. game:GetService("Debris"):AddItem(prt, 10)
  758. table.insert(Effects, {
  759. prt,
  760. "Cylinder",
  761. delay,
  762. x3,
  763. y3,
  764. z3,
  765. msh
  766. })
  767. end
  768. function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  769. local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  770. prt.Anchored = true
  771. prt.CFrame = cframe
  772. local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  773. game:GetService("Debris"):AddItem(prt, 10)
  774. table.insert(Effects, {
  775. prt,
  776. "Cylinder",
  777. delay,
  778. x3,
  779. y3,
  780. z3,
  781. msh
  782. })
  783. end
  784. function BreakEffect(brickcolor, cframe, x1, y1, z1)
  785. local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  786. prt.Anchored = true
  787. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  788. local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  789. local num = math.random(10, 50) / 1000
  790. game:GetService("Debris"):AddItem(prt, 10)
  791. table.insert(Effects, {
  792. prt,
  793. "Shatter",
  794. num,
  795. prt.CFrame,
  796. math.random() - math.random(),
  797. 0,
  798. math.random(50, 100) / 100
  799. })
  800. end
  801. function CreateSound(ID, PARENT, VOLUME, PITCH)
  802. local NEWSOUND = nil
  803. coroutine.resume(coroutine.create(function()
  804. NEWSOUND = Instance.new("Sound", PARENT)
  805. NEWSOUND.Volume = VOLUME
  806. NEWSOUND.Pitch = PITCH
  807. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  808. swait()
  809. NEWSOUND:play()
  810. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  811. end))
  812. return NEWSOUND
  813. end
  814.  
  815.  
  816.  
  817. local sine=0
  818. function SHUTUP()
  819. attack = true
  820. hum.WalkSpeed = 0
  821. CreateSound("135165859", tors, 5, 1)
  822. for i = 0,2,0.1 do
  823. swait()
  824. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  825. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  826. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  827. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  828. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(3)), 0.1)
  829. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  830. end
  831. for i = 0,1.2,0.1 do
  832. swait()
  833. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  834. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  835. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  836. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  837. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(130), math.rad(0), math.rad(3)), 0.1)
  838. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  839. end
  840. for i = 0,2,0.1 do
  841. swait()
  842. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  843. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  844. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  845. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  846. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(3)), 0.1)
  847. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  848. end
  849. attack = false
  850. hum.WalkSpeed = 16
  851. end
  852.  
  853.  
  854. function Huh()
  855. attack = true
  856. hum.WalkSpeed = 0
  857. CreateSound("1447540455", tors, 10, 1)
  858. for i = 0,6,0.1 do
  859. swait()
  860. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  861. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(15),math.rad(0)),.3)
  862. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  863. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  864. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(150)), 0.1)
  865. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-150)), 0.1)
  866. end
  867. attack = false
  868. hum.WalkSpeed = 16
  869. end
  870.  
  871. function Noni()
  872. attack = true
  873. hum.WalkSpeed = 0
  874. CreateSound("645811027", tors, 5, 1)
  875. for i = 0,6,0.1 do
  876. swait()
  877. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-6),math.rad(0),math.rad(0)),0.15)
  878. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  879. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  880. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  881. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-120), math.rad(0), math.rad(115)), 0.1)
  882. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-120), math.rad(-0), math.rad(-115)), 0.1)
  883. end
  884. attack = false
  885. hum.WalkSpeed = 16
  886. end
  887.  
  888. function MeSwamp()
  889. attack = true
  890. hum.WalkSpeed = 0
  891. CreateSound("866176890", tors, 10, 1)
  892. for i = 0,6,0.1 do
  893. swait()
  894. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  895. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  896. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  897. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  898. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-160), math.rad(0), math.rad(120)), 0.1)
  899. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  900. end
  901. for i = 0,2,0.1 do
  902. swait()
  903. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(0)),0.15)
  904. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  905. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  906. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  907. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(165)), 0.1)
  908. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-165)), 0.1)
  909. end
  910. for i = 0,2,0.1 do
  911. swait()
  912. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  913. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  914. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  915. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  916. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(0)), 0.1)
  917. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  918. end
  919. for i = 0,4,0.1 do
  920. swait()
  921. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(360*i),math.rad(0)),0.15)
  922. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  923. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  924. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  925. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(90)), 0.1)
  926. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-90)), 0.1)
  927. end
  928. for i = 0,6,0.1 do
  929. swait()
  930. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  931. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  932. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),-.2)*RHCF*angles(math.rad(-5),math.rad(0),math.rad(3)),0.15)
  933. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-3)),0.15)
  934. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(130)), 0.1)
  935. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-130)), 0.1)
  936. end
  937. attack = false
  938. hum.WalkSpeed = 16
  939. end
  940.  
  941.  
  942. function EndMySuffering()
  943. attack = true
  944. hum.WalkSpeed = 0
  945. CreateSound("1096379637", tors, 5, 1)
  946. for i = 0,6,0.1 do
  947. swait()
  948. hum.Health = hum.Health + 50
  949. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-10),math.rad(0)),0.15)
  950. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  951. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  952. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  953. RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(-0), math.rad(0), math.rad(-110)), 0.1)
  954. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-100)), 0.1)
  955. end
  956. attack = false
  957. hum.WalkSpeed = 16
  958. end
  959.  
  960.  
  961. function WHATDAUSAY()
  962. attack = true
  963. hum.WalkSpeed = 0
  964. CreateSound("145757437", tors, 5, 1)
  965. for i = 0,20,0.1 do
  966. swait()
  967. rootj.C0=clerp(rootj.C0,RootCF*cf(0,math.random(-10, 10) / 100,-0.1+0.1*math.cos(sine/2))*angles(math.rad(20*math.cos(sine/2)),math.rad(20*math.cos(sine/2)),math.rad(20*math.cos(sine/2))),0.15)
  968. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(25),math.rad(0),math.rad(0)),.3)
  969. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  970. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  971. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(0), math.rad(-180*math.cos(sine/2))), 0.1)
  972. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-180*math.cos(sine/2))), 0.1)
  973. end
  974. for i = 0,2,0.1 do
  975. swait()
  976. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  977. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  978. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  979. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  980. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  981. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  982. end
  983. for i = 0,2,0.1 do
  984. swait()
  985. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  986. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  987. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  988. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  989. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(125), math.rad(0), math.rad(20)), 0.1)
  990. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(125), math.rad(-0), math.rad(-20)), 0.1)
  991. end
  992. Effects.Sphere.Create(maincolor, la.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  993. Effects.Sphere.Create(maincolor, ra.CFrame * CFrame.new(0, -2.2, 0), 100, 100, 100, 3, 3, 3, .1, .1)
  994. for i = 0,2,0.1 do
  995. swait()
  996. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  997. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  998. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  999. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1000. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(20)), 0.1)
  1001. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-20)), 0.1)
  1002. end
  1003. attack = false
  1004. hum.WalkSpeed = 16
  1005. end
  1006.  
  1007. function SippyBoy()
  1008. attack = true
  1009. hum.WalkSpeed = 0
  1010. local Blobby = Instance.new("Part", char)
  1011. Blobby.Name = "Blob"
  1012. Blobby.CanCollide = false
  1013. Blobby.BrickColor = BrickColor.new("Really black")
  1014. Blobby.Transparency = 1
  1015. Blobby.Material = "Plastic"
  1016. Blobby.Size = Vector3.new(1, 1, 2)
  1017. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1018. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1019.  
  1020. local Weld = Instance.new("Weld", Blobby)
  1021. Weld.Part0 = ra
  1022. Weld.Part1 = Blobby
  1023. Weld.C1 = CFrame.new(0, -.1, 1)
  1024. Weld.C0 = CFrame.Angles(math.rad(-90),0,0)
  1025.  
  1026. local M2 = Instance.new("SpecialMesh")
  1027. M2.Parent = Blobby
  1028. M2.MeshId = "http://www.roblox.com/asset/?id=10470609"
  1029. M2.TextureId = "http://www.roblox.com/asset/?id=1219379224"
  1030. M2.Scale = Vector3.new(1,1,1)
  1031.  
  1032.  
  1033. Blobby.Transparency = 0
  1034. for i = 0,6,0.1 do
  1035. swait()
  1036. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1037. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1038. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1039. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1040. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), -0.6) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1041. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1042. end
  1043.  
  1044. CreateSound("664740320", tors, 10, 1)
  1045. CreateSound("664740320", tors, 10, 1)
  1046. CreateSound("664740320", tors, 10, 1)
  1047. CreateSound("664740320", tors, 10, 1)
  1048. for i = 0,10,0.1 do
  1049. swait()
  1050. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1051. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1052. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1053. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1054. RW.C0 = clerp(RW.C0, CFrame.new(1.35, 0.7+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(115), math.rad(0), math.rad(-55)), 0.1)
  1055. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(-0), math.rad(-0), math.rad(-0)), 0.1)
  1056. end
  1057. hum.WalkSpeed = 16
  1058. Blobby.Transparency = 1
  1059. attack = false
  1060. end
  1061.  
  1062. function GetOutOfMyCOcK()
  1063. attack = true
  1064. hum.WalkSpeed = 0
  1065. CreateSound("273161148", tors, 5, 1)
  1066. local Cary = Instance.new("Part", char)
  1067. Cary.Name = "Blob"
  1068. Cary.CanCollide = false
  1069. Cary.BrickColor = BrickColor.new("Really black")
  1070. Cary.Transparency = 0
  1071. Cary.Material = "Plastic"
  1072. Cary.Size = Vector3.new(1, 1, 2)
  1073. Cary.TopSurface = Enum.SurfaceType.Smooth
  1074. Cary.BottomSurface = Enum.SurfaceType.Smooth
  1075.  
  1076. local Weld = Instance.new("Weld", Cary)
  1077. Weld.Part0 = tors
  1078. Weld.Part1 = Cary
  1079. Weld.C1 = CFrame.new(0, 0, 5)
  1080. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1081.  
  1082. local M2 = Instance.new("SpecialMesh")
  1083. M2.Parent = Cary
  1084. M2.MeshId = "http://www.roblox.com/asset/?id=591853691"
  1085. M2.TextureId = "http://www.roblox.com/asset/?id=591854066"
  1086. M2.Scale = Vector3.new(1,1,1)
  1087.  
  1088. for i = 0,2,0.1 do
  1089. swait()
  1090. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1091. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1092. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1093. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1094. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(120), math.rad(0), math.rad(-0)), 0.1)
  1095. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(120), math.rad(-0), math.rad(-0)), 0.1)
  1096. end
  1097. Weld.C1 = CFrame.new(0, 0, 5)
  1098. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1099. for i = 0,10,0.1 do
  1100. swait()
  1101. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1102. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1103. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1104. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1105. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1106. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.1)
  1107. end
  1108. Weld.C1 = CFrame.new(0, 0, 7)
  1109. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1110. for i = 0,14,0.1 do
  1111. swait()
  1112. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1113. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1114. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1115. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1116. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.1)
  1117. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(180)), 0.1)
  1118. end
  1119. for i = 1,8 do
  1120. Weld.C1 = CFrame.new(0, 0, 5)
  1121. Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
  1122. for i = 0,1.2,0.1 do
  1123. swait()
  1124. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1125. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1126. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1127. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1128. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(0), math.rad(-0)), 0.1)
  1129. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(90), math.rad(-0), math.rad(-0)), 0.1)
  1130. end
  1131. Weld.C1 = CFrame.new(0, 0, 7)
  1132. Weld.C0 = CFrame.Angles(math.rad(90),math.rad(0),0)
  1133. for i = 0,1.2,0.1 do
  1134. swait()
  1135. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(-0),math.rad(0)),0.15)
  1136. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1137. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1138. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(-0)),0.15)
  1139. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.1)
  1140. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(180)), 0.1)
  1141. end
  1142. end
  1143. attack = false
  1144. hum.WalkSpeed = 16
  1145. Cary.Transparency = 1
  1146. end
  1147.  
  1148.  
  1149. mouse.KeyDown:connect(function(key)
  1150. if attack == false then
  1151. if key == 'q' then
  1152. SHUTUP()
  1153. elseif key == 'e' then
  1154. Huh()
  1155. elseif key == 'r' then
  1156. Noni()
  1157. elseif key == 't' then
  1158. MeSwamp()
  1159. elseif key == 'y' then
  1160. EndMySuffering()
  1161. elseif key == 'f' then
  1162. WHATDAUSAY()
  1163. elseif key == 'z' then
  1164. SippyBoy()
  1165. elseif key == 'x' then
  1166. GetOutOfMyCOcK()
  1167. end
  1168. end
  1169. end)
  1170.  
  1171.  
  1172. local idle=0
  1173. local change = 1
  1174. local val = 0
  1175. toim = 0
  1176. hum.Animator.Parent = nil
  1177. idleanim=.4
  1178. while true do
  1179. swait()
  1180. sine = sine + change
  1181. local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
  1182. local velderp=root.Velocity.y
  1183. hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
  1184. if equipped==true or equipped==false then
  1185. if attack==false then
  1186. idle=idle+1
  1187. else
  1188. idle=0
  1189. end
  1190. if root.Velocity.y > 1 and hitfloor==nil then
  1191. Anim="Jump"
  1192. if attack==false then
  1193. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1194. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1195. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  1196. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1197. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1198. RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1199. end
  1200. elseif root.Velocity.y < -1 and hitfloor==nil then
  1201. Anim="Fall"
  1202. if attack==false then
  1203. rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1204. tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1205. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(50)), 0.3)
  1206. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-50)), 0.3)
  1207. LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
  1208. RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1209. end
  1210. elseif torvel<1 and hitfloor~=nil then
  1211. Anim="Idle"
  1212. change = 1
  1213. if attack==false then
  1214. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
  1215. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1216. RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
  1217. LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
  1218. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(0), math.rad(3)), 0.1)
  1219. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-3)), 0.1)
  1220. end
  1221.  
  1222. elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
  1223. Anim="Walk"
  1224. change = 1
  1225. if attack==false then
  1226. rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.175+0.025*math.cos(sine/3.5)+ -math.sin(sine/3.5)/7)*angles(math.rad(3-2.5*math.cos(sine/3.5)),math.rad(0)+root.RotVelocity.Y/30,math.rad(17*math.cos(sine/7))+root.RotVelocity.Y/30),0.15)
  1227. tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1228. RH.C0=clerp(RH.C0,cf(1,-0.9-0.5*math.cos(sine/7)/2,0.055*math.cos(sine/7)/2)*angles(math.rad(0)+ -math.sin(sine/7)/1.5,math.rad(90-0.1*math.cos(sine/7)),math.rad(0)),0.15)
  1229. LH.C0=clerp(LH.C0,cf(-1,-0.9+0.5*math.cos(sine/7)/2,-0.055*math.cos(sine/7)/2)*angles(math.rad(0)+ math.sin(sine/7)/1.5,math.rad(-90-0.1*math.cos(sine/7)),math.rad(0)),0.15)
  1230. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(120 )* math.cos(sine / 7), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1)
  1231. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(-125 )* math.cos(sine / 7), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1)
  1232. end
  1233. end
  1234. end
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240. if 0 < #Effects then
  1241. for e = 1, #Effects do
  1242. if Effects[e] ~= nil then
  1243. local Thing = Effects[e]
  1244. if Thing ~= nil then
  1245. local Part = Thing[1]
  1246. local Mode = Thing[2]
  1247. local Delay = Thing[3]
  1248. local IncX = Thing[4]
  1249. local IncY = Thing[5]
  1250. local IncZ = Thing[6]
  1251. if 1 >= Thing[1].Transparency then
  1252. if Thing[2] == "Block1" then
  1253. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1254. local Mesh = Thing[1].Mesh
  1255. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1256. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1257. elseif Thing[2] == "Block2" then
  1258. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1259. local Mesh = Thing[7]
  1260. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1261. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1262. elseif Thing[2] == "Block3" then
  1263. 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)
  1264. local Mesh = Thing[7]
  1265. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1266. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1267. elseif Thing[2] == "Cylinder" then
  1268. local Mesh = Thing[1].Mesh
  1269. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1270. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1271. elseif Thing[2] == "Blood" then
  1272. local Mesh = Thing[7]
  1273. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1274. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1275. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1276. elseif Thing[2] == "Elec" then
  1277. local Mesh = Thing[1].Mesh
  1278. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1279. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1280. elseif Thing[2] == "Disappear" then
  1281. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1282. elseif Thing[2] == "Shatter" then
  1283. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1284. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1285. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1286. Thing[6] = Thing[6] + Thing[5]
  1287. end
  1288. else
  1289. Part.Parent = nil
  1290. table.remove(Effects, e)
  1291. end
  1292. end
  1293. end
  1294. end
  1295. end
  1296. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement