Advertisement
Lukas17

Untitled

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