Anyone know why it says ServerScriptService.Player data:93: attempt to index nil with 'FrenchFry3'?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? To fix the script

  2. What is the issue? keeps saying ServerScriptService.Player data:93: attempt to index nil with ‘FrenchFry3’

  3. What solutions have you tried so far? Tried switching caps and periods but no luck


The error is on 93

3 Likes

image
i am confused, but it seems like some more capitalization errors

1 Like

The error just switches to ServerScriptService.Player data:93: attempt to index nil with ‘OwnedTools’

They aren’t the same thing.
kép_2024-04-01_231139241

1 Like

it seems like [tool.name] inside of ownedtools doesn’t exsist?

maybe try to print ownedtools

1 Like

print out returnValue, and go through the path in the json, where you are trying to index tool.Name from
kép_2024-04-01_231326645

1 Like

i agree, this would help as well

1 Like

Everything I do it switches back and forth from ServerScriptService.Player data:93: attempt to index nil with ‘FrenchFry3’ to ServerScriptService.Player data:93: attempt to index nil with ‘OwnedTools’

I have 0 clue what the problem is

Do what i told you to, debug it a little bit.

1 Like

exactly, if you dont debug how are you supposed to find and fix the bug? it would be so much easier if you were to add a print/debug.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.