Skip to content

Commit daabb5a

Browse files
committed
Made text selectable
1 parent 3fe53de commit daabb5a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

MainModule/Client/UI/Default/Profile.luau

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ return function(data, env)
99
if env then
1010
setfenv(1, env)
1111
end
12-
12+
1313
local client = client
1414
local service = client.Service
1515

@@ -97,11 +97,14 @@ return function(data, env)
9797
Size = UDim2.new(1, -135, 0, 30);
9898
Position = UDim2.new(0, 130, 0, (30*(i-1))+5);
9999
TextXAlignment = "Left";
100-
}):Add("TextLabel", {
100+
}):Add("TextBox", {
101101
Text = v[2];
102102
BackgroundTransparency = 1;
103103
Size = UDim2.new(0, 120, 1, 0);
104104
Position = UDim2.new(1, -130, 0, 0);
105+
TextEditable = false;
106+
ClearTextOnFocus = false;
107+
Selectable = true;
105108
TextXAlignment = "Right";
106109
})
107110
end

0 commit comments

Comments
 (0)