Im not a bot i swear i just need ppl to answer me whats wrong with my script bc I actually don't understand whats wrong with it and I need the script to work like rlly badly. Please help
So I have asked two questions about this script and while both were correct and corrected the script, the script still does not work. Please help
01 wait(5) 02 03 --services 04 local Tween = game:GetService("TweenService") 05 06 --Variables 07 local SideBar = script.Parent:WaitForChild("SideBar") 08 local PlayBtn = SideBar:WaitForChild("Play") 09 local CreditsBtn = SideBar:WaitForChild("Credits") 10 local Title = SideBar:WaitForChild("Title") 11 12 Tween:Create( 13 SideBar, 14 TweenInfo.new(0.4,Enum.EasingStyle.Quad,Enum.EasingDirection.Out,0,false,0), 15 {Position = UDim2.new(0,0,0,0)} 16 ):Play()
I have tried what other ppl said abut my script, but it still does not work sooooooooo please help
See GUI Animations, you can use :TweenPosition instead of tween service. Here is your code rewritten.
SideBar:TweenPosition(UDim2.new(0,0,0,0), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.4, false)