SizePosScaler Module

Hi, some of you might know my plugin AutoScale.

Well, I’ve decided to release a module for you guys to do the functions of the plugin through a script :stuck_out_tongue:

The plugin allows you to easily change size/position of a gui object to scale/offset


Module Documentation

ToOffsetPos(guiobject) -- converts poition to offset
ToScalePos(guiobject) -- converts position to scale
ToScaleSize(guiobject) -- converts size to scale
ToOffsetSize(guiobject) -- converts size to offset

Example

-- this example doesnt make sense hm
local SizePosScalerModule = require(script.SizePosScaler)

ScaleButton.MouseButton1Click:Connect(function()
   SizePosScalerModule:ToScaleSize(guiobject here lmao)
end)

Get the module here!
https://www.roblox.com/library/4493387361/SizePosScaler-Module

6 Likes

Wow, finally I don’t need to use the plugin anymore!

1 Like

This is much appreciated, thank you!

1 Like