Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you make a message appear in the beginning of the game for ten seconds?

Asked by
StarAd 50
10 years ago

I need a message to appear when I start up the game for only ten seconds, but I'm not sure how to do so.

Please help.

2 answers

Log in to vote
0
Answered by 10 years ago

First off, there are two ways you can do this. 1.

Instance.new("Message").Parent = game.Workspace --Tells script to make a new Instance and where to put it in game
M = game.Workspace.Message --Less typing later

M.Text = "ENTER WHATEVER HERE"
wait(10)
M.Text = ""
  1. Go into advanced object and select "Message", put it in the games Workspace,then
M = game.Workspace.Message --Less typing later

M.Text = "ENTER WHATEVER HERE"
wait(10)
M.Text = ""
Ad
Log in to vote
0
Answered by 10 years ago

This is a kind of script Message function from Person299's Admin Commands script, it works well.

function message(text,time,par,type)
m=Instance.new(type)
m.Parent=par
m.Text=text
wait(time)
if m~=nil then
m:remove()
end end

message("Hi bro",10,workspace,"Message") --1. The Text how what you want it to say. 2. How long it'll last before being removed. 3. Its Parent. 4. What type is it? a Message or a Hint?

I hope this helped!

Answer this question