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

1 comment

0

"values" is not a table. It's a string.