Hygcgggnngff

dahood macro mobile

Nov 4th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 7.18 KB | None | 0 0
  1. repeat
  2.     wait()
  3. until game:IsLoaded() and game.Players.LocalPlayer.Character:FindFirstChild("FULLY_LOADED_CHAR") and game.Players.LocalPlayer.PlayerGui.MainScreenGui:FindFirstChild("AnimationPack")
  4.  
  5. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Lean") then
  6.     game.ReplicatedStorage.ClientAnimations.Lean:Destroy()
  7. end
  8.  
  9. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Lay") then
  10.     game.ReplicatedStorage.ClientAnimations.Lay:Destroy()
  11. end
  12.  
  13. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Dance1") then
  14.     game.ReplicatedStorage.ClientAnimations.Dance1:Destroy()
  15. end
  16.  
  17. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Dance2") then
  18.     game.ReplicatedStorage.ClientAnimations.Dance2:Destroy()
  19. end
  20.  
  21. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Greet") then
  22.     game.ReplicatedStorage.ClientAnimations.Greet:Destroy()
  23. end
  24.  
  25. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Chest Pump") then
  26.     game.ReplicatedStorage.ClientAnimations["Chest Pump"]:Destroy()
  27. end
  28.  
  29. if game.ReplicatedStorage.ClientAnimations:FindFirstChild("Praying") then
  30.     game.ReplicatedStorage.ClientAnimations.Praying:Destroy()
  31. end
  32.  
  33. local Animations = game.ReplicatedStorage.ClientAnimations
  34.  
  35. local LeanAnimation = Instance.new("Animation", Animations)
  36. LeanAnimation.Name = "Lean"
  37. LeanAnimation.AnimationId = "rbxassetid://3152375249"
  38.  
  39. local LayAnimation = Instance.new("Animation", Animations)
  40. LayAnimation.Name = "Lay"
  41. LayAnimation.AnimationId = "rbxassetid://3152378852"
  42.  
  43. local Dance1Animation = Instance.new("Animation", Animations)
  44. Dance1Animation.Name = "Dance1"
  45. Dance1Animation.AnimationId = "rbxassetid://3189773368"
  46.  
  47. local Dance2Animation = Instance.new("Animation", Animations)
  48. Dance2Animation.Name = "Dance2"
  49. Dance2Animation.AnimationId = "rbxassetid://3189776546"
  50.  
  51. local GreetAnimation = Instance.new("Animation", Animations)
  52. GreetAnimation.Name = "Greet"
  53. GreetAnimation.AnimationId = "rbxassetid://3189777795"
  54.  
  55. local ChestPumpAnimation = Instance.new("Animation", Animations)
  56. ChestPumpAnimation.Name = "Chest Pump"
  57. ChestPumpAnimation.AnimationId = "rbxassetid://3189779152"
  58.  
  59. local PrayingAnimation = Instance.new("Animation", Animations)
  60. PrayingAnimation.Name = "Praying"
  61. PrayingAnimation.AnimationId = "rbxassetid://3487719500"
  62.  
  63. function AnimationPack(Character)
  64.     Character:WaitForChild'Humanoid'
  65.     repeat
  66.         wait()
  67.     until game.Players.LocalPlayer.Character:FindFirstChild("FULLY_LOADED_CHAR") and game.Players.LocalPlayer.PlayerGui.MainScreenGui:FindFirstChild("AnimationPack")
  68.  
  69.     local AnimationPack = game:GetService("Players").LocalPlayer.PlayerGui.MainScreenGui.AnimationPack
  70.     local ScrollingFrame = AnimationPack.ScrollingFrame
  71.     local CloseButton = AnimationPack.CloseButton
  72.  
  73.     local Lean = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(LeanAnimation)
  74.  
  75.     local Lay = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(LayAnimation)
  76.  
  77.     local Dance1 = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(Dance1Animation)
  78.  
  79.     local Dance2 = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(Dance2Animation)
  80.  
  81.     local Greet = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(GreetAnimation)
  82.  
  83.     local ChestPump = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(ChestPumpAnimation)
  84.  
  85.     local Praying = game:GetService("Players").LocalPlayer.Character.Humanoid:LoadAnimation(PrayingAnimation)
  86.  
  87.     AnimationPack.Visible = true
  88.  
  89.     AnimationPack.ScrollingFrame.UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  90.  
  91.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  92.         if v.Name == "TextButton" then
  93.             if v.Text == "Lean" then
  94.                 v.Name = "LeanButton"
  95.             end
  96.         end
  97.     end
  98.  
  99.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  100.         if v.Name == "TextButton" then
  101.             if v.Text == "Lay" then
  102.                 v.Name = "LayButton"
  103.             end
  104.         end
  105.     end
  106.  
  107.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  108.         if v.Name == "TextButton" then
  109.             if v.Text == "Dance1" then
  110.                 v.Name = "Dance1Button"
  111.             end
  112.         end
  113.     end
  114.  
  115.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  116.         if v.Name == "TextButton" then
  117.             if v.Text == "Dance2" then
  118.                 v.Name = "Dance2Button"
  119.             end
  120.         end
  121.     end
  122.  
  123.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  124.         if v.Name == "TextButton" then
  125.             if v.Text == "Greet" then
  126.                 v.Name = "GreetButton"
  127.             end
  128.         end
  129.     end
  130.  
  131.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  132.         if v.Name == "TextButton" then
  133.             if v.Text == "Chest Pump" then
  134.                 v.Name = "ChestPumpButton"
  135.             end
  136.         end
  137.     end
  138.  
  139.     for i,v in pairs(ScrollingFrame:GetChildren()) do
  140.         if v.Name == "TextButton" then
  141.             if v.Text == "Praying" then
  142.                 v.Name = "PrayingButton"
  143.             end
  144.         end
  145.     end
  146.  
  147.     function Stop()
  148.         Lean:Stop()
  149.         Lay:Stop()
  150.         Dance1:Stop()
  151.         Dance2:Stop()
  152.         Greet:Stop()
  153.         ChestPump:Stop()
  154.         Praying:Stop()
  155.     end
  156.  
  157.     local LeanTextButton = ScrollingFrame.LeanButton
  158.     local LayTextButton = ScrollingFrame.LayButton
  159.     local Dance1TextButton = ScrollingFrame.Dance1Button
  160.     local Dance2TextButton = ScrollingFrame.Dance2Button
  161.     local GreetTextButton = ScrollingFrame.GreetButton
  162.     local ChestPumpTextButton = ScrollingFrame.ChestPumpButton
  163.     local PrayingTextButton = ScrollingFrame.PrayingButton
  164.  
  165.     AnimationPack.MouseButton1Click:Connect(function()
  166.         if ScrollingFrame.Visible == false then
  167.             ScrollingFrame.Visible = true
  168.             CloseButton.Visible = true
  169.         end
  170.     end)
  171.     CloseButton.MouseButton1Click:Connect(function()
  172.         if ScrollingFrame.Visible == true then
  173.             ScrollingFrame.Visible = false
  174.             CloseButton.Visible = false
  175.         end
  176.     end)
  177.     LeanTextButton.MouseButton1Click:Connect(function()
  178.         Stop()
  179.         Lean:Play()
  180.     end)
  181.     LayTextButton.MouseButton1Click:Connect(function()
  182.         Stop()
  183.         Lay:Play()
  184.     end)
  185.     Dance1TextButton.MouseButton1Click:Connect(function()
  186.         Stop()
  187.         Dance1:Play()
  188.     end)
  189.     Dance2TextButton.MouseButton1Click:Connect(function()
  190.         Stop()
  191.         Dance2:Play()
  192.     end)
  193.     GreetTextButton.MouseButton1Click:Connect(function()
  194.         Stop()
  195.         Greet:Play()
  196.     end)
  197.     ChestPumpTextButton.MouseButton1Click:Connect(function()
  198.         Stop()
  199.         ChestPump:Play()
  200.     end)
  201.     PrayingTextButton.MouseButton1Click:Connect(function()
  202.         Stop()
  203.         Praying:Play()
  204.     end)
  205.  
  206.     game:GetService("Players").LocalPlayer.Character.Humanoid.Running:Connect(function()
  207.         Stop()
  208.     end)
  209.  
  210.     game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function()
  211.         Stop()
  212.     end)
  213. end
  214. AnimationPack(game.Players.LocalPlayer.Character)
  215. game.Players.LocalPlayer.CharacterAdded:Connect(AnimationPack)
Tags: macro
Add Comment
Please, Sign In to add comment