Advertisement
Kittdy2

Untitled

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