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

bad argument #3 to 'Text' (string expected, got nil)?

Asked by 5 years ago

I've had this error before and I've never learned how to fix it. Everything in the script is defined correctly, here is the script:

item:WaitForChild("DFrame").Title.Text = v.Name.Value

1 answer

Log in to vote
3
Answered by 5 years ago

remove Value because v.Name returns a string already

item:WaitForChild("DFrame").Title.Text = v.Name

1
rip to the homie that never had his answer accepted User#1007 6 — 5y
0
it's a tough life out here in the hood mayne PoePoeCannon 519 — 5y
Ad

Answer this question