I am trying to make a script where whenever you press this GUI button your overhead text will change, I have tried to get the players to change it, and in general whenever you click on the button it will change the text.
game.StarterGui.StartFrame.Image1.MouseButton1Click:Connect(function()
divisionpart.Text = "Sword Divsion"
end)
Does anyone know how to implement this?

4 comments
You may need to explain this a little bit better because I don't know what you're trying to do here
I am trying to make it whenever you press on a gui button it will change what your overhead gui says..
whats divisionpart defined as?
Division part is the overhead gui and one of the text lines.