#Can someone help me pls?
1 messages · Page 1 of 1 (latest)
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?
what is LastFist?
LastFist is an table and i put () instead []