Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How Do I Get A Gui To Fill Up The Entire Screen?

Asked by
jacobwow 140
10 years ago

Its a GUI that opens when a player joins the game and stays for 5 secounds. script here:

game.Players.PlayerAdded:connect(function (newPlayer)
wait(0.01)
a = script.MagicalGUI:Clone()
a.Parent = newPlayer.PlayerGui
wait(5)
newPlayer.PlayerGui.MagicalGUI:Remove()

end)

How can I get it to fill the entire screen?

2 answers

Log in to vote
0
Answered by
Ekkoh 635 Moderation Voter
10 years ago

Set your Frame's size to {1, 0},{1, 0} or in Lua UDim2.new(1, 0, 1, 0).

UDim2

Ad
Log in to vote
0
Answered by
haillin 60
10 years ago
game.Players.PlayerAdded:connect(function (newPlayer)

wait(0.01)

a = script.Parent

a.Visible=true

wait(5)

a.Visible=false



end)

It's already in the player Starter GUI upon login.

(To Size it go to the size property in your GUI and change first and third value to 1)

Answer this question