Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why won't (Asset.Creator) work?

I am getting really mad at this.. Does anyone know why this Script works all the way until after the removal?

local Asset = game:GetService("MarketplaceService"):GetProductInfo(157360914)
M = Instance.new("Message")
M.Parent = game.Workspace
wait()
M.Text = Asset.Name.. " : " ..Asset.Description
wait(4)
M:remove()
wait()
M.Text = "Created" ..Asset.Created.. "."

1 comment

0

What's the output?

1 answer

I think you're staring right at the issue. You can't remove a message and expect to be able to use it again.

local Asset = game:GetService("MarketplaceService"):GetProductInfo(157360914)
M = Instance.new("Message")
M.Parent = game.Workspace
wait()
M.Text = Asset.Name.. " : " ..Asset.Description
wait(4)
M.Text = "Created" ..Asset.Created.. "." --Swap
wait(4)
M:Destroy() --Swap

1 comment

0

lol

This discussion is preserved as it was. New answers, comments, and votes are closed.