How to fix npc dialog shop code?
Roblox has rendered useless the script i have that gives players tools (e.g. toolname:Clone() = player.Backpack) and I have tried the :changed trigger thing in dialogue choice(nothing happened)
'
3 | until script.Parent.Parent.Parent.Dialog.InUse = = true |
4 | if script.Parent.Parent.DialogChoice.Changed:Connect( function (player) |
5 | local clone = game.ServerStorage.ToolName:Clone() |
6 | clone.Parent = player.Backpack |
pls help asap its urgent for a game.
extra notes: its basically a script without a gui that when selected a choice it gives you that tool