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

How do I do store scripting with dialogue?

Asked by 10 years ago

Okay so, I need to know the EXACT script on how to do a dialogue store where all the stuffs is free! (For example, "Paint brush for 0 coins!" And when you click on that it gives you a paint brush.

3 answers

Log in to vote
1
Answered by 10 years ago
script.Parent.DialogChoiceSelected:connect(function(plr, dialog)
    toollocationhere:clone().Parent=plr.Backpack
end)
Ad
Log in to vote
0
Answered by 10 years ago

Instead of scripting that, you can automatically have it in your inventory when you join the game.

Log in to vote
0
Answered by 10 years ago

script.Parent.DialogChoiceSelected:connect(function(plr, dialog) toollocationhere:clone().Parent=plr.Backpack end)

Answer this question