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

How do I use this Script? MarketplaceService?

Asked by
Rurith 10
10 years ago
local debris = game:GetService("Debris")
    local marketplace = game:GetService("MarketplaceService")   

    while true do   
        local shout = marketplace:GetProductInfo(173676511).Description
        if string.sub(shout, 1, 1) == "1" then
            local hint = Instance.new("Hint", workspace)
            hint.Text = string.sub(shout, 3, string.len(shout))
            debris:AddItem(hint, 10)
        end
        wait(10)
    end

The point of the script is that when I put testing123, 1, 1 in the Models Desc it would make a hint instead of that game saying testing123. But I don't know if I am doing it right, can you guys please explain how to do it right? Thank you!

Answer this question