Targeted = script.TargetedPlayer
Targeted.Changed:connect(function()
print'wow'
end)
Plain and simple, it doesn't print when I manually change something about Targeted. halp
Targeted = script.TargetedPlayer
Targeted.Changed:connect(function()
print'wow'
end)
Plain and simple, it doesn't print when I manually change something about Targeted. halp
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Where is the script/value parented?
The script is in a model, the value in the script.
What property are you trying to change? Oddly, Changed doesn't fire for certain things, like NumPlayer for example.
It's a BoolValue.
Changed doesn't fire for stuff like that. If you wanted to detect if NumPlayers changed, you'd have to check if "Players" changed.
What's an alternative?