So I’m trying to make a mainMenu and if you press a button it tweens the Players gui
local Menu = game.Players.LocalPlayer.PlayerGui.Menu
local Info = TweenInfo.new(1)
for i,v in pairs(Menu:GetDescendants()) do
if v:IsA("Frame") or v:IsA("TextLabel") or v:IsA("TextButton") then
local Tween = game:GetService("TweenService"):Create(v,Info,{BackgroundTransparency = 1})
Tween:Play()
end
end
end)