I try to split a tring but i get his error, problem is in this first line here
local values = string:split(player.Stats.Weapon.Value , ",") -- Problem
local value = values[2]
if value == "Sword" then
I try to split a tring but i get his error, problem is in this first line here
local values = string:split(player.Stats.Weapon.Value , ",") -- Problem
local value = values[2]
if value == "Sword" then
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
"values" is not a table. It's a string.