I’m working on a game and I’m just adding 3d effects right now, but this keeps happening when the framerate goes below 60.
This is the code for the vfx.
local dt=deltaTime*60
if newPart.Size ~= EndSize then
newPart.Size=vlerp(newPart.Size, EndSize, sizeAlpha * dt)
end
if newPart.Color ~= endColor then
newPart.Color=c3lerp(newPart.Color, endColor, colorAlpha * dt)
end
newPart.Transparency=newPart.Transparency+transparencyAlpha
newPart.CFrame=newPart.CFrame*cframeMult