Advertisement
Kermat161

3f3fdwwd32f

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