Advertisement
artucox7

Bye Bye Edit

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