Advertisement
lafur

Untitled

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