Doesn't seem to function nor work; please help.

 (function()
	
local c = game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Updated

while wait(5) do

if game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Updated ~= c then	

print("Game updated")

UpdateUI:TweenPosition(UDim2.new(0, 0, 0.555, 0), "Out", "Bounce", 1.2, true)

wait(10)

for i = 45, 0, -1 do
	
	
wait(1.1)
	
Info.Text = ('Server has been sucessfully updated; please allow time to shutdown: ("..i..") seconds remaining!')

if i == (0) then
	
for _, plr in pairs(game:GetService("Players"):GetPlayers()) do
	
	
plr:Kick("[SERVER UPDATE]: Sorry, "..plr.Name.."; for any inconvenience caused - please re-join!")

end
	end
		end
			end
				end
					end)()~~~~~~~~~~~~~~~~~


3 comments

0

Output please?

0

Hint: Line 20 of your code. :) Also, please remember to tab your code properly; it helps for us and you to read it better, and makes it look a lot cleaner. :) A clean code is a happy code. :D

0

@TheAlphaStigma - Alright, my bad sorry. @Zurzur7 - No output was created.