Advertisement
lafur

Untitled

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