Advertisement
AutumnMoon88683

animation gui

Feb 22nd, 2025 (edited)
780
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.96 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ZayasAnimationGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local ScrollingFrame = Instance.new("ScrollingFrame")
  9. local tem = Instance.new("TextButton")
  10. local UICorner = Instance.new("UICorner")
  11. local UIGridLayout = Instance.new("UIGridLayout")
  12. local TopBar = Instance.new("Frame")
  13. local GuiName = Instance.new("TextLabel")
  14. local UICorner_2 = Instance.new("UICorner")
  15. local UICorner_3 = Instance.new("UICorner")
  16. local Speed = Instance.new("TextBox")
  17. local Stop = Instance.new("TextButton")
  18. local all = Instance.new("TextButton")
  19.  
  20. --Properties:
  21.  
  22. ZayasAnimationGui.Name = "Zaya'sAnimationGui"
  23.  
  24. if game:GetService("CoreGui"):FindFirstChild("Zaya'sAnimationGui") then
  25.     game:GetService("CoreGui"):FindFirstChild("Zaya'sAnimationGui"):Destroy()
  26. end
  27.  
  28. ZayasAnimationGui.Parent = game:GetService("CoreGui")
  29. ZayasAnimationGui.ResetOnSpawn = false
  30. Frame.Parent = ZayasAnimationGui
  31. Frame.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
  32. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  33. Frame.BorderSizePixel = 0
  34. Frame.Position = UDim2.new(0.00589390984, 0, 0.263033181, 0)
  35. Frame.Size = UDim2.new(0, 250, 0, 400)
  36.  
  37. ScrollingFrame.Parent = Frame
  38. ScrollingFrame.Active = true
  39. ScrollingFrame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
  40. ScrollingFrame.BackgroundTransparency = 1.000
  41. ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  42. ScrollingFrame.BorderSizePixel = 0
  43. ScrollingFrame.Position = UDim2.new(0.555999994, -122, 0.709999979, -246)
  44. ScrollingFrame.Size = UDim2.new(0, 214, 0, 356)
  45. ScrollingFrame.CanvasSize = UDim2.new(0, 0, 9999, 0)
  46. ScrollingFrame.ScrollBarThickness = 2
  47.  
  48. tem.Name = "tem"
  49. tem.Parent = ScrollingFrame
  50. tem.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  51. tem.BackgroundTransparency = 0.650
  52. tem.BorderColor3 = Color3.fromRGB(0, 0, 0)
  53. tem.BorderSizePixel = 0
  54. tem.Size = UDim2.new(0, 200, 0, 50)
  55. tem.Visible = false
  56. tem.Font = Enum.Font.Unknown
  57. tem.TextColor3 = Color3.fromRGB(255, 255, 255)
  58. tem.TextScaled = true
  59. tem.TextSize = 14.000
  60. tem.TextStrokeColor3 = Color3.fromRGB(108, 108, 108)
  61. tem.TextStrokeTransparency = 0.000
  62. tem.TextWrapped = true
  63.  
  64. UICorner.CornerRadius = UDim.new(0, 15)
  65. UICorner.Parent = tem
  66.  
  67. UIGridLayout.Parent = ScrollingFrame
  68. UIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
  69. UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
  70. UIGridLayout.CellPadding = UDim2.new(0, 3, 0, 3)
  71. UIGridLayout.FillDirectionMaxCells = 2
  72.  
  73. TopBar.Name = "TopBar"
  74. TopBar.Parent = Frame
  75. TopBar.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
  76. TopBar.BorderColor3 = Color3.fromRGB(0, 0, 0)
  77. TopBar.BorderSizePixel = 0
  78. TopBar.Position = UDim2.new(0, 0, -0.0524999984, 0)
  79. TopBar.Size = UDim2.new(1, 0, -0.117500007, 100)
  80.  
  81. GuiName.Name = "GuiName"
  82. GuiName.Parent = TopBar
  83. GuiName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  84. GuiName.BackgroundTransparency = 1.000
  85. GuiName.BorderColor3 = Color3.fromRGB(0, 0, 0)
  86. GuiName.BorderSizePixel = 0
  87. GuiName.Position = UDim2.new(0.0680000037, 0, 0, 0)
  88. GuiName.Size = UDim2.new(0, 215, 0, 21)
  89. GuiName.Font = Enum.Font.GothamMedium
  90. GuiName.Text = "Zaya's Animation Gui"
  91. GuiName.TextColor3 = Color3.fromRGB(255, 255, 255)
  92. GuiName.TextScaled = true
  93. GuiName.TextSize = 14.000
  94. GuiName.TextStrokeTransparency = 0.000
  95. GuiName.TextWrapped = true
  96.  
  97. UICorner_2.CornerRadius = UDim.new(0, 12)
  98. UICorner_2.Parent = TopBar
  99.  
  100. UICorner_3.CornerRadius = UDim.new(0, 12)
  101. UICorner_3.Parent = Frame
  102.  
  103. Speed.Name = "Speed"
  104. Speed.Parent = Frame
  105. Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  106. Speed.BackgroundTransparency = 0.950
  107. Speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
  108. Speed.BorderSizePixel = 0
  109. Speed.Size = UDim2.new(1, 0, 0, 14)
  110. Speed.Font = Enum.Font.SourceSans
  111. Speed.PlaceholderText = "AnimationSpeed"
  112. Speed.Text = "1"
  113. Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
  114. Speed.TextScaled = true
  115. Speed.TextSize = 14.000
  116. Speed.TextWrapped = true
  117.  
  118. Stop.Name = "Stop"
  119. Stop.Parent = Frame
  120. Stop.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  121. Stop.BorderColor3 = Color3.fromRGB(0, 0, 0)
  122. Stop.BorderSizePixel = 0
  123. Stop.Position = UDim2.new(0, 0, 0.0350000001, 0)
  124. Stop.Size = UDim2.new(0, 120, 0, 18)
  125. Stop.Style = Enum.ButtonStyle.RobloxRoundButton
  126. Stop.Font = Enum.Font.SourceSans
  127. Stop.Text = "Stop Animations"
  128. Stop.TextColor3 = Color3.fromRGB(0, 0, 0)
  129. Stop.TextSize = 14.000
  130. Stop.TextWrapped = true
  131.  
  132. all.Name = "all"
  133. all.Parent = Frame
  134. all.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  135. all.BorderColor3 = Color3.fromRGB(0, 0, 0)
  136. all.BorderSizePixel = 0
  137. all.Position = UDim2.new(0.479999989, 0, 0.0350000001, 0)
  138. all.Size = UDim2.new(0, 120, 0, 18)
  139. all.Style = Enum.ButtonStyle.RobloxRoundButton
  140. all.Font = Enum.Font.SourceSans
  141. all.Text = "Play all Animations"
  142. all.TextColor3 = Color3.fromRGB(0, 0, 0)
  143. all.TextSize = 14.000
  144. all.TextWrapped = true
  145.  
  146. -- Scripts:
  147. local IsScriptOn = true
  148. local plr = game.Players.LocalPlayer
  149. local function GetHumanoid()
  150.     local char = plr.Character or plr.CharacterAdded:Wait()
  151.     local hum = char:FindFirstChildWhichIsA("Humanoid")
  152.     return hum
  153. end
  154. local function SetAnimationSpeed(Speeda)
  155.     if IsScriptOn ~= true then return end
  156.     local Hum = GetHumanoid()
  157.  
  158.     for i,v in next, Hum:GetPlayingAnimationTracks() do
  159.         v:AdjustSpeed(tonumber(Speeda))
  160.     end
  161. end
  162.  
  163. local function HUNLUC_fake_script() -- ZayasAnimationGui.Main
  164.     local script = Instance.new('LocalScript', ZayasAnimationGui)
  165.  
  166.     local frame = script.Parent.Frame
  167.  
  168.     local uis = game:GetService("UserInputService")
  169.  
  170.     local speed = frame:WaitForChild("Speed")
  171.  
  172.     local scroll = frame:WaitForChild("ScrollingFrame")
  173.  
  174.     local stop = frame:WaitForChild("Stop")
  175.  
  176.     local template = scroll:WaitForChild("tem")
  177.  
  178.     local lol = frame:WaitForChild("all")
  179.  
  180.    
  181.  
  182.    
  183.    
  184.  
  185.    
  186.     if IsScriptOn ~= true then return end
  187.  
  188.     local function GetAnimationName(AnimationId)
  189.         if IsScriptOn ~= true then return end
  190.         local MarketplaceService = game:GetService("MarketplaceService")
  191.         local Info = MarketplaceService:GetProductInfo(AnimationId,Enum.InfoType.Asset)
  192.         return Info.Name, AnimationId
  193.     end
  194.  
  195.     local function PlayAnimation(AnimationId)
  196.         if IsScriptOn ~= true then return end
  197.         local animation = Instance.new("Animation")
  198.         animation.AnimationId = "rbxassetid://"..AnimationId
  199.  
  200.         local track = plr.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
  201.         track.Looped = true
  202.         track:Play()
  203.     end
  204.  
  205.     local function CreateButton(AnimationId)
  206.         if IsScriptOn ~= true then return end
  207.         local c = template:Clone()
  208.         local Name,Id = GetAnimationName(AnimationId)
  209.         c.Name = Name
  210.         c.Text = Name
  211.         c.Visible = true
  212.         c.Parent = scroll
  213.         c.Activated:Connect(function()
  214.             PlayAnimation(Id)
  215.         end)
  216.     end
  217.  
  218.     local AnimationList = {10714390497,10713962506,14899979575,16572740012,18443237526,15679621440,4940563117,135876612109535,14352362059,18665811005,10714360343,85267023718407,10214319518,15963314052,10714016223,11309255148,16126469463,15505459811,16256203246,10714378156,10370362157,15122972413,18524313628,12507085924,10714330764,11444441914,17748314784,10713954623,18526288497,136831243854748,10714345862,10214311282,10714336041,17360699557,17000021306,134283166482394,14352343065,10714342957,10714388352,16584481352,12992262118,10714392151,11753474067,10717116749,14899980745,15698402762,10714068222,15609995579,10714101749,14352337694,5895324424,10713981723,10478338114,16553163212,15571453761,10714366910,10714375667,10714100539,10714374267,10714372526,15698404340,14352340648,12507084541,15392752812,15505456446,71243990877913,10714352930,10714065135,10713990381,10714349037,16646423316,15517864808,15693621070,15689279687,17746180844,11394033602,10714345459,10714386947,10714352626,10714395175,10713983178,10714347453,10714389396,10214314957,15549124879,10714340543,10714369325,10714069471,14022936101,16392075853,10714089137,14024642130,10714362852,10714003221,10714360164,16270690701,10370346995,6862001787,10370351535,18148804340,15392756794,107875941017127,15689278184,10714061912,10714293450,10713984554,129470135909814,10713957138,10714382225,10714072822,10714340558,10714393929,10713968716,10714074218,10714347256,16272432203,10714358528,10713992055,10714394082,10714392953,10714391240,10714383856,16215030041,15392759696,12507083048,12259826609,16302968986,4940561610,15517862739,10214317325,10275008655,10714371274,10713988674,10714066964,12259825026,11453082181,10714350889,10370353969,18225053113,13823324057,11444443576,10714392876,10714164866,10714382522,10714349738,17370775305,10714076981,10714365721,15505454268,80995190624232,15505458452,10714361543,10714364213,10714022275,10714174918,12804157977,10714063823,10714070681,14352335202,10714380563,18526362841,10714403700,10714377090,10714168145,10714389988,10714338461,10713966026,125064469983655,132748833449150,10714395441,10714374484,10714359093,10714356920}
  219.  
  220.     coroutine.resume(coroutine.create(function()
  221.         if IsScriptOn ~= true then return end
  222.         for i,v in pairs(AnimationList) do
  223.             CreateButton(v)
  224.         end
  225.     end))
  226.  
  227.     local function Buttons()
  228.         stop.Activated:Connect(function()
  229.             if IsScriptOn ~= true then return end
  230.             for i,v in pairs(plr.Character:FindFirstChildWhichIsA("Humanoid"):GetPlayingAnimationTracks()) do
  231.                 v:Stop()
  232.             end
  233.         end)
  234.  
  235.         lol.Activated:Connect(function()
  236.             if IsScriptOn ~= true then return end
  237.             for i,v in pairs(AnimationList) do
  238.                 PlayAnimation(v)
  239.             end
  240.         end)
  241.  
  242.         uis.InputBegan:Connect(function(a,c)
  243.             if IsScriptOn ~= true then return end
  244.             if c then return end
  245.             if a.KeyCode == Enum.KeyCode.F1 then
  246.                 IsScriptOn = false
  247.                 script.Parent:Destroy()
  248.             end
  249.         end)   
  250.     end
  251.  
  252.     coroutine.wrap(Buttons)()
  253. end
  254. coroutine.wrap(HUNLUC_fake_script)()
  255. local function YEZIP_fake_script() -- Frame.UIDrag
  256.     local script = Instance.new('LocalScript', Frame)
  257.  
  258.     -- Made by Real_IceyDev (@lceyDex) --
  259.     -- Simple UI dragger (PC Only/Any device that has a mouse) --
  260.  
  261.     local UIS = game:GetService('UserInputService')
  262.     local frame = script.Parent
  263.     local dragToggle = nil
  264.     local dragSpeed = 0.25
  265.     local dragStart = nil
  266.     local startPos = nil
  267.  
  268.     local function updateInput(input)
  269.         local delta = input.Position - dragStart
  270.         local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  271.             startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  272.         game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  273.     end
  274.  
  275.     frame.InputBegan:Connect(function(input)
  276.         if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  277.             dragToggle = true
  278.             dragStart = input.Position
  279.             startPos = frame.Position
  280.             input.Changed:Connect(function()
  281.                 if input.UserInputState == Enum.UserInputState.End then
  282.                     dragToggle = false
  283.                 end
  284.             end)
  285.         end
  286.     end)
  287.  
  288.     UIS.InputChanged:Connect(function(input)
  289.         if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  290.             if dragToggle then
  291.                 updateInput(input)
  292.             end
  293.         end
  294.     end)
  295. end
  296. coroutine.wrap(YEZIP_fake_script)()
  297.  
  298. while true do
  299.     wait()
  300.     SetAnimationSpeed(Speed.Text)
  301. end
Tags: #Fun @ROBLOX
Advertisement
Comments
  • # text 0.19 KB | 0 0
    1. Moxy is a character. Dr Strange has jelly fingers for watches. Vision is sort of a character (and her wife). ^_^ o7 Helena_with goldenarches.voice.google.sow #whytookay #balloondog #universe
Add Comment
Please, Sign In to add comment
Advertisement