Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
3

How to make an update system?

Asked by 4 years ago

I want to make a system when the game updates players will get a 5 second warning then get kicked. i have tried this many times and cant seem to make one a little help?

1 answer

Log in to vote
2
Answered by
SpiralRBX 224 Moderation Voter
4 years ago
game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Updated

Simply make a infinite loop, like every 1 second check if the game updated.

EXAMPLE:

while wait(1) do
if game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Updated == true then
--some code
end
end

1
Thanks this works fine EnzoTDZ_YT 275 — 4y
1
Np! :) SpiralRBX 224 — 4y
1
But i did change it to PlaceVersion instead of PlaceId EnzoTDZ_YT 275 — 4y
1
It just stopped working a little help? EnzoTDZ_YT 275 — 4y
View all comments (2 more)
1
It stopped working help please? EnzoTDZ_YT 275 — 4y
0
They must of updated their script or something. Check developer hub SpiralRBX 224 — 3y
Ad

Answer this question