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

Script dosent work when put into StarterPlayer?

Asked by 5 years ago

So basically, this script changes the text label on a surface GUI, and it works fine in workspace, but if the part is put into Starter Player, (Where its supposed to go) it doesn't work. any help?

Label=script.Parent.Label

Interval=5 -- Time Between Change



while true do

Label.Text=" " -- The 1st Text Shown

wait(Interval)

Label.Text="Hey dude" -- The 2nd Text Shown

wait(Interval)

Label.Text="Not sure if you will see this" -- The 3rd Text Shown

wait(Interval)

Label.Text="Youve been missing for some time." -- The 4th Text Shown

wait(Interval)

Label.Text="..." -- The 4th Text Shown

wait(Interval)

Label.Text="Im not sure if you know about the outbreak. be safe." -- The 4th Text Shown

wait(Interval)

end

1 answer

Log in to vote
1
Answered by 5 years ago

So, you can't take a script from a changing text model and put it in StarterPlayerScripts. You should keep the model in workspace because if you keep the model in StarterPlayerScripts it won't know what it is. I hoped this helped! c:

0
Hey! seems putting it in workspace kept its wield. thank you! Adenandpuppy 87 — 5y
Ad

Answer this question