<spanclass="line"><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;">-- Let's make the event have ratelimit with max 50 entrance for 2 seconds.</span></span>
<spanclass="line"><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;">-- No need anything to adds on client side.</span></span></code></pre></div><divclass="language-lua vp-adaptive-theme"><buttontitle="Copy Code"class="copy"></button><spanclass="lang">lua</span><preclass="shiki shiki-themes github-light github-dark vp-code"tabindex="0"><code><spanclass="line"><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;">-- Client</span></span>
<spanclass="line"><spanstyle="--shiki-light:#6A737D;--shiki-dark:#6A737D;">-- The Event will automatic it self for retreiving the rate limit configuration from the server.</span></span></code></pre></div></div></div></div></div></main><footerclass="VPDocFooter"data-v-39a288b8data-v-e257564d><!--[--><!--]--><!----><navclass="prev-next"aria-labelledby="doc-footer-aria-label"data-v-e257564d><spanclass="visually-hidden"id="doc-footer-aria-label"data-v-e257564d>Pager</span><divclass="pager"data-v-e257564d><aclass="VPLink link pager-link prev"href="/Warp/api/1.0/client"data-v-e257564d><!--[--><spanclass="desc"data-v-e257564d>Previous page</span><spanclass="title"data-v-e257564d>Client</span><!--]--></a></div><divclass="pager"data-v-e257564d><aclass="VPLink link pager-link next"href="/Warp/api/1.0/signal"data-v-e257564d><!--[--><spanclass="desc"data-v-e257564d>Next page</span><spanclass="title"data-v-e257564d>Signal</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_1.0_client.md\":\"DRlZL-Eb\",\"api_1.0_ratelimit.md\":\"B4DFbcsX\",\"api_1.0_server.md\":\"CjXNePVa\",\"api_1.0_signal.md\":\"CSgtTcPk\",\"api_1.0_warp.md\":\"Cc-7zjkV\",\"api_1.1_buffer.md\":\"DIAM2o2w\",\"api_1.1_client.md\":\"etzsFUJB\",\"api_1.1_server.md\":\"yCvitiyi\",\"api_1.1_warp.md\":\"D17D2VRV\",\"guide_example.md\":\"35KFEfAU\",\"guide_getting-started.md\":\"BJOTFozK\",\"guide_index.md\":\"CZXHfmOy\",\"guide_installation.md\":\"D6zv1RV7\",\"index.md\":\"U4jwmyV2\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Warp\",\"description\":\"Warp - A very-fast & powerful network library for Roblox.\",\"base\":\"/Warp/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/icon.ico\",\"nav\":[{\"text\":\"Guide\",\"link\":\"/guide/\"},{\"text\":\"API Reference\",\"items\":[{\"text\":\"1.0\",\"link\":\"/api/1.0/warp\"},{\"text\":\"1.1\",\"link\":\"/api/1.1/warp\"}]}],\"sidebar\":{\"/api/1.1\":[{\"text\":\"API Reference\",\"items\":[{\"text\":\"Warp\",\"link\":\"/api/1.1/warp\"},{\"text\":\"Event\",\"items\":[{\"text\":\"Server\",\"link\":\"/api/1.1/server\"},{\"text\":\"Client\",\"link\":\"/api/1.1/client\"}]},{\"text\":\"Utilities\",\"items\":[{\"text\":\"Buffer\",\"link\":\"/api/1.1/buffer\"}]}]}],\"/api/1.0\":[{\"text\":\"API Reference\",\"items\":[{\"text\":\"Warp\",\"link\":\"/api/1.0/warp\"},{\"text\":\"Event\",\"items\":[{\"text\":\"Server\",\"link\":\"/api/1.0/server\"},{\"text\":\"Client\",\"link\":\"/api/1.0/client\"}]},{\"text\":\"Feature\",\"items\":[{\"text\":\"Rate Limit\",\"link\":\"/api/1.0/ratelimit\"}]},{\"text\":\"Utilities\",\"items\":[{\"text\":\"Signal\",\"link\":\"/api/1.0/signal\"}]}]}],\"/guide/\":[{\"text\":\"Guide\",\"items\":[{\"text\":\"Overview\",\"link\":\"/guide/\"},{\"text\":\"Installation\",\"link\":\"/guide/installation\"},{\"text\":\"Getting Started\",\"link\":\"/guide/getting-started\"},{\"text\":\"Example\",\"link\":\"/guide/example\"}]}]},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/imezx/Warp\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/qnSfEZ6bZK\"}],\"search\":{\"provider\":\"local\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":true}");</script>