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

2 comments
Can i see your workspace
You look for self in replicateratorage, not in server storage