#Can someone help me pls?

1 messages · Page 1 of 1 (latest)

dire sundial
#

Why is it not working?

#
module.ChangeCombo = function(char)
    local Combo = char.GetAttribute("Combo")
    
    if LastFist(char) then
        local PassedTime = os.clock() - LastFist(char)
        if PassedTime <= 1 then
            if Combo >= Max_Combo then
                char:SetAttribute("Combo", 1)
            else
                char:SetAttribute("Combo", Combo + 1)
            end
        else
            char:SetAttribute("Combo", 1)
        end
    end
    
    LastFist(char) = os.clock()
end
#

The signal = is an error

#

Why?

gaunt atlas
#

what is LastFist?

dire sundial
#

LastFist is an table and i put () instead []