How do you wait to do a command?

I just want to do something like this:


ply:SetLocalVelocity(idk)
After 2.5 secs do
ply:SetLocalVelocity(idk)

Is there something that does that?

Timers

Can you give me an example on how to use them?

A little bit of google goes a long way.

timer.Simple(amount of seconds, function() YourThingHere end)