I want to check if a player has a string value but don't need to know how much is in the value if that makes sense. like example boolvalues you can check if they are true how can I check in a stringvalue if something is in the value.
✓ ANSWER ACCEPTED
How to check if someone has a stringvalue?
1 answer
✓ Accepted answer
Something like this. This checks to see if the stringvalue is empty then if it is it does nothing but if it isn't you can make it do what you want. Script:
if Yourstringvaluename.Value == "" then
end
else
--put you want here
Note if this doesn't work remove the end and replace with something else Hope this helps!!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thx for the help btw at first the script didn't work until I played around with it
Your welcome and sorry about that I didn't test it out