Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x = playersInformationCollection[player.Name].TimeSinceLastRequest;
- local currentTime = time();
- local previousTime = x;
- local timeSinceLastRequest = currentTime - previousTime;
- playersInformationCollection[player.Name].TimeSinceLastRequest = currentTime;
- if (x == 0) then return end;
- print("Time Since Last Request: " .. tostring(timeSinceLastRequest));
- if (timeSinceLastRequest <= 0.25) then
- print("Kicked");
- player:Kick("Kicked for server protection");
- else
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement