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

Can you please help?

Asked by 9 years ago

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)()~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~

0
Output please? Kyokamii 133 — 9y
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 TheeDeathCaster 2368 — 9y
0
@TheAlphaStigma - Alright, my bad sorry. @Zurzur7 - No output was created. Asperanator -4 — 9y

Answer this question