Advertisement
zombieslayerwtf

Bye Bye script [Leaked]

Apr 7th, 2018
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 58.57 KB | None | 0 0
  1. -----------------------
  2. --Bye Bye--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Probably my most brutal script yet :joy:
  7.  
  8. --Discord Creterisk#2958
  9. --Discord Server discord.gg/r7mfmPa self advertisement ftw
  10. -------------------------------------------------------
  11. --controls--
  12. --F Torso Punch--
  13. --T taunt--
  14. --R taks off target's head--
  15. --Q takes off target's arms--
  16. --E explodes target's head--
  17. local FavIDs = {
  18. 340106355, --Nefl Crystals
  19. 927529620, --Dimension
  20. 876981900, --Fantasy
  21. 398987889, --Ordinary Days
  22. 1117396305, --Oh wait, it's you.
  23. 885996042, --Action Winter Journey
  24. 919231299, --Sprawling Idiot Effigy
  25. 743466274, --Good Day Sunshine
  26. 727411183, --Knife Fight
  27. 1402748531, --The Earth Is Counting On You!
  28. 595230126 --Robot Language
  29. }
  30.  
  31.  
  32.  
  33. --The reality of my life isn't real but a Universe -makhail07
  34. wait()
  35. local plr = game:service'Players'.LocalPlayer
  36. print('Local User is '..plr.Name)
  37. local char = plr.Character
  38. local hum = char.Humanoid
  39. local ra = char["Right Arm"]
  40. local la= char["Left Arm"]
  41. local rl= char["Right Leg"]
  42. local ll = char["Left Leg"]
  43. local hed = char.Head
  44. local root = char.HumanoidRootPart
  45. local rootj = root.RootJoint
  46. local tors = char.Torso
  47. local mouse = plr:GetMouse()
  48. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  49. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  50. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  51.  
  52.  
  53. -------------------------------------------------------
  54. --Start Good Stuff--
  55. -------------------------------------------------------
  56. CF = CFrame.new
  57. angles = CFrame.Angles
  58. attack = false
  59. Euler = CFrame.fromEulerAnglesXYZ
  60. Rad = math.rad
  61. IT = Instance.new
  62. BrickC = BrickColor.new
  63. Cos = math.cos
  64. Acos = math.acos
  65. Sin = math.sin
  66. Asin = math.asin
  67. Abs = math.abs
  68. Mrandom = math.random
  69. Floor = math.floor
  70. -------------------------------------------------------
  71. --End Good Stuff--
  72. -------------------------------------------------------
  73. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  74. RSH, LSH = nil, nil
  75. RW = Instance.new("Weld")
  76. LW = Instance.new("Weld")
  77. RH = tors["Right Hip"]
  78. LH = tors["Left Hip"]
  79. RSH = tors["Right Shoulder"]
  80. LSH = tors["Left Shoulder"]
  81. RSH.Parent = nil
  82. LSH.Parent = nil
  83. RW.Name = "RW"
  84. RW.Part0 = tors
  85. RW.C0 = CF(1.5, 0.5, 0)
  86. RW.C1 = CF(0, 0.5, 0)
  87. RW.Part1 = ra
  88. RW.Parent = tors
  89. LW.Name = "LW"
  90. LW.Part0 = tors
  91. LW.C0 = CF(-1.5, 0.5, 0)
  92. LW.C1 = CF(0, 0.5, 0)
  93. LW.Part1 = la
  94. LW.Parent = tors
  95. Effects = {}
  96.  
  97. -------------------------------------------------------
  98. --Start HeartBeat--
  99. -------------------------------------------------------
  100. ArtificialHB = Instance.new("BindableEvent", script)
  101. ArtificialHB.Name = "Heartbeat"
  102. script:WaitForChild("Heartbeat")
  103.  
  104. frame = 1 / 60
  105. tf = 0
  106. allowframeloss = false
  107. tossremainder = false
  108.  
  109.  
  110. lastframe = tick()
  111. script.Heartbeat:Fire()
  112.  
  113.  
  114. game:GetService("RunService").Heartbeat:connect(function(s, p)
  115. tf = tf + s
  116. if tf >= frame then
  117. if allowframeloss then
  118. script.Heartbeat:Fire()
  119. lastframe = tick()
  120. else
  121. for i = 1, math.floor(tf / frame) do
  122. script.Heartbeat:Fire()
  123. end
  124. lastframe = tick()
  125. end
  126. if tossremainder then
  127. tf = 0
  128. else
  129. tf = tf - frame * math.floor(tf / frame)
  130. end
  131. end
  132. end)
  133. -------------------------------------------------------
  134. --End HeartBeat--
  135. -------------------------------------------------------
  136.  
  137. -------------------------------------------------------
  138. --Start Important Functions--
  139. -------------------------------------------------------
  140. function swait(num)
  141. if num == 0 or num == nil then
  142. game:service("RunService").Stepped:wait(0)
  143. else
  144. for i = 0, num do
  145. game:service("RunService").Stepped:wait(0)
  146. end
  147. end
  148. end
  149. function thread(f)
  150. coroutine.resume(coroutine.create(f))
  151. end
  152. function clerp(a, b, t)
  153. local qa = {
  154. QuaternionFromCFrame(a)
  155. }
  156. local qb = {
  157. QuaternionFromCFrame(b)
  158. }
  159. local ax, ay, az = a.x, a.y, a.z
  160. local bx, by, bz = b.x, b.y, b.z
  161. local _t = 1 - t
  162. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  163. end
  164. function QuaternionFromCFrame(cf)
  165. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  166. local trace = m00 + m11 + m22
  167. if trace > 0 then
  168. local s = math.sqrt(1 + trace)
  169. local recip = 0.5 / s
  170. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  171. else
  172. local i = 0
  173. if m00 < m11 then
  174. i = 1
  175. end
  176. if m22 > (i == 0 and m00 or m11) then
  177. i = 2
  178. end
  179. if i == 0 then
  180. local s = math.sqrt(m00 - m11 - m22 + 1)
  181. local recip = 0.5 / s
  182. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  183. elseif i == 1 then
  184. local s = math.sqrt(m11 - m22 - m00 + 1)
  185. local recip = 0.5 / s
  186. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  187. elseif i == 2 then
  188. local s = math.sqrt(m22 - m00 - m11 + 1)
  189. local recip = 0.5 / s
  190. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  191. end
  192. end
  193. end
  194. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  195. local xs, ys, zs = x + x, y + y, z + z
  196. local wx, wy, wz = w * xs, w * ys, w * zs
  197. local xx = x * xs
  198. local xy = x * ys
  199. local xz = x * zs
  200. local yy = y * ys
  201. local yz = y * zs
  202. local zz = z * zs
  203. 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))
  204. end
  205. function QuaternionSlerp(a, b, t)
  206. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  207. local startInterp, finishInterp
  208. if cosTheta >= 1.0E-4 then
  209. if 1 - cosTheta > 1.0E-4 then
  210. local theta = math.acos(cosTheta)
  211. local invSinTheta = 1 / Sin(theta)
  212. startInterp = Sin((1 - t) * theta) * invSinTheta
  213. finishInterp = Sin(t * theta) * invSinTheta
  214. else
  215. startInterp = 1 - t
  216. finishInterp = t
  217. end
  218. elseif 1 + cosTheta > 1.0E-4 then
  219. local theta = math.acos(-cosTheta)
  220. local invSinTheta = 1 / Sin(theta)
  221. startInterp = Sin((t - 1) * theta) * invSinTheta
  222. finishInterp = Sin(t * theta) * invSinTheta
  223. else
  224. startInterp = t - 1
  225. finishInterp = t
  226. end
  227. 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
  228. end
  229. function rayCast(Position, Direction, Range, Ignore)
  230. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  231. end
  232. local RbxUtility = LoadLibrary("RbxUtility")
  233. local Create = RbxUtility.Create
  234.  
  235. -------------------------------------------------------
  236. --Start Damage Function--
  237. -------------------------------------------------------
  238. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  239. if hit.Parent == nil then
  240. return
  241. end
  242. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  243. for _, v in pairs(hit.Parent:children()) do
  244. if v:IsA("Humanoid") then
  245. h = v
  246. end
  247. end
  248. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  249.  
  250. hit.Parent:FindFirstChild("Head"):BreakJoints()
  251. end
  252.  
  253. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  254. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  255. if hit.Parent.DebounceHit.Value == true then
  256. return
  257. end
  258. end
  259. if insta == true then
  260. hit.Parent:FindFirstChild("Head"):BreakJoints()
  261. end
  262. local c = Create("ObjectValue"){
  263. Name = "creator",
  264. Value = game:service("Players").LocalPlayer,
  265. Parent = h,
  266. }
  267. game:GetService("Debris"):AddItem(c, .5)
  268. if HitSound ~= nil and HitPitch ~= nil then
  269. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  270. end
  271. local Damage = math.random(minim, maxim)
  272. local blocked = false
  273. local block = hit.Parent:findFirstChild("Block")
  274. if block ~= nil then
  275. if block.className == "IntValue" then
  276. if block.Value > 0 then
  277. blocked = true
  278. block.Value = block.Value - 1
  279. print(block.Value)
  280. end
  281. end
  282. end
  283. if blocked == false then
  284. h.Health = h.Health - Damage
  285. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  286. else
  287. h.Health = h.Health - (Damage / 2)
  288. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  289. end
  290. if Type == "Knockdown" then
  291. local hum = hit.Parent.Humanoid
  292. hum.PlatformStand = true
  293. coroutine.resume(coroutine.create(function(HHumanoid)
  294. swait(1)
  295. HHumanoid.PlatformStand = false
  296. end), hum)
  297. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  298. local bodvol = Create("BodyVelocity"){
  299. velocity = angle * knockback,
  300. P = 5000,
  301. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  302. Parent = hit,
  303. }
  304. local rl = Create("BodyAngularVelocity"){
  305. P = 3000,
  306. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  307. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  308. Parent = hit,
  309. }
  310. game:GetService("Debris"):AddItem(bodvol, .5)
  311. game:GetService("Debris"):AddItem(rl, .5)
  312. elseif Type == "Normal" then
  313. local vp = Create("BodyVelocity"){
  314. P = 500,
  315. maxForce = Vector3.new(math.huge, 0, math.huge),
  316. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  317. }
  318. if knockback > 0 then
  319. vp.Parent = hit.Parent.Torso
  320. end
  321. game:GetService("Debris"):AddItem(vp, .5)
  322. elseif Type == "Up" then
  323. local bodyVelocity = Create("BodyVelocity"){
  324. velocity = Vector3.new(0, 20, 0),
  325. P = 5000,
  326. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  327. Parent = hit,
  328. }
  329. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  330. elseif Type == "DarkUp" then
  331. coroutine.resume(coroutine.create(function()
  332. for i = 0, 1, 0.1 do
  333. swait()
  334. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  335. end
  336. end))
  337. local bodyVelocity = Create("BodyVelocity"){
  338. velocity = Vector3.new(0, 20, 0),
  339. P = 5000,
  340. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  341. Parent = hit,
  342. }
  343. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  344. elseif Type == "Snare" then
  345. local bp = Create("BodyPosition"){
  346. P = 2000,
  347. D = 100,
  348. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  349. position = hit.Parent.Torso.Position,
  350. Parent = hit.Parent.Torso,
  351. }
  352. game:GetService("Debris"):AddItem(bp, 1)
  353. elseif Type == "Freeze" then
  354. local BodPos = Create("BodyPosition"){
  355. P = 50000,
  356. D = 1000,
  357. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  358. position = hit.Parent.Torso.Position,
  359. Parent = hit.Parent.Torso,
  360. }
  361. local BodGy = Create("BodyGyro") {
  362. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  363. P = 20e+003,
  364. Parent = hit.Parent.Torso,
  365. cframe = hit.Parent.Torso.CFrame,
  366. }
  367. hit.Parent.Torso.Anchored = true
  368. coroutine.resume(coroutine.create(function(Part)
  369. swait(1.5)
  370. Part.Anchored = false
  371. end), hit.Parent.Torso)
  372. game:GetService("Debris"):AddItem(BodPos, 3)
  373. game:GetService("Debris"):AddItem(BodGy, 3)
  374. end
  375. local debounce = Create("BoolValue"){
  376. Name = "DebounceHit",
  377. Parent = hit.Parent,
  378. Value = true,
  379. }
  380. game:GetService("Debris"):AddItem(debounce, Delay)
  381. c = Create("ObjectValue"){
  382. Name = "creator",
  383. Value = Player,
  384. Parent = h,
  385. }
  386. game:GetService("Debris"):AddItem(c, .5)
  387. end
  388. end
  389. -------------------------------------------------------
  390. --End Damage Function--
  391. -------------------------------------------------------
  392.  
  393. -------------------------------------------------------
  394. --Start Damage Function Customization--
  395. -------------------------------------------------------
  396. function ShowDamage(Pos, Text, Time, Color)
  397. local Rate = (1 / 30)
  398. local Pos = (Pos or Vector3.new(0, 0, 0))
  399. local Text = (Text or "")
  400. local Time = (Time or 2)
  401. local Color = (Color or Color3.new(1, 0, 1))
  402. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  403. EffectPart.Anchored = true
  404. local BillboardGui = Create("BillboardGui"){
  405. Size = UDim2.new(3, 0, 3, 0),
  406. Adornee = EffectPart,
  407. Parent = EffectPart,
  408. }
  409. local TextLabel = Create("TextLabel"){
  410. BackgroundTransparency = 1,
  411. Size = UDim2.new(1, 0, 1, 0),
  412. Text = Text,
  413. Font = "Bodoni",
  414. TextColor3 = Color,
  415. TextScaled = true,
  416. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  417. Parent = BillboardGui,
  418. }
  419. game.Debris:AddItem(EffectPart, (Time))
  420. EffectPart.Parent = game:GetService("Workspace")
  421. delay(0, function()
  422. local Frames = (Time / Rate)
  423. for Frame = 1, Frames do
  424. wait(Rate)
  425. local Percent = (Frame / Frames)
  426. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  427. TextLabel.TextTransparency = Percent
  428. end
  429. if EffectPart and EffectPart.Parent then
  430. EffectPart:Destroy()
  431. end
  432. end)
  433. end
  434. -------------------------------------------------------
  435. --End Damage Function Customization--
  436. -------------------------------------------------------
  437.  
  438. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  439. for _, c in pairs(workspace:children()) do
  440. local hum = c:findFirstChild("Humanoid")
  441. if hum ~= nil then
  442. local head = c:findFirstChild("Head")
  443. if head ~= nil then
  444. local targ = head.Position - Part.Position
  445. local mag = targ.magnitude
  446. if magni >= mag and c.Name ~= plr.Name then
  447. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  448. end
  449. end
  450. end
  451. end
  452. end
  453.  
  454.  
  455. CFuncs = {
  456. Part = {
  457. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  458. local Part = Create("Part")({
  459. Parent = Parent,
  460. Reflectance = Reflectance,
  461. Transparency = Transparency,
  462. CanCollide = false,
  463. Locked = true,
  464. BrickColor = BrickColor.new(tostring(BColor)),
  465. Name = Name,
  466. Size = Size,
  467. Material = Material
  468. })
  469. RemoveOutlines(Part)
  470. return Part
  471. end
  472. },
  473. Mesh = {
  474. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  475. local Msh = Create(Mesh)({
  476. Parent = Part,
  477. Offset = OffSet,
  478. Scale = Scale
  479. })
  480. if Mesh == "SpecialMesh" then
  481. Msh.MeshType = MeshType
  482. Msh.MeshId = MeshId
  483. end
  484. return Msh
  485. end
  486. },
  487. Mesh = {
  488. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  489. local Msh = Create(Mesh)({
  490. Parent = Part,
  491. Offset = OffSet,
  492. Scale = Scale
  493. })
  494. if Mesh == "SpecialMesh" then
  495. Msh.MeshType = MeshType
  496. Msh.MeshId = MeshId
  497. end
  498. return Msh
  499. end
  500. },
  501. Weld = {
  502. Create = function(Parent, Part0, Part1, C0, C1)
  503. local Weld = Create("Weld")({
  504. Parent = Parent,
  505. Part0 = Part0,
  506. Part1 = Part1,
  507. C0 = C0,
  508. C1 = C1
  509. })
  510. return Weld
  511. end
  512. },
  513. Sound = {
  514. Create = function(id, par, vol, pit)
  515. coroutine.resume(coroutine.create(function()
  516. local S = Create("Sound")({
  517. Volume = vol,
  518. Pitch = pit or 1,
  519. SoundId = id,
  520. Parent = par or workspace
  521. })
  522. wait()
  523. S:play()
  524. game:GetService("Debris"):AddItem(S, 6)
  525. end))
  526. end
  527. },
  528. ParticleEmitter = {
  529. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  530. local fp = Create("ParticleEmitter")({
  531. Parent = Parent,
  532. Color = ColorSequence.new(Color1, Color2),
  533. LightEmission = LightEmission,
  534. Size = Size,
  535. Texture = Texture,
  536. Transparency = Transparency,
  537. ZOffset = ZOffset,
  538. Acceleration = Accel,
  539. Drag = Drag,
  540. LockedToPart = LockedToPart,
  541. VelocityInheritance = VelocityInheritance,
  542. EmissionDirection = EmissionDirection,
  543. Enabled = Enabled,
  544. Lifetime = LifeTime,
  545. Rate = Rate,
  546. Rotation = Rotation,
  547. RotSpeed = RotSpeed,
  548. Speed = Speed,
  549. VelocitySpread = VelocitySpread
  550. })
  551. return fp
  552. end
  553. }
  554. }
  555. function RemoveOutlines(part)
  556. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  557. end
  558. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  559. local Part = Create("Part")({
  560. formFactor = FormFactor,
  561. Parent = Parent,
  562. Reflectance = Reflectance,
  563. Transparency = Transparency,
  564. CanCollide = false,
  565. Locked = true,
  566. BrickColor = BrickColor.new(tostring(BColor)),
  567. Name = Name,
  568. Size = Size,
  569. Material = Material
  570. })
  571. RemoveOutlines(Part)
  572. return Part
  573. end
  574. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  575. local Msh = Create(Mesh)({
  576. Parent = Part,
  577. Offset = OffSet,
  578. Scale = Scale
  579. })
  580. if Mesh == "SpecialMesh" then
  581. Msh.MeshType = MeshType
  582. Msh.MeshId = MeshId
  583. end
  584. return Msh
  585. end
  586. function CreateWeld(Parent, Part0, Part1, C0, C1)
  587. local Weld = Create("Weld")({
  588. Parent = Parent,
  589. Part0 = Part0,
  590. Part1 = Part1,
  591. C0 = C0,
  592. C1 = C1
  593. })
  594. return Weld
  595. end
  596.  
  597.  
  598. -------------------------------------------------------
  599. --Start Effect Function--
  600. -------------------------------------------------------
  601. EffectModel = Instance.new("Model", char)
  602. Effects = {
  603. Block = {
  604. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  605. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  606. prt.Anchored = true
  607. prt.CFrame = cframe
  608. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  609. game:GetService("Debris"):AddItem(prt, 10)
  610. if Type == 1 or Type == nil then
  611. table.insert(Effects, {
  612. prt,
  613. "Block1",
  614. delay,
  615. x3,
  616. y3,
  617. z3,
  618. msh
  619. })
  620. elseif Type == 2 then
  621. table.insert(Effects, {
  622. prt,
  623. "Block2",
  624. delay,
  625. x3,
  626. y3,
  627. z3,
  628. msh
  629. })
  630. else
  631. table.insert(Effects, {
  632. prt,
  633. "Block3",
  634. delay,
  635. x3,
  636. y3,
  637. z3,
  638. msh
  639. })
  640. end
  641. end
  642. },
  643. Sphere = {
  644. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  645. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  646. prt.Anchored = true
  647. prt.CFrame = cframe
  648. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  649. game:GetService("Debris"):AddItem(prt, 10)
  650. table.insert(Effects, {
  651. prt,
  652. "Cylinder",
  653. delay,
  654. x3,
  655. y3,
  656. z3,
  657. msh
  658. })
  659. end
  660. },
  661. Cylinder = {
  662. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  663. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  664. prt.Anchored = true
  665. prt.CFrame = cframe
  666. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  667. game:GetService("Debris"):AddItem(prt, 10)
  668. table.insert(Effects, {
  669. prt,
  670. "Cylinder",
  671. delay,
  672. x3,
  673. y3,
  674. z3,
  675. msh
  676. })
  677. end
  678. },
  679. Wave = {
  680. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  681. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  682. prt.Anchored = true
  683. prt.CFrame = cframe
  684. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  685. game:GetService("Debris"):AddItem(prt, 10)
  686. table.insert(Effects, {
  687. prt,
  688. "Cylinder",
  689. delay,
  690. x3 / 60,
  691. y3 / 60,
  692. z3 / 60,
  693. msh
  694. })
  695. end
  696. },
  697. Ring = {
  698. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  699. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  700. prt.Anchored = true
  701. prt.CFrame = cframe
  702. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  703. game:GetService("Debris"):AddItem(prt, 10)
  704. table.insert(Effects, {
  705. prt,
  706. "Cylinder",
  707. delay,
  708. x3,
  709. y3,
  710. z3,
  711. msh
  712. })
  713. end
  714. },
  715. Break = {
  716. Create = function(brickcolor, cframe, x1, y1, z1)
  717. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  718. prt.Anchored = true
  719. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  720. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  721. local num = math.random(10, 50) / 1000
  722. game:GetService("Debris"):AddItem(prt, 10)
  723. table.insert(Effects, {
  724. prt,
  725. "Shatter",
  726. num,
  727. prt.CFrame,
  728. math.random() - math.random(),
  729. 0,
  730. math.random(50, 100) / 100
  731. })
  732. end
  733. },
  734. Spiral = {
  735. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  736. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  737. prt.Anchored = true
  738. prt.CFrame = cframe
  739. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  740. game:GetService("Debris"):AddItem(prt, 10)
  741. table.insert(Effects, {
  742. prt,
  743. "Cylinder",
  744. delay,
  745. x3,
  746. y3,
  747. z3,
  748. msh
  749. })
  750. end
  751. },
  752. Push = {
  753. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  754. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  755. prt.Anchored = true
  756. prt.CFrame = cframe
  757. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  758. game:GetService("Debris"):AddItem(prt, 10)
  759. table.insert(Effects, {
  760. prt,
  761. "Cylinder",
  762. delay,
  763. x3,
  764. y3,
  765. z3,
  766. msh
  767. })
  768. end
  769. }
  770. }
  771. -------------------------------------------------------
  772. --End Effect Function--
  773. -------------------------------------------------------
  774.  
  775. function CreateSound(ID, PARENT, VOLUME, PITCH)
  776. local NSound = nil
  777. coroutine.resume(coroutine.create(function()
  778. NSound = Instance.new("Sound", PARENT)
  779. NSound.Volume = VOLUME
  780. NSound.Pitch = PITCH
  781. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  782. swait()
  783. NSound:play()
  784. game:GetService("Debris"):AddItem(NSound, 10)
  785. end))
  786. return NSound
  787. end
  788.  
  789. -------------------------------------------------------
  790. --Start Kyu's shitty stuff--
  791. -------------------------------------------------------
  792.  
  793. function ragdoll(model)
  794. local char = model
  795. torso = char.HumanoidRootPart
  796. torso2 = char.Torso
  797. LW.Parent = nil
  798. RW.Parent = nil
  799. LH.Parent = nil
  800. RH.Parent = nil
  801. if hum ~= nil then
  802. hum.PlatformStand = true
  803. end
  804.  
  805. local Head = char:FindFirstChild("Head")
  806. if Head then
  807. local Neck = Instance.new("Weld")
  808. Neck.Name = "Neck"
  809. Neck.Part0 = torso
  810. Neck.Part1 = Head
  811. Neck.C0 = CFrame.new(0, 1.5, 0)
  812. Neck.C1 = CFrame.new()
  813. Neck.Parent = torso
  814. end
  815. local Limb = char:FindFirstChild("Right Arm")
  816. if Limb then
  817.  
  818. Limb.CFrame = torso.CFrame * CFrame.new(1.5, 0, 0)
  819. local Joint = Instance.new("Glue")
  820. Joint.Name = "RightShoulder"
  821. Joint.Part0 = torso
  822. Joint.Part1 = Limb
  823. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  824. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  825. Joint.Parent = torso
  826.  
  827. local B = Instance.new("Part")
  828. B.TopSurface = 0
  829. B.BottomSurface = 0
  830. B.formFactor = "Symmetric"
  831. B.Size = Vector3.new(1, 1, 1)
  832. B.Transparency = 1
  833. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  834. B.Parent = char
  835. local W = Instance.new("Weld")
  836. W.Part0 = Limb
  837. W.Part1 = B
  838. W.C0 = CFrame.new(0, -0.5, 0)
  839. W.Parent = Limb
  840.  
  841. end
  842. local Limb = char:FindFirstChild("Left Arm")
  843. if Limb then
  844.  
  845. Limb.CFrame = torso.CFrame * CFrame.new(-1.5, 0, 0)
  846. local Joint = Instance.new("Glue")
  847. Joint.Name = "LeftShoulder"
  848. Joint.Part0 = torso
  849. Joint.Part1 = Limb
  850. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  851. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  852. Joint.Parent = torso
  853.  
  854. local B = Instance.new("Part")
  855. B.TopSurface = 0
  856. B.BottomSurface = 0
  857. B.formFactor = "Symmetric"
  858. B.Size = Vector3.new(1, 1, 1)
  859. B.Transparency = 1
  860. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  861. B.Parent = char
  862. local W = Instance.new("Weld")
  863. W.Part0 = Limb
  864. W.Part1 = B
  865. W.C0 = CFrame.new(0, -0.5, 0)
  866. W.Parent = Limb
  867.  
  868. end
  869. local Limb = char:FindFirstChild("Right Leg")
  870. if Limb then
  871.  
  872. Limb.CFrame = torso.CFrame * CFrame.new(0.5, -2, 0)
  873. local Joint = Instance.new("Glue")
  874. Joint.Name = "RightHip"
  875. Joint.Part0 = torso
  876. Joint.Part1 = Limb
  877. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  878. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  879. Joint.Parent = torso
  880.  
  881. local B = Instance.new("Part")
  882. B.TopSurface = 0
  883. B.BottomSurface = 0
  884. B.formFactor = "Symmetric"
  885. B.Size = Vector3.new(1, 1, 1)
  886. B.Transparency = 1
  887. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  888. B.Parent = char
  889. local W = Instance.new("Weld")
  890. W.Part0 = Limb
  891. W.Part1 = B
  892. W.C0 = CFrame.new(0, -0.5, 0)
  893. W.Parent = Limb
  894.  
  895. end
  896. local Limb = char:FindFirstChild("Left Leg")
  897. if Limb then
  898.  
  899. Limb.CFrame = torso.CFrame * CFrame.new(-0.5, -2, 0)
  900. local Joint = Instance.new("Glue")
  901. Joint.Name = "LeftHip"
  902. Joint.Part0 = torso
  903. Joint.Part1 = Limb
  904. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  905. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  906. Joint.Parent = torso
  907.  
  908. local B = Instance.new("Part")
  909. B.TopSurface = 0
  910. B.BottomSurface = 0
  911. B.formFactor = "Symmetric"
  912. B.Size = Vector3.new(1, 1, 1)
  913. B.Transparency = 1
  914. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  915. B.Parent = char
  916. local W = Instance.new("Weld")
  917. W.Part0 = Limb
  918. W.Part1 = B
  919. W.C0 = CFrame.new(0, -0.5, 0)
  920. W.Parent = Limb
  921.  
  922. end
  923. --[
  924. local Bar = Instance.new("Part")
  925. Bar.TopSurface = 0
  926. Bar.BottomSurface = 0
  927. Bar.formFactor = "Symmetric"
  928. Bar.Size = Vector3.new(1, 1, 1)
  929. Bar.Transparency = 1
  930. Bar.CFrame = torso.CFrame * CFrame.new(0, 0.5, 0)
  931. Bar.Parent = char
  932. local Weld = Instance.new("Weld")
  933. Weld.Part0 = torso
  934. Weld.Part1 = Bar
  935. Weld.C0 = CFrame.new(0, 0.5, 0)
  936. Weld.Parent = torso
  937. --]]
  938.  
  939. torso.CFrame = CFrame.new(torso.Position)*CFrame.Angles(math.rad(20),math.rad(torso.Orientation.Y),math.rad(torso.Orientation.Z))
  940.  
  941. end
  942.  
  943. -------------------------------------------------------
  944. --End Kyu's shitty stuff--
  945. -------------------------------------------------------
  946.  
  947. function New(Object, Parent, Name, Data)
  948. local Object = Instance.new(Object)
  949. for Index, Value in pairs(Data or {}) do
  950. Object[Index] = Value
  951. end
  952. Object.Parent = Parent
  953. Object.Name = Name
  954. return Object
  955. end
  956.  
  957. local Blood1 = Create("ParticleEmitter")({
  958. Color = ColorSequence.new(Color3.new(0.7, 0, 0), Color3.new(0.1, 0, 0)),
  959. Transparency = NumberSequence.new(0.1, 1),
  960. Size = NumberSequence.new(0.5, 0),
  961. Texture = "rbxassetid://602578593",
  962. Lifetime = NumberRange.new(0.8),
  963. Rate = 255,
  964. VelocitySpread = 40,
  965. Rotation = NumberRange.new(100),
  966. Speed = NumberRange.new(5),
  967. LightEmission = 0,
  968. LockedToPart = false,
  969. Acceleration = Vector3.new(0, -10, 0),
  970. EmissionDirection = "Bottom"
  971. })
  972.  
  973. FHead = New("Part",char,"FHead",{CanCollide = false,BrickColor = BrickColor.new("Really black"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  974. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
  975. Weld = New("Weld",FHead,"mot",{Part0 = FHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  976. FHead.CanCollide = false
  977.  
  978. -------------------------------------------------------
  979. --End Important Functions--
  980. -------------------------------------------------------
  981.  
  982.  
  983. -------------------------------------------------------
  984. --Start Music Option--
  985. -------------------------------------------------------
  986. local Music = Instance.new("Sound",tors)
  987. Music.Volume = 2.5
  988. Music.SoundId = "rbxassetid://643172198"
  989. Music.Looped = true
  990. Music.Pitch = 1 --Pitcher
  991. Music:Play()
  992. -------------------------------------------------------
  993. --End Music Option--
  994. -------------------------------------------------------
  995.  
  996.  
  997. -------------------------------------------------------
  998. --Start Attacks N Stuff--
  999. -------------------------------------------------------
  1000.  
  1001.  
  1002.  
  1003.  
  1004. local sine=0
  1005. function ByeBye()
  1006. local target = nil
  1007. local targettorso = nil
  1008. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1009. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1010. target = mouse.Target.Parent.Humanoid
  1011. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1012. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1013. end
  1014. end
  1015. if target ~= nil then
  1016. targettorso.Anchored = true
  1017. attack = true
  1018. hum.WalkSpeed = 0
  1019. root.CFrame = targettorso.CFrame * CF(0,0,2)
  1020. for i = 0,4.2,0.1 do
  1021. swait()
  1022. 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)
  1023. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1024. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1025. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1026. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  1027. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  1028. end
  1029. local bloody = Instance.new("ParticleEmitter",targettorso)
  1030. bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1031. bloody.LightEmission = .1
  1032. bloody.Size = NumberSequence.new(0.5, 0)
  1033. bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
  1034. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1035. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1036. bloody.Transparency = bbb
  1037. bloody.Size = aaa
  1038. bloody.ZOffset = -.9
  1039. bloody.Acceleration = Vector3.new(0, -5, 0)
  1040. bloody.LockedToPart = false
  1041. bloody.Lifetime = NumberRange.new(0.8)
  1042. bloody.Rate = 255
  1043. bloody.Rotation = NumberRange.new(-100, 100)
  1044. bloody.RotSpeed = NumberRange.new(-100, 100)
  1045. bloody.Speed = NumberRange.new(6)
  1046. bloody.VelocitySpread = 0
  1047. bloody.Enabled=true
  1048. targethead:Remove()
  1049. CreateSound("429400881", targettorso, 5, .8)
  1050. CreateSound("1093102664", targettorso, 10, 1)
  1051. for i = 0,6.2,0.1 do
  1052. swait()
  1053. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
  1054. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  1055. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1056. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1057. RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
  1058. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  1059. end
  1060. targettorso.Anchored = false
  1061. attack = false
  1062. hum.WalkSpeed = 16
  1063. root.CFrame = targettorso.CFrame * CF(0,0,3)
  1064. end
  1065. end
  1066.  
  1067.  
  1068. function Sayonara()
  1069. local target = nil
  1070. local targettorso = nil
  1071. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1072. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1073. target = mouse.Target.Parent.Humanoid
  1074. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1075. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1076. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  1077. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  1078. end
  1079. end
  1080. if target ~= nil then
  1081. targettorso.Anchored = true
  1082. attack = true
  1083. hum.WalkSpeed = 0
  1084. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  1085. for i = 0,6.2,0.1 do
  1086. swait()
  1087. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  1088. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  1089. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  1090. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  1091. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  1092. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  1093. end
  1094. do
  1095. CreateSound("429400881", targettorso, 5, 1)
  1096. local ModelArm02 = New("Model", char, "Arm", {})
  1097. local ModelArm03 = New("Model", char, "Arm", {})
  1098. local Humanoid02 = New("Humanoid", ModelArm02, "Humanoid", {})
  1099. local Humanoid03 = New("Humanoid", ModelArm03, "Humanoid", {})
  1100. local Arm02 = targetleftarm:Clone()
  1101. local Arm03 = targetrightarm:Clone()
  1102. targetleftarm.Transparency = 1
  1103. targetrightarm.Transparency = 1
  1104. Arm02.Parent = ModelArm02
  1105. Arm03.Parent = ModelArm03
  1106. for i, v in pairs(Arm02:GetChildren()) do
  1107. v:Destroy()
  1108. end
  1109. for i, v in pairs(Arm03:GetChildren()) do
  1110. v:Destroy()
  1111. end
  1112. local weldArm02 = Instance.new("Weld")
  1113. weldArm02.Parent = Arm02
  1114. weldArm02.Part0 = targetleftarm
  1115. weldArm02.Part1 = Arm02
  1116. weldArm02.C1 = CFrame.new(0, 0, 0)
  1117. local weldArm03 = Instance.new("Weld")
  1118. weldArm03.Parent = Arm03
  1119. weldArm03.Part0 = targetrightarm
  1120. weldArm03.Part1 = Arm03
  1121. weldArm03.C1 = CFrame.new(0, 0, 0)
  1122. for i, v in pairs(target:GetChildren()) do
  1123. if v:IsA("Shirt") then
  1124. v:clone().Parent = ModelArm02
  1125. end
  1126. end
  1127. for i, v in pairs(target:GetChildren()) do
  1128. if v:IsA("Shirt") then
  1129. v:clone().Parent = ModelArm03
  1130. end
  1131. end
  1132. weldArm02.Part0 = la
  1133. weldArm02.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1134. weldArm03.Part0 = ra
  1135. weldArm03.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1136. local BE1 = Blood1:Clone()
  1137. BE1.Parent = targetleftarm
  1138. game:GetService("Debris"):AddItem(BE1, 3)
  1139. BE1.Rate = 255
  1140. local BE2 = Blood1:Clone()
  1141. BE2.Parent = targetrightarm
  1142. game:GetService("Debris"):AddItem(BE2, 3)
  1143. BE2.Rate = 255
  1144. for i = 0,6.2,0.1 do
  1145. swait()
  1146. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  1147. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1148. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  1149. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  1150. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  1151. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  1152. end
  1153. for i = 0,6.2,0.1 do
  1154. swait()
  1155. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1156. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1157. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1158. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1159. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  1160. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  1161. end
  1162. CreateSound("541909763", targettorso, 5, .8)
  1163. weldArm02:Destroy()
  1164. Arm02.CanCollide = true
  1165. weldArm03:Destroy()
  1166. Arm03.CanCollide = true
  1167. local bodyVelocity2 = Create("BodyVelocity")({
  1168. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1169. P = 5000,
  1170. maxForce = Vector3.new(8000, 8000, 8000),
  1171. Parent = Arm02
  1172. })
  1173. local bodyVelocity3 = Create("BodyVelocity")({
  1174. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1175. P = 5000,
  1176. maxForce = Vector3.new(8000, 8000, 8000),
  1177. Parent = Arm03
  1178. })
  1179. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1180. game:GetService("Debris"):AddItem(bodyVelocity3, 0.05)
  1181. for i = 0,6.2,0.1 do
  1182. swait()
  1183. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1184. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1185. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  1186. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1187. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  1188. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  1189. end
  1190. for i = 0,6.2,0.1 do
  1191. swait()
  1192. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  1193. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1194. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  1195. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1196. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  1197. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  1198. end
  1199. targettorso:Remove()
  1200. for i = 0,6.2,0.1 do
  1201. swait()
  1202. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  1203. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1204. RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  1205. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-35)), 0.15)
  1206. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  1207. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  1208. end
  1209. end
  1210. targettorso.Anchored = false
  1211. attack = false
  1212. hum.WalkSpeed = 16
  1213. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1214. end
  1215. end
  1216.  
  1217. function AlohaMyFriend()
  1218. local target = nil
  1219. local targettorso = nil
  1220. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1221. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1222. target = mouse.Target.Parent.Humanoid
  1223. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1224. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1225. end
  1226. end
  1227. if target ~= nil then
  1228. targettorso.Anchored = true
  1229. attack = true
  1230. hum.WalkSpeed = 0
  1231. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1232. for i = 0,6.2,0.1 do
  1233. swait()
  1234. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1235. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1236. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1237. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1238. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  1239. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1240. end
  1241. local ModelHead01 = New("Model", char, "Head of Decapitated", {})
  1242. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1243. local Head01 = targethead:Clone()
  1244. targethead.Transparency = 1
  1245. Head01.Parent = ModelHead01
  1246. local weldHead01 = Instance.new("Weld")
  1247. weldHead01.Parent = Head01
  1248. weldHead01.Part0 = targethead
  1249. weldHead01.Part1 = Head01
  1250. weldHead01.C1 = CFrame.new(0, 0, 0)
  1251. targethead.face:Remove()
  1252. weldHead01.Part0 = ra
  1253. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1254. local BE1 = Blood1:Clone()
  1255. BE1.Parent = targethead
  1256. game:GetService("Debris"):AddItem(BE1, 3)
  1257. BE1.Rate = 255
  1258. targettorso:BreakJoints()
  1259. CreateSound("314390675", targettorso, 5, .7)
  1260. for i = 0,4.2,0.1 do
  1261. swait()
  1262. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  1263. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1264. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1265. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1266. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(145), Rad(0), Rad(-15)), 0.1)
  1267. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1268. end
  1269. for i = 0,6.2,0.1 do
  1270. swait()
  1271. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  1272. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1273. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1274. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1275. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  1276. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1277. end
  1278. CreateSound("541909763", targettorso, 5, .8)
  1279. weldHead01:Destroy()
  1280. Head01.CanCollide = true
  1281. local bodyVelocity2 = Create("BodyVelocity")({
  1282. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1283. P = 5000,
  1284. maxForce = Vector3.new(8000, 8000, 8000),
  1285. Parent = Head01
  1286. })
  1287. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1288. for i = 0,6.2,0.1 do
  1289. swait()
  1290. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1291. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1292. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1293. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1294. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  1295. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  1296. end
  1297. targettorso.Anchored = false
  1298. attack = false
  1299. hum.WalkSpeed = 16
  1300. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1301. end
  1302. end
  1303.  
  1304. function Good_Bye()
  1305. local target = nil
  1306. local targettorso = nil
  1307. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1308. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1309. target = mouse.Target.Parent.Humanoid
  1310. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1311. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1312. end
  1313. end
  1314. if target ~= nil then
  1315. targettorso.Anchored = true
  1316. attack = true
  1317. hum.WalkSpeed = 0
  1318. root.CFrame = targettorso.CFrame * CF(0,0,3)
  1319. for i = 0,6.2,0.1 do
  1320. swait()
  1321. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.15)
  1322. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  1323. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1324. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1325. RW.C0 = clerp(RW.C0, CF(1.3, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
  1326. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1327. end
  1328. local BloodColor = Color3.new(1, 0, 0)
  1329. local PE1 = Blood1:Clone()
  1330. local PE2 = Blood1:Clone()
  1331. local Heart = Instance.new("Part")
  1332. Heart.Parent = workspace
  1333. Heart.Size = Vector3.new(1, 1, 1)
  1334. Heart.Archivable = true
  1335. Heart.Transparency = 0
  1336. Heart.CanCollide = false
  1337. Heart.BrickColor = BrickColor.new("Really red")
  1338. Heart.Material = "Granite"
  1339. Heart.CanCollide = true
  1340. local weld1Heart = Instance.new("Weld")
  1341. weld1Heart.Parent = ra
  1342. weld1Heart.Part0 = ra
  1343. weld1Heart.Part1 = Heart
  1344. weld1Heart.C1 = CFrame.new(0, 1.3, 0)
  1345. CreateSound("429400881", targettorso, 5, 1)
  1346. CreateSound("131038747", targettorso, 7, 1)
  1347. PE1.Parent = ra
  1348. PE2.Parent = Heart
  1349. game:GetService("Debris"):AddItem(PE1, 3)
  1350. game:GetService("Debris"):AddItem(weld1Heart, 1.5)
  1351. game:GetService("Debris"):AddItem(Heart, 8)
  1352. for i = 0,8,0.1 do
  1353. swait()
  1354. rootj.C0 = clerp(rootj.C0, RootCF * CF(1.2, -2.5, -0.2) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1355. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(-45)), 0.3)
  1356. RH.C0 = clerp(RH.C0, CF(1, -0.8, -0.4) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1357. LH.C0 = clerp(LH.C0, CF(-1, -0.8, -0.2) * LHCF * angles(Rad(-5), Rad(0), Rad(56)), 0.15)
  1358. RW.C0 = clerp(RW.C0, CF(1.5, 0.51 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(40)), 0.1)
  1359. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1360. end
  1361. targettorso:BreakJoints()
  1362. for i = 0,9,0.1 do
  1363. swait()
  1364. 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)
  1365. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-20)), 0.3)
  1366. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1367. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1368. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  1369. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  1370. end
  1371. targettorso.Anchored = false
  1372. attack = false
  1373. hum.WalkSpeed = 16
  1374. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1375. end
  1376. end
  1377.  
  1378. function Taunt()
  1379. attack = true
  1380. hum.WalkSpeed = 0
  1381. CreateSound("290084602", tors, 10, 1)
  1382. for i = 0,6.2,0.1 do
  1383. swait()
  1384. 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)
  1385. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.3)
  1386. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  1387. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  1388. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(145)), 0.1)
  1389. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-0), Rad(0), Rad(-145)), 0.1)
  1390. end
  1391. for i = 0,6.2,0.1 do
  1392. swait()
  1393. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  1394. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1395. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  1396. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1397. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  1398. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  1399. end
  1400. attack = false
  1401. hum.WalkSpeed = 16
  1402. end
  1403. -------------------------------------------------------
  1404. --End Attacks N Stuff--
  1405. -------------------------------------------------------
  1406. mouse.KeyDown:connect(function(key)
  1407. if attack == false then
  1408. if key == 'e' then
  1409. ByeBye()
  1410. elseif key == 'q' then
  1411. Sayonara()
  1412. elseif key == 'r' then
  1413. AlohaMyFriend()
  1414. elseif key == 'f' then
  1415. Good_Bye()
  1416. elseif key == 't' then
  1417. Taunt()
  1418. end
  1419. end
  1420. end)
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427. -------------------------------------------------------
  1428. --Start Animations--
  1429. -------------------------------------------------------
  1430. local equipped = false
  1431. local idle = 0
  1432. local change = 1
  1433. local val = 0
  1434. local toim = 0
  1435. local idleanim = 0.4
  1436. hum.Animator.Parent = nil
  1437. while true do
  1438. swait()
  1439. sine = sine + change
  1440.  
  1441. Music.Parent = char
  1442. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1443. local velderp = root.Velocity.y
  1444. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
  1445. if equipped == true or equipped == false then
  1446. if attack == false then
  1447. idle = idle + 1
  1448. else
  1449. idle = 0
  1450. end
  1451. if 1 < root.Velocity.y and hitfloor == nil then
  1452. Anim = "Jump"
  1453. if attack == false then
  1454. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1455. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  1456. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1457. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1458. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1459. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1460. end
  1461. elseif -1 > root.Velocity.y and hitfloor == nil then
  1462. Anim = "Fall"
  1463. if attack == false then
  1464. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.3)
  1465. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  1466. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(Rad(30), Rad(0), Rad(20)), 0.3)
  1467. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-20), Rad(0), Rad(-30)), 0.3)
  1468. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  1469. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  1470. end
  1471. elseif torvel < 1 and hitfloor ~= nil then
  1472. Anim = "Idle"
  1473. change = 1
  1474. if attack == false then
  1475. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(5), Rad(0), Rad(0)), 0.15)
  1476. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(-10 - 2.5 * Sin(sine/ 20)), Rad(20 * Cos(sine / 20))), 0.3)
  1477. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), -.2 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-3.5), Rad(0), Rad(5)), 0.15)
  1478. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-7), Rad(0), Rad(-5)), 0.15)
  1479. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(10 + 5 * Sin(sine/ 20))), 0.1)
  1480. LW.C0 = clerp(LW.C0, CF(-1.4, 0.5 + 0.10 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-10 - 5 * Sin(sine/ 20))), 0.1)
  1481. end
  1482. elseif tors.Velocity.magnitude < 50 and hitfloor ~= nil then
  1483. Anim = "Walk"
  1484. change = 1
  1485. if attack == false then
  1486. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(9-2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(10 * Cos(sine / 7))), 0.15)
  1487. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1488. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 - 35 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1489. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.5 * Cos(sine / 7) / 2) * angles(Rad(-15 + 35 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1490. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(70) * Cos(sine / 7) , Rad(0), Rad(10) - ra.RotVelocity.Y / 75), 0.1)
  1491. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-70) * Cos(sine / 7) , Rad(0) , Rad(-10) + la.RotVelocity.Y / 75), 0.1)
  1492. end
  1493. end
  1494. end
  1495. if 0 < #Effects then
  1496. for e = 1, #Effects do
  1497. if Effects[e] ~= nil then
  1498. local Thing = Effects[e]
  1499. if Thing ~= nil then
  1500. local Part = Thing[1]
  1501. local Mode = Thing[2]
  1502. local Delay = Thing[3]
  1503. local IncX = Thing[4]
  1504. local IncY = Thing[5]
  1505. local IncZ = Thing[6]
  1506. if 1 >= Thing[1].Transparency then
  1507. if Thing[2] == "Block1" then
  1508. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1509. local Mesh = Thing[1].Mesh
  1510. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1511. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1512. elseif Thing[2] == "Block2" then
  1513. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1514. local Mesh = Thing[7]
  1515. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1516. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1517. elseif Thing[2] == "Block3" then
  1518. 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)
  1519. local Mesh = Thing[7]
  1520. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1521. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1522. elseif Thing[2] == "Cylinder" then
  1523. local Mesh = Thing[1].Mesh
  1524. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1525. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1526. elseif Thing[2] == "Blood" then
  1527. local Mesh = Thing[7]
  1528. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1529. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1530. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1531. elseif Thing[2] == "Elec" then
  1532. local Mesh = Thing[1].Mesh
  1533. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1534. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1535. elseif Thing[2] == "Disappear" then
  1536. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1537. elseif Thing[2] == "Shatter" then
  1538. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1539. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1540. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1541. Thing[6] = Thing[6] + Thing[5]
  1542. end
  1543. else
  1544. Part.Parent = nil
  1545. table.remove(Effects, e)
  1546. end
  1547. end
  1548. end
  1549. end
  1550. end
  1551. end
  1552. -------------------------------------------------------
  1553. --End Animations And Script--
  1554. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement