Advertisement
Lukas17

Untitled

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