ItzPartapika

Soviet Officer.....

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