NetworkPeer
Show Deprecated
The NetworkPeer object is the most basic class of the network objects.
Summary
Methods
Sets the maximum outgoing bandwidth that Roblox can use.
Properties
Methods
SetOutgoingKBPSLimit
void
Sets the maximum outgoing bandwidth that Roblox can use.
Parameters
Returns
void
Code Samples
The following code, when ran from the command bar or a plugin, would limit bandwidth to 1KBPS.
NetworkPeer:SetOutgoingKBPSLimit
local NetworkClient = game:GetService("NetworkClient")
NetworkClient:SetOutgoingKBPSLimit(1)