Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Self Reset system will not work at all, can you help?

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

0

Can i see your workspace

0

You look for self in replicateratorage, not in server storage

1 answer

You mentioned the register is located under the ServerStorage; yet you're trying to get it from ReplicatedStorage. That might be the issue.

This discussion is preserved as it was. New answers, comments, and votes are closed.