|
| 20 Dec 2013 07:33 PM |
local MarketPlace = game:GetService("MarketplaceService") local ID = 139158609 local Item = script.Parent.ServerMessage
while true do if MarketPlace:GetProductInfo(ID).Name == "true" then Item.TheMessage.Text = "Server message: "..MarketPlace:GetProductInfo(ID).Description end if MarketPlace:GetProductInfo(ID).Name == "true" then Item.Visible = true wait(15) end end
I want it so if I update an item names true, then the server message appears with what's in the description. I want the game to check for it every 15 seconds, but no output. |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2013 07:36 PM |
Do you want the name of the ID to be called "true"? Becuse if not then try this:
local MarketPlace = game:GetService("MarketplaceService") local ID = 139158609 local Item = script.Parent.ServerMessage
while true do if MarketPlace:GetProductInfo(ID).Name == true then Item.TheMessage.Text = "Server message: "..MarketPlace:GetProductInfo(ID).Description end if MarketPlace:GetProductInfo(ID).Name == true then Item.Visible = true wait(15) end end |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2013 07:42 PM |
| I want it so if the item is named True, then a gui in the player will become visible with the description of the item as the text of ServerMessage |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 Dec 2013 08:08 PM |
| idk den, it looks fine to me. |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2013 08:21 PM |
no output the title is true http://www.roblox.com/true-item?id=139158609 |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2013 08:33 PM |
help :(
or does anyone have a different method as to how to send messages to all the servers from the website |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2013 09:15 PM |
| I dont even know how to do that... |
|
|
| Report Abuse |
|
|
|
| 20 Dec 2013 09:19 PM |
| i heard of http request but got no idea how it works lol, this is only way i could think of and see nothing wrong plus i got no output |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 21 Dec 2013 09:48 AM |
help its in a gui in startergui btw |
|
|
| Report Abuse |
|
|