wait(5) --services local Tween = game.GetService("TweenService") --Variables local SideBar = script.Parent:WaitForChild("SideBar") local PlayBtn = SideBar:WaitForChild("Play") local CreditsBtn = SideBar:WaitForChild("Credits") local Title = SideBar:WaitForChild("Title") Tween:Create( SideBar, TweenInfo.new(0.4,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false,0) {Position = UDim2.new(0,0,0,0)} ):Play()
You typed :GetService to .GetService, which means your punctuation is wrong but it does not send any errors which have only one reason, the script does not run
If it's a normal script, make sure it is located at ServerScriptService, if it's a LocalScript, then put it in StarterGui
Okay, I fixed it, here's the script
local TweenService = game:GetService("TweenService") local SideBar = script.Parent:WaitForChild("SideBar") local PlayBtn = SideBar:WaitForChild("Play") local CreditsBtn = SideBar:WaitForChild("Credits") local Title = SideBar:WaitForChild("Title") local create = TweenService:Create(SideBar, TweenInfo.new(0.4,Enum.EasingStyle.Quad,Enum.EasingDirection.Out), {Position = UDim2.new(0,0,0,0)}) wait(5) create:Play()
if it doesn't work try removing waitforchild if it doesn't work too change waitforchild to findfirstchild or just put repeat wait() until game:IsLoaded() == true at the first line
So uh I just opened up the output cause i just realized that i didnt have the output on, and when i opened the output, it said Players.TypicalVictorlks.PlayerGui.Menu.MenuMain:14: attempt to call a TweenInfo value. So um what does that mean and what do i need to fix to my script?