Advertisement
lundofett

test

Dec 2nd, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 104.33 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Lol u idiot this is a server sided script xddddddd lols newbie hahahahaahahahhahahhahahahahaahah") end
  2. print("Edited By Lundo_Fett, Original By Rufus14.")
  3. print("Controls - 'T' Throw 'E' Stab -")
  4. -- V3.183 Knife Edit
  5. -- Currently Unleaked (yay)
  6. --Script made by Rufus14
  7. --Edited by Lundo_Fett to not get u banned
  8. allowedblood = false
  9. IsAdmin = false
  10. NLS([[--By Rufus14
  11. mouse = game:GetService("Players").LocalPlayer:GetMouse()
  12. for i,v in pairs(game.ReplicatedStorage:GetChildren()) do
  13. if v.Name == "KnifeAttack" or v.Name == "KnifeBlood" then
  14. v:destroy()
  15. end
  16. end
  17. attackevent = game.ReplicatedStorage:WaitForChild("KnifeAttack")
  18. bloodevent = game.ReplicatedStorage:WaitForChild("KnifeBlood")
  19. attackname = "Stab"
  20. function attack()
  21. attackevent:FireServer(attackname, mouse.Hit.p)
  22. end
  23. mouse.Button1Down:connect(attack)
  24. can = false
  25. function message(what)
  26. -- Version: 3.183
  27. -- Instances:
  28. local KnifeGui = Instance.new("ScreenGui")
  29. local Frame = Instance.new("Frame")
  30. local Label = Instance.new("TextLabel")
  31. --Properties:
  32. KnifeGui.Name = "KnifeGui"
  33. KnifeGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  34. KnifeGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  35.  
  36. Frame.Parent = KnifeGui
  37. Frame.BackgroundColor3 = Color3.new(0.478431, 0.478431, 0.478431)
  38. Frame.Position = UDim2.new(0.242313325, 0, 0, 0)
  39. Frame.Size = UDim2.new(0, 699, 0, 100)
  40. Frame.Style = Enum.FrameStyle.RobloxRound
  41.  
  42. Label.Name = "Label"
  43. Label.Parent = Frame
  44. Label.TextScaled = true
  45. Label.BackgroundColor3 = Color3.new(0.439216, 0.439216, 0.439216)
  46. Label.Position = UDim2.new(0.026561385, 0, 0.0705899745, 0)
  47. Label.Size = UDim2.new(0, 647, 0, 73)
  48. Label.Font = Enum.Font.Code
  49. Label.TextColor3 = Color3.new(1, 1, 1)
  50. Label.TextSize = 40
  51. Label.Text = what
  52. Frame.BackgroundTransparency = 1
  53. Label.BackgroundTransparency = 1
  54. Label.TextTransparency = 1
  55. local sound =Instance.new("Sound", KnifeGui)
  56. sound.SoundId = "rbxassetid://654933978"
  57. sound.Volume = 3
  58. sound:Play()
  59. for i = 1,20 do
  60. Frame.BackgroundTransparency = Frame.BackgroundTransparency - 0.05
  61. Label.BackgroundTransparency = Label.BackgroundTransparency - 0.05
  62. Label.TextTransparency = Label.TextTransparency - 0.05
  63. wait()
  64. end
  65. wait(3)
  66. for i = 1,20 do
  67. Frame.BackgroundTransparency = Frame.BackgroundTransparency + 0.05
  68. Label.BackgroundTransparency = Label.BackgroundTransparency + 0.05
  69. Label.TextTransparency = Label.TextTransparency + 0.05
  70. wait()
  71. end
  72. KnifeGui:destroy()
  73. end
  74. -- Version: 2.82
  75. -- Instances:
  76. function makesure(Value)
  77. if Value ~= true then
  78. Value = true
  79. Value = true
  80. Value = true
  81. Value = true
  82. Value = true
  83. Value = true
  84. Value = true
  85. Value = true
  86. Value = true
  87. end
  88. end
  89. function creatorc()
  90. if owner.Character.Name == "Lundo_Fett" or "Rufus14" then
  91. IsAdmin = true
  92. print("Oh, it looks like your a creator of this script. Hi, "..owner.Character.Name..".")
  93. makesure(IsAdmin)
  94. end
  95. end
  96. playing = false
  97. function changemode(key)
  98. key = key:lower()
  99. if key == "z" then
  100. if not playing then
  101. playing = true
  102. attackname = "Play"
  103. attackevent:FireServer(attackname)
  104. message("epic")
  105. end
  106. elseif key == "t" then
  107. attackname = "Throw"
  108. if can then
  109. message("Throw")
  110. end
  111. elseif key == "q" then
  112. attackname = "Stab"
  113. if can then
  114. message("Sorry, You Can Not Use This Feture Due To The Game's Rules Not Allowing You To Do This Action. :Shrug:")
  115. end
  116. elseif key == "e" then
  117. attackname = "Stab"
  118. if can then
  119. message("Stab")
  120. end
  121. elseif key == "r" then
  122. attackname = "b3g0n3"
  123. if can then
  124. message("Yeet em!")
  125. end
  126. end
  127. end
  128. mouse.KeyDown:connect(changemode)
  129. message("Rufus14's Knife Edit v3.183, Edited by Lundo_Fett. (original idea of a knife: Trollonis)")
  130. creatorc()
  131. message("NOTE TO MODS: This script has no blood Or 'Grab' Feture. Yw.")
  132. message("Press 'T' To Throw And 'E' For Stab.")
  133. message("Have Fun :) - Lundo_Fett")
  134. can = true
  135. ]], owner.Character)
  136. wait(0.24)
  137. -- configurations test
  138. hitchat = false
  139. -- end
  140. headlole = owner.Character:WaitForChild("Head")
  141. --By Rufus14
  142. function PrintText(Lol)
  143. print(Lol)
  144. end
  145. function zeer(tim3, thing)
  146. wait(tim3)
  147. thing.Enabled = false
  148. end
  149. function bloodparticle(zero,two,four)
  150. if allowedblood ~= false then
  151. ParticleEmitter0 = Instance.new("ParticleEmitter")
  152. ParticleEmitter2 = Instance.new("ParticleEmitter")
  153. ParticleEmitter4 = Instance.new("ParticleEmitter")
  154. -- zero - 0.1, two - 0.3, and four - 0.1
  155. ParticleEmitter0.Name = "Blood"
  156. ParticleEmitter0.Parent = knife
  157. ParticleEmitter0.Speed = NumberRange.new(5, 10)
  158. ParticleEmitter0.Rotation = NumberRange.new(-360, 360)
  159. ParticleEmitter0.Color = ColorSequence.new(Color3.new(0.666667, 0, 0),Color3.new(0.423529, 0, 0))
  160. ParticleEmitter0.LightEmission = 0.40000000596046
  161. ParticleEmitter0.LightInfluence = 1
  162. ParticleEmitter0.Texture = "rbxassetid://73547327"
  163. ParticleEmitter0.Transparency = NumberSequence.new(0.10000000149012,0.14375001192093,0.49374997615814,1)
  164. ParticleEmitter0.Size = NumberSequence.new(0,2.8749995231628)
  165. ParticleEmitter0.Acceleration = Vector3.new(0, -5, 0)
  166. ParticleEmitter0.EmissionDirection = Enum.NormalId.Front
  167. ParticleEmitter0.Lifetime = NumberRange.new(0.30000001192093, 0.5)
  168. ParticleEmitter0.Rate = 10000000
  169. ParticleEmitter0.RotSpeed = NumberRange.new(-40, 270)
  170. ParticleEmitter0.SpreadAngle = Vector2.new(360, 360)
  171. ParticleEmitter0.VelocitySpread = 360
  172. ParticleEmitter2.Name = "Blood2"
  173. ParticleEmitter2.Parent = Knife
  174. ParticleEmitter2.Speed = NumberRange.new(5, 14)
  175. ParticleEmitter2.Color = ColorSequence.new(Color3.new(0.45098, 0, 0),Color3.new(0.45098, 0, 0))
  176. ParticleEmitter2.LightEmission = 0.20000000298023
  177. ParticleEmitter2.LightInfluence = 1
  178. ParticleEmitter2.Texture = "http://www.roblox.com/asset/?id=134531274"
  179. ParticleEmitter2.Transparency = NumberSequence.new(0.30000001192093,0.30000001192093)
  180. ParticleEmitter2.ZOffset = 1
  181. ParticleEmitter2.Size = NumberSequence.new(0.12499988079071,0)
  182. ParticleEmitter2.Acceleration = Vector3.new(0, -20, 0)
  183. ParticleEmitter2.EmissionDirection = Enum.NormalId.Front
  184. ParticleEmitter2.Lifetime = NumberRange.new(0.5, 1.5)
  185. ParticleEmitter2.Rate = 100000
  186. ParticleEmitter2.SpreadAngle = Vector2.new(360, 360)
  187. ParticleEmitter2.VelocitySpread = 360
  188. ParticleEmitter4.Name = "Blood3"
  189. ParticleEmitter4.Parent = Knife
  190. ParticleEmitter4.Speed = NumberRange.new(3, 7)
  191. ParticleEmitter4.Rotation = NumberRange.new(-360, 360)
  192. ParticleEmitter4.Color = ColorSequence.new(Color3.new(0.486275, 0, 0),Color3.new(0.258824, 0, 0))
  193. ParticleEmitter4.LightEmission = 0.20000000298023
  194. ParticleEmitter4.LightInfluence = 1
  195. ParticleEmitter4.Texture = "rbxassetid://241779220"
  196. ParticleEmitter4.Transparency = NumberSequence.new(1,0.48750001192093,0.75625002384186,1)
  197. ParticleEmitter4.ZOffset = 0.5
  198. ParticleEmitter4.Size = NumberSequence.new(0,2.8749995231628)
  199. ParticleEmitter4.Acceleration = Vector3.new(0, -5, 0)
  200. ParticleEmitter4.EmissionDirection = Enum.NormalId.Front
  201. ParticleEmitter4.Lifetime = NumberRange.new(0.40000000596046, 1)
  202. ParticleEmitter4.Rate = 3000
  203. ParticleEmitter4.RotSpeed = NumberRange.new(-40, 270)
  204. ParticleEmitter4.SpreadAngle = Vector2.new(360, 360)
  205. ParticleEmitter4.VelocitySpread = 360
  206. ParticleEmitter0.Enabled = true
  207. ParticleEmitter2.Enabled = true
  208. ParticleEmitter4.Enabled = true
  209. zeer(zero, ParticleEmitter0)
  210. zeer(four, ParticleEmitter4)
  211. zeer(two, ParticleEmitter2)
  212. end
  213. end
  214. attackevent = Instance.new("RemoteEvent", game.ReplicatedStorage)
  215. attackevent.Name = "KnifeAttack"
  216. bloodevent = Instance.new("RemoteEvent", game.ReplicatedStorage)
  217. bloodevent.Name = "KnifeBlood"
  218. --Converted with ttyyuu12345's model to script plugin v4
  219. function sandbox(var,func)
  220. local env = getfenv(func)
  221. local newenv = setmetatable({},{
  222. __index = function(self,k)
  223. if k=="script" then
  224. return var
  225. else
  226. return env[k]
  227. end
  228. end,
  229. })
  230. setfenv(func,newenv)
  231. return func
  232. end
  233. cors = {}
  234. mas = Instance.new("Model",game:GetService("Lighting"))
  235. Knife = Instance.new("Part")
  236. Knife.Name = "Knife"
  237. Knife.Parent = mas
  238. Knife.CFrame = CFrame.new(-5.13551855, 2.10106921, 85.3246002, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  239. Knife.Position = Vector3.new(-5.13551855, 2.10106921, 85.3246002)
  240. Knife.Size = Vector3.new(0.149560004, 0.522157907, 2.20364952)
  241. Mesh = Instance.new("SpecialMesh")
  242. Mesh.Parent = Knife
  243. Mesh.MeshId = "rbxassetid://2047774297"
  244. Mesh.TextureId = "rbxassetid://2047774362"
  245. Mesh.Scale = Vector3.new(0.35,0.35,0.35)
  246. for i,v in pairs(mas:GetChildren()) do
  247. v.Parent = game:GetService("Lighting")
  248. pcall(function() v:MakeJoints() end)
  249. end
  250. mas:Destroy()
  251. for i,v in pairs(cors) do
  252. spawn(function()
  253. pcall(v)
  254. end)
  255. end
  256. Knife.Parent = owner.Character
  257. Knife:BreakJoints()
  258. Knife.CanCollide = false
  259. Knife.Name = "Bitch ass knife haha v3 reference again"
  260. local stabsound = Instance.new("Sound", Knife)
  261. stabsound.SoundId = "http://www.roblox.com/asset/?id=16950449"
  262. stabsound.Volume = 2
  263. stabsound.PlaybackSpeed = 1
  264. local chokesound = Instance.new("Sound", Knife)
  265. chokesound.SoundId = "rbxassetid://418658161"
  266. chokesound.Volume = 0.2
  267. chokesound.TimePosition = 3
  268. local throwsound = Instance.new("Sound", Knife)
  269. throwsound.SoundId = "http://www.roblox.com/asset/?id=97095069"
  270. throwsound.Volume = 2
  271. local slide = Instance.new("Sound", Knife)
  272. slide.SoundId = "rbxassetid://2706199011"
  273. slide.Volume = 0.1
  274. local epicterrariaswoosh = Instance.new("Sound", Knife)
  275. epicterrariaswoosh.SoundId = "rbxassetid://596439421"
  276. epicterrariaswoosh.PlaybackSpeed = 0.8
  277. local knifeweld = Instance.new("Weld", Knife)
  278. knifeweld.Part0 = owner.Character["Right Arm"]
  279. knifeweld.Part1 = Knife
  280. knifeweld.C0 = CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1)
  281. local head = Instance.new("Weld", owner.Character.Torso)
  282. head.Part0 = owner.Character.Torso
  283. head.Part1 = owner.Character.Head
  284. head.C0 = CFrame.new(0,1.5,0)
  285. head.Name = "HeadWeld"
  286. local humanoidrootpart = Instance.new("Weld", owner.Character.HumanoidRootPart)
  287. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  288. humanoidrootpart.Part1 = owner.Character.Torso
  289. humanoidrootpart.Name = "HumanoidRootPartWeld"
  290. canattack = true
  291. bloodcolor = Color3.fromRGB(200,0,0)
  292. function bloodcolorfunc(player, r,g,b)
  293. bloodcolor = Color3.fromRGB(r,g,b)
  294. end
  295. bloodevent.OnServerEvent:connect(bloodcolorfunc)
  296. function attack(player, attackname, mousecoordinate)
  297. if player == owner then
  298. if canattack then
  299. canattack = false
  300. if attackname == "Play" then
  301. local lol = Instance.new("Sound", Knife)
  302. lol.SoundId = "rbxassetid://3216300010"
  303. lol.Volume = 2
  304. lol:Play()
  305. lol.Looped = true
  306. canattack = true
  307. elseif attackname == "Throw" then
  308. headshot = false
  309. local rightarm = Instance.new("Weld", owner.Character.Torso)
  310. rightarm.Part0 = owner.Character.Torso
  311. rightarm.Part1 = owner.Character["Right Arm"]
  312. rightarm.C0 = CFrame.new(1.5,0,0)
  313. rightarm.Name = "RightArmWeld"
  314. local leftarm = Instance.new("Weld", owner.Character.Torso)
  315. leftarm.Part0 = owner.Character.Torso
  316. leftarm.Part1 = owner.Character["Left Arm"]
  317. leftarm.C0 = CFrame.new(-1.5,0,0)
  318. leftarm.Name = "LeftArmWeld"
  319. epicterrariaswoosh:Play()
  320. for i = 0,1 , 0.05 do
  321. head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.342020065, 0, 0.939692557, 0, 1, 0, -0.939692557, 0, 0.342020065),i)
  322. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.342020154, 0, -0.939692616, 0, 1, 0, 0.939692616, 0, 0.342020154),i)
  323. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.969846249, 0.171009064, 1, 0, 2.98023224e-08, 0, -0.939692438, 0.342020422, 0, -0.342020422, -0.939692497),i)
  324. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.0301537514, -0.171010971, 1, -7.4505806e-09, 2.98023224e-08, 0, 0.939692557, -0.342020094, 0, 0.342020124, 0.939692616),i)
  325. game:GetService("RunService").Heartbeat:wait()
  326. end
  327. throwsound:Play()
  328. Knife.Transparency = 1
  329. local clonedknife = Instance.new("Part", workspace)
  330. clonedknife.Size = Knife.Size
  331. clonedknife:BreakJoints()
  332. Sound0 = Instance.new("Sound")
  333. Sound0.Parent = clonedknife
  334. Sound0.Looped = true
  335. Sound0.MaxDistance = 150
  336. Sound0.EmitterSize = 5
  337. Sound0.MinDistance = 5
  338. Sound0.Pitch = 2.5339999198914
  339. Sound0.PlaybackSpeed = 2.5339999198914
  340. Sound0.SoundId = "rbxassetid://158475221"
  341. Sound0.Volume = 0.13400000333786
  342. Sound0:Play()
  343. clonedknife.Name = "Bitch ass knife haha v3 reference again"
  344. clonedknife.CanCollide = false
  345. clonedknife.CFrame = Knife.CFrame * CFrame.new(-2.5,0,3)
  346. clonedknife.CFrame = CFrame.new(clonedknife.Position, mousecoordinate)
  347. clonedknife.CFrame = clonedknife.CFrame * CFrame.new(0.5,-1,-1.5)
  348. local mesh = Instance.new("SpecialMesh", clonedknife)
  349. mesh.MeshId = "rbxassetid://2047774297"
  350. mesh.TextureId = "rbxassetid://2047774362"
  351. mesh.Scale = Vector3.new(0.35,0.35,0.35)
  352. Sound01 = Instance.new("Sound")
  353. Sound01.Parent = clonedknife
  354. Sound01.Looped = true
  355. Sound01.MaxDistance = 150
  356. Sound01.EmitterSize = 5
  357. Sound01.MinDistance = 5
  358. Sound01.Pitch = 2.5339999198914
  359. Sound01.PlaybackSpeed = 2.5339999198914
  360. Sound01.SoundId = "rbxassetid://158475221"
  361. Sound01.Volume = 0.13400000333786
  362. Sound0:Destroy()
  363.  
  364. local knifevelocity = Instance.new("BodyVelocity", clonedknife)
  365. knifevelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  366. knifevelocity.Velocity = clonedknife.CFrame.lookVector * 100
  367. local flying = true
  368. local lookat = clonedknife.Position
  369. local function spin()
  370. while flying and game:GetService("RunService").Heartbeat:wait() do
  371. clonedknife.CFrame = clonedknife.CFrame * CFrame.fromEulerAnglesXYZ(-0.2,0,0)
  372. end
  373. end
  374. spawn(spin)
  375. local function touched(part)
  376. Sound01:Play()
  377. Sound01 = Instance.new("Sound")
  378. Sound01.Parent = clonedknife
  379. Sound01.Looped = true
  380. Sound01.MaxDistance = 150
  381. Sound01.EmitterSize = 5
  382. Sound01.MinDistance = 5
  383. Sound01.Pitch = 2.5339999198914
  384. Sound01.PlaybackSpeed = 2.5339999198914
  385. Sound01.SoundId = "rbxassetid://158475221"
  386. Sound01.Volume = 0.13400000333786
  387. Sound0:Destroy()
  388. if part.Name ~= "Bitch ass blood" and part.Name ~= "epic" and part.Parent ~= owner.Character and part.Name ~= "Bitch ass knife haha v3 reference again" and part.Name ~= "okyoucantouchnow" and part.Name ~= "LimbCollider" and part.Parent.ClassName ~= "Accessory" and part.Parent.ClassName ~= "Hat" and part.Parent.Parent.ClassName ~= "Accessory" then
  389. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  390. if headlole ~= nil then
  391.  
  392. if part.Name == "Head" then
  393. headshot = true
  394. end
  395. local PainSound = Instance.new("Sound")
  396. local owigotstabaaaaAAAA = part.Parent:FindFirstChild("Head")
  397. if owigotstabaaaaAAAA then
  398. if hitchat == true then
  399. game.Chat:Chat(owigotstabaaaaAAAA, "aAAAAAAAAA- *Passes Out*", "White")
  400. end
  401.  
  402. PainSound.Parent = owigotstabaaaaAAAA
  403. PainSound.Looped = false
  404. PainSound.SoundId = "rbxassetid://597154815"
  405. PainSound.Volume = 0.94800001382828
  406. PainSound.PlaybackSpeed = 1
  407. PainSound.MaxDistance = 963
  408. PainSound.EmitterSize = 5.342
  409. PainSound:Play()
  410. end
  411. if humanoid then
  412. local dialogthrow = math.random(1,6)
  413.  
  414. if dialogthrow == 1 then
  415. game.Chat:Chat(headlole, "You just got yeeted on!!!!!!!!!!!!!!!!11!11!!11!", "White")
  416. end
  417.  
  418. if dialogthrow == 2 then
  419. game.Chat:Chat(headlole, "HAHA, GET NOOB", "White")
  420. end
  421.  
  422. if dialogthrow == 3 then
  423. game.Chat:Chat(headlole, "Srry, man, your just noob.", "White")
  424. end
  425.  
  426. if dialogthrow == 4 then
  427. game.Chat:Chat(headlole, "Get yeeted on.", "White")
  428. end
  429.  
  430. if dialogthrow == 5 then
  431. game.Chat:Chat(headlole, "How did that feel? bad? Good, it should!", "White")
  432. end
  433.  
  434. if dialogthrow == 6 then
  435. game.Chat:Chat(headlole, "Ha, take that!", "White")
  436. end
  437. else
  438. error("Wht tha, why the hell do you not have a head?????????")
  439. end
  440. clonedknife:destroy()
  441. stabsound:Play()
  442. local bleed = Instance.new("Sound", part)
  443. bleed.SoundId = "rbxassetid://4471648128"
  444. bleed.Volume = 0.3
  445. bleed.PlaybackSpeed = 1.1
  446. bleed.Parent = part
  447. bleed:Play()
  448. PrintText("Hit Guy With Your Knife, Nice.")
  449. PrintText("Humanoid Hit - "..part.Parent.Name..", He Probably Is Wishing He Is Dead Right Now!")
  450. if part.parent.Name == Rufus14 or Lundo_Fett then
  451. message("wait~ LOL, YOU JUST HIT ONE OF THE DEVS THAT MADE THIS SCRIPT WITH UR KNIFE. HAHAHHA, NICE MAN.")
  452. end
  453. victimshumanoid = humanoid
  454. wait(0.02)
  455. humanoid.PlatformStand = true
  456. if humanoid.Health > 300 or humanoid.MaxHealth > 300 then
  457. humanoid.MaxHealth = 100
  458. humanoid.Health = 100
  459. end
  460. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  461. humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
  462. end
  463. if humanoid.Parent:findFirstChild("Torso") then
  464. if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
  465. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  466. glue.Part0 = victimshumanoid.Parent.Torso
  467. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
  468. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  469. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  470. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
  471. limbcollider.Size = Vector3.new(1,1.4,1)
  472. limbcollider.Shape = "Cylinder"
  473. limbcollider.Transparency = 1
  474. limbcollider.Name = "LimbCollider"
  475. local limbcolliderweld = Instance.new("Weld", limbcollider)
  476. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
  477. limbcolliderweld.Part1 = limbcollider
  478. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  479. victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
  480. end
  481. if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
  482. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  483. glue.Part0 = victimshumanoid.Parent.Torso
  484. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
  485. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  486. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  487. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
  488. limbcollider.Size = Vector3.new(1,1.4,1)
  489. limbcollider.Shape = "Cylinder"
  490. limbcollider.Name = "LimbCollider"
  491. limbcollider.Transparency = 1
  492. local limbcolliderweld = Instance.new("Weld", limbcollider)
  493. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
  494. limbcolliderweld.Part1 = limbcollider
  495. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  496. victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
  497. end
  498. if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
  499. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  500. glue.Part0 = victimshumanoid.Parent.Torso
  501. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
  502. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  503. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  504. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
  505. limbcollider.Size = Vector3.new(1,1.4,1)
  506. limbcollider.Shape = "Cylinder"
  507. limbcollider.Name = "LimbCollider"
  508. limbcollider.Transparency = 1
  509. local limbcolliderweld = Instance.new("Weld", limbcollider)
  510. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
  511. limbcolliderweld.Part1 = limbcollider
  512. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  513. victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
  514. end
  515. if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
  516. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  517. glue.Part0 = victimshumanoid.Parent.Torso
  518. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
  519. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  520. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  521. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
  522. limbcollider.Size = Vector3.new(1,1.4,1)
  523. limbcollider.Shape = "Cylinder"
  524. limbcollider.Name = "LimbCollider"
  525. limbcollider.Transparency = 1
  526. local limbcolliderweld = Instance.new("Weld", limbcollider)
  527. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
  528. limbcolliderweld.Part1 = limbcollider
  529. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  530. victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
  531. end
  532. elseif humanoid.Parent:findFirstChild("UpperTorso") then
  533. if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
  534. victimshumanoid.Parent.Archivable = true
  535. local zombiecorpse = victimshumanoid.Parent
  536. for i,v in pairs(zombiecorpse:GetChildren()) do
  537. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  538. for q,w in pairs(v:GetChildren()) do
  539. if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then
  540. w:destroy()
  541. end
  542. end
  543. end
  544. end
  545. local UpperTorso = zombiecorpse.UpperTorso
  546. local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
  547. Humanoid.PlatformStand = true
  548. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  549. local connection = Instance.new('BallSocketConstraint', limb)
  550. connection.LimitsEnabled = true
  551. connection.Attachment0 = attachementone
  552. connection.Attachment1 = attachmenttwo
  553. connection.TwistLimitsEnabled = true
  554. connection.TwistLowerAngle = twistlower
  555. connection.TwistUpperAngle = twistupper
  556. local limbcollider = Instance.new("Part", limb)
  557. limbcollider.Size = Vector3.new(0.1,1,1)
  558. limbcollider.Shape = "Cylinder"
  559. limbcollider.Name = "LimbCollider"
  560. limbcollider.Transparency = 1
  561. limbcollider:BreakJoints()
  562. local limbcolliderweld = Instance.new("Weld", limbcollider)
  563. limbcolliderweld.Part0 = limb
  564. limbcolliderweld.Part1 = limbcollider
  565. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  566. end
  567. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  568. local connection = Instance.new('HingeConstraint', limb)
  569. connection.LimitsEnabled = true
  570. connection.Attachment0 = attachementone
  571. connection.Attachment1 = attachmenttwo
  572. connection.LimitsEnabled = true
  573. connection.LowerAngle = lower
  574. connection.UpperAngle = upper
  575. local limbcollider = Instance.new("Part", limb)
  576. limbcollider.Size = Vector3.new(0.1,1,1)
  577. limbcollider.Shape = "Cylinder"
  578. limbcollider.Name = "LimbCollider"
  579. limbcollider.Transparency = 1
  580. limbcollider:BreakJoints()
  581. local limbcolliderweld = Instance.new("Weld", limbcollider)
  582. limbcolliderweld.Part0 = limb
  583. limbcolliderweld.Part1 = limbcollider
  584. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  585. end
  586. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  587. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  588. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50)
  589. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  590. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50)
  591. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  592. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  593. --
  594. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50)
  595. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  596. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  597. --
  598. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360)
  599. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  600. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  601. --
  602. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360)
  603. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  604. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  605. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  606. if v.ClassName == "Accessory" then
  607. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  608. if attachment1 then
  609. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  610. if w.ClassName == "Part" then
  611. local attachment2 = w:findFirstChild(attachment1.Name)
  612. if attachment2 then
  613. local hinge = Instance.new("HingeConstraint", v.Handle)
  614. hinge.Attachment0 = attachment1
  615. hinge.Attachment1 = attachment2
  616. hinge.LimitsEnabled = true
  617. hinge.LowerAngle = 0
  618. hinge.UpperAngle = 0
  619. end
  620. end
  621. end
  622. end
  623. end
  624. end
  625. for i,v in pairs(zombiecorpse:GetChildren()) do
  626. for q,w in pairs(v:GetChildren()) do
  627. if w.ClassName == "Motor6D" and w.Name ~= "Neck" then
  628. w:destroy()
  629. end
  630. end
  631. end
  632. local ragdoll = zombiecorpse
  633. if ragdoll:findFirstChild("HumanoidRootPart") then
  634. ragdoll.HumanoidRootPart.Anchored = true
  635. ragdoll.HumanoidRootPart.CanCollide = false
  636. end
  637. end
  638. end
  639. local got = Instance.new("ObjectValue", owner.Character)
  640. got.Value = humanoid.Parent
  641. got.Name = "Gotem"
  642. victimshumanoid = humanoid
  643. bloodparticle(0.1,0.3,0.1)
  644. local function bleed()
  645. local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
  646. local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
  647. owner.Character.Gotem:destroy()
  648. while wait(0.1) and victimshumanoid.Health > 0 and thehead do
  649. thehumanoid.Health = thehumanoid.Health - 1.25
  650. if headshot ~= false then
  651. thehumanoid.Health = thehumanoid.Health - 0.53
  652. PrintText("Headshot Multiplier Damage Added, Dealt An Extra '0.53' Damage To "..part.Parent.Name..".")
  653. end
  654. PrintText("Dealt '1.25' Damage To "..part.Parent.Name.."!")
  655. if thehumanoid.Health <= 0 then
  656. PainSound:Stop()
  657. PrintText(part.Parent.Name.." Has Died To You Killing Them!!!11!1!")
  658. local dialogthrow = math.random(1,6)
  659.  
  660. if dialogthrow == 1 then
  661. if thehumanoid then
  662. game.Chat:Chat(headlole, "Get ueeeted on noib!!!!!!!!!!!!!!!!!!!!!!1", "White")
  663. end
  664. end
  665.  
  666. if dialogthrow == 2 then
  667. if thehumanoid then
  668. game.Chat:Chat(headlole, "Ded", "White")
  669. end
  670. end
  671.  
  672. if dialogthrow == 3 then
  673. if thehumanoid then
  674. game.Chat:Chat(headlole, "Noob.", "White")
  675. end
  676. end
  677.  
  678. if dialogthrow == 4 then
  679. if thehumanoid then
  680. game.Chat:Chat(headlole, "Get thrown on then commit die.", "White")
  681. end
  682. end
  683.  
  684. if dialogthrow == 5 then
  685. if thehumanoid then
  686. game.Chat:Chat(headlole, "lol!", "White")
  687. end
  688. end
  689.  
  690. if dialogthrow == 6 then
  691. if thehumanoid then
  692. game.Chat:Chat(headlole, "One down.", "White")
  693. end
  694. end
  695. break
  696. end
  697. local blood = Instance.new("Part", workspace)
  698. local randomsize = math.random(1,3)
  699. if randomsize == 1 then
  700. blood.Size = Vector3.new(0.3,0.3,0.3)
  701. end
  702. if randomsize == 2 then
  703. blood.Size = Vector3.new(0.4,0.4,0.4)
  704. end
  705. if randomsize == 3 then
  706. blood.Size = Vector3.new(0.2,0.2,0.2)
  707. end
  708. blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  709. blood.Elasticity = 0
  710. blood.Shape = "Ball"
  711. blood.Color = bloodcolor
  712. blood.Transparency = 1
  713. blood.Name = "Bitch ass blood"
  714. blood.CFrame = part.CFrame * CFrame.new(0,0.5,0)
  715. local velocity = Instance.new("BodyVelocity", blood)
  716. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  717. velocity.Velocity = part.CFrame.lookVector * math.random(30,40) + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  718. game.Debris:AddItem(velocity, 0.2)
  719. local function hit(part)
  720. if part.Name == "okyoucantouchnow" and part.Size.y < 10 then
  721. blood:destroy()
  722. part.Size = part.Size + Vector3.new(0,0.3,0.3)
  723. end
  724. if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
  725. wait(0.2)
  726. blood.Name = "okyoucantouchnow"
  727. blood.Anchored = true
  728. blood.CanCollide = false
  729. blood.Material = "Glass"
  730. blood.Shape = "Cylinder"
  731. blood.Size = Vector3.new(0.1,1.5,1.5)
  732. if part.Size.y < part.Size.z and part.Size.y < part.Size.x then
  733. local pos = blood.Position
  734. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  735. blood.Position = pos
  736. elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then
  737. local pos = blood.Position
  738. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  739. blood.Position = pos
  740. elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then
  741. local pos = blood.Position
  742. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  743. blood.Position = pos
  744. end
  745. wait(8)
  746. for i = 1,50 do
  747. blood.Transparency = 1
  748. wait()
  749. end
  750. blood:destroy()
  751. end
  752. end
  753. blood.Touched:connect(hit)
  754. end
  755. if thehumanoid.Parent:findFirstChild("Torso") then
  756. thehumanoid.Parent.Archivable = true
  757. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  758. if v.ClassName == "Accessory" then
  759. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  760. if attachment1 then
  761. for q,w in pairs(thehumanoid.Parent:GetChildren()) do
  762. if w.ClassName == "Part" then
  763. local attachment2 = w:findFirstChild(attachment1.Name)
  764. if attachment2 then
  765. local hinge = Instance.new("HingeConstraint", v.Handle)
  766. hinge.Attachment0 = attachment1
  767. hinge.Attachment1 = attachment2
  768. hinge.LimitsEnabled = true
  769. hinge.LowerAngle = 0
  770. hinge.UpperAngle = 0
  771. end
  772. end
  773. end
  774. end
  775. end
  776. end
  777. local rag = thehumanoid.Parent:Clone()
  778. rag:findFirstChildOfClass("Humanoid").Health = 0
  779. rag:findFirstChildOfClass("Humanoid").PlatformStand = true
  780. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  781. if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then
  782. v:destroy()
  783. end
  784. end
  785. rag.Parent = workspace
  786. game.Debris:AddItem(rag, 15)
  787. game.Chat:Chat(rag.Head, "*dies due to blood loss And failure of consciousness while bleeding out*", "White")
  788. end
  789. end
  790. spawn(bleed)
  791. else
  792. knifevelocity:destroy()
  793. flying = false
  794.  
  795. local impact =Instance.new("Sound", KnifeGui)
  796. impact.SoundId = "rbxassetid://1921272182"
  797. impact.Volume = 1.342
  798. impact.Parent = clonedknife
  799. impact:Play()
  800. clonedknife.Anchored = true
  801.  
  802. clonedknife.CFrame = CFrame.new(clonedknife.Position, lookat)
  803. clonedknife.CFrame = clonedknife.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi,0)
  804. wait(5)
  805. for i = 1,100 do
  806. clonedknife.Transparency = clonedknife.Transparency + 0.01
  807. game:GetService("RunService").Heartbeat:wait()
  808. end
  809. clonedknife:destroy()
  810. end
  811. end
  812. end
  813. clonedknife.Touched:connect(touched)
  814. for i = 0,1 , 0.06 do
  815. head.C0 = head.C0:lerp(CFrame.new(0, 1.49999976, 0, 0.98480773, 0, -0.173648059, 0, 0.999999881, 0, 0.173648059, 0, 0.98480773),i)
  816. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.984807789, 0, 0.173648059, 0, 0.99999994, 0, -0.173648059, 0, 0.984807789),i)
  817. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.50000191, 0.178606272, -0.383022308, 1, 1.49011612e-08, 7.4505806e-09, 0, 0.642787099, -0.766044557, 0, 0.766044796, 0.642787218),i)
  818. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.54821205, 0.153163671, 0.281364441, 0.98480773, 0.111618884, 0.133022264, -0.163175866, 0.856848657, 0.489063889, -0.0593911856, -0.503340065, 0.86204493),i)
  819. game:GetService("RunService").Heartbeat:wait()
  820. end
  821. for i = 0,1 , 0.04 do
  822. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  823. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  824. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  825. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  826. game:GetService("RunService").Heartbeat:wait()
  827. end
  828. leftarm:destroy()
  829. rightarm:destroy()
  830. canattack = true
  831. local ball = Instance.new("Part", workspace)
  832. ball.Size = Vector3.new(2,2,2)
  833. ball.Shape = "Ball"
  834. ball:BreakJoints()
  835. ball.CanCollide = false
  836. ball.Material = "Neon"
  837. ball.Anchored = true
  838. ball.Name = "epic"
  839. ball.CFrame = Knife.CFrame
  840. ball.BrickColor = BrickColor.new("Institutional white")
  841. local cf = ball.CFrame
  842. Knife.Transparency = 0
  843. for i = 1,50 do
  844. ball.Size = ball.Size + Vector3.new(0.05,0.05,0.05)
  845. ball.CFrame = cf
  846. ball.Transparency = ball.Transparency + 0.02
  847. game:GetService("RunService").Heartbeat:wait()
  848. end
  849. ball:destroy()
  850. elseif attackname == "b3g0n3" then
  851. local begonenoob = Instance.new("Sound", headlole)
  852. begonenoob.SoundId = "rbxassetid://3663443635"
  853. begonenoob.Volume = 2.5
  854. begonenoob:Play()
  855. local rightarm = Instance.new("Weld", owner.Character.Torso)
  856. rightarm.Part0 = owner.Character.Torso
  857. rightarm.Part1 = owner.Character["Right Arm"]
  858. rightarm.C0 = CFrame.new(1.5,0,0)
  859. rightarm.Name = "RightArmWeld"
  860. local leftarm = Instance.new("Weld", owner.Character.Torso)
  861. leftarm.Part0 = owner.Character.Torso
  862. leftarm.Part1 = owner.Character["Left Arm"]
  863. leftarm.C0 = CFrame.new(-1.5,0,0)
  864. leftarm.Name = "LeftArmWeld"
  865. for i = 0,0.75 , 0.01 do
  866. head.C0 = head.C0:lerp(CFrame.new(-3.81469727e-06, 1.49999905, 0, 0.342020214, 0, 0.939692497, 4.07453626e-09, 0.999999881, 0, -0.939692557, 3.7252903e-09, 0.342020214),i)
  867. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -0.400000095, 0, 0.336824089, -0.0593911782, -0.939692616, 0.173648179, 0.98480773, 0, 0.925416529, -0.163175911, 0.342020154),i)
  868. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.68301392, 0.316987038, 0, 0.866025269, -0.5, -2.98023224e-08, 0.5, 0.866025209, 3.7252903e-09, 0, 0, 0.999999881),i)
  869. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.68301392, 0.316987038, 0, 0.866025269, 0.49999994, -2.98023224e-08, -0.499999911, 0.866025209, 0, 0, 0, 0.999999881),i)
  870. game:GetService("RunService").Heartbeat:wait()
  871. end
  872. epicterrariaswoosh:Play()
  873. local sensorbrick = Instance.new("Part", Knife)
  874. sensorbrick.Size = Knife.Size
  875. sensorbrick.CanCollide = false
  876. sensorbrick.Transparency = 1
  877. sensorbrick:BreakJoints()
  878. local sensorweld = Instance.new("Weld", sensorbrick)
  879. sensorweld.Part0 = Knife
  880. sensorweld.Part1 = sensorbrick
  881. local function stabbed(part)
  882. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  883. if humanoid then
  884. local PainSound = Instance.new("Sound")
  885. local screamlol = Instance.new("Sound")
  886. local owigotstabaaaaAAAA = part.Parent:FindFirstChild("Head")
  887. if owigotstabaaaaAAAA then
  888. game.Chat:Chat(owigotstabaaaaAAAA, "*Visible Pain*", "White")
  889. screamlol.Name = "Scremaaaa"
  890. screamlol.Parent = owigotstabaaaaAAAA
  891. screamlol.EmitterSize = 7
  892. screamlol.MaxDistance = 7680
  893. screamlol.Pitch = 0.96
  894. screamlol.PlaybackSpeed = 0.96
  895. screamlol.Volume = 5
  896. local valuescreavaluescream = math.random(1,6)
  897.  
  898. if valuescreavaluescream == 1 then
  899. screamlol.SoundId = "rbxassetid://232921573"
  900. screamlol:play()
  901. end
  902.  
  903. if valuescreavaluescream == 2 then
  904. screamlol.SoundId = "rbxassetid://166221318"
  905. screamlol:play()
  906. end
  907.  
  908. if valuescreavaluescream == 3 then
  909. screamlol.SoundId = "rbxassetid://166221367"
  910. screamlol:play()
  911. end
  912.  
  913. if valuescreavaluescream == 4 then
  914. screamlol.SoundId = "rbxassetid://166221367"
  915. screamlol:play()
  916. end
  917.  
  918. if valuescreavaluescream == 5 then
  919. screamlol.SoundId = "rbxassetid://166221285"
  920. screamlol:play()
  921. end
  922.  
  923. if valuescreavaluescream == 6 then
  924. screamlol.SoundId = "rbxassetid://232921590"
  925. screamlol:play()
  926. end
  927. PainSound.Parent = owigotstabaaaaAAAA
  928. PainSound.Looped = true
  929. PainSound.SoundId = "rbxassetid://695279808"
  930. PainSound.Volume = 1.256
  931. PainSound.PlaybackSpeed = 1
  932. PainSound.MaxDistance = 963
  933. PainSound.EmitterSize = 5.342
  934. PainSound:Play()
  935. end
  936. sensorbrick:destroy()
  937. stabsound:Play()
  938. local bleed = Instance.new("Sound", part)
  939. bleed.SoundId = "rbxassetid://244502094"
  940. bleed.Volume = 0.3
  941. bleed.PlaybackSpeed = 1.1
  942. bleed.Parent = part
  943. sound04 = Instance.new("Sound")
  944. sound05 = Instance.new("Sound")
  945. sound06 = Instance.new("Sound")
  946. sound156 = Instance.new("Sound")
  947. sound04.Parent = owigotstabaaaaAAAA
  948. sound04.Pitch = 1.0199999809265
  949. sound04.PlaybackSpeed = 1.0199999809265
  950. sound04.SoundId = "rbxassetid://4459571224"
  951. sound04.Volume = 0.85299998521805
  952. sound05.Parent = owigotstabaaaaAAAA
  953. sound05.Pitch = 3
  954. sound05.PlaybackSpeed = 3
  955. sound05.SoundId = "rbxassetid://4306991962"
  956. sound05.Volume = 0.63559997081757
  957. sound05.Parent = owigotstabaaaaAAAA
  958. sound06.Pitch = 0.75
  959. sound06.PlaybackSpeed = 0.75
  960. sound06.SoundId = "rbxassetid://4459578169"
  961. sound06.Volume = 0.86729997396469
  962. sound156.Parent = owigotstabaaaaAAAA
  963. sound156.SoundId = "rbxassetid://4307102517"
  964. sound156.Volume = 1.2519999742508
  965. bleed:Play()
  966. PrintText("LOL THAT IDIOT LET YOU HIT THEM HAHA")
  967. PrintText("Humanoid Hit - "..part.Parent.Name..", They Are An Absolute Idiot!")
  968. if part.parent.Name == Rufus14 or Lundo_Fett then
  969. message("wait~ I TAKE THAT BACK, YOU JUST HIT A SCRIPTER FOR THIS EDIT OR THE OG CREATOR, LOL!!!11!!!!!1!!!!1!11!1")
  970. end
  971. function diefromneck(hge,Other)
  972. Other:Stop()
  973. Soundo = Instance.new("Sound")
  974. Soundo.Parent = hge
  975. Soundo.SoundId = "rbxassetid://695280038"
  976. Soundo.Volume = 3.4630000591278
  977. Soundo:Play()
  978. end
  979. humanoid.Name = "Caught lmao"
  980. humanoid.PlatformStand = true
  981. if humanoid.MaxHealth > 300 or humanoid.Health > 300 then
  982. humanoid.MaxHealth = 100
  983. humanoid.Health = 100
  984. end
  985. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  986. humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
  987. end
  988. if humanoid.Parent:findFirstChild("Head") then
  989. local ow = Instance.new("Weld", humanoid.Parent:findFirstChild("Head"))
  990. ow.Part0 = Knife
  991. ow.Part1 = humanoid.Parent:findFirstChild("Head")
  992. ow.C0 = CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
  993. ow.C0 = ow.C0 * CFrame.fromEulerAnglesXYZ(0,math.pi,0)
  994. ow.C0 = ow.C0 * CFrame.fromEulerAnglesXYZ(-0.35,0,0)
  995. ow.C0 = ow.C0 * CFrame.new(0,0.5,0.3)
  996. game.Debris:AddItem(ow,2)
  997. end
  998. victimshumanoid = humanoid
  999. if humanoid.Parent:findFirstChild("Torso") then
  1000. if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
  1001. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1002. glue.Part0 = victimshumanoid.Parent.Torso
  1003. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
  1004. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1005. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1006. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
  1007. limbcollider.Size = Vector3.new(1,1.4,1)
  1008. limbcollider.Shape = "Cylinder"
  1009. limbcollider.Transparency = 1
  1010. limbcollider.Name = "LimbCollider"
  1011. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1012. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
  1013. limbcolliderweld.Part1 = limbcollider
  1014. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1015. victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
  1016. end
  1017. if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
  1018. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1019. glue.Part0 = victimshumanoid.Parent.Torso
  1020. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
  1021. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1022. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1023. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
  1024. limbcollider.Size = Vector3.new(1,1.4,1)
  1025. limbcollider.Shape = "Cylinder"
  1026. limbcollider.Name = "LimbCollider"
  1027. limbcollider.Transparency = 1
  1028. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1029. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
  1030. limbcolliderweld.Part1 = limbcollider
  1031. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1032. victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
  1033. end
  1034. if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
  1035. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1036. glue.Part0 = victimshumanoid.Parent.Torso
  1037. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
  1038. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1039. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1040. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
  1041. limbcollider.Size = Vector3.new(1,1.4,1)
  1042. limbcollider.Shape = "Cylinder"
  1043. limbcollider.Name = "LimbCollider"
  1044. limbcollider.Transparency = 1
  1045. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1046. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
  1047. limbcolliderweld.Part1 = limbcollider
  1048. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1049. victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
  1050. end
  1051. if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
  1052. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1053. glue.Part0 = victimshumanoid.Parent.Torso
  1054. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
  1055. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1056. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1057. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
  1058. limbcollider.Size = Vector3.new(1,1.4,1)
  1059. limbcollider.Shape = "Cylinder"
  1060. limbcollider.Name = "LimbCollider"
  1061. limbcollider.Transparency = 1
  1062. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1063. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
  1064. limbcolliderweld.Part1 = limbcollider
  1065. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1066. victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
  1067. end
  1068. elseif humanoid.Parent:findFirstChild("UpperTorso") then
  1069. if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
  1070. victimshumanoid.Parent.Archivable = true
  1071. local zombiecorpse = victimshumanoid.Parent
  1072. for i,v in pairs(zombiecorpse:GetChildren()) do
  1073. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1074. for q,w in pairs(v:GetChildren()) do
  1075. if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then
  1076. w:destroy()
  1077. end
  1078. end
  1079. end
  1080. end
  1081. local UpperTorso = zombiecorpse.UpperTorso
  1082. local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
  1083. Humanoid.PlatformStand = true
  1084. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  1085. local connection = Instance.new('BallSocketConstraint', limb)
  1086. connection.LimitsEnabled = true
  1087. connection.Attachment0 = attachementone
  1088. connection.Attachment1 = attachmenttwo
  1089. connection.TwistLimitsEnabled = true
  1090. connection.TwistLowerAngle = twistlower
  1091. connection.TwistUpperAngle = twistupper
  1092. local limbcollider = Instance.new("Part", limb)
  1093. limbcollider.Size = Vector3.new(0.1,1,1)
  1094. limbcollider.Shape = "Cylinder"
  1095. limbcollider.Name = "LimbCollider"
  1096. limbcollider.Transparency = 1
  1097. limbcollider:BreakJoints()
  1098. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1099. limbcolliderweld.Part0 = limb
  1100. limbcolliderweld.Part1 = limbcollider
  1101. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1102. end
  1103. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  1104. local connection = Instance.new('HingeConstraint', limb)
  1105. connection.LimitsEnabled = true
  1106. connection.Attachment0 = attachementone
  1107. connection.Attachment1 = attachmenttwo
  1108. connection.LimitsEnabled = true
  1109. connection.LowerAngle = lower
  1110. connection.UpperAngle = upper
  1111. local limbcollider = Instance.new("Part", limb)
  1112. limbcollider.Size = Vector3.new(0.1,1,1)
  1113. limbcollider.Shape = "Cylinder"
  1114. limbcollider.Name = "LimbCollider"
  1115. limbcollider.Transparency = 1
  1116. limbcollider:BreakJoints()
  1117. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1118. limbcolliderweld.Part0 = limb
  1119. limbcolliderweld.Part1 = limbcollider
  1120. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1121. end
  1122. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  1123. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1124. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50)
  1125. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  1126. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50)
  1127. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  1128. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  1129. --
  1130. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50)
  1131. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  1132. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  1133. --
  1134. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360)
  1135. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  1136. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  1137. --
  1138. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360)
  1139. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  1140. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  1141. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  1142. if v.ClassName == "Accessory" then
  1143. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1144. if attachment1 then
  1145. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  1146. if w.ClassName == "Part" then
  1147. local attachment2 = w:findFirstChild(attachment1.Name)
  1148. if attachment2 then
  1149. local hinge = Instance.new("HingeConstraint", v.Handle)
  1150. hinge.Attachment0 = attachment1
  1151. hinge.Attachment1 = attachment2
  1152. hinge.LimitsEnabled = true
  1153. hinge.LowerAngle = 0
  1154. hinge.UpperAngle = 0
  1155. end
  1156. end
  1157. end
  1158. end
  1159. end
  1160. end
  1161. for i,v in pairs(zombiecorpse:GetChildren()) do
  1162. for q,w in pairs(v:GetChildren()) do
  1163. if w.ClassName == "Motor6D" and w.Name ~= "Neck" then
  1164. w:destroy()
  1165. end
  1166. end
  1167. end
  1168. local ragdoll = zombiecorpse
  1169. if ragdoll:findFirstChild("HumanoidRootPart") then
  1170. ragdoll.HumanoidRootPart.Anchored = true
  1171. ragdoll.HumanoidRootPart.CanCollide = false
  1172. end
  1173. end
  1174. end
  1175. local got = Instance.new("ObjectValue", owner.Character)
  1176. got.Value = humanoid.Parent
  1177. got.Name = "Gotem"
  1178. victimshumanoid = humanoid
  1179. local function bleed()
  1180. local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
  1181. local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
  1182. owner.Character.Gotem:destroy()
  1183. while wait(0.1) and victimshumanoid.Health > 0 and thehead do
  1184. thehumanoid.Health = thehumanoid.Health - 0.946
  1185. PrintText("Dealt '0.946' Damage To "..part.Parent.Name.."!")
  1186. if thehumanoid.Health <= 0 then
  1187. PrintText("GET NOOBED ON, "..part.Parent.Name.."!")
  1188. thehumanoid.MaxHealth = 0
  1189. thehumanoid.Health = 0
  1190. diefromneck(owigotstabaaaaAAAA,PainSound)
  1191. break
  1192. end
  1193. local blood = Instance.new("Part", workspace)
  1194. local randomsize = math.random(1,3)
  1195. if randomsize == 1 then
  1196. blood.Size = Vector3.new(0.3,0.3,0.3)
  1197. end
  1198. if randomsize == 2 then
  1199. blood.Size = Vector3.new(0.4,0.4,0.4)
  1200. end
  1201. if randomsize == 3 then
  1202. blood.Size = Vector3.new(0.2,0.2,0.2)
  1203. end
  1204. blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  1205. blood.Elasticity = 0
  1206. blood.Shape = "Ball"
  1207. blood.Color = bloodcolor
  1208. blood.Transparency = 1
  1209. blood.Name = "Bitch ass blood"
  1210. blood.CFrame = thehead.CFrame * CFrame.new(0,0.5,0)
  1211. local velocity = Instance.new("BodyVelocity", blood)
  1212. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1213. velocity.Velocity = Vector3.new(math.random(-15,15),math.random(30,40),0)
  1214. game.Debris:AddItem(velocity, 0.2)
  1215. local function hit(part)
  1216. if part.Name == "okyoucantouchnow" and part.Size.y < 10 then
  1217. blood:destroy()
  1218. part.Size = part.Size + Vector3.new(0,0.3,0.3)
  1219. end
  1220. if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
  1221. wait(0.2)
  1222. blood.Name = "okyoucantouchnow"
  1223. blood.Anchored = true
  1224. blood.CanCollide = false
  1225. blood.Material = "Glass"
  1226. blood.Shape = "Cylinder"
  1227. blood.Size = Vector3.new(0.1,1.5,1.5)
  1228. if part.Size.y < part.Size.z and part.Size.y < part.Size.x then
  1229. local pos = blood.Position
  1230. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1231. blood.Position = pos
  1232. elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then
  1233. local pos = blood.Position
  1234. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  1235. blood.Position = pos
  1236. elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then
  1237. local pos = blood.Position
  1238. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  1239. blood.Position = pos
  1240. end
  1241. wait(8)
  1242. for i = 1,50 do
  1243. blood.Transparency = 1 + 0.02
  1244. wait()
  1245. end
  1246. blood:destroy()
  1247. end
  1248. end
  1249. blood.Touched:connect(hit)
  1250. end
  1251. if thehumanoid.Parent:findFirstChild("Torso") then
  1252. thehumanoid.Parent.Archivable = true
  1253. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  1254. if v.ClassName == "Accessory" then
  1255. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1256. if attachment1 then
  1257. for q,w in pairs(thehumanoid.Parent:GetChildren()) do
  1258. if w.ClassName == "Part" then
  1259. local attachment2 = w:findFirstChild(attachment1.Name)
  1260. if attachment2 then
  1261. local hinge = Instance.new("HingeConstraint", v.Handle)
  1262. hinge.Attachment0 = attachment1
  1263. hinge.Attachment1 = attachment2
  1264. hinge.LimitsEnabled = true
  1265. hinge.LowerAngle = 0
  1266. hinge.UpperAngle = 0
  1267. end
  1268. end
  1269. end
  1270. end
  1271. end
  1272. end
  1273. local rag = thehumanoid.Parent:Clone()
  1274. rag:findFirstChildOfClass("Humanoid").Health = 0
  1275. rag:findFirstChildOfClass("Humanoid").PlatformStand = true
  1276. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  1277. if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then
  1278. v:destroy()
  1279. end
  1280. end
  1281. rag.Parent = workspace
  1282. game.Debris:AddItem(rag, 15)
  1283. game.Chat:Chat(rag.Head, "*dies due to blood loss, a stab wound through head, and loss of oxygen*", "White")
  1284. end
  1285. end
  1286. spawn(bleed)
  1287.  
  1288. end
  1289. end
  1290. sensorbrick.Touched:connect(stabbed)
  1291. for i = 0,1 , 0.06 do
  1292. knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(0.0111551285, -1.65374756, -0.208492279, 1, -3.96102529e-08, -9.57557234e-08, 1.01179282e-07, 0.173648685, 0.984807432, -2.23806182e-08, -0.98480767, 0.173648521),i)
  1293. head.C0 = head.C0:lerp(CFrame.new(-0.0868225098, 1.49240375, 0, 1.19248824e-08, -0.17364797, -0.984807789, 0, 0.98480767, -0.17364794, 1, 2.07073114e-09, 1.17437153e-08),i)
  1294. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08),i)
  1295. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.87100983, 0.969846249, 0, 1.19248824e-08, -0.342020363, 0.939692557, 8.74227553e-08, -0.939692378, -0.342020273, 1, 8.62290932e-08, 1.86946494e-08),i)
  1296. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.57922745, 0.0944201946, 0, 0.98480773, 0.173648179, 0, -0.173648134, 0.984807551, 0, 0, 0, 1),i)
  1297. game:GetService("RunService").Heartbeat:wait()
  1298. end
  1299. sensorbrick:destroy()
  1300. wait(2)
  1301. for i = 0,1 , 0.06 do
  1302. knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  1303. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  1304. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1305. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  1306. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  1307. game:GetService("RunService").Heartbeat:wait()
  1308. end
  1309. leftarm:destroy()
  1310. rightarm:destroy()
  1311. canattack = true
  1312. elseif attackname == "Stab" then
  1313. Soundslash = Instance.new("Sound")
  1314. Soundslash.Name = "Hit"
  1315. Soundslash.Parent = Knife
  1316. Soundslash.Pitch = 1.25
  1317. Soundslash.PlaybackSpeed = 1.25
  1318. Soundslash.SoundId = "rbxasset://sounds/swordslash.wav"
  1319. Soundslash.Volume = 0.69999998807907
  1320. Soundslash:Play()
  1321. local rightarm = Instance.new("Weld", owner.Character.Torso)
  1322. rightarm.Part0 = owner.Character.Torso
  1323. rightarm.Part1 = owner.Character["Right Arm"]
  1324. rightarm.C0 = CFrame.new(1.5,0,0)
  1325. rightarm.Name = "RightArmWeld"
  1326. local leftarm = Instance.new("Weld", owner.Character.Torso)
  1327. leftarm.Part0 = owner.Character.Torso
  1328. leftarm.Part1 = owner.Character["Left Arm"]
  1329. leftarm.C0 = CFrame.new(-1.5,0,0)
  1330. leftarm.Name = "LeftArmWeld"
  1331. for i = 0,1 , 0.05 do
  1332. head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.499999851, 0, 0.866025388, 0, 1, 0, -0.866025388, 0, 0.499999851),i)
  1333. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.499999881, 0, -0.866025448, 0, 1, 0, 0.866025448, 0, 0.499999881),i)
  1334. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5, 0.11697793, 0.321392059, 0.99999994, 0, 0, 0, 0.766044259, 0.642787695, 0, -0.642787695, 0.766044259),i)
  1335. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.00759601593, -0.0868225098, 1, -7.4505806e-09, 2.08616257e-07, 4.09781897e-08, 0.98480773, -0.173647955, -2.38418579e-07, 0.173647955, 0.98480773),i)
  1336. game:GetService("RunService").Heartbeat:wait()
  1337. end
  1338. local sensorbrick = Instance.new("Part", Knife)
  1339. sensorbrick.Size = Knife.Size
  1340. sensorbrick.CanCollide = false
  1341. sensorbrick.Transparency = 1
  1342. sensorbrick:BreakJoints()
  1343. local sensorweld = Instance.new("Weld", sensorbrick)
  1344. sensorweld.Part0 = Knife
  1345. sensorweld.Part1 = sensorbrick
  1346. local function stabbed(part)
  1347. local PainSound = Instance.new("Sound")
  1348. local screamlol = Instance.new("Sound")
  1349. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  1350. local owigotstabaaaaAAAA = part.Parent:FindFirstChild("Head")
  1351. if headlole ~= nil and humanoid ~= nil then
  1352. local dialogstab = math.random(1,6)
  1353.  
  1354. if dialogstab == 1 then
  1355. game.Chat:Chat(headlole, "How do ya like my knife entering your blood system?", "White")
  1356. end
  1357.  
  1358. if dialogstab == 2 then
  1359. game.Chat:Chat(headlole, "HAHA, GET IMPALED IDIOT!", "White")
  1360. end
  1361.  
  1362. if dialogstab == 3 then
  1363. game.Chat:Chat(headlole, "Srry, man, your just so noob i had to end u, srrs.", "White")
  1364. end
  1365.  
  1366. if dialogstab == 4 then
  1367. game.Chat:Chat(headlole, "Get stabbebed on.", "White")
  1368. end
  1369.  
  1370. if dialogstab == 5 then
  1371. game.Chat:Chat(headlole, "How did that feel? I'm guessing no because you're not answering me.", "White")
  1372. end
  1373.  
  1374. if dialogstab == 6 then
  1375. game.Chat:Chat(headlole, "Oh boy, wouldn't wanna be that guy in this situation right now, lol!", "White")
  1376. end
  1377. else
  1378. error("Wht tha, why the hell do you not have a head?????????")
  1379. end
  1380.  
  1381. if owigotstabaaaaAAAA then
  1382. if hitchat == true then
  1383. game.Chat:Chat(owigotstabaaaaAAAA, "AAAAAAAAAAAAAAAAAAAAAAAAAAAA, *due to knife starts dying and falls to the ground in pain*", "White")
  1384. end
  1385. local soundIds = {346318730,232921573,166221367,169907033,166221285,166221285,167094166}
  1386.  
  1387. screamlol.Name = "Scremaaaa"
  1388. screamlol.Parent = owigotstabaaaaAAAA
  1389. screamlol.EmitterSize = 7
  1390. screamlol.MaxDistance = 1536
  1391. local valuescreavaluescream = math.random(1,6)
  1392.  
  1393. if valuescreavaluescream == 1 then
  1394. screamlol.SoundId = "rbxassetid://232921573"
  1395. screamlol:play()
  1396. end
  1397.  
  1398. if valuescreavaluescream == 2 then
  1399. screamlol.SoundId = "rbxassetid://166221318"
  1400. screamlol:play()
  1401. end
  1402.  
  1403. if valuescreavaluescream == 3 then
  1404. screamlol.SoundId = "rbxassetid://166221367"
  1405. screamlol:play()
  1406. end
  1407.  
  1408. if valuescreavaluescream == 4 then
  1409. screamlol.SoundId = "rbxassetid://166221367"
  1410. screamlol:play()
  1411. end
  1412.  
  1413. if valuescreavaluescream == 5 then
  1414. screamlol.SoundId = "rbxassetid://166221285"
  1415. screamlol:play()
  1416. end
  1417.  
  1418. if valuescreavaluescream == 6 then
  1419. screamlol.SoundId = "rbxassetid://232921590"
  1420. screamlol:play()
  1421. end
  1422. screamlol.Volume = 2.3250000476837
  1423. PainSound.Parent = owigotstabaaaaAAAA
  1424. PainSound.Looped = true
  1425. PainSound.SoundId = "rbxassetid://2730451211"
  1426. PainSound.Volume = 0.94800001382828
  1427. PainSound.PlaybackSpeed = 1
  1428. PainSound.MaxDistance = 963
  1429. PainSound.EmitterSize = 5.342
  1430. screamlol:Play()
  1431. PainSound:Play()
  1432. end
  1433. if humanoid then
  1434. sensorbrick:destroy()
  1435. stabsound:Play()
  1436. local bleed = Instance.new("Sound", part)
  1437. bleed.SoundId = "rbxassetid://244502094"
  1438. PrintText("Nice, You Just Impaled That Guy With Your Knife!")
  1439. PrintText("Humanoid Hit - "..part.Parent.Name..", Nice.")
  1440. if part.parent.Name == Rufus14 or Lundo_Fett then
  1441. message("wait~ LOL, YOU JUST IMPALED A DEV THAT MADE THIS SCRIPT WITH YOUR KNIFE. HAHAHHA, NICE MAN, THAT'S EPIC!.")
  1442. end
  1443. bleed.Volume = 0.3
  1444. bleed.PlaybackSpeed = 1.1
  1445. bleed.Parent = part
  1446. bleed:Play()
  1447. humanoid.Name = "Caught lmao"
  1448. if humanoid.MaxHealth > 300 or humanoid.Health > 300 then
  1449. humanoid.MaxHealth = 100
  1450. humanoid.Health = 100
  1451. end
  1452. humanoid.PlatformStand = true
  1453. wait(0.01)
  1454. humanoid.PlatformStand = true
  1455. humanoid.PlatformStand = true
  1456. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  1457. humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
  1458. end
  1459. victimshumanoid = humanoid
  1460. if humanoid.Parent:findFirstChild("Torso") then
  1461. if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
  1462. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1463. glue.Part0 = victimshumanoid.Parent.Torso
  1464. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
  1465. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1466. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1467. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
  1468. limbcollider.Size = Vector3.new(1,1.4,1)
  1469. limbcollider.Shape = "Cylinder"
  1470. limbcollider.Transparency = 1
  1471. limbcollider.Name = "LimbCollider"
  1472. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1473. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
  1474. limbcolliderweld.Part1 = limbcollider
  1475. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1476. victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
  1477. end
  1478. if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
  1479. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1480. glue.Part0 = victimshumanoid.Parent.Torso
  1481. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
  1482. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1483. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1484. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
  1485. limbcollider.Size = Vector3.new(1,1.4,1)
  1486. limbcollider.Shape = "Cylinder"
  1487. limbcollider.Name = "LimbCollider"
  1488. limbcollider.Transparency = 1
  1489. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1490. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
  1491. limbcolliderweld.Part1 = limbcollider
  1492. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1493. victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
  1494. end
  1495. if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
  1496. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1497. glue.Part0 = victimshumanoid.Parent.Torso
  1498. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
  1499. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1500. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  1501. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
  1502. limbcollider.Size = Vector3.new(1,1.4,1)
  1503. limbcollider.Shape = "Cylinder"
  1504. limbcollider.Name = "LimbCollider"
  1505. limbcollider.Transparency = 1
  1506. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1507. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
  1508. limbcolliderweld.Part1 = limbcollider
  1509. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1510. victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
  1511. end
  1512. if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
  1513. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  1514. glue.Part0 = victimshumanoid.Parent.Torso
  1515. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
  1516. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1517. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  1518. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
  1519. limbcollider.Size = Vector3.new(1,1.4,1)
  1520. limbcollider.Shape = "Cylinder"
  1521. limbcollider.Name = "LimbCollider"
  1522. limbcollider.Transparency = 1
  1523. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1524. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
  1525. limbcolliderweld.Part1 = limbcollider
  1526. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  1527. victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
  1528. end
  1529. elseif humanoid.Parent:findFirstChild("UpperTorso") then
  1530. if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
  1531. victimshumanoid.Parent.Archivable = true
  1532. local zombiecorpse = victimshumanoid.Parent
  1533. for i,v in pairs(zombiecorpse:GetChildren()) do
  1534. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  1535. for q,w in pairs(v:GetChildren()) do
  1536. if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then
  1537. w:destroy()
  1538. end
  1539. end
  1540. end
  1541. end
  1542. local UpperTorso = zombiecorpse.UpperTorso
  1543. local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
  1544. Humanoid.PlatformStand = true
  1545. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  1546. local connection = Instance.new('BallSocketConstraint', limb)
  1547. connection.LimitsEnabled = true
  1548. connection.Attachment0 = attachementone
  1549. connection.Attachment1 = attachmenttwo
  1550. connection.TwistLimitsEnabled = true
  1551. connection.TwistLowerAngle = twistlower
  1552. connection.TwistUpperAngle = twistupper
  1553. local limbcollider = Instance.new("Part", limb)
  1554. limbcollider.Size = Vector3.new(0.1,1,1)
  1555. limbcollider.Shape = "Cylinder"
  1556. limbcollider.Name = "LimbCollider"
  1557. limbcollider.Transparency = 1
  1558. limbcollider:BreakJoints()
  1559. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1560. limbcolliderweld.Part0 = limb
  1561. limbcolliderweld.Part1 = limbcollider
  1562. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1563. end
  1564. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  1565. local connection = Instance.new('HingeConstraint', limb)
  1566. connection.LimitsEnabled = true
  1567. connection.Attachment0 = attachementone
  1568. connection.Attachment1 = attachmenttwo
  1569. connection.LimitsEnabled = true
  1570. connection.LowerAngle = lower
  1571. connection.UpperAngle = upper
  1572. local limbcollider = Instance.new("Part", limb)
  1573. limbcollider.Size = Vector3.new(0.1,1,1)
  1574. limbcollider.Shape = "Cylinder"
  1575. limbcollider.Name = "LimbCollider"
  1576. limbcollider.Transparency = 1
  1577. limbcollider:BreakJoints()
  1578. local limbcolliderweld = Instance.new("Weld", limbcollider)
  1579. limbcolliderweld.Part0 = limb
  1580. limbcolliderweld.Part1 = limbcollider
  1581. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1582. end
  1583. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  1584. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  1585. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50)
  1586. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  1587. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50)
  1588. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  1589. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  1590. --
  1591. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50)
  1592. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  1593. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  1594. --
  1595. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360)
  1596. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  1597. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  1598. --
  1599. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360)
  1600. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  1601. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  1602. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  1603. if v.ClassName == "Accessory" then
  1604. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1605. if attachment1 then
  1606. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  1607. if w.ClassName == "Part" then
  1608. local attachment2 = w:findFirstChild(attachment1.Name)
  1609. if attachment2 then
  1610. local hinge = Instance.new("HingeConstraint", v.Handle)
  1611. hinge.Attachment0 = attachment1
  1612. hinge.Attachment1 = attachment2
  1613. hinge.LimitsEnabled = true
  1614. hinge.LowerAngle = 0
  1615. hinge.UpperAngle = 0
  1616. end
  1617. end
  1618. end
  1619. end
  1620. end
  1621. end
  1622. for i,v in pairs(zombiecorpse:GetChildren()) do
  1623. for q,w in pairs(v:GetChildren()) do
  1624. if w.ClassName == "Motor6D" and w.Name ~= "Neck" then
  1625. w:destroy()
  1626. end
  1627. end
  1628. end
  1629. local ragdoll = zombiecorpse
  1630. if ragdoll:findFirstChild("HumanoidRootPart") then
  1631. ragdoll.HumanoidRootPart.Anchored = true
  1632. ragdoll.HumanoidRootPart.CanCollide = false
  1633. end
  1634. end
  1635. end
  1636. local got = Instance.new("ObjectValue", owner.Character)
  1637. got.Value = humanoid.Parent
  1638. got.Name = "Gotem"
  1639. victimshumanoid = humanoid
  1640. function diefromstab(lolxd)
  1641. lolxd:Stop()
  1642. end
  1643. local function bleed()
  1644. local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
  1645. local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
  1646. owner.Character.Gotem:destroy()
  1647. while wait(0.1) and victimshumanoid.Health > 0 and thehead do
  1648. thehumanoid.Health = thehumanoid.Health - 0.43
  1649. PrintText("Dealt '0.43' Damage To Victim!")
  1650. if thehumanoid.Health <= 0 then
  1651. thehumanoid.MaxHealth = 0
  1652. thehumanoid.Health = 0
  1653. diefromstab(PainSound)
  1654. game.Chat:Chat(owigotstabaaaaAAAA, "*dies due to blood loss And failure to do anything except be in pain and be on the ground lol*", "White")
  1655. PrintText(part.Parent.Name.." Has Bled Out Due To You Impaling Them With Your Knife, Epic!!!")
  1656. local dialogstabdead = math.random(1,6)
  1657.  
  1658. if dialogstabdead == 1 then
  1659. if thehumanoid then
  1660. game.Chat:Chat(headlole, "Pethetic, you could've at least TRIED to survive.", "White")
  1661. end
  1662. end
  1663.  
  1664. if dialogstabdead == 2 then
  1665. if thehumanoid then
  1666. game.Chat:Chat(headlole, "Well, you're now dead.", "White")
  1667. end
  1668. end
  1669.  
  1670. if dialogstabdead == 3 then
  1671. if thehumanoid then
  1672. game.Chat:Chat(headlole, "Dead.", "White")
  1673. end
  1674. end
  1675.  
  1676. if dialogstabdead == 4 then
  1677. if thehumanoid then
  1678. game.Chat:Chat(headlole, "Sorry for the slow death,"..part.Parent.Name.."!", "White")
  1679. end
  1680. end
  1681.  
  1682. if dialogstabdead == 5 then
  1683. if thehumanoid then
  1684. game.Chat:Chat(headlole, "Gottem..", "White")
  1685. end
  1686. end
  1687.  
  1688. if dialogstabdead == 6 then
  1689. if thehumanoid then
  1690. game.Chat:Chat(headlole, "Oh, you've bled out, darn.", "White")
  1691. end
  1692. end
  1693.  
  1694. PainSound:Stop()
  1695. break
  1696. end
  1697. local blood = Instance.new("Part", workspace)
  1698. local randomsize = math.random(1,3)
  1699. if randomsize == 1 then
  1700. blood.Size = Vector3.new(0.3,0.3,0.3)
  1701. end
  1702. if randomsize == 2 then
  1703. blood.Size = Vector3.new(0.4,0.4,0.4)
  1704. end
  1705. if randomsize == 3 then
  1706. blood.Size = Vector3.new(0.2,0.2,0.2)
  1707. end
  1708. blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  1709. blood.Elasticity = 0
  1710. blood.Shape = "Ball"
  1711. blood.Color = bloodcolor
  1712. blood.Transparency = 1
  1713. blood.Name = "Bitch ass blood"
  1714. blood.CFrame = part.CFrame * CFrame.new(0,-1.5,0.3)
  1715. local velocity = Instance.new("BodyVelocity", blood)
  1716. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1717. velocity.Velocity = part.CFrame.lookVector * -math.random(30,40) + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  1718. game.Debris:AddItem(velocity, 0.2)
  1719. local function hit(part)
  1720. if part.Name == "okyoucantouchnow" and part.Size.y < 10 then
  1721. blood:destroy()
  1722. part.Size = part.Size + Vector3.new(0,0.3,0.3)
  1723. end
  1724. if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
  1725. wait(0.2)
  1726. blood.Name = "okyoucantouchnow"
  1727. blood.Anchored = true
  1728. blood.CanCollide = false
  1729. blood.Material = "Glass"
  1730. blood.Shape = "Cylinder"
  1731. blood.Size = Vector3.new(0.1,1.5,1.5)
  1732. if part.Size.y < part.Size.z and part.Size.y < part.Size.x then
  1733. local pos = blood.Position
  1734. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1735. blood.Position = pos
  1736. elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then
  1737. local pos = blood.Position
  1738. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  1739. blood.Position = pos
  1740. elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then
  1741. local pos = blood.Position
  1742. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  1743. blood.Position = pos
  1744. end
  1745. wait(8)
  1746. for i = 1,50 do
  1747. blood.Transparency = 1 + 0.02
  1748. wait()
  1749. end
  1750. blood:destroy()
  1751. end
  1752. end
  1753. blood.Touched:connect(hit)
  1754. end
  1755. if thehumanoid.Parent:findFirstChild("Torso") then
  1756. thehumanoid.Parent.Archivable = true
  1757. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  1758. if v.ClassName == "Accessory" then
  1759. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  1760. if attachment1 then
  1761. for q,w in pairs(thehumanoid.Parent:GetChildren()) do
  1762. if w.ClassName == "Part" then
  1763. local attachment2 = w:findFirstChild(attachment1.Name)
  1764. if attachment2 then
  1765. local hinge = Instance.new("HingeConstraint", v.Handle)
  1766. hinge.Attachment0 = attachment1
  1767. hinge.Attachment1 = attachment2
  1768. hinge.LimitsEnabled = true
  1769. hinge.LowerAngle = 0
  1770. hinge.UpperAngle = 0
  1771. end
  1772. end
  1773. end
  1774. end
  1775. end
  1776. end
  1777. local rag = thehumanoid.Parent:Clone()
  1778. rag:findFirstChildOfClass("Humanoid").Health = 0
  1779. rag:findFirstChildOfClass("Humanoid").PlatformStand = true
  1780. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  1781. if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then
  1782. v:destroy()
  1783. end
  1784. end
  1785. rag.Parent = workspace
  1786. game.Debris:AddItem(rag, 15)
  1787. game.Chat:Chat(rag.Head, "*dies due to blood loss And failure to do anything except be in pain and be on the ground lol*", "White")
  1788. end
  1789. end
  1790. spawn(bleed)
  1791. end
  1792. end
  1793. sensorbrick.Touched:connect(stabbed)
  1794. epicterrariaswoosh:Play()
  1795. for i = 0,1 , 0.05 do
  1796. head.C0 = head.C0:lerp(CFrame.new(0, 1.5, 0, 0.866025567, 0, -0.499999613, 0, 1, 0, 0.499999613, 0, 0.866025567),i)
  1797. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.866025448, 0, 0.499999881, 0, 1, 0, -0.499999881, 0, 0.866025448),i)
  1798. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.64153862, 0.121687889, -0.584392548, 0.938770175, -0.34430477, 0.0128265321, 0.223452091, 0.580076039, -0.783314049, 0.262258351, 0.738218009, 0.621493936),i)
  1799. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5, 0.0669875145, 0.25, 1, -1.49011612e-07, 2.08616257e-07, 4.09781897e-08, 0.86602515, 0.500000298, -2.38418579e-07, -0.500000298, 0.866025209),i)
  1800. game:GetService("RunService").Heartbeat:wait()
  1801. end
  1802. sensorbrick:destroy()
  1803. for i = 0,1 , 0.05 do
  1804. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  1805. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  1806. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  1807. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  1808. game:GetService("RunService").Heartbeat:wait()
  1809. end
  1810. rightarm:destroy()
  1811. leftarm:destroy()
  1812. canattack = true
  1813. canattack = true
  1814. elseif attackname == "Grab" then
  1815. local grabbed = false
  1816. rightarm = Instance.new("Weld", owner.Character.Torso)
  1817. rightarm.Part0 = owner.Character.Torso
  1818. rightarm.Part1 = owner.Character["Right Arm"]
  1819. rightarm.C0 = CFrame.new(1.5,0,0)
  1820. rightarm.Name = "RightArmWeld"
  1821. leftarm = Instance.new("Weld", owner.Character.Torso)
  1822. leftarm.Part0 = owner.Character.Torso
  1823. leftarm.Part1 = owner.Character["Left Arm"]
  1824. leftarm.C0 = CFrame.new(-1.5,0,0)
  1825. leftarm.Name = "LeftArmWeld"
  1826. for i = 0,1 , 0.05 do
  1827. knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147862434, -0.898936272, -0.841812134, -0.996194959, 0.08715415, 0, -0.0871540606, -0.996194839, 0, 0, 0, 1),i)
  1828. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.68301249, 0.316987276, 0, 0.866025448, -0.499999911, 0, 0.499999881, 0.866025388, 0, 0, 0, 1),i)
  1829. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.68301249, 0.316987276, 0, 0.866025329, 0.500000119, 0, -0.50000006, 0.866025269, 1.77635684e-15, 0, 0, 1),i)
  1830. game:GetService("RunService").Heartbeat:wait()
  1831. end
  1832. local sensorbrick = Instance.new("Part", Knife)
  1833. sensorbrick.Size = Knife.Size
  1834. sensorbrick.CanCollide = false
  1835. sensorbrick.Transparency = 1
  1836. sensorbrick:BreakJoints()
  1837. local sensorweld = Instance.new("Weld", sensorbrick)
  1838. sensorweld.Part0 = Knife
  1839. sensorweld.Part1 = sensorbrick
  1840. local function gotem(part)
  1841. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  1842. isr15 = false
  1843. local humrootyes = false
  1844. if humanoid then
  1845. grabbed = true
  1846. humanoid.Name = "Caught lmao"
  1847. humanoid.PlatformStand = true
  1848. if humanoid.MaxHealth > 300 or humanoid.Health > 300 then
  1849. humanoid.MaxHealth = 100
  1850. humanoid.Health = 100
  1851. end
  1852. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  1853. humanoid.Parent:findFirstChild("HumanoidRootPart"):destroy()
  1854. end
  1855. sensorbrick:destroy()
  1856. if humanoid.Parent:findFirstChild("Torso") then
  1857. isr15 = false
  1858. elseif humanoid.Parent:findFirstChild("UpperTorso") then
  1859. isr15 = true
  1860. end
  1861. local got = Instance.new("ObjectValue", owner.Character)
  1862. got.Value = humanoid.Parent
  1863. got.Name = "Gotem"
  1864. victimshumanoid = humanoid
  1865. if isr15 then
  1866. victimweld = Instance.new("Weld", owner.Character.Torso)
  1867. victimweld.Part0 = owner.Character.Torso
  1868. victimweld.Part1 = humanoid.Parent:findFirstChild("UpperTorso")
  1869. victimweld.C0 = CFrame.new(-0.331410885, 0.105233192, -0.84903717, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,0.1,0)
  1870. else
  1871. victimweld = Instance.new("Weld", owner.Character.Torso)
  1872. victimweld.Part0 = owner.Character.Torso
  1873. victimweld.Part1 = humanoid.Parent:findFirstChild("Torso")
  1874. victimweld.C0 = CFrame.new(-0.331410885, 0.105233192, -0.84903717, 1, 0, 0, 0, 1, 0, 0, 0, 1) * CFrame.new(0,-0.2,0)
  1875. end
  1876. end
  1877. end
  1878. sensorbrick.Touched:connect(gotem)
  1879. for i = 0,1 , 0.05 do
  1880. knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147862434, -0.898936272, -0.841812134, -0.996194959, 0.08715415, 0, -0.0871540606, -0.996194839, 0, 0, 0, 1),i)
  1881. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.20000029, 1.1545198, -0.541671753, -4.95052781e-08, -7.56642393e-08, 0.999999881, 0.996194541, 0.0871555433, -7.33473655e-08, -0.0871557295, 0.996194601, -3.99016855e-08),i)
  1882. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.48883009, 0.500000238, -0.903129578, 0.984807909, -0.173648104, 1.32450051e-08, -1.58932529e-08, -1.08499073e-07, -1, 0.173648104, 0.984807849, -1.08824921e-07),i)
  1883. game:GetService("RunService").Heartbeat:wait()
  1884. end
  1885. sensorbrick:destroy()
  1886. if not grabbed then
  1887. wait(0.5)
  1888. for i = 0,1 , 0.05 do
  1889. knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  1890. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  1891. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  1892. game:GetService("RunService").Heartbeat:wait()
  1893. end
  1894. rightarm:destroy()
  1895. leftarm:destroy()
  1896. canattack = true
  1897. end
  1898. local deb = Instance.new("ObjectValue", owner.Character)
  1899. deb.Name = "debounceorwhat"
  1900. game.Debris:AddItem(deb, 0.1)
  1901. end
  1902. end
  1903. if not canattack and not owner.Character:findFirstChild("reallyattacking") and owner.Character:findFirstChild("Gotem") and not owner.Character:findFirstChild("debounceorwhat") then
  1904. local atta = Instance.new("ObjectValue", owner.Character)
  1905. atta.Name = "reallyattacking"
  1906. for i = 0,1 , 0.05 do
  1907. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.11355352, 1.38487792, -0.732650757, 0.866025507, -0.50000006, -1.47949386e-08, -0.24999994, -0.433012575, -0.866025388, 0.433012724, 0.750000119, -0.499999911),i)
  1908. game:GetService("RunService").Heartbeat:wait()
  1909. end
  1910. slide:Play()
  1911. for i = 0,0.9 , 0.05 do
  1912. if owner.Character:findFirstChild("Gotem") then
  1913. if isr15 then
  1914. if owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head") then
  1915. if owner.Character:findFirstChild("Gotem").Value.Head:findFirstChild("Neck") then
  1916. owner.Character:findFirstChild("Gotem").Value.Head.Neck.C0 = owner.Character:findFirstChild("Gotem").Value.Head.Neck.C0 * CFrame.fromEulerAnglesXYZ(0.015,0,0)
  1917. end
  1918. end
  1919. else
  1920. if owner.Character:findFirstChild("Gotem").Value:findFirstChild("Torso") then
  1921. if owner.Character:findFirstChild("Gotem").Value.Torso:findFirstChild("Neck") then
  1922. owner.Character:findFirstChild("Gotem").Value.Torso.Neck.C0 = owner.Character:findFirstChild("Gotem").Value.Torso.Neck.C0 * CFrame.fromEulerAnglesXYZ(-0.015,0,0)
  1923. end
  1924. end
  1925. end
  1926. end
  1927. rightarm.C0 = rightarm.C0:lerp(CFrame.new(0.571247101, 0.999999762, -0.742622375, -1.40958761e-07, 0.499999821, 0.866025448, 0.99999994, 5.96046412e-08, 4.56955753e-08, -5.16580023e-08, 0.866025448, -0.499999851),i)
  1928. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.21583223, 1.3414166, -0.553192139, 0.866025507, -0.492403954, 0.0868241563, -0.25, -0.57681787, -0.777676642, 0.433012813, 0.651781797, -0.622639954),i)
  1929. game:GetService("RunService").Heartbeat:wait()
  1930. end
  1931. wait(0.5)
  1932. local bleed = Instance.new("Sound", knife)
  1933. bleed.SoundId = "rbxassetid://244502094"
  1934. bleed.Volume = 0.3
  1935. bleed.PlaybackSpeed = 1.1
  1936. bleed.Parent = part
  1937. bleed:Play()
  1938. stabsound:Play()
  1939. chokesound:Play()
  1940. chokesound.TimePosition = 3
  1941. local function bleed()
  1942. local thehumanoid = owner.Character:findFirstChild("Gotem").Value:findFirstChildOfClass("Humanoid")
  1943. local thehead = owner.Character:findFirstChild("Gotem").Value:findFirstChild("Head")
  1944. owner.Character.Gotem:destroy()
  1945. while wait(0.1) and victimshumanoid.Health > 0 and thehead do
  1946. thehumanoid.Health = thehumanoid.Health - 0.43
  1947. PrintText("Dealt '0.43' Damage To Victim!")
  1948. if victimshumanoid.Health <= 0 then
  1949. break
  1950. end
  1951. local blood = Instance.new("Part", workspace)
  1952. local randomsize = math.random(1,3)
  1953. if randomsize == 1 then
  1954. blood.Size = Vector3.new(0.3,0.3,0.3)
  1955. end
  1956. if randomsize == 2 then
  1957. blood.Size = Vector3.new(0.4,0.4,0.4)
  1958. end
  1959. if randomsize == 3 then
  1960. blood.Size = Vector3.new(0.2,0.2,0.2)
  1961. end
  1962. blood.CustomPhysicalProperties = PhysicalProperties.new(0,0,0)
  1963. blood.Elasticity = 0
  1964. blood.Shape = "Ball"
  1965. blood.Color = bloodcolor
  1966. blood.Transparency = 1
  1967. blood.Name = "Bitch ass blood"
  1968. blood.CFrame = thehead.CFrame * CFrame.new(0,0,-0.3)
  1969. local velocity = Instance.new("BodyVelocity", blood)
  1970. velocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1971. velocity.Velocity = thehead.CFrame.lookVector * math.random(30,40) + Vector3.new(math.random(-15,15),math.random(-15,15),0)
  1972. game.Debris:AddItem(velocity, 0.2)
  1973. local function hit(part)
  1974. if part.Name == "okyoucantouchnow" and part.Size.y < 10 then
  1975. blood:destroy()
  1976. part.Size = part.Size + Vector3.new(0,0.3,0.3)
  1977. end
  1978. if part.Name ~= "Bitch ass blood" and part.Name ~= "LimbCollider" and not part.Parent:findFirstChildOfClass("Humanoid") and part.Parent.ClassName ~= "Hat" and part.Parent.ClassName ~= "Accessory" and part.Parent.Parent.ClassName ~= "Accessory" and part.ClassName ~= "Accessory" then
  1979. wait(0.2)
  1980. blood.Name = "okyoucantouchnow"
  1981. blood.Anchored = true
  1982. blood.CanCollide = false
  1983. blood.Material = "Glass"
  1984. blood.Shape = "Cylinder"
  1985. blood.Size = Vector3.new(0.1,1.5,1.5)
  1986. if part.Size.y < part.Size.z and part.Size.y < part.Size.x then
  1987. local pos = blood.Position
  1988. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  1989. blood.Position = pos
  1990. elseif part.Size.x < part.Size.y and part.Size.x < part.Size.z then
  1991. local pos = blood.Position
  1992. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0)
  1993. blood.Position = pos
  1994. elseif part.Size.z < part.Size.y and part.Size.z < part.Size.x then
  1995. local pos = blood.Position
  1996. blood.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  1997. blood.Position = pos
  1998. end
  1999. wait(8)
  2000. for i = 1,50 do
  2001. blood.Transparency = 1 + 0.02
  2002. wait()
  2003. end
  2004. blood:destroy()
  2005. end
  2006. end
  2007. blood.Touched:connect(hit)
  2008. end
  2009. if thehumanoid.Parent:findFirstChild("Torso") then
  2010. thehumanoid.Parent.Archivable = true
  2011. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  2012. if v.ClassName == "Accessory" then
  2013. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  2014. if attachment1 then
  2015. for q,w in pairs(thehumanoid.Parent:GetChildren()) do
  2016. if w.ClassName == "Part" then
  2017. local attachment2 = w:findFirstChild(attachment1.Name)
  2018. if attachment2 then
  2019. local hinge = Instance.new("HingeConstraint", v.Handle)
  2020. hinge.Attachment0 = attachment1
  2021. hinge.Attachment1 = attachment2
  2022. hinge.LimitsEnabled = true
  2023. hinge.LowerAngle = 0
  2024. hinge.UpperAngle = 0
  2025. end
  2026. end
  2027. end
  2028. end
  2029. end
  2030. end
  2031. local rag = thehumanoid.Parent:Clone()
  2032. rag:findFirstChildOfClass("Humanoid").Health = 0
  2033. rag:findFirstChildOfClass("Humanoid").PlatformStand = true
  2034. for i,v in pairs(thehumanoid.Parent:GetChildren()) do
  2035. if v.ClassName == "Accessory" or v.ClassName == "Part" or v.ClassName == "ForceField" or v.ClassName == "Sound" then
  2036. v:destroy()
  2037. end
  2038. end
  2039. rag.Parent = workspace
  2040. game.Debris:AddItem(rag, 15)
  2041. end
  2042. end
  2043. spawn(bleed)
  2044. if victimshumanoid.Parent ~= nil then
  2045. if victimshumanoid.Parent.Parent ~= nil then
  2046. if isr15 then
  2047. if victimshumanoid.Parent.UpperTorso:findFirstChild("NeckAttachment") then
  2048. victimshumanoid.Parent.Archivable = true
  2049. local zombiecorpse = victimshumanoid.Parent
  2050. for i,v in pairs(zombiecorpse:GetChildren()) do
  2051. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2052. for q,w in pairs(v:GetChildren()) do
  2053. if w.ClassName == "BodyPosition" or w.ClassName == "BodyVelocity" then
  2054. w:destroy()
  2055. end
  2056. end
  2057. end
  2058. end
  2059. local UpperTorso = zombiecorpse.UpperTorso
  2060. local Humanoid = zombiecorpse:findFirstChildOfClass("Humanoid")
  2061. Humanoid.PlatformStand = true
  2062. local function makeballconnections(limb, attachementone, attachmenttwo, twistlower, twistupper)
  2063. local connection = Instance.new('BallSocketConstraint', limb)
  2064. connection.LimitsEnabled = true
  2065. connection.Attachment0 = attachementone
  2066. connection.Attachment1 = attachmenttwo
  2067. connection.TwistLimitsEnabled = true
  2068. connection.TwistLowerAngle = twistlower
  2069. connection.TwistUpperAngle = twistupper
  2070. local limbcollider = Instance.new("Part", limb)
  2071. limbcollider.Size = Vector3.new(0.1,1,1)
  2072. limbcollider.Shape = "Cylinder"
  2073. limbcollider.Name = "LimbCollider"
  2074. limbcollider.Transparency = 1
  2075. limbcollider:BreakJoints()
  2076. local limbcolliderweld = Instance.new("Weld", limbcollider)
  2077. limbcolliderweld.Part0 = limb
  2078. limbcolliderweld.Part1 = limbcollider
  2079. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  2080. end
  2081. local function makehingeconnections(limb, attachementone, attachmenttwo, lower, upper)
  2082. local connection = Instance.new('HingeConstraint', limb)
  2083. connection.LimitsEnabled = true
  2084. connection.Attachment0 = attachementone
  2085. connection.Attachment1 = attachmenttwo
  2086. connection.LimitsEnabled = true
  2087. connection.LowerAngle = lower
  2088. connection.UpperAngle = upper
  2089. local limbcollider = Instance.new("Part", limb)
  2090. limbcollider.Size = Vector3.new(0.1,1,1)
  2091. limbcollider.Shape = "Cylinder"
  2092. limbcollider.Name = "LimbCollider"
  2093. limbcollider.Transparency = 1
  2094. limbcollider:BreakJoints()
  2095. local limbcolliderweld = Instance.new("Weld", limbcollider)
  2096. limbcolliderweld.Part0 = limb
  2097. limbcolliderweld.Part1 = limbcollider
  2098. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2)
  2099. end
  2100. local HeadAttachment = Instance.new("Attachment", Humanoid.Parent.Head)
  2101. HeadAttachment.Position = Vector3.new(0, -0.5, 0)
  2102. makehingeconnections(Humanoid.Parent.Head, HeadAttachment, UpperTorso.NeckAttachment, -50, 50)
  2103. makehingeconnections(Humanoid.Parent.LowerTorso, Humanoid.Parent.LowerTorso.WaistRigAttachment, Humanoid.Parent.UpperTorso.WaistRigAttachment, -50, 50)
  2104. makeballconnections(Humanoid.Parent.LeftUpperArm, Humanoid.Parent.LeftUpperArm.LeftShoulderRigAttachment, Humanoid.Parent.UpperTorso.LeftShoulderRigAttachment, -50, 50)
  2105. makehingeconnections(Humanoid.Parent.LeftLowerArm, Humanoid.Parent.LeftLowerArm.LeftElbowRigAttachment, Humanoid.Parent.LeftUpperArm.LeftElbowRigAttachment, 0, -60)
  2106. makehingeconnections(Humanoid.Parent.LeftHand, Humanoid.Parent.LeftHand.LeftWristRigAttachment, Humanoid.Parent.LeftLowerArm.LeftWristRigAttachment, -20, 20)
  2107. --
  2108. makeballconnections(Humanoid.Parent.RightUpperArm, Humanoid.Parent.RightUpperArm.RightShoulderRigAttachment, Humanoid.Parent.UpperTorso.RightShoulderRigAttachment, -50, 50)
  2109. makehingeconnections(Humanoid.Parent.RightLowerArm, Humanoid.Parent.RightLowerArm.RightElbowRigAttachment, Humanoid.Parent.RightUpperArm.RightElbowRigAttachment, 0, -60)
  2110. makehingeconnections(Humanoid.Parent.RightHand, Humanoid.Parent.RightHand.RightWristRigAttachment, Humanoid.Parent.RightLowerArm.RightWristRigAttachment, -20, 20)
  2111. --
  2112. makeballconnections(Humanoid.Parent.RightUpperLeg, Humanoid.Parent.RightUpperLeg.RightHipRigAttachment, Humanoid.Parent.LowerTorso.RightHipRigAttachment, -360, 360)
  2113. makehingeconnections(Humanoid.Parent.RightLowerLeg, Humanoid.Parent.RightLowerLeg.RightKneeRigAttachment, Humanoid.Parent.RightUpperLeg.RightKneeRigAttachment, 0, 60)
  2114. makehingeconnections(Humanoid.Parent.RightFoot, Humanoid.Parent.RightFoot.RightAnkleRigAttachment, Humanoid.Parent.RightLowerLeg.RightAnkleRigAttachment, -20, 20)
  2115. --
  2116. makeballconnections(Humanoid.Parent.LeftUpperLeg, Humanoid.Parent.LeftUpperLeg.LeftHipRigAttachment, Humanoid.Parent.LowerTorso.LeftHipRigAttachment, -360, 360)
  2117. makehingeconnections(Humanoid.Parent.LeftLowerLeg, Humanoid.Parent.LeftLowerLeg.LeftKneeRigAttachment, Humanoid.Parent.LeftUpperLeg.LeftKneeRigAttachment, 0, 60)
  2118. makehingeconnections(Humanoid.Parent.LeftFoot, Humanoid.Parent.LeftFoot.LeftAnkleRigAttachment, Humanoid.Parent.LeftLowerLeg.LeftAnkleRigAttachment, -20, 20)
  2119. for i,v in pairs(Humanoid.Parent:GetChildren()) do
  2120. if v.ClassName == "Accessory" then
  2121. local attachment1 = v.Handle:findFirstChildOfClass("Attachment")
  2122. if attachment1 then
  2123. for q,w in pairs(Humanoid.Parent:GetChildren()) do
  2124. if w.ClassName == "Part" then
  2125. local attachment2 = w:findFirstChild(attachment1.Name)
  2126. if attachment2 then
  2127. local hinge = Instance.new("HingeConstraint", v.Handle)
  2128. hinge.Attachment0 = attachment1
  2129. hinge.Attachment1 = attachment2
  2130. hinge.LimitsEnabled = true
  2131. hinge.LowerAngle = 0
  2132. hinge.UpperAngle = 0
  2133. end
  2134. end
  2135. end
  2136. end
  2137. end
  2138. end
  2139. for i,v in pairs(zombiecorpse:GetChildren()) do
  2140. for q,w in pairs(v:GetChildren()) do
  2141. if w.ClassName == "Motor6D" and w.Name ~= "Neck" then
  2142. w:destroy()
  2143. end
  2144. end
  2145. end
  2146. local ragdoll = zombiecorpse
  2147. if ragdoll:findFirstChild("HumanoidRootPart") then
  2148. ragdoll.HumanoidRootPart.Anchored = true
  2149. ragdoll.HumanoidRootPart.CanCollide = false
  2150. end
  2151. end
  2152. else
  2153. if victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder") then
  2154. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  2155. glue.Part0 = victimshumanoid.Parent.Torso
  2156. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Arm")
  2157. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2158. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2159. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Arm"))
  2160. limbcollider.Size = Vector3.new(1,1.4,1)
  2161. limbcollider.Shape = "Cylinder"
  2162. limbcollider.Transparency = 1
  2163. limbcollider.Name = "LimbCollider"
  2164. local limbcolliderweld = Instance.new("Weld", limbcollider)
  2165. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Arm")
  2166. limbcolliderweld.Part1 = limbcollider
  2167. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  2168. victimshumanoid.Parent.Torso:findFirstChild("Right Shoulder"):destroy()
  2169. end
  2170. if victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder") then
  2171. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  2172. glue.Part0 = victimshumanoid.Parent.Torso
  2173. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Arm")
  2174. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2175. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2176. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Arm"))
  2177. limbcollider.Size = Vector3.new(1,1.4,1)
  2178. limbcollider.Shape = "Cylinder"
  2179. limbcollider.Name = "LimbCollider"
  2180. limbcollider.Transparency = 1
  2181. local limbcolliderweld = Instance.new("Weld", limbcollider)
  2182. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Arm")
  2183. limbcolliderweld.Part1 = limbcollider
  2184. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  2185. victimshumanoid.Parent.Torso:findFirstChild("Left Shoulder"):destroy()
  2186. end
  2187. if victimshumanoid.Parent.Torso:findFirstChild("Left Hip") then
  2188. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  2189. glue.Part0 = victimshumanoid.Parent.Torso
  2190. glue.Part1 = victimshumanoid.Parent:findFirstChild("Left Leg")
  2191. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2192. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  2193. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Left Leg"))
  2194. limbcollider.Size = Vector3.new(1,1.4,1)
  2195. limbcollider.Shape = "Cylinder"
  2196. limbcollider.Name = "LimbCollider"
  2197. limbcollider.Transparency = 1
  2198. local limbcolliderweld = Instance.new("Weld", limbcollider)
  2199. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Left Leg")
  2200. limbcolliderweld.Part1 = limbcollider
  2201. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  2202. victimshumanoid.Parent.Torso:findFirstChild("Left Hip"):destroy()
  2203. end
  2204. if victimshumanoid.Parent.Torso:findFirstChild("Right Hip") then
  2205. local glue = Instance.new("Glue", victimshumanoid.Parent.Torso)
  2206. glue.Part0 = victimshumanoid.Parent.Torso
  2207. glue.Part1 = victimshumanoid.Parent:findFirstChild("Right Leg")
  2208. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2209. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  2210. local limbcollider = Instance.new("Part", victimshumanoid.Parent:findFirstChild("Right Leg"))
  2211. limbcollider.Size = Vector3.new(1,1.4,1)
  2212. limbcollider.Shape = "Cylinder"
  2213. limbcollider.Name = "LimbCollider"
  2214. limbcollider.Transparency = 1
  2215. local limbcolliderweld = Instance.new("Weld", limbcollider)
  2216. limbcolliderweld.Part0 = victimshumanoid.Parent:findFirstChild("Right Leg")
  2217. limbcolliderweld.Part1 = limbcollider
  2218. limbcolliderweld.C0 = CFrame.fromEulerAnglesXYZ(0,0,math.pi/2) * CFrame.new(-0.3,0,0)
  2219. victimshumanoid.Parent.Torso:findFirstChild("Right Hip"):destroy()
  2220. end
  2221. end
  2222. end
  2223. end
  2224. for i = 0,1 , 0.05 do
  2225. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.43301249, 0.999999762, -0.25, -2.76167526e-07, -0.866025388, 0.49999994, 0.999999881, -2.38418565e-07, 1.05300217e-07, 8.05285971e-09, 0.49999994, 0.866025329),i)
  2226. game:GetService("RunService").Heartbeat:wait()
  2227. end
  2228. wait(0.5)
  2229. for i = 0,1 , 0.05 do
  2230. rightarm.C0 = rightarm.C0:lerp(CFrame.new(1.5,0,0),i)
  2231. game:GetService("RunService").Heartbeat:wait()
  2232. end
  2233. rightarm:destroy()
  2234. wait(0.5)
  2235. victimweld:destroy()
  2236. if victimshumanoid.Parent ~= nil then
  2237. if victimshumanoid.Parent.Parent ~= nil then
  2238. if victimshumanoid.Parent:findFirstChild("Head") then
  2239. local vel = Instance.new("BodyVelocity", victimshumanoid.Parent.Head)
  2240. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  2241. vel.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector * math.random(20,30) + Vector3.new(0,15,0)
  2242. game.Debris:AddItem(vel, 0.2)
  2243. end
  2244. end
  2245. end
  2246. epicterrariaswoosh:Play()
  2247. for i = 0,1 , 0.08 do
  2248. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.766044438, 0, -0.642787635, 0, 1, 0, 0.642787635, 0, 0.766044438),i)
  2249. head.C0 = head.C0:lerp(CFrame.new(0, 1.50000024, 0, 0.766044438, 0, 0.642787635, 0, 1, 0, -0.642787635, 0, 0.766044438),i)
  2250. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.68301201, 0.5, -0.183013916, 0.866025507, 0.5, -3.66506363e-08, -1.35102539e-07, 9.68575407e-08, -0.99999994, -0.50000006, 0.866025448, 1.34606495e-07),i)
  2251. game:GetService("RunService").Heartbeat:wait()
  2252. end
  2253. wait(0.5)
  2254. for i = 0,1 , 0.04 do
  2255. knifeweld.C0 = knifeweld.C0:lerp(CFrame.new(-0.0147867203, -0.89893651, -0.841812134, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  2256. leftarm.C0 = leftarm.C0:lerp(CFrame.new(-1.5,0,0),i)
  2257. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  2258. head.C0 = head.C0:lerp(CFrame.new(0,1.5,0),i)
  2259. game:GetService("RunService").Heartbeat:wait()
  2260. end
  2261. atta:destroy()
  2262. leftarm:destroy()
  2263. canattack = true
  2264. end
  2265. end
  2266. end
  2267. -- r/FamilyFriendlyKnife
  2268. attackevent.OnServerEvent:connect(attack)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement