make a roblox localscript that searches all text labels in workspace for "this is made"…
- User
make a roblox localscript that searches all text labels in workspace for "this is made" as part of the Text property
- Assistant
To achieve the task of searching all
TextLabelsin theworkspacethat contain the phrase "this is made" in theirTextproperty, you can use the followingLocalScript. This script will iterate through all parts in theworkspace, check if they areTextLabels, and then verify if theirTextproperty contains the desired phrase. You can place this script inside anyStarterGuiorStarterPlayerScriptsto execute it locally. - User
check in replicatedstorage too and also make it so if it didnt find any then say so
- Assistant
To extend the script to search both the
workspaceandReplicatedStorage, as well as provide feedback if noTextLabelwith the phrase "this is made" is found, you can modify the script as follows. This script will iterate through both containers and check for the property containing the specified phrase.