diff --git a/src/Elements/Notice.lua b/src/Elements/Notice.lua index 5015062..71bef31 100644 --- a/src/Elements/Notice.lua +++ b/src/Elements/Notice.lua @@ -27,11 +27,10 @@ return function(icon, Icon) noticeLabel.BackgroundTransparency = 1 noticeLabel.Position = UDim2.new(0.5, 0, 0.515, 0) noticeLabel.BackgroundColor3 = Color3.fromRGB(0, 0, 0) - noticeLabel.FontSize = Enum.FontSize.Size14 + noticeLabel.TextSize = 14 noticeLabel.TextColor3 = Color3.fromRGB(0, 0, 0) noticeLabel.Text = "1" noticeLabel.TextWrapped = true - noticeLabel.TextWrap = true noticeLabel.Font = Enum.Font.Arial noticeLabel.Parent = notice @@ -110,4 +109,4 @@ return function(icon, Icon) icon:clipOutside(notice) return notice -end \ No newline at end of file +end diff --git a/src/Elements/Widget.lua b/src/Elements/Widget.lua index 4d3a3ef..6236482 100644 --- a/src/Elements/Widget.lua +++ b/src/Elements/Widget.lua @@ -166,7 +166,6 @@ return function(icon, Icon) iconLabel.TextXAlignment = Enum.TextXAlignment.Left iconLabel.Text = "" iconLabel.TextWrapped = true - iconLabel.TextWrap = true iconLabel.TextScaled = false iconLabel.Active = false iconLabel.AutoLocalize = true @@ -434,4 +433,4 @@ return function(icon, Icon) iconSpotGradient.Parent = iconSpot return widget -end \ No newline at end of file +end diff --git a/src/VERSION.lua b/src/VERSION.lua index 1372d63..fa26c34 100644 --- a/src/VERSION.lua +++ b/src/VERSION.lua @@ -20,7 +20,7 @@ function VERSION.getLatestVersion(): string? local placeName = "" while true do local success, hdDevelopmentDetails = pcall(function() - return game:GetService("MarketplaceService"):GetProductInfo(DEVELOPMENT_PLACE_ID) + return game:GetService("MarketplaceService"):GetProductInfoAsync(DEVELOPMENT_PLACE_ID) end) if success and hdDevelopmentDetails then placeName = hdDevelopmentDetails.Name @@ -48,4 +48,4 @@ end -return VERSION \ No newline at end of file +return VERSION