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

can UISCALE be changed by a Player button ?

Asked by 6 years ago

I want to make a UIScale Button. but when i test to click on the button it says this

 UIScale is not a valid member of ScreenGui

can someonehelp me ??

script.Parent.MouseButton1Down:connect(function(click)
    game.Players.LocalPlayer.PlayerGui.Play.UIScale = 1.5
    game.StarterGui.Play.UIScale = 1.5
end)

1 answer

Log in to vote
0
Answered by
mraznboy1 194
6 years ago

Hi, it looks like you meant the Size? ScreenGuis don't a scale property, as they encompass the entire screen of the client already. What you can do is adjust the size of the frames inside of your screen.

Ad

Answer this question