I need help with a module (Part Cache) to help decrease lag with a rain particle I made. Here is the rain particle script:
local RandomPosModule = require(script.RandomPositionModule)
while wait() do
for i = 1,(script.Parent.Amount.Value) do
local DropletClone = game.ReplicatedStorage.RainDroplet:Clone()
DropletClone.Parent = workspace
RandomPosModule.RandomPosition(script.Parent,DropletClone)
end
end
Random pos module just sends it into a random position within the part