Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/91fWpyPJ", true))()
- repeat wait() until library:IsLoaded()
- library:AddOption(function(obj)
- game:GetService("ChangeHistoryService"):SetWaypoint("Offset-Scale")
- for _, Selection in pairs (library:GetSelection()) do
- if Selection:IsA("GuiBase2d") then
- Selection.Size = UDim2.new(Selection.Size.X.Offset/Selection.Parent.AbsoluteSize.X + Selection.Size.X.Scale, 0, Selection.Size.Y.Offset/Selection.Parent.AbsoluteSize.Y + Selection.Size.Y.Scale, 0)
- Selection.Position = UDim2.new(Selection.Position.X.Offset/Selection.Parent.AbsoluteSize.X + Selection.Position.X.Scale, 0, Selection.Position.Y.Offset/Selection.Parent.AbsoluteSize.Y + Selection.Position.Y.Scale, 0)
- end
- end
- end,"Offset->Scale")
- library:AddOption(function(obj)
- game:GetService("ChangeHistoryService"):SetWaypoint("Offset-Scale")
- for _, Selection in pairs (library:GetSelection()) do
- if Selection:IsA("GuiBase2d") then
- Selection.Size = UDim2.new(0, Selection.Size.X.Scale*Selection.Parent.AbsoluteSize.X + Selection.Size.X.Offset, 0, Selection.Size.Y.Scale*Selection.Parent.AbsoluteSize.Y + Selection.Size.Y.Offset)
- Selection.Position = UDim2.new(0, Selection.Position.X.Scale*Selection.Parent.AbsoluteSize.X + Selection.Position.X.Offset, 0, Selection.Position.Y.Scale*Selection.Parent.AbsoluteSize.Y + Selection.Position.Y.Offset)
- end
- end
- end,"Scale->Offset")
Add Comment
Please, Sign In to add comment