Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What should I use for a script on a Type Writer Effect?

I have asked this question, and have received answers, but they do not answer the question. I am curious what type of script I would use. I do not need a script key to help, I already have it solved now.

3 comments

0

In the future, please refrain from questions like these for a plethora of reasons. Complaining about a question recieving bad answers is one thing, posting a question where you do that is completely unnecessary.

0

Secondly, please refrain from posting vague questions, and keep them descriptive, this helps people better understand your issue, and also lessens the chance they misunderstand your issue due to ambiguity

0

Okay, I will try using this instead. Thank you.

2 answers

✓ Accepted answer

Use a LocalScript for a "Writer Effect" on the Client

Use a Script for a "Writer Effect" on the Server.

3 comments

0

I will attempt to try this. Thank you for helping me!

0

be sure to accept this answer is this helps please!

0

I will try.

Depends what you want to do with it, if it's like local based stuff which you don't need information from the server to get that text , well to be honest you should always use a localscript for a type-writer effect unless it's not a client.

LocalScript: (put this insnide StarterGui)

game.ReplicatedStorage.RemoteEvent.OnClientEvent:Connect(function(txt)
	for i = 1,string.len(txt) do
		script.Parent.frame.txt.Text = string.sub(txt,1,i)
		wait(.1)
	end
end)

ServerScript: (put this insnide ServerScriptService)

game.ReplicatedStorage.RemoteEvent:FireClient(game.Players.Zetruis,"test")
game.ReplicatedStorage.RemoteEvent:FireAllClients("test")

be sure to insert a RemoteEvent insnide replicatedstorage

but honestly you just need this as a localscript inside startergui for it:

function typewriter(text)
	for i = 1,string.len(txt) do
		return = string.sub(txt,1,i)
		wait(.1)
	end
end

print(typewriter("test"))

1 comment

0

This is also an answer.

This discussion is preserved as it was. New answers, comments, and votes are closed.