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 » Scripters
Home Search
 

Re: FE Dialog Shop

Previous Thread :: Next Thread 
ASAP_Sow is not online. ASAP_Sow
Joined: 02 Dec 2011
Total Posts: 58
31 Jul 2017 04:29 PM
I have a Dialog shop that works in studio, But not in-game, I was wondering how I could make a script that would work with FE, here's my current script:

script.Parent.DialogChoiceSelected:connect(function(player, dialog)
if dialog == script.Parent.Coffee then
game.Lighting.GhoulCoffee:Clone().Parent = player.Backpack
elseif dialog == script.Parent.Cola then
game.Lighting.GhoulCola:Clone().Parent = player.Backpack
elseif dialog == script.Parent.Orb then
game.Lighting.Orb:Clone().Parent = player.Backpack
end
end)

As you can see the tools are stored in Lighting, and it will clone them to the players Backpack.


Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
31 Jul 2017 04:30 PM
Try putting the tools into ReplicatedStorage instead and replacing Lighting in your code with ReplicatedStorage.

-The [Guy]
Report Abuse
ASAP_Sow is not online. ASAP_Sow
Joined: 02 Dec 2011
Total Posts: 58
31 Jul 2017 04:33 PM
Still not working


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
31 Jul 2017 04:35 PM
Dialog is deprecated


Report Abuse
BusyCityGuy is not online. BusyCityGuy
Joined: 17 Aug 2012
Total Posts: 2144
31 Jul 2017 04:35 PM
Make sure it's a LocalScript.

-The [Guy]
Report Abuse
ASAP_Sow is not online. ASAP_Sow
Joined: 02 Dec 2011
Total Posts: 58
31 Jul 2017 04:40 PM
Is this correct? ################################################################################## dialog) if dialog == ########################################### then game.ReplicatedStorage.GhoulCoffee:Clone().Parent = player.Backpack elseif dialog == ######################################### then game.ReplicatedStorage.GhoulCola:Clone().Parent = player.Backpack elseif dialog == ######################################## then game.ReplicatedStorage.Orb:Clone().Parent = player.Backpack end end)
Report Abuse
ASAP_Sow is not online. ASAP_Sow
Joined: 02 Dec 2011
Total Posts: 58
31 Jul 2017 04:48 PM
I dont know what im doing.


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
31 Jul 2017 04:54 PM
Dialog is deprecated [2] It doesn't work anymore. Many people are having the same problem as you


Report Abuse
ASAP_Sow is not online. ASAP_Sow
Joined: 02 Dec 2011
Total Posts: 58
31 Jul 2017 04:55 PM
How would i fix it?


Report Abuse
Vultorz is not online. Vultorz
Joined: 02 Mar 2015
Total Posts: 2985
31 Jul 2017 04:57 PM
Do you understand the word deprecated?
Report Abuse
ASAP_Sow is not online. ASAP_Sow
Joined: 02 Dec 2011
Total Posts: 58
31 Jul 2017 04:59 PM
I do, I'm just asking if there is any other way I can make it.


Report Abuse
Wrathsong is online. Wrathsong
Joined: 05 Jul 2012
Total Posts: 22393
31 Jul 2017 05:02 PM
not with the dialog objects


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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