OnGUI

Hello everyone,
I’d like to know how can I make this

Rect scoreRect = new Rect (0, 0, Screen.width, Screen.height);

fits every resolution coz after I get it done, the score shows but it’s kinda funky and whenever I re size it disappears.

thanks in advance

The old GUI isn’t very good if possible you should use the new ui

new gui came in in unity 4.6:

if you really can’t use the new ui (old code project etc.) can you expound on “funky”?