Advertisement
KiroOnTop

Untitled

Jun 23rd, 2022
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.34 KB | None | 0 0
  1. local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro2/main/ui2"))()
  2. local NotifyLib = loadstring(game:HttpGet("https://raw.githubusercontent.com/vKhonshu/intro/main/ui"))()
  3. NotifyLib.prompt('YukoWare - AnimationPack', 'Loading..', 5)
  4. NotifyLib.prompt('YukoWare', 'Enjoy ;) ;)', 5)
  5.  
  6.  
  7. -- // clone
  8. for _, v in next, game:GetService("CoreGui"):GetChildren() do
  9. if (v.Name:match("FreeAnimationPack")) then
  10. v:Destroy()
  11. end
  12. end
  13.  
  14. -- // Instances
  15. local FreeAnimationPack = Instance.new("ScreenGui")
  16. local AnimationPack = Instance.new("TextButton")
  17. local Animations = Instance.new("ScrollingFrame")
  18. local UIListLayout = Instance.new("UIListLayout")
  19. local Lean = Instance.new("TextButton")
  20. local Lay = Instance.new("TextButton")
  21. local Dance1 = Instance.new("TextButton")
  22. local Dance2 = Instance.new("TextButton")
  23. local Greet = Instance.new("TextButton")
  24. local ChestPump = Instance.new("TextButton")
  25. local Praying = Instance.new("TextButton")
  26. local Stop = Instance.new("TextButton")
  27. local UniversalAnimation = Instance.new("Animation")
  28.  
  29. -- // Utility
  30. function stopTracks()
  31. for _, v in next, game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):GetPlayingAnimationTracks() do
  32. if (v.Animation.AnimationId:match("rbxassetid")) then
  33. v:Stop()
  34. end
  35. end
  36. end
  37.  
  38. function loadAnimation(id)
  39. if UniversalAnimation.AnimationId == id then
  40. stopTracks()
  41. UniversalAnimation.AnimationId = "1"
  42. else
  43. UniversalAnimation.AnimationId = id
  44. local animationTrack = game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid"):LoadAnimation(UniversalAnimation)
  45. animationTrack:Play()
  46. end
  47. end
  48.  
  49.  
  50. FreeAnimationPack.Name = "FreeAnimationPack"
  51. FreeAnimationPack.Parent = game.CoreGui
  52. FreeAnimationPack.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  53.  
  54. AnimationPack.Name = "AnimationPack"
  55. AnimationPack.Parent = FreeAnimationPack
  56. AnimationPack.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  57. AnimationPack.BorderSizePixel = 0
  58. AnimationPack.Position = UDim2.new(0, 0, 0.388007045, 0)
  59. AnimationPack.Size = UDim2.new(0, 100, 0, 20)
  60. AnimationPack.Font = Enum.Font.SourceSansBold
  61. AnimationPack.Text = "Animations"
  62. AnimationPack.TextColor3 = Color3.fromRGB(0, 0, 0)
  63. AnimationPack.TextSize = 18.000
  64. AnimationPack.MouseButton1Click:Connect(function()
  65. if (Animations.Visible == false) then
  66. Animations.Visible = true
  67. end
  68. end)
  69.  
  70. Animations.Name = "Animations"
  71. Animations.Parent = AnimationPack
  72. Animations.Active = true
  73. Animations.BackgroundColor3 = Color3.fromRGB(102, 102, 102)
  74. Animations.Position = UDim2.new(-0.104712225, 0, -1.54173493, 0)
  75. Animations.Size = UDim2.new(0, 120, 0, 195)
  76. Animations.Visible = false
  77. Animations.CanvasPosition = Vector2.new(0, 60.0000305)
  78. Animations.CanvasSize = UDim2.new(0, 0, 1, 235)
  79.  
  80. UIListLayout.Parent = Animations
  81. UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
  82. UIListLayout.Padding = UDim.new(0, 2)
  83.  
  84. Lean.Name = "Lean"
  85. Lean.Parent = Animations
  86. Lean.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  87. Lean.Size = UDim2.new(1, 0, 0, 30)
  88. Lean.Font = Enum.Font.SourceSansBold
  89. Lean.Text = "Lean"
  90. Lean.TextColor3 = Color3.fromRGB(0, 0, 0)
  91. Lean.TextSize = 14.000
  92. Lean.MouseButton1Click:Connect(function()
  93. stopTracks()
  94. loadAnimation("rbxassetid://3152375249")
  95. end)
  96.  
  97. Lay.Name = "Lay"
  98. Lay.Parent = Animations
  99. Lay.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  100. Lay.Size = UDim2.new(1, 0, 0, 30)
  101. Lay.Font = Enum.Font.SourceSansBold
  102. Lay.Text = "Lay"
  103. Lay.TextColor3 = Color3.fromRGB(0, 0, 0)
  104. Lay.TextSize = 14.000
  105. Lay.MouseButton1Click:Connect(function()
  106. stopTracks()
  107. loadAnimation("rbxassetid://3152378852")
  108. end)
  109.  
  110. Dance1.Name = "Dance1"
  111. Dance1.Parent = Animations
  112. Dance1.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  113. Dance1.Size = UDim2.new(1, 0, 0, 30)
  114. Dance1.Font = Enum.Font.SourceSansBold
  115. Dance1.Text = "Dance1"
  116. Dance1.TextColor3 = Color3.fromRGB(0, 0, 0)
  117. Dance1.TextSize = 14.000
  118. Dance1.MouseButton1Click:Connect(function()
  119. stopTracks()
  120. loadAnimation("rbxassetid://3189773368")
  121. end)
  122.  
  123. Dance2.Name = "Dance2"
  124. Dance2.Parent = Animations
  125. Dance2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  126. Dance2.Size = UDim2.new(1, 0, 0, 30)
  127. Dance2.Font = Enum.Font.SourceSansBold
  128. Dance2.Text = "Dance2"
  129. Dance2.TextColor3 = Color3.fromRGB(0, 0, 0)
  130. Dance2.TextSize = 14.000
  131. Dance2.MouseButton1Click:Connect(function()
  132. stopTracks()
  133. loadAnimation("rbxassetid://3189776546")
  134. end)
  135.  
  136. Greet.Name = "Greet"
  137. Greet.Parent = Animations
  138. Greet.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  139. Greet.Size = UDim2.new(1, 0, 0, 30)
  140. Greet.Font = Enum.Font.SourceSansBold
  141. Greet.Text = "Greet"
  142. Greet.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. Greet.TextSize = 14.000
  144. Greet.MouseButton1Click:Connect(function()
  145. stopTracks()
  146. loadAnimation("rbxassetid://3189777795")
  147. end)
  148.  
  149. ChestPump.Name = "ChestPump"
  150. ChestPump.Parent = Animations
  151. ChestPump.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  152. ChestPump.Size = UDim2.new(1, 0, 0, 30)
  153. ChestPump.Font = Enum.Font.SourceSansBold
  154. ChestPump.Text = "Chest Pump"
  155. ChestPump.TextColor3 = Color3.fromRGB(0, 0, 0)
  156. ChestPump.TextSize = 14.000
  157. ChestPump.MouseButton1Click:Connect(function()
  158. stopTracks()
  159. loadAnimation("rbxassetid://3189779152")
  160. end)
  161.  
  162. Praying.Name = "Praying"
  163. Praying.Parent = Animations
  164. Praying.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  165. Praying.Size = UDim2.new(1, 0, 0, 30)
  166. Praying.Font = Enum.Font.SourceSansBold
  167. Praying.Text = "Praying"
  168. Praying.TextColor3 = Color3.fromRGB(0, 0, 0)
  169. Praying.TextSize = 14.000
  170. Praying.MouseButton1Click:Connect(function()
  171. stopTracks()
  172. loadAnimation("rbxassetid://3487719500")
  173. end)
  174.  
  175. Stop.Name = "Stop"
  176. Stop.Parent = Animations
  177. Stop.BackgroundColor3 = Color3.fromRGB(255, 112, 112)
  178. Stop.Size = UDim2.new(1, 0, 0, 30)
  179. Stop.Font = Enum.Font.SourceSansBold
  180. Stop.Text = "Stop Animation"
  181. Stop.TextColor3 = Color3.fromRGB(0, 0, 0)
  182. Stop.TextSize = 14.000
  183. Stop.MouseButton1Click:Connect(function()
  184. stopTracks()
  185. end)
  186. --close gui
  187. local plr = game.Players.LocalPlayer
  188.  
  189. plr:GetMouse().KeyDown:Connect(function(K)
  190. if K == "p" then
  191. Animations.Visible = false
  192. end
  193. end)
  194. warn("loaded")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement