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
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