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

Why isn't my Version Message Working? [closed]

Asked by 9 years ago

Here is the script ~~~~~~~~~~~~~~~~~ local Message Instance.new("Message") Message.text = "Welcome to City Life Version 0.67!" Message.Parent = StarterGui wait(5) Print:Remove() ~~~~~~~~~~~~~~~~~ Thumbs down all you like but first give a reason please.

Locked by adark and TheMyrco

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

2 answers

Log in to vote
2
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
9 years ago

I'm guessing you'd like it so only the joining player sees it.

game.Players.PlayerAdded:connect(function(p)
    m = Instance.new("Message", p.PlayerGui)
    m.Text = "Welcome to City Life Version 0.67!"
    wait(5)
    m:Destroy()
end)
0
Actually it doesn't seem to work AlphaPro720 5 — 9y
0
I just tested it and it's fine. Regular script in Workspace. Shawnyg 4330 — 9y
Ad
Log in to vote
0
Answered by
SanityMan 239 Moderation Voter
9 years ago

Put this in a script in StarterGui.

local version = "0.67" --just change this to change the version # in the message
local Message = Instance.new("Message", script.Parent) --create a message in 
Message.Text = "Welcome to City Life Version "..version.."!" --Text is capitalized
wait(5) --wait 5 seconds
Message:remove() --remove the message.
0
Make sure to put the script in StarterGui! SanityMan 239 — 9y
0
This works perfectly if you put it in StarterGui like I said... SanityMan 239 — 9y