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

How would one go about creating a hidden password textbox?

Asked by 5 years ago
Edited 5 years ago

What I am trying to do is make it so my password box would replace the text input to dots to protect the password I've tried looking up stuff and found that I could use :GetPropertyChangedSignal() but I still don't know how I'd use this to do what I am trying to do with it.

1 answer

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

GetPropertyChangedSignal() is a modified way of Instance.Changed. As such, this method provides a way to detect changes in other properties of those objects. For example, to detect changes in the Name property of an IntValue, use IntValue:GetPropertyChangedSignal("Name"):Connect(someFunc) since the Changed event of IntValue objects only detect changes on the Value property. This is useful if you need to check multiple values at the same time. As explained before, type the name of the property you want to detect changes from by representing it as a string, such as "Value". Hope this helped.

EDIT: Instance.Changed is just the regular version of detecting property changes, which returns the string value of the property name as well.

0
Thanks! really helped me see the possible functions I could use this for. Cryo_Dev 9 — 5y
Ad

Answer this question