generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Why doesn't this work?

Previous Thread :: Next Thread 
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
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
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
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
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
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
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
20 Dec 2013 07:57 PM
bump
Report Abuse
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
20 Dec 2013 08:08 PM
idk den, it looks fine to me.
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
20 Dec 2013 08:21 PM
no output
the title is true
http://www.roblox.com/true-item?id=139158609
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
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
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
20 Dec 2013 09:15 PM
I dont even know how to do that...
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
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
XtremeTemper is not online. XtremeTemper
Joined: 02 Mar 2012
Total Posts: 1774
20 Dec 2013 09:21 PM
same
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
20 Dec 2013 10:06 PM
bump
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
20 Dec 2013 11:14 PM
help
Report Abuse
epicpatrick123 is not online. epicpatrick123
Joined: 08 Sep 2010
Total Posts: 15039
21 Dec 2013 09:48 AM
help
its in a gui in startergui btw
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image