Advertisement
TheUnknownDiscord

knif

Mar 31st, 2022
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.96 KB | None | 0 0
  1. local tool = Instance.new("Tool",owner.Backpack)
  2. local tool2 = Instance.new("Tool",owner.Backpack)
  3. tool2.Name = "Stabin loicense"
  4. local part1 = Instance.new("Part",tool2)
  5. part1.Name = "Handle"
  6. part1.Size = Vector3.new(1.5,1,0.125)
  7. local screengui2 = Instance.new("SurfaceGui", part1)
  8. screengui2.Name = "Hud"
  9. screengui2.Face = Enum.NormalId.Front
  10. local thumbType = Enum.ThumbnailType.HeadShot
  11. local thumbSize = Enum.ThumbnailSize.Size420x420
  12. local content, isReady = game:GetService("Players"):GetUserThumbnailAsync(owner.UserId, thumbType, thumbSize)
  13. local imageLabel = Instance.new("ImageLabel",screengui2)
  14. imageLabel.Image = content
  15. imageLabel.Size = UDim2.new(0, 300, 0, 300)
  16. local tb = Instance.new("TextBox", screengui2)
  17. tb.BackgroundTransparency = 1
  18. tb.TextStrokeTransparency = 0
  19. tb.TextSize = 50
  20. tb.LineHeight = 2.5
  21. tb.Font = "GothamSemibold"
  22. tb.TextYAlignment = 'Top'
  23. tb.TextXAlignment = 'Left'
  24. tb.Size = UDim2.new(0.15,0,1,0)
  25. tb.AnchorPoint = Vector2.new(0.45, 0)
  26. tb.Position = UDim2.new(0.45, 0, 0, 0)
  27. local DT = DateTime.fromUnixTimestamp(86400 * owner.AccountAge)
  28. local month = DT:FormatUniversalTime("MM", "en-us")
  29. tb.Text = [[Stabbin loicense
  30. Name:]]..owner.Name..[[
  31.  
  32. Age:]]..math.floor((owner.AccountAge/365) - 0.5)..[[ Years and
  33. ]]..month..[[ Months
  34. Signed by your mom]]
  35. tool.Name = "bri'ish"
  36. tool.ToolTip = '"SHAMK!" "A bit rewd to pewt tat knoif in meh ches innit bruv"'
  37. part = Instance.new("Part",tool)
  38. part.Name = "Handle"
  39. part3 = Instance.new("Part",script)
  40. part3.CanCollide = false
  41. part5 = Instance.new("Part",script)
  42. part5.CanCollide = false
  43. part4 = Instance.new("Part",part)
  44. part4.CanCollide = false
  45. part4.Massless = true
  46. local trail = Instance.new("Trail",part)
  47. part.Reflectance = 0.125
  48. local attach1 = Instance.new("Attachment", part)
  49. local attach2 = Instance.new("Attachment", part)
  50. attach1.CFrame = CFrame.new(0.0625,0.0625,0)
  51. attach2.CFrame = CFrame.new(-0.825,-0.0325,0)
  52. trail.Attachment0 = attach1
  53. trail.Attachment1 = attach2
  54. trail.LightInfluence = 1
  55. trail.MinLength = 0
  56. trail.MaxLength = 0.00125
  57. trail.LightEmission = 0.25
  58. trail.Transparency = NumberSequence.new(0.8125,1)
  59. trail.Lifetime = 0.0825
  60. trail.Enabled = false
  61. local equips = "rbxassetid://8316366198"
  62. local unequip = "rbxassetid://5917818749"
  63. local clang = "rbxassetid://4072627278"
  64. local clang2 = "rbxassetid://7926594553"
  65. local OWMYBONES = "rbxassetid://2782131222"
  66. local swingandamiss = "rbxassetid://5792087636"
  67. local amoguscard = "rbxassetid://3456145589"
  68. local toolpar = owner.Character
  69. part.Size = Vector3.new(1.8858,0.3858,0.088)
  70. part3.Size = Vector3.new(1.8858,0.3858,0.088)
  71. part4.Size = Vector3.new(1.8858,0.3858,0.088)
  72. part5.Size = Vector3.new(1.8858,0.3858,0.088)
  73. mesh = Instance.new("SpecialMesh",part)
  74. mesh2 = Instance.new("SpecialMesh",part3)
  75. mesh2.MeshId = "rbxassetid://430443503"
  76. mesh2.TextureId = "rbxassetid://430443542"
  77. mesh3 = Instance.new("SpecialMesh",part4)
  78. mesh3.MeshId = "rbxassetid://430443503"
  79. part4.Color = Color3.fromRGB()
  80. part4.Reflectance = 0.0325
  81. mesh4 = Instance.new("SpecialMesh",part5)
  82. mesh4.MeshId = "rbxassetid://430443503"
  83. part5.Color = Color3.fromRGB()
  84. part5.Reflectance = 0.0325
  85. mesh3.Scale = Vector3.new(-0.20125,-0.20125,-0.20125)
  86. mesh4.Scale = Vector3.new(-0.20125,-0.20125,-0.20125)
  87. mesh.Scale = Vector3.new(0.2,0.2,0.2)
  88. local knif2 = Instance.new("Weld",part)
  89. knif2.Part0 = part4
  90. knif2.Part1 = part
  91. knif2.C0 = CFrame.Angles(math.rad(0),math.rad(0),math.rad(180))
  92. local knif3 = Instance.new("Weld",part3)
  93. knif3.Part0 = part5
  94. knif3.Part1 = part3
  95. knif3.C0 = CFrame.Angles(math.rad(0),math.rad(0),math.rad(180))
  96. local knif = Instance.new("Weld",owner.Character.Torso)
  97. knif.Part0 = part3
  98. knif.Part1 = knif.Parent
  99. knif.C0 = CFrame.new(0.5,0.75,1) * CFrame.Angles(math.rad(-90),math.rad(-90),math.rad(-90)) * CFrame.Angles(math.rad(-25),0,0)
  100. mesh.MeshId = "rbxassetid://430443503"
  101. mesh.TextureId = "rbxassetid://430443542"
  102. part2 = Instance.new("Part",part)
  103. part2.Size = Vector3.new(0.3858,0.12858,0.088)
  104. part2.CanCollide = false
  105. part2.Massless = true
  106. part2.Transparency = 1
  107. part2.CanQuery = false
  108. part2.CanTouch = false
  109. local wel = Instance.new("Weld",part)
  110. wel.Part0 = part2
  111. wel.Part1 = part
  112. wel.C0 = CFrame.new(-0.125,0.85,0) * CFrame.Angles(0,0,math.rad(90))
  113. mesh2.Scale = mesh2.Scale * 0.2
  114. local sound = Instance.new("Sound")
  115. tool2.Equipped:Connect(function()
  116. sound.TimePosition = 0
  117. sound.Volume = 2
  118. sound.Pitch = 1
  119. sound.PlaybackSpeed = 1
  120. sound.SoundId = amoguscard
  121. sound.Parent = part1
  122. sound.Parent = nil
  123. end)
  124. local sound2 = Instance.new("Sound")
  125. sound.PlayOnRemove = true
  126. tool.Grip = CFrame.new(0.75,0,0) * CFrame.Angles(math.rad(-90),0,math.rad(90))
  127. local rightarm = Instance.new("Weld", owner.Character.Torso)
  128. rightarm.Part0 = owner.Character.Torso
  129. rightarm.Part1 = owner.Character["Right Arm"]
  130. rightarm.C0 = CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(90),0,0)
  131. rightarm.Enabled = false
  132. local tweenService = game:GetService("TweenService")
  133. local timeToFade = 0.0925
  134. local object = rightarm
  135. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Linear)
  136. local goal = {}
  137. goal.C0 = CFrame.new(1.5,0.0625,-0.75) * CFrame.Angles(math.rad(20),0,0)
  138.  
  139. local tween = tweenService:Create(object, tweenInfo, goal)
  140. local timeToFade2 = 0.07375
  141. local tweenInfo2 = TweenInfo.new(timeToFade2,Enum.EasingStyle.Linear)
  142. local timeToFade3 = 0.275
  143. local tweenInfo3 = TweenInfo.new(timeToFade3,Enum.EasingStyle.Linear)
  144. local goal2 = {}
  145. goal2.C0 = CFrame.new(1.5,0.65,-0.75) * CFrame.Angles(math.rad(110),0,0)
  146.  
  147. local tween2 = tweenService:Create(object, tweenInfo2, goal2)
  148. local goal3 = {}
  149. goal3.C0 = CFrame.new(1.5,0.5,-0.5) * CFrame.Angles(math.rad(90),0,0)
  150.  
  151. local tween3 = tweenService:Create(object, tweenInfo, goal3)
  152. tool.Equipped:Connect(function()
  153. part5.Transparency = 1
  154. sound2.TimePosition = 0
  155. sound2.Volume = 1
  156. sound2.Pitch = 1
  157. sound2.PlaybackSpeed = 1
  158. toolpar = tool.Parent
  159. part3.Transparency = 1
  160. pcall(function()
  161. rightarm.Part0 = toolpar.Torso
  162. rightarm.Part1 = toolpar["Right Arm"]
  163. rightarm.Parent = toolpar.Torso
  164. knif.Parent = toolpar.Torso
  165. knif.Part1 = toolpar.Torso
  166. end)
  167. pcall(function()
  168. sound2.SoundId = equips
  169. sound2.Parent = toolpar.Head
  170. sound2:Play()
  171. sound2.Ended:Wait()
  172. sound2.Parent = nil
  173. end)
  174. end)
  175. local canhit = false
  176. local hitdb = false
  177. local blood = ColorSequence.new{ColorSequenceKeypoint.new(0,Color3.fromRGB(201, 4, 4)),ColorSequenceKeypoint.new(0.75,Color3.fromRGB(230, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(230, 0, 0))}
  178. local sparks = ColorSequence.new{ColorSequenceKeypoint.new(0,Color3.fromRGB(242, 231, 29)),ColorSequenceKeypoint.new(0.75,Color3.fromRGB(250, 238, 17)),ColorSequenceKeypoint.new(1,Color3.fromRGB(250, 238, 17))}
  179. local pe = Instance.new("ParticleEmitter",part2)
  180. pe.Color = ColorSequence.new{ColorSequenceKeypoint.new(0,Color3.fromRGB(201, 4, 4)),ColorSequenceKeypoint.new(0.75,Color3.fromRGB(230, 0, 0)),ColorSequenceKeypoint.new(1,Color3.fromRGB(230, 0, 0))}
  181. pe.LightEmission = 0
  182. pe.LightInfluence = 0.125
  183. pe.EmissionDirection = "Left"
  184. pe.Orientation = Enum.ParticleOrientation.VelocityParallel
  185. pe.Size = NumberSequence.new(0.35,0)
  186. pe.Texture = "rbxassetid://243132757"
  187. pe.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,0.65)}
  188. pe.Lifetime = NumberRange.new(0.5,1)
  189. pe.Rate = 100
  190. pe.Enabled = false
  191. pe.Rotation = NumberRange.new(90)
  192. pe.RotSpeed = NumberRange.new(0)
  193. pe.Speed = NumberRange.new(20)
  194. pe.SpreadAngle = Vector2.new(-15,15)
  195. pe.Drag = NumberRange.new(1)
  196. pe.Acceleration = Vector3.new(0,-65,0)
  197. on = false
  198. tool.Activated:Connect(function()
  199. on = true
  200. end)
  201. tool.Deactivated:Connect(function()
  202. on = false
  203. end)
  204. tool.Unequipped:Connect(function()
  205. on = false
  206. part5.Transparency = 0
  207. part3.Transparency = 0
  208. sound2.TimePosition = 0.25
  209. sound2.Volume = 1
  210. sound2.Pitch = 1
  211. sound2.PlaybackSpeed = 1
  212. pcall(function()
  213. sound2.SoundId = unequip
  214. sound2.Parent = toolpar.Head
  215. sound2:Play()
  216. sound2.Ended:Wait()
  217. sound2.Parent = nil
  218. end)
  219. end)
  220. coroutine.wrap(function()
  221. while task.wait() do
  222. if on then
  223. if not canhit then
  224. trail.Enabled = true
  225. sound.TimePosition = 0
  226. sound.Volume = 1
  227. sound.Pitch = 1
  228. sound.PlaybackSpeed = 1
  229. sound.SoundId = swingandamiss
  230. sound.Parent = part
  231. sound.Parent = nil
  232. canhit = true
  233. rightarm.Enabled = true
  234. tween:Play()
  235. tween.Completed:Wait()
  236. tween2:Play()
  237. tween2.Completed:Wait()
  238. tween3:Play()
  239. tween3.Completed:Wait()
  240. rightarm.Enabled = false
  241. canhit = false
  242. hitdb = false
  243. trail.Enabled = false
  244. end
  245. end
  246. end
  247. end)()
  248. while task.wait() do
  249. coroutine.wrap(function()
  250. local params = OverlapParams.new()
  251. params.FilterDescendantsInstances = {toolpar:GetDescendants(), script}
  252. params.FilterType = Enum.RaycastFilterType.Blacklist
  253. for _, v in pairs(workspace:GetPartBoundsInBox(part.CFrame, part.Size * 1.75, params)) do
  254. if (v:FindFirstAncestorOfClass("Model") and v:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid")) and not hitdb and canhit then
  255. hitdb = true
  256. pe.Color = blood
  257. pe.Brightness = 1
  258. pe.SpreadAngle = Vector2.new(-15,15)
  259. local _,y,_ = CFrame.new(part.Position,v.Position):ToEulerAnglesXYZ()
  260. pe.Acceleration = Vector3.new(0,-65,0) + CFrame.Angles(0,y,0).lookVector * -50
  261. pe.LightEmission = 0
  262. pe:Emit(15)
  263. sound.TimePosition = 0
  264. sound.Volume = 1
  265. sound.Pitch = 1
  266. sound.PlaybackSpeed = 1
  267. sound.SoundId = OWMYBONES
  268. sound.Parent = part
  269. sound.Parent = nil
  270. v:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid").Health -= math.clamp(v:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid").MaxHealth,100,math.huge)/3.333333335
  271. coroutine.wrap(function()
  272. for i = 1,10 do
  273. wait(0.125)
  274. v:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid").Health -= math.clamp(v:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid").MaxHealth,100,math.huge) * 0.006
  275. end
  276. end)()
  277. elseif ((v:FindFirstAncestorOfClass("Model") and not v:FindFirstAncestorOfClass("Model"):FindFirstChildWhichIsA("Humanoid")) or not v:FindFirstAncestorOfClass("Model")) and not hitdb and canhit then
  278. hitdb = true
  279. pe.Color = sparks
  280. pe.Brightness = 3
  281. pe.SpreadAngle = Vector2.new(-25,25)
  282. local _,y,_ = CFrame.new(part.Position,v.Position):ToEulerAnglesXYZ()
  283. pe.Acceleration = Vector3.new(0,-65,0) + CFrame.Angles(0,y,0).lookVector * -50
  284. pe.LightEmission = 1
  285. pe:Emit(35)
  286. sound.PlaybackSpeed = 1
  287. sound.TimePosition = 0.275
  288. sound.Volume = 1.5
  289. sound.Pitch = 1.85
  290. sound.SoundId = clang2
  291. sound.Parent = part
  292. sound.Parent = nil
  293. wait(0.01)
  294. sound.TimePosition = 0
  295. sound.Volume = 0.75
  296. sound.PlaybackSpeed = 1.35
  297. sound.SoundId = clang
  298. sound.Parent = part
  299. sound.Parent = nil
  300. end
  301. end
  302. end)()
  303. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement