Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.04 KB | None | 0 0
  1. --By Rufus14 boi
  2. mouse = game.Players.LocalPlayer:GetMouse()
  3. --Converted with ttyyuu12345's model to script plugin v4
  4. function sandbox(var,func)
  5. local env = getfenv(func)
  6. local newenv = setmetatable({},{
  7. __index = function(self,k)
  8. if k=="script" then
  9. return var
  10. else
  11. return env[k]
  12. end
  13. end,
  14. })
  15. setfenv(func,newenv)
  16. return func
  17. end
  18. cors = {}
  19. mas = Instance.new("Model",game:GetService("Lighting"))
  20. Model0 = Instance.new("Model")
  21. Part1 = Instance.new("Part")
  22. SpecialMesh2 = Instance.new("SpecialMesh")
  23. Part3 = Instance.new("Part")
  24. Weld4 = Instance.new("Weld")
  25. Model0.Name = "bitch ass knife haha knife v3 reference"
  26. Model0.Parent = mas
  27. Part1.Name = "realknife"
  28. Part1.Parent = Model0
  29. Part1.Rotation = Vector3.new(0, -90, 0)
  30. Part1.CanCollide = false
  31. Part1.Size = Vector3.new(1.56900003, 0.259999305, 0.459999979)
  32. Part1.CFrame = CFrame.new(-20.8307228, 1.96215653, -28.7958698, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  33. Part1.BottomSurface = Enum.SurfaceType.Smooth
  34. Part1.TopSurface = Enum.SurfaceType.Smooth
  35. Part1.Position = Vector3.new(-20.8307228, 1.96215653, -28.7958698)
  36. Part1.Orientation = Vector3.new(0, -90, 0)
  37. SpecialMesh2.Parent = Part1
  38. SpecialMesh2.MeshId = "rbxassetid://430428354"
  39. SpecialMesh2.Scale = Vector3.new(0.349999994, 0.300000012, 0.300000012)
  40. SpecialMesh2.TextureId = "rbxassetid://430428397"
  41. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  42. SpecialMesh2.Scale = Vector3.new(0.349999994, 0.300000012, 0.300000012)
  43. Part3.Name = "hitbox"
  44. Part3.Parent = Model0
  45. Part3.Transparency = 1
  46. Part3.Size = Vector3.new(0.0799999982, 1, 4.23999929)
  47. Part3.CFrame = CFrame.new(-20.8435993, 1.97891688, -28.7396412, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  48. Part3.BottomSurface = Enum.SurfaceType.Smooth
  49. Part3.TopSurface = Enum.SurfaceType.Smooth
  50. Part3.Position = Vector3.new(-20.8435993, 1.97891688, -28.7396412)
  51. Part3.CanCollide = false
  52. Weld4.Parent = Part3
  53. Weld4.C0 = CFrame.new(0.0128765106, -0.0167603493, -0.0562286377, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  54. Weld4.Part0 = Part3
  55. Weld4.Part1 = Part1
  56. for i,v in pairs(mas:GetChildren()) do
  57. v.Parent = game:GetService("Players").LocalPlayer.Character
  58. pcall(function() v:MakeJoints() end)
  59. end
  60. mas:Destroy()
  61. for i,v in pairs(cors) do
  62. spawn(function()
  63. pcall(v)
  64. end)
  65. end
  66. local rootjointclone = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Clone()
  67. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint:Remove()
  68. local humanoidrootpart = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  69. humanoidrootpart.Part0 = game.Players.LocalPlayer.Character.HumanoidRootPart
  70. humanoidrootpart.Part1 = game.Players.LocalPlayer.Character.Torso
  71. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  72. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  73. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  74. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  75. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  76. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  77. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  78. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  79. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  80. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  81. local heed = game.Players.LocalPlayer.Character.Torso["Neck"]:Clone()
  82. local headweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  83. headweld.Part0 = game.Players.LocalPlayer.Character.Torso
  84. headweld.Part1 = game.Players.LocalPlayer.Character.Head
  85. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  86. game.Players.LocalPlayer.Character.Torso.Neck:Remove()
  87. local waeld = Instance.new("Weld", game.Players.LocalPlayer.Character["Right Arm"])
  88. waeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  89. waeld.Part1 = Part1
  90. waeld.C0 = CFrame.new(-0.0107059479, -1.0378592, -0.905899048, 0, 0, -1, 0, 0.999999881, 0, 1, 0, 0)
  91. canuse = true
  92. throwie = false
  93. damged = false
  94. throwval = 0
  95. hitwall = Instance.new("Sound", Model0.realknife)
  96. hitwall.SoundId = "rbxassetid://214755079"
  97. hitwall.Volume = 10
  98. throwB = Instance.new("Sound", Model0.realknife)
  99. throwB.SoundId = "rbxassetid://166423113"
  100. throwB.Volume = 10
  101. slash = Instance.new("Sound", Model0.realknife)
  102. slash.SoundId = "rbxassetid://978101945"
  103. slash.Volume = 10
  104. for i,v in pairs(cors) do
  105. spawn(function()
  106. pcall(v)
  107. end)
  108. end
  109. function stab(key)
  110. if canuse then
  111. canuse = false
  112. for i = 0,1 , 0.05 do
  113. 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)
  114. 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)
  115. 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)
  116. 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)
  117. game:GetService("RunService").RenderStepped:wait()
  118. end
  119. slash:Play()
  120. damged = true
  121. for i = 0,1 , 0.07 do
  122. waeld.C0 = waeld.C0:lerp(CFrame.new(-0.0235719681, -1.80648994, -0.295873642, 0.999999881, -1.41840428e-06, -2.03028321e-07, 4.39584255e-07, 0.17365025, 0.984807372, -1.45006925e-06, -0.984806836, 0.173650339) * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0),i)
  123. 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)
  124. 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)
  125. 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)
  126. 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)
  127. game:GetService("RunService").RenderStepped:wait()
  128. end
  129. damged = false
  130. canuse = true
  131. end
  132. end
  133. mouse.Button1Down:connect(stab)
  134. function stabbystabby(part)
  135. --[[knifeclone.hitbox.CFrame = CFrame.new(knifeclone.hitbox.CFrame.p, thrownpos)
  136. knifeclone.hitbox.Weld.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  137. knifeclone.hitbox.CFrame = knifeclone.hitbox.CFrame--]]
  138. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  139. if damged and humanoid and part.Parent.Name ~= game.Players.LocalPlayer.Name then
  140. humanoid.Parent:BreakJoints()
  141. damged = false
  142. wait()
  143. local isr15 = part.Parent:findFirstChild("UpperTorso")
  144. if isr15 then
  145. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  146. humanoid.Parent.HumanoidRootPart.CanCollide = false
  147. end
  148. local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
  149. local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
  150. constraint.Attachment0 = attachone
  151. constraint.Attachment1 = attachtwo
  152. constraint.LimitsEnabled = true
  153. constraint.TwistLimitsEnabled = true
  154. constraint.TwistLowerAngle = lowang
  155. constraint.TwistUpperAngle = upperang
  156. constraint.UpperAngle = twist
  157. end
  158. local function makehingelimb(attachone, attachtwo, upperang, lowang)
  159. local constraint = Instance.new("HingeConstraint", humanoid.Parent)
  160. constraint.Attachment0 = attachone
  161. constraint.Attachment1 = attachtwo
  162. constraint.LimitsEnabled = true
  163. constraint.LowerAngle = lowang
  164. constraint.UpperAngle = upperang
  165. end
  166. for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
  167. if v.ClassName == "Accessory" then
  168. local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
  169. if findhandle then
  170. local attach = findhandle:findFirstChildOfClass("Attachment")
  171. for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
  172. if w.Name == "UpperTorso" or w.Name == "Head" then
  173. attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
  174. end
  175. end
  176. if attach and attach1 then
  177. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  178. constraint.Attachment0 = attach
  179. constraint.Attachment1 = attach1
  180. constraint.LimitsEnabled = true
  181. constraint.LowerAngle = 0
  182. constraint.UpperAngle = 0
  183. end
  184. end
  185. end
  186. end
  187. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
  188. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  189. attachment.Position = Vector3.new(0, -0.5, 0)
  190. attachment.Name = "lol"
  191. attachment.Visible = false
  192. humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
  193. humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
  194. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  195. ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
  196. ball.Attachment1 = attachment
  197. ball.LimitsEnabled = true
  198. ball.TwistLimitsEnabled = true
  199. ball.UpperAngle = 40
  200. ball.Restitution = 0.5
  201. ball.TwistUpperAngle = 40
  202. ball.TwistLowerAngle = -40
  203. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
  204. collidepartofleftleg.Name = "Bone"
  205. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  206. collidepartofleftleg.Transparency = 1
  207. collidepartofleftleg:BreakJoints()
  208. local weeld = Instance.new("Weld", collidepartofleftleg)
  209. weeld.Part0 = collidepartofleftleg
  210. weeld.Part1 = humanoid.Parent["Head"]
  211. if humanoid.Parent.Head:findFirstChild("Neck") then
  212. humanoid.Parent.Head.Neck:destroy()
  213. end
  214. if humanoid.Parent.Head:findFirstChild("face") then
  215. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  216. end
  217. end
  218. local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
  219. local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
  220. --
  221. local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
  222. local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
  223. --
  224. local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
  225. local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
  226. --
  227. local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
  228. local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
  229. --Foot & Hands--
  230.  
  231. local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
  232. local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
  233. --
  234. local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
  235. local RightHand = humanoid.Parent:findFirstChild("RightHand")
  236.  
  237. --END--
  238. --TORSOS--
  239.  
  240. local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
  241. local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
  242.  
  243. --END--
  244. if LowerTorso then
  245. if LeftUpperLeg then
  246. makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
  247. end
  248. if RightUpperLeg then
  249. makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
  250. end
  251. if LeftLowerLeg then
  252. makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
  253. end
  254. if RightLowerLeg then
  255. makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
  256. end
  257. if LeftFoot then
  258. makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
  259. end
  260. if RightFoot then
  261. makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
  262. end
  263. if UpperTorso then
  264. makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
  265. end
  266. end
  267. if UpperTorso then
  268. local hitsound = Instance.new("Sound", UpperTorso)
  269. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  270. hitsound:Play()
  271. hitsound.Volume = math.random(5,10)
  272. local canhit = true
  273. local hitval = 15
  274. local uptor = humanoid.Parent.UpperTorso
  275. if RightUpperArm then
  276. makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
  277. end
  278. if RightLowerArm then
  279. makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
  280. end
  281. if RightHand then
  282. makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
  283. end
  284. if LeftUpperArm then
  285. makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
  286. end
  287. if LeftLowerArm then
  288. makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
  289. end
  290. if LeftHand then
  291. makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
  292. end
  293. end
  294. elseif part.Parent:findFirstChild("Torso") then
  295. canspin = false
  296. if humanoid.Parent:findFirstChild("Health") then
  297. humanoid.Parent.Health:Remove()
  298. end
  299. humanoid.WalkSpeed = 0
  300. humanoid.JumpPower = 0
  301. humanoid.PlatformStand = true
  302. for z,x in pairs(humanoid.Parent:GetChildren()) do
  303. if x.ClassName == "Accessory" then
  304. local handle = x:findFirstChild("Handle")
  305. if handle then
  306. local attachment = handle:findFirstChildOfClass("Attachment")
  307. if attachment then
  308. for q,w in pairs(humanoid.Parent:GetChildren()) do
  309. if w.Name == "Torso" or w.Name == "Head" then
  310. local anotherone = w:findFirstChild(attachment.Name)
  311. if attachment and anotherone then
  312. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  313. constraint.Attachment0 = attachment
  314. constraint.Attachment1 = anotherone
  315. constraint.LimitsEnabled = true
  316. constraint.LowerAngle = 0
  317. constraint.UpperAngle = 0
  318. end
  319. end
  320. end
  321. end
  322. end
  323. end
  324. end
  325. if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
  326. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  327. attachment.Position = Vector3.new(1, 1, 0)
  328. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  329. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  330. ball.Attachment1 = attachment
  331. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  332. collidepartofleftleg.Name = "Bone"
  333. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  334. collidepartofleftleg.Transparency = 1
  335. collidepartofleftleg:BreakJoints()
  336. local weeld = Instance.new("Weld", collidepartofleftleg)
  337. weeld.Part0 = humanoid.Parent["Right Arm"]
  338. weeld.Part1 = collidepartofleftleg
  339. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  340. end
  341. if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
  342. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  343. attachment.Position = Vector3.new(-1, 1, 0)
  344. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  345. ball.Attachment0 = attachment
  346. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  347. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  348. collidepartofleftleg.Name = "Bone"
  349. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  350. collidepartofleftleg.Transparency = 1
  351. collidepartofleftleg:BreakJoints()
  352. local weeld = Instance.new("Weld", collidepartofleftleg)
  353. weeld.Part0 = humanoid.Parent["Left Arm"]
  354. weeld.Part1 = collidepartofleftleg
  355. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  356. end
  357. if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
  358. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  359. attachment.Position = Vector3.new(0.5, -1, 0)
  360. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  361. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  362. ball.Attachment1 = attachment
  363. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  364. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  365. collidepartofleftleg.Name = "Bone"
  366. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  367. collidepartofleftleg.Transparency = 1
  368. collidepartofleftleg:BreakJoints()
  369. local weeld = Instance.new("Weld", collidepartofleftleg)
  370. weeld.Part0 = humanoid.Parent["Right Leg"]
  371. weeld.Part1 = collidepartofleftleg
  372. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  373. end
  374. if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
  375. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  376. attachment.Position = Vector3.new(-0.5, -1, 0)
  377. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  378. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  379. ball.Attachment1 = attachment
  380. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  381. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  382. collidepartofleftleg.Name = "Bone"
  383. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  384. collidepartofleftleg.Transparency = 1
  385. collidepartofleftleg:BreakJoints()
  386. local weeld = Instance.new("Weld", collidepartofleftleg)
  387. weeld.Part0 = humanoid.Parent["Left Leg"]
  388. weeld.Part1 = collidepartofleftleg
  389. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  390. end
  391. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
  392. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  393. attachment.Position = Vector3.new(0, -0.5, 0)
  394. attachment.Name = "lol"
  395. attachment.Visible = false
  396. humanoid.Parent.Torso.NeckAttachment.Visible = false
  397. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  398. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  399. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  400. ball.Attachment1 = attachment
  401. ball.LimitsEnabled = true
  402. ball.TwistLimitsEnabled = true
  403. ball.UpperAngle = 90
  404. ball.Restitution = 0.5
  405. ball.TwistUpperAngle = 90
  406. ball.TwistLowerAngle = -90
  407. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  408. collidepartofleftleg.Name = "Bone"
  409. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  410. collidepartofleftleg.Transparency = 1
  411. collidepartofleftleg:BreakJoints()
  412. local weeld = Instance.new("Weld", collidepartofleftleg)
  413. weeld.Part0 = collidepartofleftleg
  414. weeld.Part1 = humanoid.Parent["Head"]
  415. if humanoid.Parent.Torso:findFirstChild("Neck") then
  416. humanoid.Parent.Torso.Neck:destroy()
  417. end
  418. if humanoid.Parent.Head:findFirstChild("face") then
  419. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  420. end
  421. local hitsound = Instance.new("Sound", humanoid.Parent.Head)
  422. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  423. hitsound:Play()
  424. hitsound.Volume = math.random(5,10)
  425. end
  426. if humanoid.Parent:findFirstChild("Head") then
  427. local aah = Instance.new("Sound", humanoid.Parent.Head)
  428. if aah then
  429. aah.Volume = 8
  430. local aahmath = math.random(2,8)
  431. if aahmath == 2 then
  432. aah.SoundId = "rbxassetid://884348443"
  433. aah:Play()
  434. end
  435. if aahmath == 3 then
  436. aah.SoundId = "rbxassetid://681582832"
  437. aah.Volume = 10
  438. aah:Play()
  439. end
  440. if aahmath == 4 then
  441. aah.SoundId = "rbxassetid://1080363252"
  442. aah:Play()
  443. end
  444. if aahmath == 5 then
  445. aah.SoundId = "rbxassetid://150245085"
  446. aah:Play()
  447. end
  448. if aahmath == 6 then
  449. aah.SoundId = "rbxassetid://345287845"
  450. aah.TimePosition = 2.5
  451. aah:Play()
  452. end
  453. if aahmath == 7 then
  454. aah.SoundId = "rbxassetid://147758746"
  455. aah.TimePosition = 1.3
  456. aah:Play()
  457. end
  458. if aahmath == 8 then
  459. aah.SoundId = "rbxassetid://131314452"
  460. aah:Play()
  461. end
  462. end
  463. end
  464. end
  465. end
  466. end
  467. Part1.Touched:connect(stabbystabby)
  468. function throw(key)
  469. key = key:lower()
  470. if key == "e" and canuse then
  471. canuse = false
  472. for i = 0,1 , 0.03 do
  473. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.87712723, 0, -0.480258077, 0, 1, 0, 0.480258077, 0, 0.87712723),i)
  474. 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)
  475. 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)
  476. game:GetService("RunService").RenderStepped:wait()
  477. end
  478. local knifeclone = Model0:Clone()
  479. knifeclone.Parent = game.Players.LocalPlayer.Character
  480. knifeclone.hitbox:destroy()
  481. Part1.Transparency = 1
  482. local thrownpos = knifeclone.realknife.Position
  483. local canspin = true
  484. local downval = 0
  485. local mouselook = mouse.Hit.lookVector
  486. local mousepos = mouse.Hit
  487. throwB:Play()
  488. local velo = Instance.new("BodyVelocity", knifeclone.realknife)
  489. velo.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  490. velo.Velocity = mouse.Hit.lookVector * 110
  491. knifeclone.realknife.CanCollide = true
  492. knifeclone.realknife.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-4)
  493. knifeclone.realknife.CFrame = CFrame.new(knifeclone.realknife.Position, mouse.Hit.p)
  494. knifeclone.realknife.CFrame = knifeclone.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,-math.pi/2,0)
  495. local function attach(part)
  496. --[[knifeclone.hitbox.CFrame = CFrame.new(knifeclone.hitbox.CFrame.p, thrownpos)
  497. knifeclone.hitbox.Weld.C0 = CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  498. knifeclone.hitbox.CFrame = knifeclone.hitbox.CFrame--]]
  499. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  500. if humanoid and part.Parent.Name ~= game.Players.LocalPlayer.Name then
  501. canspin = false
  502. humanoid.Parent:BreakJoints()
  503. knifeclone:destroy()
  504. wait()
  505. local isr15 = part.Parent:findFirstChild("UpperTorso")
  506. if isr15 then
  507. if humanoid.Parent:findFirstChild("HumanoidRootPart") then
  508. humanoid.Parent.HumanoidRootPart.CanCollide = false
  509. end
  510. local function makeballlimb(attachone, attachtwo, upperang, lowang, twist)
  511. local constraint = Instance.new("BallSocketConstraint", humanoid.Parent)
  512. constraint.Attachment0 = attachone
  513. constraint.Attachment1 = attachtwo
  514. constraint.LimitsEnabled = true
  515. constraint.TwistLimitsEnabled = true
  516. constraint.TwistLowerAngle = lowang
  517. constraint.TwistUpperAngle = upperang
  518. constraint.UpperAngle = twist
  519. end
  520. local function makehingelimb(attachone, attachtwo, upperang, lowang)
  521. local constraint = Instance.new("HingeConstraint", humanoid.Parent)
  522. constraint.Attachment0 = attachone
  523. constraint.Attachment1 = attachtwo
  524. constraint.LimitsEnabled = true
  525. constraint.LowerAngle = lowang
  526. constraint.UpperAngle = upperang
  527. end
  528. for i,v in pairs(humanoid.Parent:GetChildren()) do --scan player
  529. if v.ClassName == "Accessory" then
  530. local findhandle = v:findFirstChild("Handle") --finding handle in accesorry
  531. if findhandle then
  532. local attach = findhandle:findFirstChildOfClass("Attachment")
  533. for q,w in pairs(humanoid.Parent:GetChildren()) do --scan player
  534. if w.Name == "UpperTorso" or w.Name == "Head" then
  535. attach1 = w:findFirstChild(attach.Name) --finding attachment in head/uppertorso
  536. end
  537. end
  538. if attach and attach1 then
  539. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  540. constraint.Attachment0 = attach
  541. constraint.Attachment1 = attach1
  542. constraint.LimitsEnabled = true
  543. constraint.LowerAngle = 0
  544. constraint.UpperAngle = 0
  545. end
  546. end
  547. end
  548. end
  549. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("UpperTorso") then
  550. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  551. attachment.Position = Vector3.new(0, -0.5, 0)
  552. attachment.Name = "lol"
  553. attachment.Visible = false
  554. humanoid.Parent.UpperTorso.NeckAttachment.Visible = false
  555. humanoid.Parent.UpperTorso.NeckAttachment.Position = humanoid.Parent.UpperTorso.NeckAttachment.Position + Vector3.new(0,0,0)
  556. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  557. ball.Attachment0 = humanoid.Parent.UpperTorso.NeckAttachment
  558. ball.Attachment1 = attachment
  559. ball.LimitsEnabled = true
  560. ball.TwistLimitsEnabled = true
  561. ball.UpperAngle = 40
  562. ball.Restitution = 0.5
  563. ball.TwistUpperAngle = 40
  564. ball.TwistLowerAngle = -40
  565. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.UpperTorso)
  566. collidepartofleftleg.Name = "Bone"
  567. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  568. collidepartofleftleg.Transparency = 1
  569. collidepartofleftleg:BreakJoints()
  570. local weeld = Instance.new("Weld", collidepartofleftleg)
  571. weeld.Part0 = collidepartofleftleg
  572. weeld.Part1 = humanoid.Parent["Head"]
  573. if humanoid.Parent.Head:findFirstChild("Neck") then
  574. humanoid.Parent.Head.Neck:destroy()
  575. end
  576. if humanoid.Parent.Head:findFirstChild("face") then
  577. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  578. end
  579. end
  580. local LeftUpperLeg = humanoid.Parent:findFirstChild("LeftUpperLeg")
  581. local LeftLowerLeg = humanoid.Parent:findFirstChild("LeftLowerLeg")
  582. --
  583. local RightUpperLeg = humanoid.Parent:findFirstChild("RightUpperLeg")
  584. local RightLowerLeg = humanoid.Parent:findFirstChild("RightLowerLeg")
  585. --
  586. local RightUpperArm = humanoid.Parent:findFirstChild("RightUpperArm")
  587. local RightLowerArm = humanoid.Parent:findFirstChild("RightLowerArm")
  588. --
  589. local LeftUpperArm = humanoid.Parent:findFirstChild("LeftUpperArm")
  590. local LeftLowerArm = humanoid.Parent:findFirstChild("LeftLowerArm")
  591. --Foot & Hands--
  592.  
  593. local LeftFoot = humanoid.Parent:findFirstChild("LeftFoot")
  594. local RightFoot = humanoid.Parent:findFirstChild("RightFoot")
  595. --
  596. local LeftHand = humanoid.Parent:findFirstChild("LeftHand")
  597. local RightHand = humanoid.Parent:findFirstChild("RightHand")
  598.  
  599. --END--
  600. --TORSOS--
  601.  
  602. local UpperTorso = humanoid.Parent:findFirstChild("UpperTorso")
  603. local LowerTorso = humanoid.Parent:findFirstChild("LowerTorso")
  604.  
  605. --END--
  606. if LowerTorso then
  607. if LeftUpperLeg then
  608. makeballlimb(LowerTorso["LeftHipRigAttachment"], LeftUpperLeg["LeftHipRigAttachment"], 50,-50, 90)
  609. end
  610. if RightUpperLeg then
  611. makeballlimb(LowerTorso["RightHipRigAttachment"], RightUpperLeg["RightHipRigAttachment"], 50,-50, 90)
  612. end
  613. if LeftLowerLeg then
  614. makehingelimb(LeftUpperLeg["LeftKneeRigAttachment"], LeftLowerLeg["LeftKneeRigAttachment"], 0,-90)
  615. end
  616. if RightLowerLeg then
  617. makehingelimb(RightUpperLeg["RightKneeRigAttachment"], RightLowerLeg["RightKneeRigAttachment"], 0,-90)
  618. end
  619. if LeftFoot then
  620. makehingelimb(LeftLowerLeg["LeftAnkleRigAttachment"], LeftFoot["LeftAnkleRigAttachment"], 30, -30)
  621. end
  622. if RightFoot then
  623. makehingelimb(RightLowerLeg["RightAnkleRigAttachment"], RightFoot["RightAnkleRigAttachment"], 30, -30)
  624. end
  625. if UpperTorso then
  626. makehingelimb(UpperTorso["WaistRigAttachment"], LowerTorso["WaistRigAttachment"], 30, -30)
  627. end
  628. end
  629. if UpperTorso then
  630. local vel = Instance.new("BodyVelocity", UpperTorso)
  631. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  632. vel.Velocity = mouselook *25 + Vector3.new(0,10,0)
  633. game.Debris:AddItem(vel, 0.1)
  634. local hitsound = Instance.new("Sound", UpperTorso)
  635. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  636. hitsound:Play()
  637. hitsound.Volume = math.random(5,10)
  638. local canhit = true
  639. local hitval = 15
  640. local uptor = humanoid.Parent.UpperTorso
  641. if RightUpperArm then
  642. makeballlimb(RightUpperArm["RightShoulderRigAttachment"], UpperTorso["RightShoulderRigAttachment"], 90,-50, 180)
  643. end
  644. if RightLowerArm then
  645. makehingelimb(RightLowerArm["RightElbowRigAttachment"], RightUpperArm["RightElbowRigAttachment"], 0,-90)
  646. end
  647. if RightHand then
  648. makehingelimb(RightHand["RightWristRigAttachment"], RightLowerArm["RightWristRigAttachment"], 30,30)
  649. end
  650. if LeftUpperArm then
  651. makeballlimb(LeftUpperArm["LeftShoulderRigAttachment"], UpperTorso["LeftShoulderRigAttachment"], 90,-50, 180)
  652. end
  653. if LeftLowerArm then
  654. makehingelimb(LeftLowerArm["LeftElbowRigAttachment"], LeftUpperArm["LeftElbowRigAttachment"], 0,-90)
  655. end
  656. if LeftHand then
  657. makehingelimb(LeftHand["LeftWristRigAttachment"], LeftLowerArm["LeftWristRigAttachment"], 30,30)
  658. end
  659. end
  660. elseif part.Parent:findFirstChild("Torso") then
  661. canspin = false
  662. if humanoid.Parent:findFirstChild("Health") then
  663. humanoid.Parent.Health:Remove()
  664. end
  665. humanoid.WalkSpeed = 0
  666. humanoid.JumpPower = 0
  667. humanoid.PlatformStand = true
  668. if humanoid.Parent:findFirstChild("Right Arm") and humanoid.Parent:findFirstChild("Torso") then
  669. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  670. attachment.Position = Vector3.new(1, 1, 0)
  671. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  672. ball.Attachment0 = humanoid.Parent["Right Arm"].RightShoulderAttachment
  673. ball.Attachment1 = attachment
  674. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  675. collidepartofleftleg.Name = "Bone"
  676. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  677. collidepartofleftleg.Transparency = 1
  678. collidepartofleftleg:BreakJoints()
  679. local weeld = Instance.new("Weld", collidepartofleftleg)
  680. weeld.Part0 = humanoid.Parent["Right Arm"]
  681. weeld.Part1 = collidepartofleftleg
  682. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  683. end
  684. if humanoid.Parent:findFirstChild("Left Arm") and humanoid.Parent:findFirstChild("Torso") then
  685. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  686. attachment.Position = Vector3.new(-1, 1, 0)
  687. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  688. ball.Attachment0 = attachment
  689. ball.Attachment1 = humanoid.Parent["Left Arm"].LeftShoulderAttachment
  690. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  691. collidepartofleftleg.Name = "Bone"
  692. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  693. collidepartofleftleg.Transparency = 1
  694. collidepartofleftleg:BreakJoints()
  695. local weeld = Instance.new("Weld", collidepartofleftleg)
  696. weeld.Part0 = humanoid.Parent["Left Arm"]
  697. weeld.Part1 = collidepartofleftleg
  698. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  699. end
  700. if humanoid.Parent:findFirstChild("Right Leg") and humanoid.Parent:findFirstChild("Torso") then
  701. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  702. attachment.Position = Vector3.new(0.5, -1, 0)
  703. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  704. ball.Attachment0 = humanoid.Parent["Right Leg"].RightFootAttachment
  705. ball.Attachment1 = attachment
  706. humanoid.Parent["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  707. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  708. collidepartofleftleg.Name = "Bone"
  709. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  710. collidepartofleftleg.Transparency = 1
  711. collidepartofleftleg:BreakJoints()
  712. local weeld = Instance.new("Weld", collidepartofleftleg)
  713. weeld.Part0 = humanoid.Parent["Right Leg"]
  714. weeld.Part1 = collidepartofleftleg
  715. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  716. end
  717. if humanoid.Parent:findFirstChild("Left Leg") and humanoid.Parent:findFirstChild("Torso") then
  718. local attachment = Instance.new("Attachment", humanoid.Parent.Torso)
  719. attachment.Position = Vector3.new(-0.5, -1, 0)
  720. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  721. ball.Attachment0 = humanoid.Parent["Left Leg"].LeftFootAttachment
  722. ball.Attachment1 = attachment
  723. humanoid.Parent["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  724. collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  725. collidepartofleftleg.Name = "Bone"
  726. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  727. collidepartofleftleg.Transparency = 1
  728. collidepartofleftleg:BreakJoints()
  729. local weeld = Instance.new("Weld", collidepartofleftleg)
  730. weeld.Part0 = humanoid.Parent["Left Leg"]
  731. weeld.Part1 = collidepartofleftleg
  732. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  733. end
  734. if humanoid.Parent:findFirstChild("Head") and humanoid.Parent:findFirstChild("Torso") then
  735. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  736. attachment.Position = Vector3.new(0, -0.5, 0)
  737. attachment.Name = "lol"
  738. attachment.Visible = false
  739. humanoid.Parent.Torso.NeckAttachment.Visible = false
  740. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  741. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  742. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  743. ball.Attachment1 = attachment
  744. ball.LimitsEnabled = true
  745. ball.TwistLimitsEnabled = true
  746. ball.UpperAngle = 90
  747. ball.Restitution = 0.5
  748. ball.TwistUpperAngle = 90
  749. ball.TwistLowerAngle = -90
  750. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  751. collidepartofleftleg.Name = "Bone"
  752. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  753. collidepartofleftleg.Transparency = 1
  754. collidepartofleftleg:BreakJoints()
  755. local weeld = Instance.new("Weld", collidepartofleftleg)
  756. weeld.Part0 = collidepartofleftleg
  757. weeld.Part1 = humanoid.Parent["Head"]
  758. if humanoid.Parent.Torso:findFirstChild("Neck") then
  759. humanoid.Parent.Torso.Neck:destroy()
  760. end
  761. if humanoid.Parent.Head:findFirstChild("face") then
  762. humanoid.Parent.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  763. end
  764. local hitsound = Instance.new("Sound", humanoid.Parent.Head)
  765. hitsound.SoundId = "http://www.roblox.com/asset/?id=93706376"
  766. hitsound:Play()
  767. hitsound.Volume = math.random(5,10)
  768. end
  769. for z,x in pairs(humanoid.Parent:GetChildren()) do
  770. if x.ClassName == "Accessory" then
  771. local handle = x:findFirstChild("Handle")
  772. if handle then
  773. local attachment = handle:findFirstChildOfClass("Attachment")
  774. if attachment then
  775. for q,w in pairs(humanoid.Parent:GetChildren()) do
  776. if w.Name == "Torso" or w.Name == "Head" then
  777. local anotherone = w:findFirstChild(attachment.Name)
  778. if attachment and anotherone then
  779. local constraint = Instance.new("HingeConstraint", humanoid.Parent) --making fake weld
  780. constraint.Attachment0 = attachment
  781. constraint.Attachment1 = anotherone
  782. constraint.LimitsEnabled = true
  783. constraint.LowerAngle = 0
  784. constraint.UpperAngle = 0
  785. end
  786. end
  787. end
  788. end
  789. end
  790. end
  791. end
  792. if humanoid.Parent:findFirstChild("Head") then
  793. local aah = Instance.new("Sound", humanoid.Parent.Head)
  794. if aah then
  795. aah.Volume = 8
  796. local aahmath = math.random(2,8)
  797. if aahmath == 2 then
  798. aah.SoundId = "rbxassetid://884348443"
  799. aah:Play()
  800. end
  801. if aahmath == 3 then
  802. aah.SoundId = "rbxassetid://681582832"
  803. aah.Volume = 10
  804. aah:Play()
  805. end
  806. if aahmath == 4 then
  807. aah.SoundId = "rbxassetid://1080363252"
  808. aah:Play()
  809. end
  810. if aahmath == 5 then
  811. aah.SoundId = "rbxassetid://150245085"
  812. aah:Play()
  813. end
  814. if aahmath == 6 then
  815. aah.SoundId = "rbxassetid://345287845"
  816. aah.TimePosition = 2.5
  817. aah:Play()
  818. end
  819. if aahmath == 7 then
  820. aah.SoundId = "rbxassetid://147758746"
  821. aah.TimePosition = 1.3
  822. aah:Play()
  823. end
  824. if aahmath == 8 then
  825. aah.SoundId = "rbxassetid://131314452"
  826. aah:Play()
  827. end
  828. end
  829. end
  830. end
  831. else
  832. if part.Parent.ClassName ~= "Accessory" then
  833. canspin = false
  834. hitwall:Play()
  835. knifeclone.realknife.Anchored = true
  836. local knifeclonen = knifeclone:Clone()
  837. knifeclonen.Parent = workspace
  838. knifeclone:destroy()
  839. knifeclonen.realknife.CFrame = CFrame.new(knifeclonen.realknife.Position, thrownpos)
  840. knifeclonen.realknife.CFrame = knifeclonen.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  841. game.Debris:AddItem(knifeclonen, 14535345345345345345453454)
  842. end
  843. end
  844. end
  845. knifeclone.realknife.Touched:connect(attach)
  846. local function spin()
  847. if workspace:FindFirstChild(Model0.Name) then
  848. if canspin then
  849. downval = downval + 1
  850. --knifeclone.realknife.CFrame = knifeclone.realknife.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.25)
  851. if downval < 150 then
  852. --knifeclone.realknife.RotVelocity = mousepos.rightVector * -2
  853. velo.Velocity = velo.Velocity + Vector3.new(0,-0.7,0)
  854. end
  855. end
  856. end
  857. end
  858. game:GetService("RunService").RenderStepped:connect(spin)
  859. for i = 0.2,1 , 0.1 do
  860. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 0.652971387, 0, 0.757382512, 0, 1, 0, -0.757382512, 0, 0.652971387),i)
  861. 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)
  862. 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)
  863. game:GetService("RunService").RenderStepped:wait()
  864. end
  865. canuse = true
  866. for i = 0,1 , 0.01 do
  867. if canuse then
  868. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  869. 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)
  870. 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)
  871. game:GetService("RunService").RenderStepped:wait()
  872. end
  873. end
  874. Part1.Transparency = 0
  875. Part1.CanCollide = false
  876. Part3.CanCollide = false
  877. end
  878. end
  879. mouse.KeyDown:connect(throw)
  880. for i = 0,1 , 0.01 do
  881. if canuse then
  882. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  883. 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)
  884. 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)
  885. game:GetService("RunService").RenderStepped:wait()
  886. end
  887. end
  888. while true do
  889. if canuse then
  890. for i = 0,1 , 0.01 do
  891. if canuse then
  892. waeld.C0 = waeld.C0:lerp(CFrame.new(-0.0107059479, -1.0378592, -0.905899048, 0, 0, -1, 0, 0.999999881, 0, 1, 0, 0),i)
  893. headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
  894. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  895. 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)
  896. 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)
  897. game:GetService("RunService").RenderStepped:wait()
  898. end
  899. end
  900. for i = 0,1 , 0.01 do
  901. if canuse then
  902. waeld.C0 = waeld.C0:lerp(CFrame.new(-0.0107059479, -1.0378592, -0.905899048, 0, 0, -1, 0, 0.999999881, 0, 1, 0, 0),i)
  903. headweld.C0 = headweld.C0:lerp(CFrame.new(0,1.5,0),i)
  904. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0,0,0),i)
  905. 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)
  906. 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)
  907. game:GetService("RunService").RenderStepped:wait()
  908. end
  909. end
  910. end
  911. if throwB.Parent == nil then
  912. throwB.Parent = Model0.realknife
  913. end
  914. if slash.Parent == nil then
  915. slash.Parent = Model0.realknife
  916. end
  917. if hitwall.Parent == nil then
  918. hitwall.Parent = Model0.realknife
  919. end
  920. wait()
  921. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement