If i use DataStore2 Get instead of variables, will the game lag??
Asked by
3 years ago Edited 3 years ago
Please provide more explanation in your question. If you explain exactly what you are trying to accomplish, it will be much easier to answer your question correctly.
I am worried that the game will lag if i only use the Get function of DataStore2 (thinking on ping). Example:
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(player,a)
if a == "run" then
player.Character.Humanoid.WalkSpeed = 16 + speed:Get()
end
end)