-
What do you want to achieve?
Answer to the title. -
What is the issue?
Titles name.
invalid argument #3 to ‘find’ (number expected, got string) -
What solutions have you tried so far?
Looked on devforum but none has the same error as mine.
Also i am using ProfileService and if you need more of the code then ill give it but this is where i got the error from.
local profile = dataManager.Profiles[plr]
if not profile then return end
if not table:find(profile.Data.OwnedTools, tool.Name) then -- error location
else