Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ZayasAnimationGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local ScrollingFrame = Instance.new("ScrollingFrame")
- local tem = Instance.new("TextButton")
- local UICorner = Instance.new("UICorner")
- local UIGridLayout = Instance.new("UIGridLayout")
- local TopBar = Instance.new("Frame")
- local GuiName = Instance.new("TextLabel")
- local UICorner_2 = Instance.new("UICorner")
- local UICorner_3 = Instance.new("UICorner")
- local Speed = Instance.new("TextBox")
- local Stop = Instance.new("TextButton")
- local all = Instance.new("TextButton")
- --Properties:
- ZayasAnimationGui.Name = "Zaya'sAnimationGui"
- if game:GetService("CoreGui"):FindFirstChild("Zaya'sAnimationGui") then
- game:GetService("CoreGui"):FindFirstChild("Zaya'sAnimationGui"):Destroy()
- end
- ZayasAnimationGui.Parent = game:GetService("CoreGui")
- Frame.Parent = ZayasAnimationGui
- Frame.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.00589390984, 0, 0.263033181, 0)
- Frame.Size = UDim2.new(0, 250, 0, 400)
- ScrollingFrame.Parent = Frame
- ScrollingFrame.Active = true
- ScrollingFrame.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
- ScrollingFrame.BackgroundTransparency = 1.000
- ScrollingFrame.BorderColor3 = Color3.fromRGB(0, 0, 0)
- ScrollingFrame.BorderSizePixel = 0
- ScrollingFrame.Position = UDim2.new(0.555999994, -122, 0.709999979, -246)
- ScrollingFrame.Size = UDim2.new(0, 214, 0, 356)
- ScrollingFrame.CanvasSize = UDim2.new(0, 0, 9999, 0)
- ScrollingFrame.ScrollBarThickness = 2
- tem.Name = "tem"
- tem.Parent = ScrollingFrame
- tem.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- tem.BackgroundTransparency = 0.650
- tem.BorderColor3 = Color3.fromRGB(0, 0, 0)
- tem.BorderSizePixel = 0
- tem.Size = UDim2.new(0, 200, 0, 50)
- tem.Visible = false
- tem.Font = Enum.Font.Unknown
- tem.TextColor3 = Color3.fromRGB(255, 255, 255)
- tem.TextScaled = true
- tem.TextSize = 14.000
- tem.TextStrokeColor3 = Color3.fromRGB(108, 108, 108)
- tem.TextStrokeTransparency = 0.000
- tem.TextWrapped = true
- UICorner.CornerRadius = UDim.new(0, 15)
- UICorner.Parent = tem
- UIGridLayout.Parent = ScrollingFrame
- UIGridLayout.HorizontalAlignment = Enum.HorizontalAlignment.Center
- UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIGridLayout.CellPadding = UDim2.new(0, 3, 0, 3)
- UIGridLayout.FillDirectionMaxCells = 2
- TopBar.Name = "TopBar"
- TopBar.Parent = Frame
- TopBar.BackgroundColor3 = Color3.fromRGB(43, 43, 43)
- TopBar.BorderColor3 = Color3.fromRGB(0, 0, 0)
- TopBar.BorderSizePixel = 0
- TopBar.Position = UDim2.new(0, 0, -0.0524999984, 0)
- TopBar.Size = UDim2.new(1, 0, -0.117500007, 100)
- GuiName.Name = "GuiName"
- GuiName.Parent = TopBar
- GuiName.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- GuiName.BackgroundTransparency = 1.000
- GuiName.BorderColor3 = Color3.fromRGB(0, 0, 0)
- GuiName.BorderSizePixel = 0
- GuiName.Position = UDim2.new(0.0680000037, 0, 0, 0)
- GuiName.Size = UDim2.new(0, 215, 0, 21)
- GuiName.Font = Enum.Font.GothamMedium
- GuiName.Text = "Zaya's Animation Gui"
- GuiName.TextColor3 = Color3.fromRGB(255, 255, 255)
- GuiName.TextScaled = true
- GuiName.TextSize = 14.000
- GuiName.TextStrokeTransparency = 0.000
- GuiName.TextWrapped = true
- UICorner_2.CornerRadius = UDim.new(0, 12)
- UICorner_2.Parent = TopBar
- UICorner_3.CornerRadius = UDim.new(0, 12)
- UICorner_3.Parent = Frame
- Speed.Name = "Speed"
- Speed.Parent = Frame
- Speed.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Speed.BackgroundTransparency = 0.950
- Speed.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Speed.BorderSizePixel = 0
- Speed.Size = UDim2.new(1, 0, 0, 14)
- Speed.Font = Enum.Font.SourceSans
- Speed.PlaceholderText = "AnimationSpeed"
- Speed.Text = ""
- Speed.TextColor3 = Color3.fromRGB(0, 0, 0)
- Speed.TextScaled = true
- Speed.TextSize = 14.000
- Speed.TextWrapped = true
- Stop.Name = "Stop"
- Stop.Parent = Frame
- Stop.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- Stop.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Stop.BorderSizePixel = 0
- Stop.Position = UDim2.new(0, 0, 0.0350000001, 0)
- Stop.Size = UDim2.new(0, 120, 0, 18)
- Stop.Style = Enum.ButtonStyle.RobloxRoundButton
- Stop.Font = Enum.Font.SourceSans
- Stop.Text = "Stop Animations"
- Stop.TextColor3 = Color3.fromRGB(0, 0, 0)
- Stop.TextSize = 14.000
- Stop.TextWrapped = true
- all.Name = "all"
- all.Parent = Frame
- all.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- all.BorderColor3 = Color3.fromRGB(0, 0, 0)
- all.BorderSizePixel = 0
- all.Position = UDim2.new(0.479999989, 0, 0.0350000001, 0)
- all.Size = UDim2.new(0, 120, 0, 18)
- all.Style = Enum.ButtonStyle.RobloxRoundButton
- all.Font = Enum.Font.SourceSans
- all.Text = "Play all Animations"
- all.TextColor3 = Color3.fromRGB(0, 0, 0)
- all.TextSize = 14.000
- all.TextWrapped = true
- -- Scripts:
- local function HUNLUC_fake_script() -- ZayasAnimationGui.Main
- local script = Instance.new('LocalScript', ZayasAnimationGui)
- local frame = script.Parent.Frame
- local uis = game:GetService("UserInputService")
- local speed = frame:WaitForChild("Speed")
- local scroll = frame:WaitForChild("ScrollingFrame")
- local stop = frame:WaitForChild("Stop")
- local template = scroll:WaitForChild("tem")
- local lol = frame:WaitForChild("all")
- local IsScriptOn = true
- local plr = game.Players.LocalPlayer
- if IsScriptOn ~= true then return end
- local function GetAnimationName(AnimationId)
- if IsScriptOn ~= true then return end
- local MarketplaceService = game:GetService("MarketplaceService")
- local Info = MarketplaceService:GetProductInfo(AnimationId,Enum.InfoType.Asset)
- return Info.Name, AnimationId
- end
- local function PlayAnimation(AnimationId)
- if IsScriptOn ~= true then return end
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://"..AnimationId
- local track = plr.Character:FindFirstChildWhichIsA("Humanoid"):LoadAnimation(animation)
- track.Looped = true
- track:Play()
- end
- local function SetAnimationSpeed(Speed)
- if IsScriptOn ~= true then return end
- local Char = plr.Character
- local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController")
- for i,v in next, Hum:GetPlayingAnimationTracks() do
- v:AdjustSpeed(tonumber(Speed))
- end
- end
- local function CreateButton(AnimationId)
- if IsScriptOn ~= true then return end
- local c = template:Clone()
- local Name,Id = GetAnimationName(AnimationId)
- c.Name = Name
- c.Text = Name
- c.Visible = true
- c.Parent = scroll
- c.Activated:Connect(function()
- PlayAnimation(Id)
- end)
- end
- 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}
- coroutine.resume(coroutine.create(function()
- if IsScriptOn ~= true then return end
- for i,v in pairs(AnimationList) do
- CreateButton(v)
- end
- end))
- local function Buttons()
- stop.Activated:Connect(function()
- if IsScriptOn ~= true then return end
- for i,v in pairs(plr.Character:FindFirstChildWhichIsA("Humanoid"):GetPlayingAnimationTracks()) do
- v:Stop()
- end
- end)
- speed.Changed:Connect(function()
- if IsScriptOn ~= true then return end
- if speed.Text == nil or speed.Text == "" then speed.Text = "1" end
- end)
- lol.Activated:Connect(function()
- if IsScriptOn ~= true then return end
- for i,v in pairs(AnimationList) do
- PlayAnimation(v)
- end
- end)
- uis.InputBegan:Connect(function(a,c)
- if IsScriptOn ~= true then return end
- if c then return end
- if a.KeyCode == Enum.KeyCode.F1 then
- IsScriptOn = false
- script.Parent:Destroy()
- end
- end)
- while true do
- wait()
- if IsScriptOn ~= true then return end
- SetAnimationSpeed(speed.Text)
- end
- end
- coroutine.wrap(Buttons)()
- end
- coroutine.wrap(HUNLUC_fake_script)()
- local function YEZIP_fake_script() -- Frame.UIDrag
- local script = Instance.new('LocalScript', Frame)
- -- Made by Real_IceyDev (@lceyDex) --
- -- Simple UI dragger (PC Only/Any device that has a mouse) --
- local UIS = game:GetService('UserInputService')
- local frame = script.Parent
- local dragToggle = nil
- local dragSpeed = 0.25
- local dragStart = nil
- local startPos = nil
- local function updateInput(input)
- local delta = input.Position - dragStart
- local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
- startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
- end
- frame.InputBegan:Connect(function(input)
- if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
- dragToggle = true
- dragStart = input.Position
- startPos = frame.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragToggle = false
- end
- end)
- end
- end)
- UIS.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- if dragToggle then
- updateInput(input)
- end
- end
- end)
- end
- coroutine.wrap(YEZIP_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement