Trying to make some button that has a push down animation when mousebutton1down, I got the click part working, just not the animation kind of thing. Just trying to move the pos, and size, not actual animation, unless that is needed
script.Parent.MouseButton1Down:Connect(function() game.StarterGui.ScreenGui.Frame.MenuBUTTON.Position = UDim2.new({-0.065, 0},{-0.436, 0}) game.StarterGui.ScreenGui.Frame.Main.Position = UDim2.new({0.538, 0},{0.37, 0}) game.StarterGui.ScreenGui.Frame.Outline.Position = UDim2.new({0.538, 0},{0.484, 0}) print("3") end)
Change all game.StarterGui
s to game.Players.LocalPlayer.PlayerGui
. This will refer to the Gui
s inside the players.