Everytime the character respawns, it lags the game
local clone = script.Parent:Clone()
script.Parent.Humanoid.Died:Connect(function()
task.wait(5)
clone.Parent = workspace.Enemies
script.Parent:Destroy()
end)
Everytime the character respawns, it lags the game
local clone = script.Parent:Clone()
script.Parent.Humanoid.Died:Connect(function()
task.wait(5)
clone.Parent = workspace.Enemies
script.Parent:Destroy()
end)
how much instances are inside the model
the instance is a r15 character
yea but how much instances are inside the character, because if there’s a lot of instances it could be causing lag
about 25 parts inside of the instance