Altere o getPlayerFromName pelo Useful Function getPlayerFromPartialName
function getPlayerFromPartialName(name)
local name = name and name:gsub("#%x%x%x%x%x%x", ""):lower() or nil
if name then
for _, player in ipairs(getElementsByType("player")) do
local name_ = getPlayerName(player):gsub("#%x%x%x%x%x%x", ""):lower()
if name_:find(name, 1, true) then
return player
end
end
end
end
Estranho, sabe me dizer se a variável colshape está retornando o ColShape ?