Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---@class UDim
- ---@field public Scale UDim
- ---@field public Offset UDim
- local UDim = {}
- local constructor = {}
- ---@param Scale number
- ---@param Offset integer
- ---@return UDim
- function constructor.new(Scale, Offset)
- local self = {
- Scale = Scale,
- Offset = math.floor(Offset),
- }
- return self
- end
- return constructor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement