Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

StringValue Changed Event doesn't work?

Hey, I just searched the Roblox Wiki if there's a way to do something if a StringValue is changed. Then I came across StringValue.changed. The problem I'm now having is that my code doesn't work. No error or something at all. My code is

game.Workspace.Language.Changed:connect(function()
	print(game.Workspace.Language.Value)
end)

6 comments

0

for first line try: game.Workspace.Language.Changed:connect(function(change)

0

uh, no.

0

Because studio play mode is now Filtering Enabled as well as the games, if you change the value manually, the script will not register a change.

0

connect() is deprecated (duh)

0

use Connect()

0

Connect() is what you should use connect() is deprecated.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.