Hello!, i have this script, it was working good months ago, I check it now and it stopped working, someone can help me with this?
local deb = false;
script.Parent.MouseButton1Click:connect(function()
if not deb then
deb = true;
game.ReplicatedStorage.RemoteEvent:FireServer("Reset");
wait(5);
deb = false;
end;
end);
Thank you very much

3 comments
Does it error? What's the code that's listening for this to fire?
Is the game filtering enabled and is the script a local script or server script?
Thank you all for the interest of helping me, it stopped working in studio test mode, but it still working in game.