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

Attempt to call a nil value?

Asked by
AW00F 0
2 years ago
Edited 2 years ago

I've been trying to make a 2nd Tool Data Store so when you reset you still have your tools. In the Output its been saying Attempt to call a nil value on line 7, Here's script.

https://cdn.discordapp.com/attachments/769369704648147028/840269965135577158/unknown.png

0
local ToolsStorage = ServerStorage:FindFirstChild("Storage") is this line 7 BulletproofVast 1033 — 2y
0
I don't understand how some people manage to format a small part of their script only. Spjureeedd 385 — 2y
0
And I'm seeing a few things. On the first line you're missing an equal sign when you're setting the variable Players. And on a line further down when you use that variable, you for some reason have quotation marks around it. "Players".PlayerAdded Spjureeedd 385 — 2y
0
Oh didn't notice that mistake I made- AW00F 0 — 2y
View all comments (3 more)
0
I took a screenshot and put it in a link so you guys can actually see the script. AW00F 0 — 2y
0
I added a equal sign like you said and in the output is says I don't have any saved tools, so its working a bit but when I reset my tools disappear from my Inventory. AW00F 0 — 2y
0
Also noticed another mistake on line 9 "SerAsync" AW00F 0 — 2y

Answer this question