I have a cash register that resets itself every five seconds (it has a duplicate of itself in server storage) for some reason i wait 5 seconds and it doesnt reset, why?
local ReplicatedStorage = game:GetService("ReplicatedStorage") local Self = ReplicatedStorage:FindFirstChild("Cash Register1") while true do wait(5) local clone = Self:Clone() clone.Parent = game.Workspace script.Parent:Destroy() end
You mentioned the register is located under the ServerStorage; yet you're trying to get it from ReplicatedStorage. That might be the issue.