Dark_EccentricYT

Untitled

Jan 31st, 2021 (edited)
10,156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.31 KB | None | 0 0
  1. --[[
  2. Hat to wear: https://www.roblox.com/catalog/4506945409/Corrupt-Demonic-Greatsword
  3. ]]--
  4.  
  5. Bypass = "death"
  6. loadstring(game:GetObjects("rbxassetid://5325226148")[1].Source)()
  7. plr = game.Players.LocalPlayer
  8. dead = false
  9. char = plr.Character
  10.  
  11. bullet = workspace[plr.Name]["HumanoidRootPart"]
  12. bullet.Transparency = 0
  13. bhandle = bullet
  14. bullet.Massless = true
  15. bullet:FindFirstChildOfClass("Attachment"):Destroy()
  16. bullet:FindFirstChildOfClass("Attachment"):Destroy()
  17. bullet:FindFirstChildOfClass("Attachment"):Destroy()
  18.  
  19. mouse = plr:GetMouse()
  20. head = char.Head
  21. camera = workspace.CurrentCamera
  22. lt = true
  23. ltt = false
  24.  
  25. local function IsFirstPerson()
  26. return (head.CFrame.p - camera.CFrame.p).Magnitude < 1
  27. end
  28.  
  29. bbv = Instance.new("BodyPosition",bhandle)
  30. bbv.Position = char.Torso.CFrame.p
  31.  
  32.  
  33.  
  34. mouse.Button1Down:Connect(function()
  35. if dead == false then
  36. lt = false
  37. ltt = false
  38. bbav = Instance.new("BodyAngularVelocity",bhandle)
  39. bbav.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  40. bbav.P = 1000000000000000000000000000
  41. bbav.AngularVelocity = Vector3.new(10000000000000000000000000000000,100000000000000000000000000,100000000000000000)
  42. game:GetService("Debris"):AddItem(bbav,0.1)
  43. if game.Players:GetPlayerFromCharacter(mouse.Target.Parent) then
  44. if mouse.Target.Parent.Name == char.Name or mouse.Target.Parent.Name == "non" then return end
  45. --repeat
  46. game:GetService("RunService").RenderStepped:Wait()
  47. bbv.Position = (CFrame.new(mouse.Target.Parent.HumanoidRootPart.CFrame.p,char.Torso.CFrame.p) * CFrame.new(0,0,0)).p
  48. bhandle.Position = (CFrame.new(mouse.Target.Parent.HumanoidRootPart.CFrame.p,char.Torso.CFrame.p) * CFrame.new(0,0,0)).p
  49. wait(1)
  50. --until char.Humanoid.Health == 100 or char.Humanoid.Health == 0
  51. elseif game.Players:GetPlayerFromCharacter(mouse.Target.Parent.Parent) then
  52. if mouse.Target.Parent.Name == char.Name or mouse.Target.Parent.Name == "non" then return end
  53. --repeat
  54. game:GetService("RunService").RenderStepped:Wait()
  55. bbv.Position = (CFrame.new(mouse.Target.Parent.Parent.HumanoidRootPart.CFrame.p,char.Torso.CFrame.p) * CFrame.new(0,0,0)).p
  56. bhandle.Position = (CFrame.new(mouse.Target.Parent.Parent.HumanoidRootPart.CFrame.p,char.Torso.CFrame.p) * CFrame.new(0,0,0)).p
  57. wait(1)
  58. --until char.Humanoid.Health == 100 or char.Humanoid.Health == 0
  59.  
  60. else
  61. -- repeat
  62. game:GetService("RunService").RenderStepped:Wait()
  63. bbv.Position = mouse.Hit.p
  64. bhandle.Position = mouse.Hit.p
  65. wait(1)
  66. --until char.Humanoid.Health == 100 or char.Humanoid.Health == 0
  67. end
  68. wait()
  69. lt = true
  70. end
  71. end)
  72.  
  73. char.Humanoid.Died:Connect(function()
  74. dead = true
  75. end)
  76. repeat
  77. game:GetService("RunService").RenderStepped:Wait()
  78. if dead == false and bhandle.CanCollide == true then
  79. bhandle.CanCollide = false
  80. end
  81. --if lt == true and dead == false then
  82. --bhandle.CFrame = char.Torso.CFrame
  83. bbv.Position = char.Torso.CFrame.p
  84. if ltt == true and dead == false then
  85. --bhandle.CFrame = char.Torso.CFrame * CFrame.new(0,0,-6)
  86. bhandle.Rotation = char.Torso.Rotation
  87. end
  88. until char.Humanoid.Health == 0
  89.  
  90.  
  91. -----------------------------------------------------------------------------------
  92.  
  93. local plrs = game:GetService("Players")
  94. local plr = plrs.LocalPlayer
  95. local char = workspace.non
  96. local tweenserv = game:GetService("TweenService")
  97. local lighting = game:GetService("Lighting")
  98. local hum = char:FindFirstChildOfClass("Humanoid")
  99. local mou = plr:GetMouse()
  100. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  101. local root = char:FindFirstChild("HumanoidRootPart")
  102. local head = char:FindFirstChild("Head")
  103. local face = head:FindFirstChildOfClass("Decal")
  104. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  105. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  106. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  107. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  108. local neck = tor:FindFirstChild("Neck")
  109. local rootj = root:FindFirstChild("RootJoint")
  110. local LS = tor:FindFirstChild("Left Shoulder")
  111. local RS = tor:FindFirstChild("Right Shoulder")
  112. local LH = tor:FindFirstChild("Left Hip")
  113. local RH = tor:FindFirstChild("Right Hip")
  114. local bp = plr:FindFirstChild("Backpack")
  115.  
  116. hum:ClearAllChildren()
  117. char.Animate:remove()
  118.  
  119. local rootj0 = rootj.C0
  120. local neck0 = neck.C0
  121. local LS0 = LS.C0
  122. local RS0 = RS.C0
  123. local LH0 = LH.C0
  124. local RH0 = RH.C0
  125. local rootj1 = rootj.C1
  126. local neck1 = neck.C1
  127. local LS1 = LS.C1
  128. local RS1 = RS.C1
  129. local LH1 = LH.C1
  130. local RH1 = RH.C1
  131.  
  132. -----------------------------------------------------------------------------------
  133.  
  134. local CFn = CFrame.new
  135. local CFa = CFrame.Angles
  136. local Rad = math.rad
  137. local Sin = math.sin
  138. local Cos = math.cos
  139. local sine = 1
  140.  
  141. char.MeshPartAccessory.Handle.AccessoryWeld:Destroy()
  142. local penp = char.MeshPartAccessory.Handle
  143. local penpw = Instance.new("Weld", penp)
  144. penpw.Part0 = rarm
  145. penpw.Part1 = penp
  146. penpw.C1 = CFn(0, -1, 0) * CFa(0, 0, Rad(180))
  147. local penpw0 = penpw.C0
  148. local penpw1 = penpw.C1
  149.  
  150. local penw = penpw
  151. local penw0 = penw.C0
  152. local penw1 = penw.C1
  153.  
  154. -----------------------------------------------------------------------------------
  155.  
  156. local ws = 16
  157. local jp = 50
  158. local out = false
  159. local ouch = false
  160. local hitok = false
  161. local canattack = true
  162. local stabstate = 1
  163. local Stabbing = false
  164. local Throwing = false
  165. local rot = 1
  166. local dmg = 5
  167.  
  168. -----------------------------------------------------------------------------------
  169.  
  170. ArtificialHB = Instance.new("BindableEvent", script)
  171. ArtificialHB.Name = "Heartbeat"
  172. script:WaitForChild("Heartbeat")
  173.  
  174. frame = 1 / 60
  175. tf = 0
  176. allowframeloss = false
  177. tossremainder = false
  178.  
  179.  
  180. lastframe = tick()
  181. script.Heartbeat:Fire()
  182.  
  183. game:GetService("RunService").Heartbeat:connect(function(s, p)
  184. tf = tf + s
  185. if tf >= frame then
  186. if allowframeloss then
  187. script.Heartbeat:Fire()
  188. lastframe = tick()
  189. else
  190. for i = 1, math.floor(tf / frame) do
  191. script.Heartbeat:Fire()
  192. end
  193. lastframe = tick()
  194. end
  195. if tossremainder then
  196. tf = 0
  197. else
  198. tf = tf - frame * math.floor(tf / frame)
  199. end
  200. end
  201. end)
  202.  
  203. function swait(num)
  204. if num == 0 or num == nil then
  205. game:service("RunService").Stepped:wait(0)
  206. else
  207. for i = 0, num do
  208. game:service("RunService").Stepped:wait(0)
  209. end
  210. end
  211. end
  212.  
  213. function clerp(a, b, t)
  214. return a:lerp(b, t)
  215. end
  216.  
  217. function ToggleSharp()
  218. if not button:FindFirstChild("Penclickit360") then
  219. local clickso = Instance.new("Sound", button)
  220. clickso.SoundId = "rbxassetid://537744814"
  221. clickso.Name = "Penclickit360"
  222. clickso.Volume = 5
  223. clickso:Play()
  224. else
  225. local clickso = button:FindFirstChild("Penclickit360")
  226. clickso:Play()
  227. end
  228. if out == false then
  229. dmg = 30
  230. out = true
  231. else
  232. dmg = 5
  233. out = false
  234. end
  235. end
  236.  
  237. function Stab()
  238. if stabstate == 1 and canattack == true then
  239. Stabbing = true
  240. canattack = false
  241. stabstate = 2
  242. hum.WalkSpeed = 3
  243. hum.JumpPower = 7
  244. hitok = true
  245. penp.Touched:connect(function(hit)
  246. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent:FindFirstChildOfClass("Humanoid") then
  247. hitok = false
  248. local owdude = hit.Parent
  249. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  250. if out == true then
  251. local bloodsound = Instance.new("Sound", hit)
  252. bloodsound.Volume = 10
  253. bloodsound.SoundId = "rbxassetid://180083298"
  254. bloodsound:Play()
  255. game:GetService("Debris"):AddItem(bloodsound, 1)
  256. local bloodsplash = Instance.new("ParticleEmitter", hit)
  257. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  258. bloodsplash.Speed = NumberRange.new(6)
  259. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  260. bloodsplash.Rate = 1000
  261. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  262. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  263. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  264. bloodsplash.Texture = "rbxassetid://771221224"
  265. game:GetService("Debris"):AddItem(bloodsplash, 1)
  266. wait(0.25)
  267. bloodsplash.Enabled = false
  268. end
  269. end
  270. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  271. hitok = false
  272. local owdude = hit.Parent.Parent
  273. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  274. if out == true then
  275. local bloodsound = Instance.new("Sound", hit)
  276. bloodsound.Volume = 10
  277. bloodsound.SoundId = "rbxassetid://180083298"
  278. bloodsound:Play()
  279. game:GetService("Debris"):AddItem(bloodsound, 1)
  280. local bloodsplash = Instance.new("ParticleEmitter", hit)
  281. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  282. bloodsplash.Speed = NumberRange.new(6)
  283. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  284. bloodsplash.Rate = 1000
  285. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  286. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  287. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  288. bloodsplash.Texture = "rbxassetid://771221224"
  289. game:GetService("Debris"):AddItem(bloodsplash, 1)
  290. wait(0.25)
  291. bloodsplash.Enabled = false
  292. end
  293. end
  294. end)
  295. for i = 0,1,.15 do
  296. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  297. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  298. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  299. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  300. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-30), Rad(-30), Rad(-3)), i)
  301. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  302. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  303. LS.C0 = clerp(LS.C0, LS0, i)
  304. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(150)), i)
  305. LH.C0 = clerp(LH.C0, LH0, i)
  306. RH.C0 = clerp(RH.C0, RH0, i)
  307. swait()
  308. end
  309. for i = 0,1,.15 do
  310. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  311. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  312. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  313. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  314. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), Rad(-30), Rad(-3)), i)
  315. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  316. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  317. LS.C0 = clerp(LS.C0, LS0, i)
  318. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(20)), i)
  319. LH.C0 = clerp(LH.C0, LH0, i)
  320. RH.C0 = clerp(RH.C0, RH0, i)
  321. swait()
  322. end
  323. hitok = false
  324. hum.WalkSpeed = ws
  325. hum.JumpPower = jp
  326. canattack = true
  327. Stabbing = false
  328. elseif stabstate == 2 and canattack == true then
  329. canattack = false
  330. stabstate = 1
  331. hum.WalkSpeed = 3
  332. hum.JumpPower = 7
  333. hitok = true
  334. penp.Touched:connect(function(hit)
  335. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent:FindFirstChildOfClass("Humanoid") then
  336. local owdude = hit.Parent
  337. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  338. if out == true then
  339. local bloodsound = Instance.new("Sound", hit)
  340. bloodsound.Volume = 10
  341. bloodsound.SoundId = "rbxassetid://180083298"
  342. bloodsound:Play()
  343. game:GetService("Debris"):AddItem(bloodsound, 1)
  344. local bloodsplash = Instance.new("ParticleEmitter", hit)
  345. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  346. bloodsplash.Speed = NumberRange.new(6)
  347. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  348. bloodsplash.Rate = 1000
  349. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  350. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  351. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  352. bloodsplash.Texture = "rbxassetid://771221224"
  353. game:GetService("Debris"):AddItem(bloodsplash, 1)
  354. wait(0.25)
  355. bloodsplash.Enabled = false
  356. end
  357. end
  358. if hitok == true and not hit:IsDescendantOf(char) and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  359. hitok = false
  360. local owdude = hit.Parent.Parent
  361. local owhum = owdude:FindFirstChildOfClass("Humanoid")
  362. if out == true then
  363. local bloodsound = Instance.new("Sound", hit)
  364. bloodsound.Volume = 10
  365. bloodsound.SoundId = "rbxassetid://180083298"
  366. bloodsound:Play()
  367. game:GetService("Debris"):AddItem(bloodsound, 1)
  368. local bloodsplash = Instance.new("ParticleEmitter", hit)
  369. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  370. bloodsplash.Speed = NumberRange.new(6)
  371. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  372. bloodsplash.Rate = 1000
  373. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  374. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  375. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  376. bloodsplash.Texture = "rbxassetid://771221224"
  377. game:GetService("Debris"):AddItem(bloodsplash, 1)
  378. wait(0.25)
  379. bloodsplash.Enabled = false
  380. end
  381. end
  382. end)
  383. for i = 0,1,.15 do
  384. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  385. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  386. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  387. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  388. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(30), Rad(30), Rad(-3)), i)
  389. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  390. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  391. LS.C0 = clerp(LS.C0, LS0, i)
  392. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(150)), i)
  393. LH.C0 = clerp(LH.C0, LH0, i)
  394. RH.C0 = clerp(RH.C0, RH0, i)
  395. swait()
  396. end
  397. for i = 0,1,.15 do
  398. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), i)
  399. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  400. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  401. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  402. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(-20), Rad(30), Rad(-3)), i)
  403. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  404. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  405. LS.C0 = clerp(LS.C0, LS0, i)
  406. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(20)), i)
  407. LH.C0 = clerp(LH.C0, LH0, i)
  408. RH.C0 = clerp(RH.C0, RH0, i)
  409. swait()
  410. end
  411. hitok = false
  412. hum.WalkSpeed = ws
  413. hum.JumpPower = jp
  414. canattack = true
  415. Stabbing = false
  416. end
  417. end
  418.  
  419. function Throw()
  420. if canattack == true then
  421. Throwing = true
  422. canattack = false
  423. hum.WalkSpeed = 3
  424. hum.JumpPower = 7
  425. ouch = true
  426. for i = 0,1,.15 do
  427. penw.C1 = clerp(penw.C1, penw1 * CFa(0, 0, Rad(-90)), i)
  428. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  429. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025), i)
  430. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  431. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(-30), Rad(-3)), i)
  432. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), 0), i)
  433. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), 0), i)
  434. LS.C0 = clerp(LS.C0, LS0, i)
  435. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(90), Rad(90)), i)
  436. LH.C0 = clerp(LH.C0, LH0, i)
  437. RH.C0 = clerp(RH.C0, RH0, i)
  438. swait()
  439. end
  440. local throwpen = pen:Clone()
  441. for i,v in pairs(throwpen:GetChildren()) do
  442. if v:IsA("BasePart") and v.CanCollide == true then
  443. v.CanCollide = false
  444. end
  445. end
  446. throwpen.Parent = workspace
  447. local throwbod = throwpen:FindFirstChild("body")
  448. if throwbod:FindFirstChild("penWeld22") then
  449. throwbod:FindFirstChild("penWeld22"):Destroy()
  450. end
  451. local throwbv = Instance.new("BodyVelocity", throwbod)
  452. throwbv.Velocity = mou.Hit.lookVector * 100
  453. throwbv.MaxForce = Vector3.new(100000000000000000, 100000000000000000, 100000000000000000)
  454. throwbod.Touched:connect(function(hit)
  455. if ouch == true and not hit:IsDescendantOf(char) then
  456. ouch = false
  457. throwpen:Destroy()
  458. if hit.Parent:FindFirstChildOfClass("Humanoid") then
  459. local throwhum = hit.Parent:FindFirstChildOfClass("Humanoid")
  460. if out == true then
  461. local bloodsound = Instance.new("Sound", hit)
  462. bloodsound.Volume = 10
  463. bloodsound.SoundId = "rbxassetid://180083286"
  464. bloodsound:Play()
  465. game:GetService("Debris"):AddItem(bloodsound, 1)
  466. local bloodsplash = Instance.new("ParticleEmitter", hit)
  467. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  468. bloodsplash.Speed = NumberRange.new(6)
  469. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  470. bloodsplash.Rate = 1000
  471. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  472. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  473. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  474. bloodsplash.Texture = "rbxassetid://771221224"
  475. game:GetService("Debris"):AddItem(bloodsplash, 1)
  476. wait(0.25)
  477. bloodsplash.Enabled = false
  478. end
  479. end
  480. if hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  481. local throwhum = hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  482. if out == true then
  483. local bloodsound = Instance.new("Sound", hit)
  484. bloodsound.Volume = 10
  485. bloodsound.SoundId = "rbxassetid://180083286"
  486. bloodsound:Play()
  487. game:GetService("Debris"):AddItem(bloodsound, 1)
  488. local bloodsplash = Instance.new("ParticleEmitter", hit)
  489. bloodsplash.Lifetime = NumberRange.new(0.7, 1)
  490. bloodsplash.Speed = NumberRange.new(6)
  491. bloodsplash.SpreadAngle = Vector2.new(-360, 360)
  492. bloodsplash.Rate = 1000
  493. bloodsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 0)})
  494. bloodsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2), NumberSequenceKeypoint.new(1, 1)})
  495. bloodsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 0, 0))})
  496. bloodsplash.Texture = "rbxassetid://771221224"
  497. game:GetService("Debris"):AddItem(bloodsplash, 1)
  498. wait(0.25)
  499. bloodsplash.Enabled = false
  500. end
  501. end
  502. end
  503. end)
  504. for i,v in pairs(pen:GetChildren()) do
  505. if v:IsA("BasePart") then
  506. v.Transparency = 1
  507. end
  508. end
  509. for i = 0,1,.1 do
  510. penw.C1 = clerp(penw.C1, penw1 * CFa(0, 0, Rad(-90)), i)
  511. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), i)
  512. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025) * CFa(Rad(-20), 0, 0), i)
  513. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  514. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(-30), Rad(-3)), i)
  515. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(-5), Rad(-20)), i)
  516. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(5), Rad(-20)), i)
  517. LS.C0 = clerp(LS.C0, LS0, i)
  518. RS.C0 = clerp(RS.C0, RS0 * CFa(0, Rad(-80), Rad(90)), i)
  519. LH.C0 = clerp(LH.C0, LH0, i)
  520. RH.C0 = clerp(RH.C0, RH0, i)
  521. swait()
  522. end
  523. for i = 0,1,.1 do
  524. penw.C1 = clerp(penw.C1, penw1 * CFa(0, 0, Rad(-90)), i)
  525. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-30), 0, 0), i)
  526. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025) * CFa(0, 0, Rad(-30)), i)
  527. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), i)
  528. RS.C1 = clerp(RS.C1, RS1 * CFa(0, Rad(-30), Rad(-3)), i)
  529. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(35), 0), i)
  530. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025, 0) * CFa(Rad(5), Rad(35), 0), i)
  531. LS.C0 = clerp(LS.C0, LS0, i)
  532. RS.C0 = clerp(RS.C0, RS0 * CFn(0, 0, -0.5) * CFa(0, Rad(90), Rad(30)), i)
  533. LH.C0 = clerp(LH.C0, LH0, i)
  534. RH.C0 = clerp(RH.C0, RH0, i)
  535. swait()
  536. end
  537. for i,v in pairs(pen:GetChildren()) do
  538. if v:IsA("BasePart") then
  539. v.Transparency = 0
  540. end
  541. end
  542. hum.WalkSpeed = ws
  543. hum.JumpPower = jp
  544. canattack = true
  545. Throwing = false
  546. end
  547. end
  548.  
  549. -----------------------------------------------------------------------------------
  550.  
  551. function kdown(k)
  552. if k == "e" then
  553. ToggleSharp()
  554. elseif k == "f" then
  555. Throw()
  556. end
  557. end
  558.  
  559. mou.KeyDown:connect(kdown)
  560. mou.Button1Down:connect(Stab)
  561.  
  562. -----------------------------------------------------------------------------------
  563.  
  564. coroutine.wrap(function()
  565. while true do
  566. swait()
  567. sine = sine + 1
  568. rot = rot + 25
  569. if rot == 360 then
  570. rot = 1
  571. end
  572. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  573. if Stabbing == true then
  574. state = "Stabbing"
  575. elseif Throwing == true then
  576. state = "Throwing"
  577. elseif 1 < root.Velocity.y then
  578. state = "Jump"
  579. elseif -1 > root.Velocity.y then
  580. state = "Fall"
  581. elseif torvel < 1 then
  582. state = "Idle"
  583. elseif tor.Velocity.magnitude < 50 then
  584. state = "Walk"
  585. end
  586. if state == "Jump" then
  587. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), 0.15)
  588. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2), 0, 0), 0.15)
  589. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-15), 0, 0), 0.15)
  590. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(10), 0, 0), 0.15)
  591. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(10), 0, 0), 0.15)
  592. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.2, 0) * CFa(Rad(2), 0, Rad(-15)), 0.15)
  593. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.5, 0) * CFa(Rad(2), 0, Rad(15)), 0.15)
  594. LS.C0 = clerp(LS.C0, LS0, 0.15)
  595. RS.C0 = clerp(RS.C0, RS0, 0.15)
  596. LH.C0 = clerp(LH.C0, LH0 * CFn(-0.2, 0, 0), 0.15)
  597. RH.C0 = clerp(RH.C0, RH0 * CFn(0.5, 0, 0), 0.15)
  598. elseif state == "Fall" then
  599. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), 0.15)
  600. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, 0), 0.15)
  601. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(15), 0, 0), 0.15)
  602. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(35), 0, 0), 0.15)
  603. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(35), 0, 0), 0.15)
  604. LH.C1 = clerp(LH.C1, LH1 * CFn(0.2, -0.2, -0.1) * CFa(Rad(15), 0, Rad(10)), 0.15)
  605. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.2, -0.2, -0.1) * CFa(Rad(15), 0, Rad(-10)), 0.15)
  606. LS.C0 = clerp(LS.C0, LS0, 0.15)
  607. RS.C0 = clerp(RS.C0, RS0, 0.15)
  608. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(-20)), 0.15)
  609. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(20)), 0.15)
  610. elseif state == "Idle" then
  611. penw.C1 = clerp(penw.C1, penw1 * CFn(0, 0, 0.5) * CFa(0, 0, Rad(rot)), 0.15)
  612. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-2 * Cos(sine / 15)), 0, 0), 0.15)
  613. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.025 * Cos(sine / 15)), 0.15)
  614. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(-30), 0, Rad(-40)), 0.15)
  615. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(2), 0, Rad(-3 * Cos(sine / 15))), 0.15)
  616. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.025 * Cos(sine / 15), 0) * CFa(Rad(5), Rad(-5), 0), 0.15)
  617. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.025 * Cos(sine / 15), 0) * CFa(Rad(5), Rad(5), 0), 0.15)
  618. LS.C0 = clerp(LS.C0, LS0, 0.15)
  619. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(80)), 0.15)
  620. LH.C0 = clerp(LH.C0, LH0, 0.15)
  621. RH.C0 = clerp(RH.C0, RH0, 0.15)
  622. elseif state == "Walk" then
  623. penw.C1 = clerp(penw.C1, penw1 * CFa(0, Rad(-90), 0), 0.15)
  624. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  625. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0.1 * Cos(sine /3), 0.1 * Cos(sine /3)) * CFa(Rad(-5), 0, Rad(5 * Cos(sine / 6))), 0.15)
  626. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-50 * Cos(sine / 6))), 0.15)
  627. RS.C1 = clerp(RS.C1, RS1 * CFa(0, 0, Rad(-50 * Cos(sine / 6))), 0.15)
  628. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(2), Rad(-5), Rad(50 * Cos(sine / 6))), 0.15)
  629. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(2), Rad(5), Rad(50 * Cos(sine / 6))), 0.15)
  630. LS.C0 = clerp(LS.C0, LS0, 0.15)
  631. RS.C0 = clerp(RS.C0, RS0, 0.15)
  632. LH.C0 = clerp(LH.C0, LH0, 0.15)
  633. RH.C0 = clerp(RH.C0, RH0, 0.15)
  634. end
  635. end
  636. end)()
  637. coroutine.wrap(function()
  638. while true do
  639. wait(60)
  640. local ssss1 = Instance.new("BodyPosition"); ssss1.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  641. ssss1.Parent = maybe.Handle
  642. for _=1,10 do
  643. ssss1.Position = cloness.Handle.CFrame.p
  644. wait(0.1)
  645. end
  646. ssss1:Destroy()
  647. asasdd:Destroy()
  648. asasdd = Instance.new("BodyVelocity", maybe.Handle)
  649. asasdd.MaxForce = Vector3.new(10000,10000,10000)
  650. asasdd.Velocity = Vector3.new(math.huge,math.huge,math.huge)
  651. end
  652. end)()
  653.  
  654. local s = Instance.new("Sound")
  655.  
  656. s.Name = "Sound"
  657. s.SoundId = "https://web.roblox.com/asset/?id=221057812"
  658. s.Volume = 1
  659. s.Looped = false
  660. s.archivable = false
  661.  
  662. s.Parent = game.Workspace
  663.  
  664. wait(2)
  665.  
  666. s:play()
Add Comment
Please, Sign In to add comment