This is what I have so far, it works in studio but not in game..
game.Workspace.CukieCave.CukieChair.DialogPart.Dialog.DialogChoiceSelected:connect(function(player,choice)
if choice.Name == "ParkourMission" then
local gao = Instance.new("IntValue", game.ReplicatedStorage)
local thing = game.ReplicatedStorage:FindFirstChild("Value")
if thing then
print("Good")
end
end
end)

1 comment
assign the Parent as a separate line because doing it with parenthesis doesn't work anymore