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

How to fix npc dialog shop code?

Asked by 4 years ago

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) '

repeat
    wait(0.1)
until script.Parent.Parent.Parent.Dialog.InUse == true
if script.Parent.Parent.DialogChoice.Changed:Connect(function(player)
    local clone = game.ServerStorage.ToolName:Clone()
    clone.Parent = player.Backpack
end)

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

0
sorry about the title Avia_Adaam 2 — 4y
0
Is this a local script? MegaManSam1 207 — 4y
0
no its a regular script Avia_Adaam 2 — 4y
0
Where is it located? MegaManSam1 207 — 4y
View all comments (5 more)
0
erm its supposed to be in the dialog choice Avia_Adaam 2 — 4y
0
Can you post an image of your explorer? MegaManSam1 207 — 4y
0
well do you know like how to make it? Avia_Adaam 2 — 4y
0
I need more details to understand how you made it so I can help you fix it MegaManSam1 207 — 4y
0
i just need a script that gives a player a tool really Avia_Adaam 2 — 4y

Answer this question