local Players = game:GetService("Players") local player = Players.LocalPlayer local gui = player:WaitForChild("PlayerGui") -- Navigate through your GUI hierarchy local main = gui:WaitForChild("Main") local unitShop = main:WaitForChild("UnitShop") local mainFrame = unitShop:WaitForChild("MainFrame") local buttons = mainFrame:WaitForChild("Buttons") local buyTen = buttons:WaitForChild("BuyTen") -- your button -- The locked size you want local fixedSize = UDim2.new(2.25000001, 0, 2.283000028, 0) -- Set initial size buyTen.Size = fixedSize -- Keep it fixed forever buyTen.Changed:Connect(function(property) if property == "Size" then if buyTen.Size ~= fixedSize then buyTen.Size = fixedSize end end end) print("BuyTen size locked.")