Advertisement
Kittdy2

Untitled

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