i'm trying to make a store dialog box which will upgrade car parts. i just want it to print "test" but it doesn't seem to work.
local dialogbubble = script.Parent
dialogbubble.DialogChoiceSelected:connect(function(player, choice)
local stats = player:FindFirstChild("leaderstats")
local Money = stats:FindFirstChild("Money")
if choice == script.Parent.Menu.Engine.option1 then
print "test"
end
end)

3 comments
if you
if you're talking about the console in an actual server, have you check the server side?*
im talking about in roblox studio