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

Checking the current "PlaceVersion" versus the most recent PlaceVersion?

1 answer

✓ Accepted answer

As I posted before, and was quick to accept it, this is a working method of this. It takes up to a full minute to register that there was an update. Sadly, we can't make that any slower, as it is on roblox's servers.

But here you go:

local GameID = 00000000;
local Asset = game:GetService("MarketplaceService"):GetProductInfo(GameID) -- My place Id
local tracker = Instance.new("StringValue")
tracker.Name = "UpdateTracker"
tracker.Parent = script
tracker.Value = Asset.Updated

spawn(function()
	while wait(5) do
		local newTime = game:GetService("MarketplaceService"):GetProductInfo(GameID).Updated
		
		if newTime ~= tracker.Value then
			--do things here.
		end
	end
end)

1 comment

0

Thanks so much. I saw something about MarketplaceService, but had no clue how to incorporate it.

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