You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to find the bug and solve it.
- What is the issue? Include screenshots / videos if possible!
local index = gP("tusart") function gP(t) for index,player in pairs(PlayersTable) do print(tostring(player) == t, tostring(player),t) if tostring(player) == t then return index; end end end
Whenever I call the function, this error appears:
And no, nothing prints.
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Yes, nobody has helped me so far.
Sorry if this is some kind of easy fix, I can not find for an hour.