How to fix Projectile lag?

Hi, I’m working on a turret/cannon, and when the turret is fired, it shoots a projectile, but for some reason when I set the projectiles Parent to workspace so the player can see the projectile, it lags a bit for a split-second just before it shoots out…

Its hard to explain this in words, its probably better if you see for yourself, here’s the game link: Cannon/Turret system - Roblox

How can I fix this?

1 Like

Could it be something related to network ownership? Your issue sounds similar to an example made on the Network Ownership article, maybe you need to use :SetNetworkOwner(nil) on the part being shot out? Or instead of nil, you could also set the network owner to the Player instance of who is controlling the turret

3 Likes

Ok, I’ll read the article about network ownership and let you know, thanks for the help :grinning: :+1: