I am trying to make a script that looks for the buttons in a GuiFrame and then change properties
this doesn't work, there are no erorrs
for _, buttons in ipairs(game.StarterGui.MainGui.ShopFrame:GetDescendants()) do
if buttons:IsA("TextButton") then
buttons.BackgroundColor3 = Color3.new(92, 195, 37)
buttons.Text = "Purchase"
end
end

1 comment
sorry, cant upvote yet