If you play the game, you will probably notice the chickens loop to the other side of the screen when they hit the edge of the screen. I want to pretty much make this. How could I make them spawn at a random edge, go to the next edge, and spawn at a new random one?
Using AbsolutePosition and AbsoluteSize can allow you to produce your desired results. Those two alone can help you find the pixel positioning of each corner on the screen.
Frame is the background in this example:
local leftTopEdge = Frame.AbsolutePosition
local leftBottomEdge = Frame.AbsolutePosition + Vector2.new(0, Frame.AbsoluteSize.Y)
local rightTopEdge = Frame.AbsolutePosition + Vector2.new(Frame.AbsoluteSize.X, 0)
local rightBottomEdge = Frame.AbsolutePosition + Frame.AbsoluteSize