I have a function that uses a text box and takes the user input from that and in a separate function uses that input to find an object in lighting under that name.
function onClicked() local item = game.Players:FindFirstChild(script.Parent.Parent.TextBoxKey.Text) end function findItem() --stuck here-- end script.Parent.MouseButton1Click:connect(onClicked)
Would appreciate some help on the area I'm stuck on or any other advice you can give.