How can i make a button that changes a text label

i wanted to add a tutorial to my game i wanted a button that will go to the next page of the tutorial im not exactly sure how to do this but i was thinking of making a text label that the text changes how would i do this?

also how would i make it so it does that typewriter effect they have in story games

2 Likes

Simply use frames for that, I’d suggest naming them in an easy and simple order [ could be numbers]

1 Like

ill try this when i have time thanks!

Type Writing function

function typeWrite (object, text)
	coroutine.wrap(function()
		for i = 1, #text do
			object.Text = text:sub(1, i) task.wait(0.05)
		end
	end)()
end
1 Like