hawoody

Chara

Apr 1st, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.91 KB | None | 0 0
  1. --By Rufus14 boi
  2. wait(1)
  3. mouse = game.Players.LocalPlayer:GetMouse()
  4. chara = game.Players.LocalPlayer.Character
  5. local bg = Instance.new("Sound",chara.Torso)
  6. bg.Name = "BackgroundMusic"
  7. bg.SoundId = "http://www.roblox.com/asset/?id=156879167"
  8. bg.Looped = true
  9. bg.Volume = 1
  10. bg:Play()
  11. local txt = Instance.new("BillboardGui", chara)
  12. CV="Lime green"
  13. txt.Adornee = chara.Head
  14. txt.Name = "_status"
  15. txt.Size = UDim2.new(2, 0, 1.2, 0)
  16. txt.StudsOffset = Vector3.new(-9, 8, 0)
  17. local text = Instance.new("TextLabel", txt)
  18. text.Size = UDim2.new(10, 0, 7, 0)
  19. text.FontSize = "Size24"
  20. text.TextScaled = true
  21. text.TextTransparency = 0
  22. text.BackgroundTransparency = 1
  23. text.TextTransparency = 0
  24. text.TextStrokeTransparency = 0
  25. text.Font = "Bodoni"
  26. text.TextStrokeColor3 = BrickColor.new("Crimson").Color
  27. text.TextColor3 = BrickColor.new("Really black").Color
  28. text.Text = "Psychopath"
  29. v=Instance.new("Part")
  30. v.Name = "ColorBrick"
  31. v.Parent= chara
  32. v.FormFactor="Symmetric"
  33. v.Anchored=true
  34. v.CanCollide=false
  35. v.BottomSurface="Smooth"
  36. v.TopSurface="Smooth"
  37. v.Size=Vector3.new(10,5,3)
  38. v.Transparency=1
  39. v.CFrame=chara.Torso.CFrame
  40. v.BrickColor=BrickColor.new("Lime green")
  41. v.Transparency=1
  42. v.Shape="Block"
  43. v:Destroy()
  44. local shadowhead = Instance.new("Part",chara.Head)
  45. shadowhead.BrickColor = BrickColor.new("Really black")
  46. shadowhead.Size = Vector3.new(1.2, 0.6, 1)
  47. shadowhead.CanCollide = false
  48. local shadowheadmesh = Instance.new("SpecialMesh",shadowhead)
  49. shadowheadmesh.MeshType = "Head"
  50. shadowheadmesh.Scale = Vector3.new(1.26, 1.5, 1.26)
  51. local weld2 = Instance.new("Weld",shadowhead)
  52. weld2.Part0 = shadowhead
  53. weld2.Part1 = chara.Head
  54. weld2.C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  55. chara.Humanoid.Name = "MUSTKILL"
  56. --Converted with ttyyuu12345's model to script plugin v4
  57. function sandbox(var,func)
  58. local env = getfenv(func)
  59. local newenv = setmetatable({},{
  60. __index = function(self,k)
  61. if k=="script" then
  62. return var
  63. else
  64. return env[k]
  65. end
  66. end,
  67. })
  68. setfenv(func,newenv)
  69. return func
  70. end
  71. cors = {}
  72. mas = Instance.new("Model",game:GetService("Lighting"))
  73. Model0 = Instance.new("Model")
  74. Part1 = Instance.new("Part")
  75. SpecialMesh2 = Instance.new("SpecialMesh")
  76. Part3 = Instance.new("Part")
  77. Weld4 = Instance.new("Weld")
  78. Model0.Name = "bitch ass knife haha knife v3 reference"
  79. Model0.Parent = mas
  80. Part1.Name = "realknife"
  81. Part1.Parent = Model0
  82. Part1.Rotation = Vector3.new(0, -90, 0)
  83. Part1.CanCollide = false
  84. Part1.Size = Vector3.new(1.56900003, 0.259999305, 0.459999979)
  85. Part1.CFrame = CFrame.new(-20.8307228, 1.96215653, -28.7958698, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  86. Part1.BottomSurface = Enum.SurfaceType.Smooth
  87. Part1.TopSurface = Enum.SurfaceType.Smooth
  88. Part1.Position = Vector3.new(-20.8307228, 1.96215653, -28.7958698)
  89. Part1.Orientation = Vector3.new(0, -90, 0)
  90. SpecialMesh2.Parent = Part1
  91. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=121944778"
  92. SpecialMesh2.Scale = Vector3.new(1,1,1)
  93. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?ID=144012208"
  94. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  95. SpecialMesh2.Scale = Vector3.new(1,1,1)
  96. local weald = Instance.new("Weld",Part1)
  97. weald.Part0 = Part1
  98. weald.Part1 = chara["Right Arm"]
  99. weald.C0 = CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0)
  100. Part3.Name = "hitbox"
  101. Part3.Parent = Model0
  102. Part3.Transparency = 1
  103. Part3.Size = Vector3.new(0.0799999982, 1, 4.23999929)
  104. Part3.CFrame = CFrame.new(-20.8435993, 1.97891688, -28.7396412, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  105. Part3.BottomSurface = Enum.SurfaceType.Smooth
  106. Part3.TopSurface = Enum.SurfaceType.Smooth
  107. Part3.Position = Vector3.new(-20.8435993, 1.97891688, -28.7396412)
  108. Part3.CanCollide = false
  109. Weld4.Parent = Part3
  110. Weld4.C0 = CFrame.new(0.00499999523, -0.529999495, -0.0149999857, 1, 0, 0, 0, 1, 0, 0, 0, 0.99999809)
  111. Weld4.Part0 = Part3
  112. Weld4.Part1 = Part1
  113. for i,v in pairs(mas:GetChildren()) do
  114. v.Parent = game:GetService("Players").LocalPlayer.Character
  115. pcall(function() v:MakeJoints() end)
  116. end
  117. mas:Destroy()
  118. for i,v in pairs(cors) do
  119. spawn(function()
  120. pcall(v)
  121. end)
  122. end
  123. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  124. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  125. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  126. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  127. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  128. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  129. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  130. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  131. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  132. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  133. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  134. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  135. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  136. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  137. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  138. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  139. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  140. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  141. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  142. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  143. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  144. canuse = true
  145. throwie = false
  146. damged = false
  147. throwval = 0
  148. hitwall = Instance.new("Sound", Model0.realknife)
  149. hitwall.SoundId = "rbxassetid://214755079"
  150. hitwall.Volume = 4
  151. throwB = Instance.new("Sound", Model0.realknife)
  152. throwB.SoundId = "rbxassetid://166423113"
  153. throwB.Volume = 4
  154. slash = Instance.new("Sound", Model0.realknife)
  155. slash.SoundId = "rbxassetid://357417055"
  156. slash.Volume = 4
  157. for i,v in pairs(cors) do
  158. spawn(function()
  159. pcall(v)
  160. end)
  161. end
  162. function stab(key)
  163. if canuse then
  164. canuse = false
  165. for i = 0,1 , 0.05 do
  166. headweld.C0 = headweld.C0:lerp(CFrame.new(-1.90734863e-06, 1.50000036, 0, 0.532369733, 3.7252903e-09, 0.84651196, -1.86264515e-09, 0.99999994, 3.7252903e-09, -0.84651196, 9.31322575e-10, 0.532369792),i)
  167. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.204963252, 0.0110486243, -0.978707314, -0.0538272448, 0.998550236, 0, 0.977288425, 0.0526811182, 0.205260843),i)
  168. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.62274551, 0.625679851, -0.324334621, 0.892506719, 0.394126594, -0.219307721, -0.335090578, 0.253951877, -0.907316029, -0.301903814, 0.88327384, 0.358722001),i)
  169. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.38278389, 0.358563185, -0.35576582, 0.622085154, 0.589078009, 0.515749037, 0.520516813, 0.180908665, -0.834466279, -0.584869266, 0.787565291, -0.194084436),i)
  170. game:GetService("RunService").RenderStepped:wait()
  171. end
  172. slash:Play()
  173. damged = true
  174. for i = 0,1 , 0.07 do
  175. weald.C0 = weald.C0:lerp(CFrame.new(-0.000253677368, -1.57838058, 0.0807287693, 0.999999166, -0.000329941511, 9.53152776e-05, -0.00030824542, -0.984514713, -0.175298288, 0.000151641667, 0.175298288, -0.984515607),i)
  176. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.49999952, -1.43051147e-06, -0.249196813, 2.23517418e-08, -0.968452811, -4.48198989e-09, 0.999999821, -2.98023224e-08, 0.968452811, 1.86264515e-09, -0.249196798),i)
  177. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, -0.240329295, -0.02552839, 0.97035563, -0.0975859016, 0.995224953, 0.00201342511, -0.965773642, -0.0942091718, -0.241672948),i)
  178. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.94862175, 0.589737892, 0.036031723, 0.437891245, 0.895518184, 0.0793625563, -0.734854102, 0.407384276, -0.542242527, -0.517919183, 0.179123357, 0.836465418),i)
  179. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.88391113, 0.481715679, 0.273626804, -0.245335877, -0.935992301, -0.252445042, -0.152630016, 0.29444921, -0.943399429, 0.957347453, -0.192919195, -0.215099543),i)
  180. game:GetService("RunService").RenderStepped:wait()
  181. end
  182. damged = false
  183. canuse = true
  184. for i = 0,1 ,0.03 do
  185. weald.C0 = weald.C0:lerp(CFrame.new(0, -0.800003052, 0.999999046, 1, 0, 0, 0, 0, -1, 0, 0.999999523, 0),i)
  186. game:GetService("RunService").RenderStepped:wait()
  187. end
  188. end
  189. end
  190. mouse.Button1Down:connect(stab)
  191. function stabbystabby(part)
  192. --[[knifeclone.hitbox.CFrame = CFrame.new(knifeclone.hitbox.CFrame.p, thrownpos)
  193. knifeclone.hitbox.Weld.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  194. knifeclone.hitbox.CFrame = knifeclone.hitbox.CFrame--]]
  195. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  196. if damged and humanoid and part.Parent.Name ~= game.Players.LocalPlayer.Name then
  197. humanoid.Parent:BreakJoints()
  198. damged = false
  199. wait()
  200. local isr15 = part.Parent:findFirstChild("UpperTorso")
  201. if isr15 then
  202. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  203. humanoid.Parent.HumanoidRootPart.CanCollide = false
  204. end
  205. local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
  206. local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
  207. constraint.Attachment0 = attachone
  208. constraint.Attachment1 = attachtwo
  209. constraint.LimitsEnabled = true
  210. constraint.TwistLimitsEnabled = true
  211. constraint.TwistLowerAngle = lowang
  212. constraint.TwistUpperAngle = upperang
  213. constraint.UpperAngle = twist
  214. end
  215. local function makehingelimb(attachone, attachtwo, upperang, lowang)
  216. local constraint = Instance.new("HingeConstraint", humanoid.Parent)
  217. constraint.Attachment0 = attachone
  218. constraint.Attachment1 = attachtwo
  219. constraint.LimitsEnabled = true
  220. constraint.LowerAngle = lowang
  221. constraint.UpperAngle = upperang
  222. end
  223. for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
  224. if v.ClassName == "Accessory" then
  225. local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
  226. if findhandle then
  227. local attach = findhandle:findFirstChildOfClass("Attachment")
  228. for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
  229. if w.Name == "UpperTorso" or w.Name == "Head" then
  230. attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
  231. end
  232. end
  233. if attach and attach1 then
  234. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  235. constraint.Attachment0 = attach
  236. constraint.Attachment1 = attach1
  237. constraint.LimitsEnabled = true
  238. constraint.LowerAngle = 0
  239. constraint.UpperAngle = 0
  240. end
  241. end
  242. end
  243. end
  244. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
  245. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  246. attachment.Position = Vector3.new(0, -0.5, 0)
  247. attachment.Name = "lol"
  248. attachment.Visible = false
  249. humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
  250. humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
  251. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  252. ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
  253. ball.Attachment1 = attachment
  254. ball.LimitsEnabled = true
  255. ball.TwistLimitsEnabled = true
  256. ball.UpperAngle = 40
  257. ball.Restitution = 0.5
  258. ball.TwistUpperAngle = 40
  259. ball.TwistLowerAngle = -40
  260. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
  261. collidepartofleftleg.Name = "Bone"
  262. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  263. collidepartofleftleg.Transparency = 1
  264. collidepartofleftleg:BreakJoints()
  265. local weeld = Instance.new("Weld", collidepartofleftleg)
  266. weeld.Part0 = collidepartofleftleg
  267. weeld.Part1 = humanoid.Parent["Head"]
  268. if humanoid.Parent.Head:findFirstChild("Neck") then
  269. humanoid.Parent.Head.Neck:destroy()
  270. end
  271. if humanoid.Parent.Head:findFirstChild("face") then
  272. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  273. end
  274. end
  275. local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
  276. local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
  277. --
  278. local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
  279. local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
  280. --
  281. local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
  282. local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
  283. --
  284. local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
  285. local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
  286. --Foot & Hands--
  287.  
  288. local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
  289. local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
  290. --
  291. local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
  292. local RightHand = humanoid.Parent:findFirstChild("RightHand")
  293.  
  294. --END--
  295. --TORSOS--
  296.  
  297. local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
  298. local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
  299.  
  300. --END--
  301. if LowerTorso then
  302. if LeftUpperLeg then
  303. makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
  304. end
  305. if RightUpperLeg then
  306. makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
  307. end
  308. if LeftLowerLeg then
  309. makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
  310. end
  311. if RightLowerLeg then
  312. makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
  313. end
  314. if LeftFoot then
  315. makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
  316. end
  317. if RightFoot then
  318. makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
  319. end
  320. if UpperTorso then
  321. makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
  322. end
  323. end
  324. if UpperTorso then
  325. local hitsound = Instance.new("Sound", UpperTorso)
  326. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  327. hitsound:Play()
  328. hitsound.Volume = math.random(5,10)
  329. local canhit = true
  330. local hitval = 15
  331. local uptor = humanoid.Parent.UpperTorso
  332. if RightUpperArm then
  333. makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
  334. end
  335. if RightLowerArm then
  336. makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
  337. end
  338. if RightHand then
  339. makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
  340. end
  341. if LeftUpperArm then
  342. makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
  343. end
  344. if LeftLowerArm then
  345. makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
  346. end
  347. if LeftHand then
  348. makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
  349. end
  350. end
  351. elseif part.Parent:findFirstChild("Torso") then
  352. canspin = false
  353. if humanoid.Parent:findFirstChild("Health") then
  354. humanoid.Parent.Health:Remove()
  355. end
  356. humanoid.WalkSpeed = 0
  357. humanoid.JumpPower = 0
  358. humanoid.PlatformStand = true
  359. for z,x in pairs(humanoid.Parent:GetChildren()) do
  360. if x.ClassName == "Accessory" then
  361. local handle = x:findFirstChild("Handle")
  362. if handle then
  363. local attachment = handle:findFirstChildOfClass("Attachment")
  364. if attachment then
  365. for q,w in pairs(humanoid.Parent:GetChildren()) do
  366. if w.Name == "Torso" or w.Name == "Head" then
  367. local anotherone = w:findFirstChild(attachment.Name)
  368. if attachment and anotherone then
  369. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  370. constraint.Attachment0 = attachment
  371. constraint.Attachment1 = anotherone
  372. constraint.LimitsEnabled = true
  373. constraint.LowerAngle = 0
  374. constraint.UpperAngle = 0
  375. end
  376. end
  377. end
  378. end
  379. end
  380. end
  381. end
  382. if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
  383. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  384. attachment.Position = Vector3.new(1, 1, 0)
  385. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  386. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  387. ball.Attachment1 = attachment
  388. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  389. collidepartofleftleg.Name = "Bone"
  390. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  391. collidepartofleftleg.Transparency = 1
  392. collidepartofleftleg:BreakJoints()
  393. local weeld = Instance.new("Weld", collidepartofleftleg)
  394. weeld.Part0 = humanoid.Parent["Right Arm"]
  395. weeld.Part1 = collidepartofleftleg
  396. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  397. end
  398. if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
  399. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  400. attachment.Position = Vector3.new(-1, 1, 0)
  401. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  402. ball.Attachment0 = attachment
  403. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  404. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  405. collidepartofleftleg.Name = "Bone"
  406. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  407. collidepartofleftleg.Transparency = 1
  408. collidepartofleftleg:BreakJoints()
  409. local weeld = Instance.new("Weld", collidepartofleftleg)
  410. weeld.Part0 = humanoid.Parent["Left Arm"]
  411. weeld.Part1 = collidepartofleftleg
  412. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  413. end
  414. if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
  415. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  416. attachment.Position = Vector3.new(0.5, -1, 0)
  417. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  418. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  419. ball.Attachment1 = attachment
  420. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  421. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  422. collidepartofleftleg.Name = "Bone"
  423. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  424. collidepartofleftleg.Transparency = 1
  425. collidepartofleftleg:BreakJoints()
  426. local weeld = Instance.new("Weld", collidepartofleftleg)
  427. weeld.Part0 = humanoid.Parent["Right Leg"]
  428. weeld.Part1 = collidepartofleftleg
  429. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  430. end
  431. if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
  432. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  433. attachment.Position = Vector3.new(-0.5, -1, 0)
  434. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  435. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  436. ball.Attachment1 = attachment
  437. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  438. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  439. collidepartofleftleg.Name = "Bone"
  440. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  441. collidepartofleftleg.Transparency = 1
  442. collidepartofleftleg:BreakJoints()
  443. local weeld = Instance.new("Weld", collidepartofleftleg)
  444. weeld.Part0 = humanoid.Parent["Left Leg"]
  445. weeld.Part1 = collidepartofleftleg
  446. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  447. end
  448. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
  449. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  450. attachment.Position = Vector3.new(0, -0.5, 0)
  451. attachment.Name = "lol"
  452. attachment.Visible = false
  453. humanoid.Parent.Torso.NeckAttachment.Visible = false
  454. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  455. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  456. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  457. ball.Attachment1 = attachment
  458. ball.LimitsEnabled = true
  459. ball.TwistLimitsEnabled = true
  460. ball.UpperAngle = 90
  461. ball.Restitution = 0.5
  462. ball.TwistUpperAngle = 90
  463. ball.TwistLowerAngle = -90
  464. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  465. collidepartofleftleg.Name = "Bone"
  466. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  467. collidepartofleftleg.Transparency = 1
  468. collidepartofleftleg:BreakJoints()
  469. local weeld = Instance.new("Weld", collidepartofleftleg)
  470. weeld.Part0 = collidepartofleftleg
  471. weeld.Part1 = humanoid.Parent["Head"]
  472. if humanoid.Parent.Torso:findFirstChild("Neck") then
  473. humanoid.Parent.Torso.Neck:destroy()
  474. end
  475. if humanoid.Parent.Head:findFirstChild("face") then
  476. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  477. end
  478. local hitsound = Instance.new("Sound", humanoid.Parent.Head)
  479. hitsound.SoundId = "rbxassetid://186311262"
  480. hitsound:Play()
  481. hitsound.Volume = math.random(5,10)
  482. humanoid.Parent.HumanoidRootPart.Velocity = Part1.CFrame.lookVector / -50
  483. end
  484. if humanoid.Parent:findFirstChild("Head") then
  485. local aah = Instance.new("Sound", humanoid.Parent.Head)
  486. if aah then
  487. aah.Volume = 1
  488. local aahmath = math.random(2,8)
  489. if aahmath == 2 then
  490. aah.SoundId = "rbxassetid://884348443"
  491. aah:Play()
  492. end
  493. if aahmath == 3 then
  494. aah.SoundId = "rbxassetid://681582832"
  495. aah.Volume = 10
  496. aah:Play()
  497. end
  498. if aahmath == 4 then
  499. aah.SoundId = "rbxassetid://1080363252"
  500. aah:Play()
  501. end
  502. if aahmath == 5 then
  503. aah.SoundId = "rbxassetid://150245085"
  504. aah:Play()
  505. end
  506. if aahmath == 6 then
  507. aah.SoundId = "rbxassetid://345287845"
  508. aah.TimePosition = 2.5
  509. aah:Play()
  510. end
  511. if aahmath == 7 then
  512. aah.SoundId = "rbxassetid://147758746"
  513. aah.TimePosition = 1.3
  514. aah:Play()
  515. end
  516. if aahmath == 8 then
  517. aah.SoundId = "rbxassetid://131314452"
  518. aah:Play()
  519. end
  520. end
  521. end
  522. end
  523. end
  524. end
  525. Part1.Touched:connect(stabbystabby)
  526. function throw(key)
  527. key = key:lower()
  528. if key == "e" and canuse then
  529. canuse = false
  530. for i = 0,1 , 0.03 do
  531. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.87712723, 0, -0.480258077, 0, 1, 0, 0.480258077, 0, 0.87712723),i)
  532. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.08419418, 0.439404726, -0.699457169, 0.786269963, -0.617883086, 0, 0.0533286743, 0.0678619221, -0.996268392, 0.6155774, 0.783335984, 0.0863086879),i)
  533. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.94801712, 0.221992493, 0.99999994, 0, 0, 0, -0.896033943, 0.443985492, 0, -0.443985522, -0.896034002),i)
  534. game:GetService("RunService").RenderStepped:wait()
  535. end
  536. local knifeclone = Model0:Clone()
  537. knifeclone.Parent = game.Players.LocalPlayer.Character
  538. knifeclone.hitbox:destroy()
  539. for i,v in pairs(knifeclone.realknife:GetChildren()) do
  540. if v.ClassName == "Weld" then
  541. v:Destroy()
  542. end
  543. end
  544. Part1.Transparency = 1
  545. local thrownpos = knifeclone.realknife.Position
  546. local canspin = true
  547. local downval = 0
  548. local mouselook = mouse.Hit.lookVector
  549. local mousepos = mouse.Hit
  550. throwB:Play()
  551. local velo = Instance.new("BodyVelocity", knifeclone.realknife)
  552. velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  553. velo.Velocity = mouse.Hit.lookVector * 110
  554. knifeclone.realknife.CanCollide = true
  555. knifeclone.realknife.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-4)
  556. knifeclone.realknife.CFrame = CFrame.new(knifeclone.realknife.Position, mouse.Hit.p)
  557. knifeclone.realknife.CFrame = knifeclone.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
  558. local function attach(part)
  559. --[[knifeclone.hitbox.CFrame = CFrame.new(knifeclone.hitbox.CFrame.p, thrownpos)
  560. knifeclone.hitbox.Weld.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  561. knifeclone.hitbox.CFrame = knifeclone.hitbox.CFrame--]]
  562. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  563. if humanoid and part.Parent.Name ~= game.Players.LocalPlayer.Name then
  564. canspin = false
  565. humanoid.Parent:BreakJoints()
  566. knifeclone:destroy()
  567. wait()
  568. local isr15 = part.Parent:findFirstChild("UpperTorso")
  569. if isr15 then
  570. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  571. humanoid.Parent.HumanoidRootPart.CanCollide = false
  572. end
  573. local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
  574. local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
  575. constraint.Attachment0 = attachone
  576. constraint.Attachment1 = attachtwo
  577. constraint.LimitsEnabled = true
  578. constraint.TwistLimitsEnabled = true
  579. constraint.TwistLowerAngle = lowang
  580. constraint.TwistUpperAngle = upperang
  581. constraint.UpperAngle = twist
  582. end
  583. local function makehingelimb(attachone, attachtwo, upperang, lowang)
  584. local constraint = Instance.new("HingeConstraint", humanoid.Parent)
  585. constraint.Attachment0 = attachone
  586. constraint.Attachment1 = attachtwo
  587. constraint.LimitsEnabled = true
  588. constraint.LowerAngle = lowang
  589. constraint.UpperAngle = upperang
  590. end
  591. for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
  592. if v.ClassName == "Accessory" then
  593. local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
  594. if findhandle then
  595. local attach = findhandle:findFirstChildOfClass("Attachment")
  596. for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
  597. if w.Name == "UpperTorso" or w.Name == "Head" then
  598. attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
  599. end
  600. end
  601. if attach and attach1 then
  602. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  603. constraint.Attachment0 = attach
  604. constraint.Attachment1 = attach1
  605. constraint.LimitsEnabled = true
  606. constraint.LowerAngle = 0
  607. constraint.UpperAngle = 0
  608. end
  609. end
  610. end
  611. end
  612. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
  613. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  614. attachment.Position = Vector3.new(0, -0.5, 0)
  615. attachment.Name = "lol"
  616. attachment.Visible = false
  617. humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
  618. humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
  619. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  620. ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
  621. ball.Attachment1 = attachment
  622. ball.LimitsEnabled = true
  623. ball.TwistLimitsEnabled = true
  624. ball.UpperAngle = 40
  625. ball.Restitution = 0.5
  626. ball.TwistUpperAngle = 40
  627. ball.TwistLowerAngle = -40
  628. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
  629. collidepartofleftleg.Name = "Bone"
  630. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  631. collidepartofleftleg.Transparency = 1
  632. collidepartofleftleg:BreakJoints()
  633. local weeld = Instance.new("Weld", collidepartofleftleg)
  634. weeld.Part0 = collidepartofleftleg
  635. weeld.Part1 = humanoid.Parent["Head"]
  636. if humanoid.Parent.Head:findFirstChild("Neck") then
  637. humanoid.Parent.Head.Neck:destroy()
  638. end
  639. if humanoid.Parent.Head:findFirstChild("face") then
  640. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  641. end
  642. end
  643. local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
  644. local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
  645. --
  646. local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
  647. local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
  648. --
  649. local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
  650. local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
  651. --
  652. local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
  653. local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
  654. --Foot & Hands--
  655.  
  656. local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
  657. local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
  658. --
  659. local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
  660. local RightHand = humanoid.Parent:findFirstChild("RightHand")
  661.  
  662. --END--
  663. --TORSOS--
  664.  
  665. local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
  666. local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
  667.  
  668. --END--
  669. if LowerTorso then
  670. if LeftUpperLeg then
  671. makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
  672. end
  673. if RightUpperLeg then
  674. makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
  675. end
  676. if LeftLowerLeg then
  677. makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
  678. end
  679. if RightLowerLeg then
  680. makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
  681. end
  682. if LeftFoot then
  683. makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
  684. end
  685. if RightFoot then
  686. makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
  687. end
  688. if UpperTorso then
  689. makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
  690. end
  691. end
  692. if UpperTorso then
  693. local vel = Instance.new("BodyVelocity", UpperTorso)
  694. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  695. vel.Velocity = mouselook *25 + Vector3.new(0,10,0)
  696. game.Debris:AddItem(vel, 0.1)
  697. local hitsound = Instance.new("Sound", UpperTorso)
  698. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  699. hitsound:Play()
  700. hitsound.Volume = math.random(5,10)
  701. local canhit = true
  702. local hitval = 15
  703. local uptor = humanoid.Parent.UpperTorso
  704. if RightUpperArm then
  705. makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
  706. end
  707. if RightLowerArm then
  708. makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
  709. end
  710. if RightHand then
  711. makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
  712. end
  713. if LeftUpperArm then
  714. makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
  715. end
  716. if LeftLowerArm then
  717. makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
  718. end
  719. if LeftHand then
  720. makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
  721. end
  722. end
  723. elseif part.Parent:findFirstChild("Torso") then
  724. canspin = false
  725. if humanoid.Parent:findFirstChild("Health") then
  726. humanoid.Parent.Health:Remove()
  727. end
  728. humanoid.WalkSpeed = 0
  729. humanoid.JumpPower = 0
  730. humanoid.PlatformStand = true
  731. if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
  732. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  733. attachment.Position = Vector3.new(1, 1, 0)
  734. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  735. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  736. ball.Attachment1 = attachment
  737. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  738. collidepartofleftleg.Name = "Bone"
  739. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  740. collidepartofleftleg.Transparency = 1
  741. collidepartofleftleg:BreakJoints()
  742. local weeld = Instance.new("Weld", collidepartofleftleg)
  743. weeld.Part0 = humanoid.Parent["Right Arm"]
  744. weeld.Part1 = collidepartofleftleg
  745. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  746. end
  747. if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
  748. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  749. attachment.Position = Vector3.new(-1, 1, 0)
  750. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  751. ball.Attachment0 = attachment
  752. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  753. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  754. collidepartofleftleg.Name = "Bone"
  755. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  756. collidepartofleftleg.Transparency = 1
  757. collidepartofleftleg:BreakJoints()
  758. local weeld = Instance.new("Weld", collidepartofleftleg)
  759. weeld.Part0 = humanoid.Parent["Left Arm"]
  760. weeld.Part1 = collidepartofleftleg
  761. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  762. end
  763. if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
  764. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  765. attachment.Position = Vector3.new(0.5, -1, 0)
  766. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  767. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  768. ball.Attachment1 = attachment
  769. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  770. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  771. collidepartofleftleg.Name = "Bone"
  772. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  773. collidepartofleftleg.Transparency = 1
  774. collidepartofleftleg:BreakJoints()
  775. local weeld = Instance.new("Weld", collidepartofleftleg)
  776. weeld.Part0 = humanoid.Parent["Right Leg"]
  777. weeld.Part1 = collidepartofleftleg
  778. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  779. end
  780. if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
  781. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  782. attachment.Position = Vector3.new(-0.5, -1, 0)
  783. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  784. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  785. ball.Attachment1 = attachment
  786. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  787. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  788. collidepartofleftleg.Name = "Bone"
  789. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  790. collidepartofleftleg.Transparency = 1
  791. collidepartofleftleg:BreakJoints()
  792. local weeld = Instance.new("Weld", collidepartofleftleg)
  793. weeld.Part0 = humanoid.Parent["Left Leg"]
  794. weeld.Part1 = collidepartofleftleg
  795. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  796. end
  797. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
  798. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  799. attachment.Position = Vector3.new(0, -0.5, 0)
  800. attachment.Name = "lol"
  801. attachment.Visible = false
  802. humanoid.Parent.Torso.NeckAttachment.Visible = false
  803. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  804. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  805. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  806. ball.Attachment1 = attachment
  807. ball.LimitsEnabled = true
  808. ball.TwistLimitsEnabled = true
  809. ball.UpperAngle = 90
  810. ball.Restitution = 0.5
  811. ball.TwistUpperAngle = 90
  812. ball.TwistLowerAngle = -90
  813. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  814. collidepartofleftleg.Name = "Bone"
  815. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  816. collidepartofleftleg.Transparency = 1
  817. collidepartofleftleg:BreakJoints()
  818. local weeld = Instance.new("Weld", collidepartofleftleg)
  819. weeld.Part0 = collidepartofleftleg
  820. weeld.Part1 = humanoid.Parent["Head"]
  821. if humanoid.Parent.Torso:findFirstChild("Neck") then
  822. humanoid.Parent.Torso.Neck:destroy()
  823. end
  824. if humanoid.Parent.Head:findFirstChild("face") then
  825. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  826. end
  827. local hitsound = Instance.new("Sound", humanoid.Parent.Head)
  828. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  829. hitsound:Play()
  830. hitsound.Volume = math.random(5,10)
  831. humanoid.Parent.Torso.Velocity = Part1.CFrame.lookVector / 20
  832. end
  833. for z,x in pairs(humanoid.Parent:GetChildren()) do
  834. if x.ClassName == "Accessory" then
  835. local handle = x:findFirstChild("Handle")
  836. if handle then
  837. local attachment = handle:findFirstChildOfClass("Attachment")
  838. if attachment then
  839. for q,w in pairs(humanoid.Parent:GetChildren()) do
  840. if w.Name == "Torso" or w.Name == "Head" then
  841. local anotherone = w:findFirstChild(attachment.Name)
  842. if attachment and anotherone then
  843. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  844. constraint.Attachment0 = attachment
  845. constraint.Attachment1 = anotherone
  846. constraint.LimitsEnabled = true
  847. constraint.LowerAngle = 0
  848. constraint.UpperAngle = 0
  849. end
  850. end
  851. end
  852. end
  853. end
  854. end
  855. end
  856. if humanoid.Parent:findFirstChild("Head") then
  857. local aah = Instance.new("Sound", humanoid.Parent.Head)
  858. if aah then
  859. aah.Volume = 8
  860. local aahmath = math.random(2,8)
  861. if aahmath == 2 then
  862. aah.SoundId = "rbxassetid://884348443"
  863. aah:Play()
  864. end
  865. if aahmath == 3 then
  866. aah.SoundId = "rbxassetid://681582832"
  867. aah.Volume = 10
  868. aah:Play()
  869. end
  870. if aahmath == 4 then
  871. aah.SoundId = "rbxassetid://1080363252"
  872. aah:Play()
  873. end
  874. if aahmath == 5 then
  875. aah.SoundId = "rbxassetid://150245085"
  876. aah:Play()
  877. end
  878. if aahmath == 6 then
  879. aah.SoundId = "rbxassetid://345287845"
  880. aah.TimePosition = 2.5
  881. aah:Play()
  882. end
  883. if aahmath == 7 then
  884. aah.SoundId = "rbxassetid://147758746"
  885. aah.TimePosition = 1.3
  886. aah:Play()
  887. end
  888. if aahmath == 8 then
  889. aah.SoundId = "rbxassetid://131314452"
  890. aah:Play()
  891. end
  892. end
  893. end
  894. end
  895. else
  896. if part.Parent.ClassName ~= "Accessory" then
  897. canspin = false
  898. hitwall:Play()
  899. knifeclone.realknife.Anchored = true
  900. local knifeclonen = knifeclone:Clone()
  901. knifeclonen.Parent = workspace
  902. knifeclone:destroy()
  903. knifeclonen.realknife.CFrame = CFrame.new(knifeclonen.realknife.Position, thrownpos)
  904. knifeclonen.realknife.CFrame = knifeclonen.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  905. game.Debris:AddItem(knifeclonen, 10)
  906. end
  907. end
  908. end
  909. knifeclone.realknife.Touched:connect(attach)
  910. local function spin()
  911. if workspace:FindFirstChild(Model0.Name) then
  912. if canspin then
  913. downval = downval + 1
  914. --knifeclone.realknife.CFrame = knifeclone.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.25)
  915. if downval < 150 then
  916. --knifeclone.realknife.RotVelocity = mousepos.rightVector * -2
  917. velo.Velocity = velo.Velocity + Vector3.new(0,-0.7,0)
  918. end
  919. end
  920. end
  921. end
  922. game:GetService("RunService").RenderStepped:connect(spin)
  923. for i = 0.2,1 , 0.1 do
  924. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.652971387, 0, 0.757382512, 0, 1, 0, -0.757382512, 0, 0.652971387),i)
  925. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.60898972, 0.1406672, -0.00325965881, 0.786269963, 0.431710958, -0.442046583, 0.0533286743, 0.665336668, 0.744636238, 0.6155774, -0.609058917, 0.500111818),i)
  926. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.11553216, -0.319662094, 0.99999994, 0, 0, 0, 0.768935919, -0.639325857, 0, 0.639325917, 0.768935978),i)
  927. game:GetService("RunService").RenderStepped:wait()
  928. end
  929. canuse = true
  930. for i = 0,1 , 0.01 do
  931. if canuse then
  932. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  933. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.11091232, 0.239697695, -0.648029327, 0.78627032, -0.564446628, -0.251355588, 0.0533286557, 0.467276007, -0.882501543, 0.615577579, 0.68048048, 0.397506446),i)
  934. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.23454857, 0.183438778, -0.669290543, 0.622085392, 0.528965533, 0.577239931, 0.520516932, 0.271329552, -0.809593856, -0.584869325, 0.804099798, -0.106545292),i)
  935. game:GetService("RunService").RenderStepped:wait()
  936. end
  937. end
  938. Part1.Transparency = 0
  939. Part1.CanCollide = false
  940. Part3.CanCollide = false
  941. end
  942. end
  943. mouse.KeyDown:connect(throw)
  944. for i = 0,1 , 0.01 do
  945. if canuse then
  946. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  947. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.11091232, 0.239697695, -0.648029327, 0.78627032, -0.564446628, -0.251355588, 0.0533286557, 0.467276007, -0.882501543, 0.615577579, 0.68048048, 0.397506446),i)
  948. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.23454857, 0.183438778, -0.669290543, 0.622085392, 0.528965533, 0.577239931, 0.520516932, 0.271329552, -0.809593856, -0.584869325, 0.804099798, -0.106545292),i)
  949. game:GetService("RunService").RenderStepped:wait()
  950. end
  951. end
  952. while true do
  953. if canuse then
  954. for i = 0,1 , 0.01 do
  955. if canuse then
  956. headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
  957. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  958. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.11091232, 0.239697695, -0.648029327, 0.78627032, -0.564446628, -0.251355588, 0.0533286557, 0.467276007, -0.882501543, 0.615577579, 0.68048048, 0.397506446),i)
  959. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.23454857, 0.183438778, -0.669290543, 0.622085392, 0.528965533, 0.577239931, 0.520516932, 0.271329552, -0.809593856, -0.584869325, 0.804099798, -0.106545292),i)
  960. game:GetService("RunService").RenderStepped:wait()
  961. end
  962. end
  963. for i = 0,1 , 0.01 do
  964. if canuse then
  965. headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
  966. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  967. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.08373642, 0.349919796, -0.692287445, 0.78627032, -0.577653646, -0.21930784, 0.0533286557, 0.417053103, -0.907316148, 0.615577579, 0.701700509, 0.358722091),i)
  968. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.16544914, 0.291818857, -0.64632988, 0.622085392, 0.589078248, 0.515749276, 0.520516932, 0.180908725, -0.834466338, -0.584869325, 0.787565589, -0.19408451),i)
  969. game:GetService("RunService").RenderStepped:wait()
  970. end
  971. end
  972. end
  973. if throwB.Parent == nil then
  974. throwB.Parent = Model0.realknife
  975. end
  976. if slash.Parent == nil then
  977. slash.Parent = Model0.realknife
  978. end
  979. if hitwall.Parent == nil then
  980. hitwall.Parent = Model0.realknife
  981. end
  982. wait()
  983. end
Add Comment
Please, Sign In to add comment