Advertisement
Guest User

Untitled

a guest
Oct 15th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.37 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local AnimFinder = Instance.new("ScreenGui")
  5. local Frame = Instance.new("Frame")
  6. local ScrollingFrame = Instance.new("ScrollingFrame")
  7. local TextLabel = Instance.new("TextLabel")
  8. local Find = Instance.new("TextButton")
  9. local Clear = Instance.new("TextButton")
  10. --Properties:
  11. AnimFinder.Name = "AnimFinder"
  12. AnimFinder.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13. AnimFinder.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  14.  
  15. Frame.Parent = AnimFinder
  16. Frame.BackgroundColor3 = Color3.new(0, 0, 0)
  17. Frame.BackgroundTransparency = 0.30000001192093
  18. Frame.BorderColor3 = Color3.new(1, 1, 1)
  19. Frame.Position = UDim2.new(0.305451125, 0, 0.283783793, 0)
  20. Frame.Size = UDim2.new(0, 307, 0, 404)
  21. Frame.ZIndex = 10
  22.  
  23. ScrollingFrame.Parent = Frame
  24. ScrollingFrame.BackgroundColor3 = Color3.new(0, 0, 0)
  25. ScrollingFrame.BackgroundTransparency = 0.5
  26. ScrollingFrame.BorderColor3 = Color3.new(1, 1, 1)
  27. ScrollingFrame.Position = UDim2.new(0, 0, 0.0915841609, 0)
  28. ScrollingFrame.Size = UDim2.new(0, 188, 0, 367)
  29.  
  30. TextLabel.Parent = Frame
  31. TextLabel.BackgroundColor3 = Color3.new(0, 0, 0)
  32. TextLabel.BackgroundTransparency = 0.5
  33. TextLabel.BorderColor3 = Color3.new(1, 1, 1)
  34. TextLabel.Size = UDim2.new(0, 307, 0, 37)
  35. TextLabel.ZIndex = 3
  36. TextLabel.Font = Enum.Font.SourceSans
  37. TextLabel.Text = "Animation Finder by eee#4138"
  38. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  39. TextLabel.TextScaled = true
  40. TextLabel.TextSize = 14
  41. TextLabel.TextWrapped = true
  42.  
  43. Find.Name = "Find"
  44. Find.Parent = Frame
  45. Find.BackgroundColor3 = Color3.new(0, 0, 0)
  46. Find.BackgroundTransparency = 0.40000000596046
  47. Find.BorderColor3 = Color3.new(1, 1, 1)
  48. Find.BorderSizePixel = 0
  49. Find.Position = UDim2.new(0.615635157, 0, 0.0915841609, 0)
  50. Find.Size = UDim2.new(0, 118, 0, 48)
  51. Find.ZIndex = 2
  52. Find.Font = Enum.Font.SourceSans
  53. Find.Text = "Find Animations"
  54. Find.TextColor3 = Color3.new(1, 1, 1)
  55. Find.TextScaled = true
  56. Find.TextSize = 14
  57. Find.TextWrapped = true
  58.  
  59. Clear.Name = "Clear"
  60. Clear.Parent = Frame
  61. Clear.BackgroundColor3 = Color3.new(0, 0, 0)
  62. Clear.BackgroundTransparency = 0.40000000596046
  63. Clear.BorderColor3 = Color3.new(1, 1, 1)
  64. Clear.BorderSizePixel = 0
  65. Clear.Position = UDim2.new(0.615635157, 0, 0.264851511, 0)
  66. Clear.Size = UDim2.new(0, 118, 0, 48)
  67. Clear.ZIndex = 2
  68. Clear.Font = Enum.Font.SourceSans
  69. Clear.Text = "Clear Table"
  70. Clear.TextColor3 = Color3.new(1, 1, 1)
  71. Clear.TextScaled = true
  72. Clear.TextSize = 14
  73. Clear.TextWrapped = true
  74. -- Scripts:
  75. function SCRIPT_PKAY89_FAKESCRIPT() -- Frame.LocalScript
  76. local script = Instance.new('LocalScript')
  77. script.Parent = Frame
  78. local Frame=script.Parent
  79. Frame.Parent.Parent=game.CoreGui
  80. local ScrollFrame=Frame.ScrollingFrame
  81. local list={}
  82. local Find=Frame.Find
  83. local Clear=Frame.Clear
  84. Frame.Draggable=true
  85. Frame.Active=true
  86. local TweenService = game:GetService("TweenService")
  87.  
  88. Find.MouseButton1Click:Connect(function()
  89. for i,v in pairs(workspace:GetDescendants()) do
  90. if v:IsA("Animation")then
  91. table.insert(list,v)
  92. end
  93. end
  94.  
  95. for i,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
  96. if v:IsA("Animation")then
  97. table.insert(list,v)
  98. end
  99. end
  100.  
  101. for i,v in pairs(game.Lighting:GetDescendants()) do
  102. if v:IsA("Animation")then
  103. table.insert(list,v)
  104. end
  105. end
  106.  
  107. for i,v in pairs(game:GetService("ReplicatedStorage"):GetDescendants()) do
  108. if v:IsA("Animation")then
  109. table.insert(list,v)
  110. end
  111. end
  112.  
  113. for i,v in pairs(list)do
  114. for i,v1 in pairs(list)do
  115. if v1.Name==v.Name then
  116. table.remove(list,i)
  117. end
  118. end
  119. end
  120. for i,v in pairs(list)do
  121. ScrollFrame.CanvasSize=UDim2.new(0,0,i/10,0)
  122. end
  123. for i,v in pairs(list)do
  124. local Item=Instance.new("TextLabel",ScrollFrame)
  125. Item.Text=v.Name
  126. Item.Size=UDim2.new(0,140,0,40)
  127. Item.TextScaled=true
  128. Item.BackgroundTransparency=1
  129. Item.TextTransparency=1
  130. Item.BackgroundColor3=Color3.fromRGB(0,0,0)
  131. Item.Position=UDim2.new(0,0,0.037*0,-40+i*40)
  132. Item.TextColor3=Color3.new(1,1,1)
  133. Item.BorderSizePixel=0
  134. local Anim=game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(v)
  135. Anim.Priority=Enum.AnimationPriority.Action
  136. Anim.Looped=true
  137. local Button=Instance.new("TextButton",ScrollFrame)
  138. Button.Position=UDim2.new(0,140,0.037*0,-40+i*40)
  139. Button.Size=UDim2.new(0,30,0,40)
  140. Button.Text=">"
  141. Button.BackgroundTransparency=1
  142. Button.TextTransparency=1
  143. Button.TextScaled=true
  144. Button.BackgroundColor3=Color3.fromRGB(10,10,10)
  145. Button.TextColor3=Color3.new(1,1,1)
  146. Button.BackgroundTransparency=.5
  147. Button.BorderSizePixel=0
  148. local goal = {}
  149. goal.BackgroundTransparency=0
  150. goal.TextTransparency=0
  151. local tween = TweenService:Create(Button, TweenInfo.new(3), goal)
  152. tween:Play()
  153. local tween = TweenService:Create(Item, TweenInfo.new(2), goal)
  154. tween:Play()
  155.  
  156.  
  157. Button.MouseButton1Click:Connect(function()
  158. if Button.Text==(">")then
  159. Anim:Play()
  160. Button.Text="="
  161. else
  162. Anim:Stop()
  163. Button.Text=">"
  164. end
  165.  
  166. end)
  167. end
  168. end)
  169.  
  170. Clear.MouseButton1Click:Connect(function()
  171. for i,v in pairs(list)do
  172. table.remove(list,i)
  173. end
  174. for i,v in pairs(ScrollFrame:GetChildren())do
  175. coroutine.resume(coroutine.create(function()
  176. local goal = {}
  177. goal.BackgroundTransparency=1
  178. goal.TextTransparency=1
  179. local tween = TweenService:Create(v, TweenInfo.new(2), goal)
  180. tween:Play()
  181. wait(2)
  182. v:Destroy()
  183. end))
  184. end
  185. end)
  186.  
  187.  
  188.  
  189. end
  190. coroutine.resume(coroutine.create(SCRIPT_PKAY89_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement