Bl_nkDev
(Bl_nkDev)
April 1, 2024, 9:06pm
#1
You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? To fix the script
What is the issue? keeps saying ServerScriptService.Player data:93: attempt to index nil with ‘FrenchFry3’
What solutions have you tried so far? Tried switching caps and periods but no luck
The error is on 93
3 Likes
i am confused, but it seems like some more capitalization errors
1 Like
Bl_nkDev
(Bl_nkDev)
April 1, 2024, 9:10pm
#3
The error just switches to ServerScriptService.Player data:93: attempt to index nil with ‘OwnedTools’
They aren’t the same thing.
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
1 Like
i agree, this would help as well
1 Like
Bl_nkDev
(Bl_nkDev)
April 1, 2024, 9:25pm
#8
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
system
(system)
Closed
April 15, 2024, 9:28pm
#11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.