Help with server sanity check for remotes

I’m trying to make a battlegrounds game but I don’t know how to check for cooldowns on the server

I know how to but I don’t understand how it’s done

Like when you send a remote event to the server with what move u are gonna do it will have some delay before the server receives the message

And if the move cooldown is 1.5 seconds but there is 0.5 delay (500 ping) between client and server communication and on the client there is 0.7 seconds left when it reaches the server the client cooldown will be 0.2 but the server cooldown will be 0.7

Sorry for yapping

Any help will be appreciated

2 Likes

does the delay matter

you looked at a blurred text

2 Likes

Ya cause it will interfere with cooldown checks

2 Likes

so you want the game to check if a certain player can use a certain move because their cooldown is over?

2 Likes

No did you read this part???

1 Like

oh i see

SPOILER!!!

1 Like

I don’t think there’s anyway to get rid of remote delay. It’s only up to ping

1 Like

Aw man

I mean I could pass a tick() from the client and subtract it with tick() on the server but exploiters can manipulate that

2 Likes