From 3093cf462329fa2a7be27356fec188842df8fb78 Mon Sep 17 00:00:00 2001 From: MatusGuy Date: Thu, 19 May 2022 08:36:38 +0100 Subject: [PATCH 1/3] removed window manager test script --- Mt.rbxlx | 908 ++++++++++++++++++++++++++----------------------------- 1 file changed, 426 insertions(+), 482 deletions(-) diff --git a/Mt.rbxlx b/Mt.rbxlx index 1fac098..2bed665 100644 --- a/Mt.rbxlx +++ b/Mt.rbxlx @@ -521,452 +521,6 @@ gcLgc4RKxr21zq2UlJSM]]> 0b401e85ede42a620247f9fa0001b445 - - - - false - - MtRemotes - {A7C6D0D5-14AA-4B8C-AFE7-FFB33C4115B6} - - -1 - - 683ee95d122d1fcb0287f927003ae265 - - - - - - false - - MtWindowTest - {6458014A-116B-482E-8D8B-AE889E404B10} - - -1 - - 5b19d14ef55ae6bc0249fc2c00162b32 - - - - - window - -1 - - 079fd07efd1f4a0a028fc3eb007b8842 - - - - true - - 0.5 - 0.5 - - - false - true - 0 - - 1 - 1 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 3 - - 0 - 1 - -1 - false - Button - null - null - null - null - - 0.5 - 0 - 0.5 - 0 - - true - null - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.550000012 - 0 - 0.349999994 - 0 - - 0 - -1 - 0 - - bring up cool dialog<br/>ok fine it doesn't actually do anything - - 0 - 0 - 0 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - 079fd07efd1f4a0a028fc3eb007b7dc2 - true - 1 - - - - - - - dialog - -1 - - 079fd07efd1f4a0a028fc3eb007b8874 - - - - true - - 0.5 - 0.5 - - - true - 0 - - 1 - 1 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - true - false - false - 3 - - 0 - 1 - -1 - false - Input - null - null - null - null - - 0.699999988 - 0.699999988 - 0.699999988 - - - - 0.5 - 0 - 0.5 - 0 - - false - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - true - - 0.5 - 0 - 0.100000001 - 0 - - 0 - -1 - - - - 0 - 0 - 0 - - true - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - 079fd07efd1f4a0a028fc3eb00797433 - true - 1 - - - - - false - - 0.5 - 0.5 - - - true - 0 - - 1 - 1 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 3 - - 0 - 1 - -1 - Label - null - null - null - null - - 0.5 - 0 - 0.200000003 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.5 - 0 - 0.100000001 - 0 - - 0 - -1 - - are the windows cool? - - 0 - 0 - 0 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - 079fd07efd1f4a0a028fc3eb007975c2 - true - 1 - - - - - - - page - -1 - - 079fd07efd1f4a0a028fc3eb007b88c6 - - - - false - - 0 - 0 - - - true - 0 - - 1 - 1 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 3 - - 0 - 1 - -1 - TextLabel - null - null - null - null - - 0 - 0 - 0 - 0 - - true - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 1 - 0 - - 0 - -1 - - this paragraph is<br/>not so big<br/>i wish i could write something longer - - 0 - 0 - 0 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 0 - 0 - 079fd07efd1f4a0a028fc3eb007b8309 - true - 1 - - - - @@ -2365,7 +1919,6 @@ return MWindow]]> MWindowResizeRegion {4B0E1833-342E-48B8-9103-F78E30D9A98B} 29dccafe008ad55d024f65f0004d4b41 - - - - false - - MtWindowTest - {8BF522F9-887D-43EB-9400-D32749AB7991} - - -1 - - 29dccafe008ad55d024f65f0004d4b78 - - @@ -3354,6 +2881,432 @@ end]]> 05c44930bd9fb73402486df700026eaf + + + + false + + MtWindowTest + {7B0D130B-DD0C-4C03-A6F1-7C1FC1660315} + + -1 + + 7cb338ab5f2bec59029789510002991a + + + + + window + -1 + + 7cb338ab5f2bec590297895100029917 + + + + true + + 0.5 + 0.5 + + + false + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + 3 + + 0 + 1 + -1 + false + Button + null + null + null + null + + 0.5 + 0 + 0.5 + 0 + + true + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.550000012 + 0 + 0.349999994 + 0 + + 0 + -1 + 0 + + bring up cool dialog<br/>ok fine it doesn't actually do anything + + 0 + 0 + 0 + + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + 7cb338ab5f2bec59029789510002991c + true + 1 + + + + + + + dialog + -1 + + 7cb338ab5f2bec590297895100029918 + + + + true + + 0.5 + 0.5 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + true + false + false + 3 + + 0 + 1 + -1 + false + Input + null + null + null + null + + 0.699999988 + 0.699999988 + 0.699999988 + + + + 0.5 + 0 + 0.5 + 0 + + false + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + true + + 0.5 + 0 + 0.100000001 + 0 + + 0 + -1 + + + + 0 + 0 + 0 + + true + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + 7cb338ab5f2bec59029789510002991b + true + 1 + + + + + false + + 0.5 + 0.5 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 3 + + 0 + 1 + -1 + Label + null + null + null + null + + 0.5 + 0 + 0.200000003 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.5 + 0 + 0.100000001 + 0 + + 0 + -1 + + are the windows cool? + + 0 + 0 + 0 + + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + 7cb338ab5f2bec59029789510002991d + true + 1 + + + + + + + page + -1 + + 7cb338ab5f2bec590297895100029919 + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 3 + + 0 + 1 + -1 + TextLabel + null + null + null + null + + 0 + 0 + 0 + 0 + + true + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + -1 + + this paragraph is<br/>not so big<br/>i wish i could write something longer + + 0 + 0 + 0 + + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 0 + 0 + 7cb338ab5f2bec59029789510002991e + true + 1 + + + + @@ -3372,15 +3325,6 @@ end]]> 683ee95d122d1fcb0287f927003ae213 - - - - ChangeCursor - -1 - - 683ee95d122d1fcb0287f927003ae255 - - From 6860c085d7547e0b76e060dc5741b17dfd53bd20 Mon Sep 17 00:00:00 2001 From: MatusGuy Date: Thu, 19 May 2022 19:55:23 +0100 Subject: [PATCH 2/3] made a sketch --- Mt.rbxlx | 405 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 258 insertions(+), 147 deletions(-) diff --git a/Mt.rbxlx b/Mt.rbxlx index 2bed665..30f65be 100644 --- a/Mt.rbxlx +++ b/Mt.rbxlx @@ -81,27 +81,27 @@ - -175.490524 - 51.1783447 - 78.4593201 - -0.851734102 - -0.0765281171 - 0.518355668 - -7.45058149e-09 - 0.989276826 - 0.14605312 - -0.523974478 - 0.124398418 - -0.842600644 + -84.4647446 + 79.1612549 + 95.9382477 + 0.944368005 + -0.193310544 + 0.266082972 + -0 + 0.809031606 + 0.587765217 + -0.328890741 + -0.555066645 + 0.764023483 null 0 70 0 - -176.527237 - 50.8862381 - 80.1445236 + -84.9969101 + 77.9857254 + 94.410202 1 0 0 @@ -558,7 +558,7 @@ gcLgc4RKxr21zq2UlJSM]]> true 0 - false + true true extra true @@ -573,9 +573,9 @@ gcLgc4RKxr21zq2UlJSM]]> 5b19d14ef55ae6bc0249fc2c00162b57 1 - + - false + true 0 0 @@ -596,85 +596,36 @@ gcLgc4RKxr21zq2UlJSM]]> 0 1 + false false false + 3 + 0 - Frame + 1 + -1 + false + input null null null null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 438 - 0 - 268 - - 0 - -1 - 0 - - 079fd07efd1f4a0a028fc3eb0079727f - true - 1 - - - - - false - - 0 - 0 - - - true - 0 - - 1 - 1 - 1 + + 0.699999988 + 0.699999988 + 0.699999988 - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 0 - Frame - null - null - null - null + - 0.425619841 + 0.496492594 0 - 0 + 0.497206688 0 + false null 0 - false + true 0 0 0 @@ -682,82 +633,242 @@ gcLgc4RKxr21zq2UlJSM]]> false null 0 + true 0 - 438 + 165 0 - 268 + 50 0 -1 - 0 - 079fd07efd1f4a0a028fc3eb007b7c46 - true - 1 - - - - - false - - 0 - 0 - - - true - 0 - - 1 - 1 - 1 + 0 + + 0 + 0 + 0 - 0 - - 0.105882362 - 0.164705887 - 0.207843155 + true + true + 14 + + 0 + 0 + 0 - 0 - 1 - false - false - 0 - Frame - null - null - null - null - - 0 - 0 - 0.537132978 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0 - 438 - 0 - 268 - - 0 - -1 - 0 - - 079fd07efd1f4a0a028fc3eb007b828d + 1 + 0 + 0 + true + 0 + 1 + 7cb338ab5f2bec590297895100029c4e true 1 + + + true + + 0 + 0 + + + true + true + 0 + + 0.670588255 + 0.670588255 + 0.670588255 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + + rbxasset://textures/ui/Backpack_Open@2x.png + + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + 0 + false + up + null + null + null + null + + 0.800000012 + 0 + 0 + 0 + + + 0 + null + 0 + 3 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.200000003 + 0 + 0.5 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + 7cb338ab5f2bec59029789510002a2ff + true + 1 + + + + + true + + 0 + 0 + + + true + true + 0 + + 0.670588255 + 0.670588255 + 0.670588255 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + + rbxasset://textures/ui/Backpack_Close@2x.png + + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + 0 + false + down + null + null + null + null + + 0.800000012 + 0 + 0.5 + 0 + + + 0 + null + 0 + 3 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.200000003 + 0 + 0.5 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + 7cb338ab5f2bec59029789510002a495 + true + 1 + + From 9153ded2abd00394f188fdfead888ab6072f4037 Mon Sep 17 00:00:00 2001 From: MatusGuy Date: Tue, 19 Jul 2022 17:51:46 +0100 Subject: [PATCH 3/3] add things from master --- Mt.rbxlx | 6373 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 3887 insertions(+), 2486 deletions(-) diff --git a/Mt.rbxlx b/Mt.rbxlx index 30f65be..2720afc 100644 --- a/Mt.rbxlx +++ b/Mt.rbxlx @@ -59,6 +59,7 @@ true false + 0 0b401e85ede42a620247f9fa00019ad8 @@ -81,27 +82,27 @@ - -84.4647446 - 79.1612549 - 95.9382477 - 0.944368005 - -0.193310544 - 0.266082972 + -38.7727661 + 21.1391563 + -101.471115 + -0.559310853 + -0.476656705 + 0.678210735 -0 - 0.809031606 - 0.587765217 - -0.328890741 - -0.555066645 - 0.764023483 + 0.818148494 + 0.575007021 + -0.828958035 + 0.321607679 + -0.457599312 null 0 70 0 - -84.9969101 - 77.9857254 - 94.410202 + -40.1291885 + 19.9891415 + -100.555916 1 0 0 @@ -429,6 +430,48 @@ gcLgc4RKxr21zq2UlJSM]]> 0b401e85ede42a620247f9fa0001b243 + + + Asphalt + + Basalt + Brick + Cobblestone + Concrete + CorrodedMetal + CrackedLava + DiamondPlate + Fabric + Foil + Glacier + Granite + Grass + Ground + Ice + LeafyGrass + Limestone + Marble + Metal + Mud + MaterialService + Pavement + Pebble + Plastic + Rock + Salt + Sand + Sandstone + Slate + SmoothPlastic + Snow + -1 + + 23fc4fa05a1e0eba02d782820001f347 + false + Wood + WoodPlanks + + @@ -521,2538 +564,2611 @@ gcLgc4RKxr21zq2UlJSM]]> 0b401e85ede42a620247f9fa0001b445 - - - - - StarterCharacterScripts - -1 - - 0b401e85ede42a620247f9fa0001b444 - - - - - - - StarterPack - -1 - - 0b401e85ede42a620247f9fa0001b24d - - - - - - StarterGui - true - 4 - true - -1 - - 0b401e85ede42a620247f9fa0001b24e - 0 - - - - - true - 0 - true - true - extra - true - null - 0 - 0 - 0 - 0 - false - -1 - - 5b19d14ef55ae6bc0249fc2c00162b57 - 1 - - + - true - - 0 - 0 - - true - 0 - - 1 - 1 - 1 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - false - 3 - - 0 - 1 - -1 - false - input - null - null - null - null - - 0.699999988 - 0.699999988 - 0.699999988 - - - - 0.496492594 - 0 - 0.497206688 - 0 - - false - null - 0 - true - 0 - 0 - 0 - 0 - false - null - 0 - true - - 0 - 165 - 0 - 50 - - 0 + true + + MtRemotes + 0 + {A7C6D0D5-14AA-4B8C-AFE7-FFB33C4115B6} + -1 - 0 - - 0 - 0 - 0 - - true - true - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 0 - 1 - 7cb338ab5f2bec590297895100029c4e - true - 1 + 683ee95d122d1fcb0287f927003ae265 + + + + + + true + + MtWindowTest + 0 + {6458014A-116B-482E-8D8B-AE889E404B10} + + -1 + + 5b19d14ef55ae6bc0249fc2c00162b32 - + - true - - 0 - 0 - - true - true - 0 - - 0.670588255 - 0.670588255 - 0.670588255 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://textures/ui/Backpack_Open@2x.png - - 0 - 0 - 0 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - false - up - null - null - null - null - - 0.800000012 - 0 - 0 - 0 - - - 0 - null - 0 - 3 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.200000003 - 0 - 0.5 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 + window -1 - 0 - - 1 - 0 - 1 - 0 - - 7cb338ab5f2bec59029789510002a2ff - true - 1 + 079fd07efd1f4a0a028fc3eb007b8842 + + + true + + 0.5 + 0.5 + + + false + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + 3 + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + 0 + 1 + -1 + false + Button + null + null + null + null + + 0.5 + 0 + 0.5 + 0 + + true + null + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.550000012 + 0 + 0.349999994 + 0 + + 0 + -1 + 0 + + bring up cool dialog<br/>ok fine it doesn't actually do anything + + 0 + 0 + 0 + + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + 079fd07efd1f4a0a028fc3eb007b7dc2 + true + 1 + + - + - true - - 0 - 0 - - true - true - 0 - - 0.670588255 - 0.670588255 - 0.670588255 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - - rbxasset://textures/ui/Backpack_Close@2x.png - - 0 - 0 - 0 - - - 0 - 0 - - - 0 - 0 - - 0 - 0 - false - down - null - null - null - null - - 0.800000012 - 0 - 0.5 - 0 - - - 0 - null - 0 - 3 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.200000003 - 0 - 0.5 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 + dialog -1 - 0 - - 1 - 0 - 1 - 0 - - 7cb338ab5f2bec59029789510002a495 - true - 1 + 079fd07efd1f4a0a028fc3eb007b8874 - - - - - - - - LocalizationService - -1 - - 0b401e85ede42a620247f9fa0001b250 - - - - - - Teleport Service - -1 - - 0b401e85ede42a620247f9fa0001b254 - - - - - - CollectionService - -1 - - 0b401e85ede42a620247f9fa0001b256 - - - - - - PhysicsService - -1 - - 0b401e85ede42a620247f9fa0001b257 - - - - - - Geometry - -1 - - 0b401e85ede42a620247f9fa0001b259 - - - - - false - false - - InsertService - -1 - - 0b401e85ede42a620247f9fa0001b25b - - - - - InsertionHash - -1 - - 0b401e85ede42a620247f9fa0001b446 - {CFC75CFD-8969-40E4-B03D-10597A48B0EB} - - - - - - - GamePassService - -1 - - 0b401e85ede42a620247f9fa0001b25c - - - - - - 1000 - Debris - -1 - - 0b401e85ede42a620247f9fa0001b25d - - - - - - CookiesService - -1 - - 0b401e85ede42a620247f9fa0001b25e - - - - - - VRService - -1 - - 0b401e85ede42a620247f9fa0001b268 - - - - - - ContextActionService - -1 - - 0b401e85ede42a620247f9fa0001b269 - - - - - - Instance - -1 - - 0b401e85ede42a620247f9fa0001b26b - + + + true + + 0.5 + 0.5 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + true + false + false + 3 + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + 0 + 1 + -1 + false + Input + null + null + null + null + + 0.699999988 + 0.699999988 + 0.699999988 + + + + 0.5 + 0 + 0.5 + 0 + + false + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + true + + 0.5 + 0 + 0.100000001 + 0 + + 0 + -1 + + + + 0 + 0 + 0 + + true + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + 079fd07efd1f4a0a028fc3eb00797433 + true + 1 + + + + + false + + 0.5 + 0.5 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 3 + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + 0 + 1 + -1 + Label + null + null + null + null + + 0.5 + 0 + 0.200000003 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.5 + 0 + 0.100000001 + 0 + + 0 + -1 + + are the windows cool? + + 0 + 0 + 0 + + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 2 + 1 + 079fd07efd1f4a0a028fc3eb007975c2 + true + 1 + + + + + + + page + -1 + + 079fd07efd1f4a0a028fc3eb007b88c6 + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 3 + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + 0 + 1 + -1 + TextLabel + null + null + null + null + + 0 + 0 + 0 + 0 + + true + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 1 + 0 + + 0 + -1 + + this paragraph is<br/>not so big<br/>i wish i could write something longer + + 0 + 0 + 0 + + false + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + false + 0 + 0 + 079fd07efd1f4a0a028fc3eb007b8309 + true + 1 + + + + + + + + + StarterCharacterScripts + -1 + + 0b401e85ede42a620247f9fa0001b444 + + - + - AssetService + StarterPack -1 - 0b401e85ede42a620247f9fa0001b26c + 0b401e85ede42a620247f9fa0001b24d - + - TouchInputService + StarterGui + true + 4 + true -1 - 0b401e85ede42a620247f9fa0001b26d + 0b401e85ede42a620247f9fa0001b24e + 0 - - - - - - AnalyticsService - -1 - - 0b401e85ede42a620247f9fa0001b270 - - - - - - Selection - -1 - - 0b401e85ede42a620247f9fa0001b273 - - - - - - false - ServerScriptService - -1 - - 0b401e85ede42a620247f9fa0001b275 - - - - - - ServerStorage - -1 - - 0b401e85ede42a620247f9fa0001b276 - - - - - - ReplicatedStorage - -1 - - 0b401e85ede42a620247f9fa0001b277 - - + - - Mt - {409574B3-D8FF-4DDE-8998-AB07D654F8A1} - + true + 0 + false + true + extra + true + null + 0 + 0 + 0 + 0 + false -1 - 0b401e85ede42a620247f9fa00027352 + 5b19d14ef55ae6bc0249fc2c00162b57 + 1 - + + false + + 0 + 0 + - - MtWidgets - {CEED62A0-93E8-410B-A790-E0F7F8A5173D} - + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + 0 + Frame + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 438 + 0 + 268 + + 0 -1 + 0 - 05c44930bd9fb73402486df700201f5d + 079fd07efd1f4a0a028fc3eb0079727f + true + 1 - - - - - MWidget - {6C7FCB0E-3E63-4CEB-A66E-534210256E09} - max.X then coor = Vector2.new(max.X,coor.Y) end - if coor.Y > max.Y then coor = Vector2.new(coor.X,max.Y) end - - if coor.X < min.X then coor = Vector2.new(min.X,coor.Y) end - if coor.Y < min.Y then coor = Vector2.new(coor.X,min.Y) end - - return coor -end - -MWidget.SetSize = function(self,newsize:Vector2) - local limitedsize = self:LimitCoordinate(newsize) - local currentScale: Vector2 = self:GetSizeScale() - self.Frame.Size = UDim2.new( - currentScale.X, - limitedsize.X, - currentScale.Y, - limitedsize.Y - ) -end - -MWidget.Resize = MWidget.SetSize - -MWidget.SetSizeFromScale = function(self,newscale:Vector2) - local screenSize = self.Screen:GetScreenSize() - self:SetSize(Vector2.new(newscale.X*screenSize.X,newscale.Y*screenSize.Y)) -end - -MWidget.Rescale = MWidget.SetSizeFromScale - -MWidget.SetPosition = function(self,newpos:Vector2) - self.Frame.Position = UDim2.fromOffset(newpos.X,newpos.Y) -end - -MWidget.GoTo = MWidget.SetPosition -MWidget.Move = MWidget.SetPosition - -MWidget.SetPositionFromScale = function(self,newscale:Vector2) - local screenSize = self.Screen:GetScreenSize() - self:SetPosition(Vector2.new(newscale.X*screenSize.X,newscale.Y*screenSize.Y)) -end - -MWidget.GetSizeScale = function(self): Vector2 - return Vector2.new(self.Frame.Size.X.Scale,self.Frame.Size.Y.Scale) -end - -MWidget.SetSizeLimit = function(self,min:Vector2,max:Vector2) - self.MinSize = min - self.MaxSize = max -end - -MWidget.SetMinimumSize = function(self,size:Vector2) - self:SetSizeLimit(size,self.MaxSize) -end - -MWidget.SetMinimumWidth= function(self,width:number) - self:SetMinimumSize(Vector2.new( - width, - self.MinSize.Y - )) -end - -MWidget.SetMinimumHeight=function(self,height:number) - self:SetMinimumSize(Vector2.new( - self.MinSize.X, - height - )) -end - -MWidget.SetMaximumSize = function(self,size:Vector2) - self:SetSizeLimit(self.MinSize,size) -end - -MWidget.SetMaximumWidth= function(self,width:number) - self:SetMaximumSize(Vector2.new( - width, - self.MinSize.Y - )) -end - -MWidget.SetMaxmimumHeight=function(self,height:number) - self:SetMaximumSize(Vector2.new( - self.MaxSize.X, - height - )) -end - -MWidget.GetMaximumWidth=function(self): number - return self.MaxSize.X -end - -MWidget.GetMinimumWidth=function(self): number - return self.MinSize.X -end - -MWidget.GetMaximumHeight=function(self): number - return self.MaxSize.Y -end - -MWidget.GetMinimumHeight=function(self): number - return self.MinSize.Y -end - -MWidget.GetMinimumSize=function(self): Vector2 - return self.MinSize -end - -MWidget.GetMaximumSize=function(self): Vector2 - return self.MaxSize -end - -MWidget.GetSizeLimit=function(self): Rect - return Rect.new(self:GetMinimumSize(),self:GetMaximumSize()) -end - -MWidget.SetName = function(self,name) - self.Frame.Name = name - MObject.SetName(self,name) -end - -MWidget.SetHidden = function(self,hidden) - self.Frame.Visible = not hidden -end - -MWidget.IsPointTouchingArea = function(self,point: Vector2,areaPos: UDim2,areaSize: UDim2): boolean - local px = point.X - local py = point.Y - local apx = areaPos.X.Offset - local apy = areaPos.Y.Offset - local asx = areaSize.X.Offset - local asy = areaSize.X.Offset - - return - (px >= apx-asx and px <= (apx + asx)) and - (py >= apy-asy and py <= (apy + asy)) -end - -MWidget.IsPointInsideWidget = function(self,point:Vector2): boolean - self:PointTouchingArea(point,self.Frame.AbsolutePosition,self.Frame.AbsoluteSize) -end - -MWidget.IsBeingHovered = function(self):boolean - self:IsPointInsideWidget(uis:GetMouseLocation()) -end - -MWidget = MObject:Init({},MWidget,-1) - -return MWidget]]> - -1 - - 05c44930bd9fb73402486df700201f98 - - - + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + 0 + Frame + null + null + null + null + + 0.425619841 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 438 + 0 + 268 + + 0 + -1 + 0 + + 079fd07efd1f4a0a028fc3eb007b7c46 + true + 1 + + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + 0 + Frame + null + null + null + null + + 0 + 0 + 0.537132978 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 438 + 0 + 268 + + 0 + -1 + 0 + + 079fd07efd1f4a0a028fc3eb007b828d + true + 1 + + + + + true + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + false + 3 + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + 0 + 1 + -1 + false + input + null + null + null + null + + 0.699999988 + 0.699999988 + 0.699999988 + + + + 0.496492594 + 0 + 0.497206688 + 0 + + false + null + 0 + true + 0 + 0 + 0 + 0 + false + null + 0 + true + + 0 + 165 + 0 + 50 + + 0 + -1 + + 0 + + 0 + 0 + 0 + + true + true + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 0 + 1 + 56aefadec790aa6202e855180002d40a + true + 1 + + - - - MWindow - {255E9E70-3F2C-4182-BE59-79D470BFA2D8} - + true + + 0 + 0 + + + true + true + 0 + + 0.670588255 + 0.670588255 + 0.670588255 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + + rbxasset://textures/ui/Backpack_Open@2x.png + + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + 0 + false + up + null + null + null + null + + 0.800000012 + 0 + 0 + 0 + + + 0 + null + 0 + 3 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.200000003 + 0 + 0.5 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 -1 + 0 - 1fb9260fbeb8d7670258d171000278e2 + + 1 + 0 + 1 + 0 + + 56aefadec790aa6202e855180002d408 + true + 1 - - - false - - 0 - 0 - - - true - 0 - - 0 - 0.470588237 - 0.70588237 - - 0 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - handle - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 25 - - 0 - -1 - 0 - - 1fb9260fbeb8d7670258d171000278de - true - 1 - - - - - - 0 - 0 - - UICorner - -1 - - 1fb9260fbeb8d7670258d171000278e6 - - - - - - UIPadding - - 0 - 0 - - - 0 - 5 - - - 0 - 5 - - - 0 - 0 - - -1 - - 1fb9260fbeb8d7670258d171000278eb - - - - - false - - 0 - 0 - - - true - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 3 - - 1 - 1 - -1 - title - null - null - null - null - - 0 - 0 - 0 - 0 - - false - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.800000012 - 0 - 0.899999976 - 0 - - 0 - -1 - - window - - 1 - 1 - 1 - - true - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - true - 0 - 1 - 1fb9260fbeb8d7670258d171000278e3 - true - 1 - - - - - - 0 - 1 - UIListLayout - - 0 - 5 - - 2 - -1 - - 1fb9260fbeb8d7670258d171000278e9 - 0 - - - - - false - - 0 - 0 - - - true - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 1 - false - false - 2 - buttons - null - null - null - null - - 0 - 0 - 0 - 0 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.200000003 - -5 - 0.850000024 - 0 - - 0 - -1 - 0 - - 1fb9260fbeb8d7670258d171000278df - true - 1 - - - - true - - 0 - 0 - - - true - true - 0 - - 1 - 0.215686291 - 0.215686291 - - 0 - - 0.105882354 - 0.164705887 - 0.20784314 - - 0 - 1 - false - false - - http://www.roblox.com/asset/?id=9194906375 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 3 - false - close - null - null - null - null - - 0.899999976 - 0 - 0 - 0 - - - 0 - null - 0 - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.5 - 0 - 0.785000026 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - 1fb9260fbeb8d7670258d171000278e0 - true - 1 - - - - - - 1 - 4 - - UICorner - -1 - - 1fb9260fbeb8d7670258d171000278e7 - - - - - 1 - 1 - - 0 - UIXAspectRatioConstraint - -1 - - 1fb9260fbeb8d7670258d171000278e4 - - - - - - - INF - INF - - - 9.99999996e+11 - 9.99999996e+11 - - UISizeConstraint - -1 - - 1fb9260fbeb8d7670258d171000278ec - - - - - - true - - 0 - 0 - - - true - true - 0 - - 0 - 0.352941185 - 0.509803951 - - 0 - - 0.105882354 - 0.164705887 - 0.20784314 - - 0 - 1 - false - false - - http://www.roblox.com/asset/?id=9194908204 - - 1 - 1 - 1 - - - 0 - 0 - - - 0 - 0 - - 0 - 2 - false - maximize - null - null - null - null - - 1 - 0 - 0 - 0 - - - 0 - null - 0 - 0 - true - false - 0 - 0 - 0 - 0 - false - null - 0 - - 0.5 - 0 - 0.785000026 - 0 - - 0 - - - 0 - 0 - - - 0 - 0 - - - 1 - -1 - 0 - - - 1 - 0 - 1 - 0 - - 1fb9260fbeb8d7670258d171000278e1 - true - 1 - - - - - - 1 - 4 - - UICorner - -1 - - 1fb9260fbeb8d7670258d171000278e8 - - - - - 1 - 1 - - 0 - UIXAspectRatioConstraint - -1 - - 1fb9260fbeb8d7670258d171000278e5 - - - - - - - INF - INF - - - 9.99999996e+11 - 9.99999996e+11 - - UISizeConstraint - -1 - - 1fb9260fbeb8d7670258d171000278ed - - - - - - - 0 - 2 - UIListLayout - - 0 - 5 - - 2 - -1 - - 1fb9260fbeb8d7670258d171000278ea - 0 - - - - - - - false - - 0 - 0 - - - true - 0 - - 1 - 1 - 1 - - 1 - - 0.105882362 - 0.164705887 - 0.207843155 - - 0 - 0 - false - false - 0 - content - null - null - null - null - - 0 - 0 - 0 - 25 - - null - 0 - false - 0 - 0 - 0 - 0 - false - null - 0 - - 1 - 0 - 0 - 75 - - 0 - -1 - 0 - - 079fd07efd1f4a0a028fc3eb007b89cc - true - 1 - - - + + true + + 0 + 0 + - - MWindowResizeRegion - {4B0E1833-342E-48B8-9103-F78E30D9A98B} - true + true + 0 + + 0.670588255 + 0.670588255 + 0.670588255 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + + rbxasset://textures/ui/Backpack_Close@2x.png + + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + 0 + false + down + null + null + null + null + + 0.800000012 + 0 + 0.5 + 0 + + + 0 + null + 0 + 3 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.200000003 + 0 + 0.5 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + 56aefadec790aa6202e855180002d409 + true + 1 + + + + + + + + + LocalizationService + -1 + + 0b401e85ede42a620247f9fa0001b250 + + + + + + Teleport Service + -1 + + 0b401e85ede42a620247f9fa0001b254 + + + + + + CollectionService + -1 + + 0b401e85ede42a620247f9fa0001b256 + + + + + + PhysicsService + -1 + + 0b401e85ede42a620247f9fa0001b257 + + + + + + Geometry + -1 + + 0b401e85ede42a620247f9fa0001b259 + + + + + false + false + + InsertService + -1 + + 0b401e85ede42a620247f9fa0001b25b + + + + + InsertionHash + -1 + + 0b401e85ede42a620247f9fa0001b446 + {CFC75CFD-8969-40E4-B03D-10597A48B0EB} + + + + + + + GamePassService + -1 + + 0b401e85ede42a620247f9fa0001b25c + + + + + + 1000 + Debris + -1 + + 0b401e85ede42a620247f9fa0001b25d + + + + + + CookiesService + -1 + + 0b401e85ede42a620247f9fa0001b25e + + + + + + VRService + -1 + + 0b401e85ede42a620247f9fa0001b268 + + + + + + ContextActionService + -1 + + 0b401e85ede42a620247f9fa0001b269 + + + + + + Instance + -1 + + 0b401e85ede42a620247f9fa0001b26b + + + + + + AssetService + -1 + + 0b401e85ede42a620247f9fa0001b26c + + + + + + TouchInputService + -1 + + 0b401e85ede42a620247f9fa0001b26d + + + + + + + AnalyticsService + -1 + + 0b401e85ede42a620247f9fa0001b270 + + + + + + Selection + -1 + + 0b401e85ede42a620247f9fa0001b273 + + + + + + false + ServerScriptService + -1 + + 0b401e85ede42a620247f9fa0001b275 + + + + + false + + MtObjectTest + 0 + {31C12EE3-55B0-4EF6-9438-8CFB85B43254} + + -1 + + 23fc4fa05a1e0eba02d782820002bbc5 + + + + + + + ServerStorage + -1 + + 0b401e85ede42a620247f9fa0001b276 + + + + + + ReplicatedStorage + -1 + + 0b401e85ede42a620247f9fa0001b277 + + + + + + Mt + {409574B3-D8FF-4DDE-8998-AB07D654F8A1} + - -1 - - 1fb9260fbeb8d7670258d17100027951 - - - - 0 - - - 0 - 1 - 0 - - true - 0 - XRay - -1 - - 1 - 0 - 11014c28a2288ea7028eebe90046145e - - - - - +return mt]]> + -1 + + 0b401e85ede42a620247f9fa00027352 + + - MtCore - {EF40B6DC-C94B-46C0-AF9E-396D1A28EEAB} - MtWidgets + {CEED62A0-93E8-410B-A790-E0F7F8A5173D} + +return mtwidgets]]> -1 - 0b401e85ede42a620247f9fa00027361 + 05c44930bd9fb73402486df700201f5d - + - MObject - {821AE6BB-57C6-4C9A-8CA7-AB5C209BBF19} - MWindow + {255E9E70-3F2C-4182-BE59-79D470BFA2D8} + - -1 - - 0b401e85ede42a620247f9fa00027459 - - - - - - - MScreen - {E113FF64-7C1B-432B-A92B-99BB89843598} - +return MWindow]]> -1 - 07b446ace3d04e1c024bb3e4000e2bc4 + 1fb9260fbeb8d7670258d171000278e2 + + + false + + 0 + 0 + + + true + 0 + + 0 + 0.470588237 + 0.70588237 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 0 + handle + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 25 + + 0 + -1 + 0 + + 1fb9260fbeb8d7670258d171000278de + true + 1 + + + + + + 0 + 0 + + UICorner + -1 + + 1fb9260fbeb8d7670258d171000278e6 + + + + + + UIPadding + + 0 + 0 + + + 0 + 5 + + + 0 + 5 + + + 0 + 0 + + -1 + + 1fb9260fbeb8d7670258d171000278eb + + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 3 + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + + 1 + 1 + -1 + title + null + null + null + null + + 0 + 0 + 0 + 0 + + false + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.800000012 + 0 + 0.899999976 + 0 + + 0 + -1 + + window + + 1 + 1 + 1 + + true + 14 + + 0 + 0 + 0 + + 1 + 0 + 0 + true + 0 + 1 + 1fb9260fbeb8d7670258d171000278e3 + true + 1 + + + + + + 0 + 1 + UIListLayout + + 0 + 5 + + 2 + -1 + + 1fb9260fbeb8d7670258d171000278e9 + 0 + + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + false + false + 2 + buttons + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.200000003 + -5 + 0.850000024 + 0 + + 0 + -1 + 0 + + 1fb9260fbeb8d7670258d171000278df + true + 1 + + + + true + + 0 + 0 + + + true + true + 0 + + 1 + 0.215686291 + 0.215686291 + + 0 + + 0.105882354 + 0.164705887 + 0.20784314 + + 0 + 1 + false + false + + http://www.roblox.com/asset/?id=9194906375 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + 3 + false + close + null + null + null + null + + 0.899999976 + 0 + 0 + 0 + + + 0 + null + 0 + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.5 + 0 + 0.785000026 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + 1fb9260fbeb8d7670258d171000278e0 + true + 1 + + + + + + 1 + 4 + + UICorner + -1 + + 1fb9260fbeb8d7670258d171000278e7 + + + + + 1 + 1 + + 0 + UIXAspectRatioConstraint + -1 + + 1fb9260fbeb8d7670258d171000278e4 + + + + + + + INF + INF + + + 9.99999996e+11 + 9.99999996e+11 + + UISizeConstraint + -1 + + 1fb9260fbeb8d7670258d171000278ec + + + + + + true + + 0 + 0 + + + true + true + 0 + + 0 + 0.352941185 + 0.509803951 + + 0 + + 0.105882354 + 0.164705887 + 0.20784314 + + 0 + 1 + false + false + + http://www.roblox.com/asset/?id=9194908204 + + 1 + 1 + 1 + + + 0 + 0 + + + 0 + 0 + + 0 + 2 + false + maximize + null + null + null + null + + 1 + 0 + 0 + 0 + + + 0 + null + 0 + 0 + true + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0.5 + 0 + 0.785000026 + 0 + + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + -1 + 0 + + + 1 + 0 + 1 + 0 + + 1fb9260fbeb8d7670258d171000278e1 + true + 1 + + + + + + 1 + 4 + + UICorner + -1 + + 1fb9260fbeb8d7670258d171000278e8 + + + + + 1 + 1 + + 0 + UIXAspectRatioConstraint + -1 + + 1fb9260fbeb8d7670258d171000278e5 + + + + + + + INF + INF + + + 9.99999996e+11 + 9.99999996e+11 + + UISizeConstraint + -1 + + 1fb9260fbeb8d7670258d171000278ed + + + + + + + 0 + 2 + UIListLayout + + 0 + 5 + + 2 + -1 + + 1fb9260fbeb8d7670258d171000278ea + 0 + + + + + + + false + + 0 + 0 + + + true + 0 + + 1 + 1 + 1 + + 1 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 0 + false + false + 0 + content + null + null + null + null + + 0 + 0 + 0 + 25 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 1 + 0 + 0 + 75 + + 0 + -1 + 0 + + 079fd07efd1f4a0a028fc3eb007b89cc + true + 1 + + - + - MtEnum - {BABD2DBD-0F67-4090-8368-82CD0831D147} - MWindowResizeRegion + {4B0E1833-342E-48B8-9103-F78E30D9A98B} + - -1 - - 1fb9260fbeb8d7670258d1710006e58c - - - - - - - MWindowManager - {5B2151AF-CC1E-4E89-A573-18E369841E89} - +return MWindowResizeRegion]]> -1 - 66fbffa5fa0aab38027702e200044834 + 1fb9260fbeb8d7670258d17100027951 + + + 0 + + + 0 + 1 + 0 + + true + 0 + XRay + -1 + + 1 + 0 + 11014c28a2288ea7028eebe90046145e + + - + - MtCoreFunctions - {F70202B2-6C88-4E15-8BB2-A0D5EE289272} - MProgressBar + {84533514-0FD2-4718-8D24-7F8B6CAB21E0} + max then + return max + else + return progress end +end - return a +local function _returnNeg(n:number,yes:boolean): number + if yes then return -n end + return n end -function funcs._getMouseButton1Pressed(pressedButtons) - -- get left button pressed, used in many scripts, thats why it's here +function MProgressBar.GetFillingSize(self,orientation:string,inverted:boolean,progress:number,max:number): UDim2 + orientation = orientation or self:GetFillingOrientation() + inverted = inverted or self:GetFillingInverted() + progress = progress or self:GetProgress() + max = max or self.Max + local ns1 = _returnNeg(progress/max,inverted) + local ns2 = _returnNeg(1,inverted) - if not pressedButtons or #pressedButtons==0 then - return false - end - --print(debug.traceback().."\n"..tostring(table.unpack(pressedButtons))) - for i,button in ipairs(pressedButtons) do - if button.UserInputType == Enum.UserInputType.MouseButton1 then return true end + if orientation == MtEnum.Orientation.Vertical then + return UDim2.fromScale(ns2,ns1) + else + return UDim2.fromScale(ns1,ns2) end - return false end -local OBJS = {} -function funcs._storeObj(obj) - local id = obj.OBJID - if id ~= -1 then - OBJS[id] = obj +function MProgressBar.SetProgress(self,progress:number) + progress = progress or self:GetProgress() + + if self.Progress ~= false then + local limitedProgress = self:GetLimitedProgress(progress) + self.Progress = limitedProgress + self.Filling.Size = self:GetFillingSize() + self.Label.Text = self:GetFormattedText(limitedProgress) end end -function funcs._getObjFromId(id) - return OBJS[id] -end -return funcs]]> - -1 - - 66fbffa5fa0aab38027702e20006304d - - - - - - - MtMouseController - {3C027CF8-11D2-42A6-BA8E-E523E83EC614} - - -1 - - 11014c28a2288ea7028eebe900029785 - - - - - - - true - - About - {BF5775B2-25FE-4381-85DD-F7E0988FB689} - - -1 - - 07b446ace3d04e1c024bb3e400121224 - - - - - - Tests - -1 - - 29dccafe008ad55d024f65f0004d4b41 - - - - - false - - MtObjectMngTest - {5DFD374C-1DC4-426C-8343-1EFE2C8FFEF8} - - -1 - - 05c44930bd9fb73402486df700026eaf - - - - - - false - - MtWindowTest - {7B0D130B-DD0C-4C03-A6F1-7C1FC1660315} - +return MProgressBar]]> -1 - 7cb338ab5f2bec59029789510002991a + 4b78783951982c7702dac31d001c2780 - + + false + + 0 + 0 + - window + true + 0 + + 0.313725501 + 0.313725501 + 0.313725501 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + true + false + 0 + progressbar + null + null + null + null + + 0 + 0 + 0 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 276 + 0 + 40 + + 0 -1 + 0 - 7cb338ab5f2bec590297895100029917 + 4b78783951982c7702dac31d001c277c + true + 1 - + + + 0 + + + 0 + 0 + 0 + + true + 0 + UIStroke + -1 + + 5 + 0 + 4b78783951982c7702dac31d001c2789 + + + + + + + 0 + 2 + + UICorner + -1 + + 4b78783951982c7702dac31d001c2783 + + + - true + false - 0.5 - 0.5 + 0 + 0 - false true 0 @@ -3067,31 +3183,24 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 0.207843155 0 - 1 + 0 false false - 3 - 0 - 1 - -1 - false - Button + filling null null null null - 0.5 + 0 0 - 0.5 + 0 0 - true null 0 - true - false + false 0 0 0 @@ -3100,54 +3209,79 @@ putStuffOnWindow(page,script.page:GetChildren())]]> null 0 - 0.550000012 - 0 - 0.349999994 + 0 + 2 + 1 0 0 -1 0 - bring up cool dialog<br/>ok fine it doesn't actually do anything - - 0 - 0 - 0 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - 7cb338ab5f2bec59029789510002991c + 4b78783951982c7702dac31d001c277d true 1 + + + 0 + + + 0 + 0.333333343 + 0 + + false + 0 + UIStroke + -1 + + 5 + 0 + 4b78783951982c7702dac31d001c278a + + + + + + 0 0.333333 1 0 0 1 0.607843 1 0.411765 0 + true + Gradient + + 0 + 0 + + -90 + -1 + + 0 0 0 1 0 0 + 4b78783951982c7702dac31d001c2786 + + + + + + 0 0.313726 0.313726 0.313726 0 0.499168 0.333333 1 0 0 1 0.313726 0.313726 0.313726 0 + true + UndefinedGradient + + 0 + 0 + + 0 + -1 + + 0 0 0 1 0 0 + 4b78783951982c7702dac31d001c2787 + + - - - - - dialog - -1 - - 7cb338ab5f2bec590297895100029918 - - + - true + false - 0.5 - 0.5 + 0 + 0 true @@ -3157,7 +3291,7 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 1 1 - 0 + 1 0.105882362 0.164705887 @@ -3165,36 +3299,33 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 0 1 - true false false - 3 - + 4 + + rbxasset://fonts/families/SourceSansPro.json + 700 + + rbxasset://fonts/SourceSansPro-Bold.ttf + 0 1 -1 - false - Input + label null null null null - - 0.699999988 - 0.699999988 - 0.699999988 - - - 0.5 + 0 0 - 0.5 + 0 0 false null 0 - true + false 0 0 0 @@ -3202,47 +3333,158 @@ putStuffOnWindow(page,script.page:GetChildren())]]> false null 0 - true - 0.5 + 1 0 - 0.100000001 + 1 0 0 -1 - + 24% - 0 - 0 - 0 + 1 + 1 + 1 - true - false + true 14 0 0 0 - 1 + 0 0 0 - false + true 2 1 - 7cb338ab5f2bec59029789510002991b + 4b78783951982c7702dac31d001c2781 true 1 + + + 0 + + + 0 + 0 + 0 + + true + 0 + UIStroke + -1 + + 2 + 0 + 4b78783951982c7702dac31d001c278b + + + + + + + false + + 0 + 0 + + + true + 0 + + 0.313725501 + 0.313725501 + 0.313725501 + + 0 + + 0.105882362 + 0.164705887 + 0.207843155 + + 0 + 1 + true + false + 0 + undefinedprogressbar + null + null + null + null + + 0.0500000007 + 0 + 0.150000006 + 0 + + null + 0 + false + 0 + 0 + 0 + 0 + false + null + 0 + + 0 + 276 + 0 + 40 + + 0 + -1 + 0 + + 4b78783951982c7702dac31d001c277e + true + 1 + + + + 0 + + + 0 + 0 + 0 + + true + 0 + UIStroke + -1 + + 5 + 0 + 4b78783951982c7702dac31d001c278c + + + + + + + 0 + 2 + + UICorner + -1 + + 4b78783951982c7702dac31d001c2784 + - + false - 0.5 - 0.5 + 0 + 0 true @@ -3254,31 +3496,26 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 0 - 0.105882362 + 0.105882354 0.164705887 - 0.207843155 + 0.20784314 0 0 false false - 3 - 0 - 1 - -1 - Label + filling null null null null - 0.5 + -0.5 0 - 0.200000003 + 0 0 - false null 0 false @@ -3290,48 +3527,70 @@ putStuffOnWindow(page,script.page:GetChildren())]]> null 0 - 0.5 - 0 - 0.100000001 - 0 - - 0 - -1 - - are the windows cool? - - 0 - 0 - 0 - - false - 14 - - 0 - 0 - 0 - - 1 - 0 - 0 - false - 2 - 1 - 7cb338ab5f2bec59029789510002991d + 0 + 225 + 1 + 0 + + 0 + -1 + 0 + + 4b78783951982c7702dac31d001c277f true 1 + + + + + 0 + 2 + + UICorner + -1 + + 4b78783951982c7702dac31d001c2785 + + + + + 0 + + + 0 + 0.333333343 + 0 + + false + 0 + UIStroke + -1 + + 5 + 0 + 4b78783951982c7702dac31d001c278d + + + + + + 0 0.313726 0.313726 0.313726 0 0.499168 0.333333 1 0 0 1 0.313726 0.313726 0.313726 0 + true + UIGradient + + 0 + 0 + + 0 + -1 + + 0 0 0 1 0 0 + 4b78783951982c7702dac31d001c2788 + + - - - - - page - -1 - - 7cb338ab5f2bec590297895100029919 - - + false @@ -3346,22 +3605,27 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 1 1 - 0 + 1 0.105882362 0.164705887 0.207843155 0 - 0 + 1 false false 3 - + + rbxasset://fonts/families/SourceSansPro.json + 400 + + rbxasset://fonts/SourceSansPro-Regular.ttf + 0 1 -1 - TextLabel + label null null null @@ -3372,7 +3636,7 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 0 0 - true + false null 0 false @@ -3392,32 +3656,1160 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 0 -1 - this paragraph is<br/>not so big<br/>i wish i could write something longer + 24% - 0 - 0 - 0 + 1 + 1 + 1 - false + true 14 0 0 0 - 1 + 0 0 0 - false - 0 - 0 - 7cb338ab5f2bec59029789510002991e - true + true + 2 + 1 + 4b78783951982c7702dac31d001c2782 + false 1 + + + 0 + + + 0 + 0 + 0 + + true + 0 + UIStroke + -1 + + 2 + 0 + 4b78783951982c7702dac31d001c278e + + + + + + + MWidget + {E51D6FC4-95AF-4394-8156-5E9214B4BFBF} + min.X and coor.Y > min.Y +end + +MWidget.CalcLimitedSize = function(self,coor:Vector2,min:Vector2,max:Vector2): (Vector2, boolean) + min=min or self:GetMinimumSize() + max=max or self:GetMaximumSize() + + local newX=coor.X + local newY=coor.Y + + if coor.X > max.X then newX=max.X end + if coor.Y > max.Y then newY=max.Y end + + if coor.X < min.X then newX=min.X end + if coor.Y < min.Y then newY=min.Y end + + if coor.X==newX and coor.Y==newY then + return coor, false + else + return Vector2.new(newX,newY), true + end + +end + +function MWidget.GetVector2FromUDim2Offset(udim2:UDim2): Vector2 + -- static function + return Vector2.new(udim2.X.Offset,udim2.Y.Offset) +end + +MWidget.ChangeSize = function(self, deltaX, deltaY ,anchor: boolean): boolean + local nsx=self.Size.X+deltaX + local nsy=self.Size.Y+deltaY + self:SetSize(Vector2.new(nsx,nsy),anchor) +end + +MWidget.SetSize= function(self,newsize:Vector2,anchor: boolean): boolean + anchor=anchor or false + local oldSize = table.clone(self.Size) + local limitedsize, onlimit = self:CalcLimitedSize(newsize) + local currentScale: Vector2 = self:GetSizeScale() + + self.Size.X, self.Size.Y = limitedsize.X, limitedsize.Y + self.Frame.Size = UDim2.new( + currentScale.X, + limitedsize.X, + currentScale.Y, + limitedsize.Y + ) + if anchor then + self:SetPosition(Vector2.new(self.Position.X+(oldSize.X-self.Size.X),self.Position.Y+(oldSize.Y-self.Size.Y))) + end + + --print (onlimit ,self.Size.X,oldSize.X) + --return not(onlimit and self.Size.X==oldSize.X ) + return not(onlimit) +end + + + + +MWidget.Resize = MWidget.SetSize + +function MWidget.GetSize(self): {} + --return self.Frame.AbsoluteSize + return self.Size +end + +MWidget.SetSizeFromScale = function(self,newscale:Vector2) + local screenSize = self.Screen:GetScreenSize() + self:SetSize(Vector2.new(newscale.X*screenSize.X,newscale.Y*screenSize.Y)) +end + +MWidget.Rescale = MWidget.SetSizeFromScale + +MWidget.SetPosition = function(self,newpos:Vector2) + self.Frame.Position = UDim2.fromOffset(newpos.X,newpos.Y) + self.Position.X, self.Position.Y = newpos.X, newpos.Y +end + +MWidget.GoTo = MWidget.SetPosition +MWidget.Move = MWidget.SetPosition + +MWidget.SetPositionFromScale = function(self,newscale:Vector2) + local screenSize = self.Screen:GetScreenSize() + self:SetPosition(Vector2.new(newscale.X*screenSize.X,newscale.Y*screenSize.Y)) +end + +MWidget.GetSizeScale = function(self): Vector2 + return Vector2.new(self.Frame.Size.X.Scale,self.Frame.Size.Y.Scale) +end + +MWidget.SetSizeLimit = function(self,min:Vector2,max:Vector2) + self.MinSize = min + self.MaxSize = max +end + +MWidget.SetMinimumSize = function(self,size:Vector2) + self:SetSizeLimit(size,self.MaxSize) +end + +MWidget.SetMinimumWidth= function(self,width:number) + self:SetMinimumSize(Vector2.new( + width, + self.MinSize.Y + )) +end + +MWidget.SetMinimumHeight=function(self,height:number) + self:SetMinimumSize(Vector2.new( + self.MinSize.X, + height + )) +end + +MWidget.SetMaximumSize = function(self,size:Vector2) + self:SetSizeLimit(self.MinSize,size) +end + +MWidget.SetMaximumWidth= function(self,width:number) + self:SetMaximumSize(Vector2.new( + width, + self.MinSize.Y + )) +end + +MWidget.SetMaxmimumHeight=function(self,height:number) + self:SetMaximumSize(Vector2.new( + self.MaxSize.X, + height + )) +end + +MWidget.GetMaximumWidth=function(self): number + return self.MaxSize.X +end + +MWidget.GetMinimumWidth=function(self): number + return self.MinSize.X +end + +MWidget.GetMaximumHeight=function(self): number + return self.MaxSize.Y +end + +MWidget.GetMinimumHeight=function(self): number + return self.MinSize.Y +end + +MWidget.GetMinimumSize=function(self): Vector2 + return self.MinSize +end + +MWidget.GetMaximumSize=function(self): Vector2 + return self.MaxSize +end + +MWidget.GetSizeLimit=function(self): Rect + return Rect.new(self:GetMinimumSize(),self:GetMaximumSize()) +end + +MWidget.SetName = function(self,name) + self.Frame.Name = name + MObject.SetName(self,name) +end + +MWidget.SetHidden = function(self,hidden) + self.Frame.Visible = not hidden +end + +MWidget.IsPointTouchingArea = function(self,point: Vector2,areaPos: UDim2,areaSize: UDim2): boolean + local px = point.X + local py = point.Y + local apx = areaPos.X.Offset + local apy = areaPos.Y.Offset + local asx = areaSize.X.Offset + local asy = areaSize.X.Offset + + return + (px >= apx-asx and px <= (apx + asx)) and + (py >= apy-asy and py <= (apy + asy)) +end + +MWidget.IsPointInsideWidget = function(self,point:Vector2): boolean + self:PointTouchingArea(point,self.Frame.AbsolutePosition,self.Frame.AbsoluteSize) +end + +MWidget.IsBeingHovered = function(self):boolean + self:IsPointInsideWidget(uis:GetMouseLocation()) +end + +return MWidget]]> + -1 + + 4b78783951982c7702dac31d001c27d9 + + + + + + + + MtCore + {EF40B6DC-C94B-46C0-AF9E-396D1A28EEAB} + + -1 + + 0b401e85ede42a620247f9fa00027361 + + + + + + MObject + {821AE6BB-57C6-4C9A-8CA7-AB5C209BBF19} + + -1 + + 0b401e85ede42a620247f9fa00027459 + + + + + + + MScreen + {E113FF64-7C1B-432B-A92B-99BB89843598} + + -1 + + 07b446ace3d04e1c024bb3e4000e2bc4 + + + + + + + MtEnum + {BABD2DBD-0F67-4090-8368-82CD0831D147} + + -1 + + 1fb9260fbeb8d7670258d1710006e58c + + + + + + + MtCoreFunctions + {F70202B2-6C88-4E15-8BB2-A0D5EE289272} + + -1 + + 66fbffa5fa0aab38027702e20006304d + + + + + + + MtMouseController + {3C027CF8-11D2-42A6-BA8E-E523E83EC614} + + -1 + + 11014c28a2288ea7028eebe900029785 + + + + + + + MWindowManager + {C3D46337-6823-4BAB-B056-CDDB6AFEEB45} + + -1 + + 4b78783951982c7702dac31d001c27b6 + + + + + + + true + + About + 0 + {BF5775B2-25FE-4381-85DD-F7E0988FB689} + + -1 + + 07b446ace3d04e1c024bb3e400121224 + + + + + + Tests + -1 + + 29dccafe008ad55d024f65f0004d4b41 + + + + + false + + MtWindowTest + 0 + {8BF522F9-887D-43EB-9400-D32749AB7991} + + -1 + + 29dccafe008ad55d024f65f0004d4b78 + + + + + + false + + MtObjectMngTest + 0 + {5DFD374C-1DC4-426C-8343-1EFE2C8FFEF8} + + -1 + + 05c44930bd9fb73402486df700026eaf + + @@ -3436,6 +4828,15 @@ putStuffOnWindow(page,script.page:GetChildren())]]> 683ee95d122d1fcb0287f927003ae213 + + + + ChangeCursor + -1 + + 683ee95d122d1fcb0287f927003ae255 + +