Advertisement
artucox7

Mercyless(Bye Bye Edit)

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