I am trying to add dialog shop in my RPG game but I don't know how.
COMMUNITY QUESTION
How to make a dialog shop in my game?
1 answer
Include some code you have tried to get a better answer.
1 comment
0
local dialog = script.Parent dialog.DialogChoiceSelected:connect(function(player, choice) local stats = player:FindFirstChild('leaderstats') if not stats then return end local Gold = stats:FindFirstChild('Gold') if not Gold then return end if choice == script.Parent.DialogChoice.ChoiceA then if Gold.Value >= 5 then game.ReplicatedStorage.Weapon1:Clone().
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
http://wiki.roblox.com/index.php?title=How_to_use_Dialog http://wiki.roblox.com/index.php?title=API:Class/Dialog