Im trying to make something similar to a whiteboard where if you press a button it will change the text on the screen to another text after being clicked then something else after being clicked again so how can i make it change. Also how can i make it so that only a certain team can change the text when they click it and after it has gone through all the text that has been scripted in it will just repeat what it said again I.e. it says number 1 on the screen then number 2 then number 3 then it goes back to number 1 once number 3 has been pressed. This is what i have scripted so far:
function onClick()
script.Parent.Parent.ScreenPart.SurfaceGui.TextLabel.Text = "1"
end
script.Parent.ClickDetector.MouseClick:Connect(onClick)
