The server is gettting slowly getting lags when shooting projectiles

um there’s a lot wrong with your code but thats besides the point;

this problem would probably just be caused by network latency. there’ll always be a delay between the client sending signals and the server receiving them

change the while wait(0.01) and brick do line to

while wait(0.01) and brick and brick.Parent ~= nil do

here’s some other good resources

1 Like