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

Why does this script that morphs the game not do anything?

Asked by 8 years ago
Edited 8 years ago

I'm trying to make a joke script, but the countdown won't start. Also, the music won't play.

01for i=1,5,-1 do
02message = Instance.new("Message")
03message.Parent = game.Workspace
04message.Text = "This land will belong to serbia in "..i.." seconds."
05wait(1)
06end
07 
08function serbia()
09accordian = Instance.new("Sound")
10accordian.Parent = game.Workspace
12accordian.Volume = 1
13accordian:Play()
14end
15serbia()
16print("good")

Help please!

0
in the output, it posts, "nil" MustangHeart 67 — 8y
0
i meant print("good") MustangHeart 67 — 8y
0
good isnt a value so it returns nil ya gotta do "good" farrizbb 465 — 8y
0
thats what I just said, I meant ("good") MustangHeart 67 — 8y
0
you made a mistake. For line 1 do: for i=5,1,-1 do (you had 5,1 mixed up.) AstrealDev 728 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

I fixed it

Ad

Answer this question