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

How To 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

My goal is to put this in the Desc of the Model: Testing123, 1, 1 and if should display a Hint in the game. But, it wont work!? Please help!

Answer this question