Advertisement
kill21_2

писюн для salavaaye228

May 4th, 2025
680
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. local plr = game:GetService("Players").LocalPlayer
  2. local char = plr.Character or plr.CharacterAdded:Wait()
  3. local hum = char:FindFirstChild("Humanoid") or char:WaitForChild("Humanoid")
  4. local anim = hum:FindFirstChildOfClass("Animator") or hum:WaitForChild("Animator")
  5. local pack = plr:FindFirstChild("Backpack") or plr:WaitForChild("Backpack")
  6.  
  7. if workspace:FindFirstChild("aaa") then
  8. workspace:FindFirstChild("aaa"):Destroy()
  9. end
  10.  
  11. local function getmodel()
  12. return hum.RigType == Enum.HumanoidRigType.R15 and "R15" or "R6"
  13. end
  14.  
  15. local function Notify(Title, Text, Duration)
  16. game:GetService('StarterGui'):SetCore('SendNotification', {
  17. Title = Title,
  18. Text = Text or '',
  19. Duration = Duration}
  20. )
  21. end
  22.  
  23. Notify("СОЗДАНО ДЛЯ Salavaaye228", "Script By 1qlua | Discord: 1qlua", 20)
  24.  
  25. local animation = Instance.new("Animation")
  26. animation.Name = "aaa"
  27. animation.Parent = workspace
  28.  
  29. animation.AnimationId = getmodel() == "R15" and "rbxassetid://698251653" or "rbxassetid://72042024"
  30.  
  31. local tool = Instance.new("Tool")
  32. tool.Name = "1qlua"
  33. tool.RequiresHandle = false
  34. tool.Parent = pack
  35.  
  36. local doing = false
  37. local animtrack = nil
  38.  
  39. tool.Equipped:Connect(function()
  40. doing = true
  41. while doing do
  42. if not animtrack then
  43. animtrack = anim:LoadAnimation(animation)
  44. end
  45.  
  46. animtrack:Play()
  47. animtrack:AdjustSpeed(0.7)
  48. animtrack.TimePosition = 0.6
  49.  
  50. task.wait(0.1)
  51. while doing and animtrack and animtrack.TimePosition < 0.7 do
  52. task.wait(0.05)
  53. end
  54.  
  55. if animtrack then
  56. animtrack:Stop()
  57. animtrack:Destroy()
  58. animtrack = nil
  59. end
  60. end
  61. end)
  62.  
  63. tool.Unequipped:Connect(function()
  64. doing = false
  65. if animtrack then
  66. animtrack:Stop()
  67. animtrack:Destroy()
  68. animtrack = nil
  69. end
  70. end)
  71.  
  72. hum.Died:Connect(function()
  73. doing = false
  74. if animtrack then
  75. animtrack:Stop()
  76. animtrack:Destroy()
  77. animtrack = nil
  78. end
  79. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement