Here is my code:
-- this happens when a player leaves the game if they owned a tycoon local tycoonName = plrInfo.OwnedTycoon.Value local tycoon = game.Workspace.Tycoons:FindFirstChild(tycoonName) tycoon:Destroy() local tycoonCopy = savedTycoonsTable[tycoon.Name]:Clone() local runTycoonDoor = require(moduleScripts.RunTycoonDoor) runTycoonDoor(tycoonCopy) tycoonCopy.Parent = game.Workspace.Tycoons
Do I need to include a wait in between anything in order to protect it from breaking? Will the function I call to run the tycoon door error ever without a wait? Thanks!