Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make a dialog shop in my game?

Asked by
micmnm4 18
7 years ago

I am trying to add dialog shop in my RPG game but I don't know how.

1 answer

Log in to vote
-1
Answered by
Scrxptss -13
7 years ago

Include some code you have tried to get a better answer.

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(). micmnm4 18 — 7y
Ad

Answer this question