For a script I’m working on, I need to clear a string value to make it appear like how it does when you first make one. It’s probably really simple but it somehow exceeds my scripting knowledge.
StringValue.Value = ""
Character requirement
Just to clarify "" isn’t nothing, it’s an empty string value, but it’s a good way of representing nothing. Similarly, 0 can be used for IntValue/NumberValue instances.
Yes, its the base empty string value.
- “” is for empty strings
- 0 is the closest you can get to nothing for numbers, although if you really wanted to there is also math.nan, but I think that shouldn’t be used as a base value as hence the abbreviation, its not supposed to be a number.
- nil is pretty much the NOTHING value in roblox.
There might be some others that I’m not aware of.