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.
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.
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 = ""
M = game.Workspace.Message --Less typing later
M.Text = "ENTER WHATEVER HERE"
wait(10)
M.Text = ""
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!
This discussion is preserved as it was. New answers, comments, and votes are closed.