local giveDialog = dialogDirectory.DialogChoice local remoteEvent = game.ReplicatedStorage.SellProduct dialogDirectory.DialogChoiceSelected:Connect(function(plr,choice) print("dialog chosen") if choice == giveDialog then print("givedialog") remoteEvent:FireServer(plr,"Wood") print("shots fired gam3r") end end)
I’m trying to make it so when I click on the DialogChoice named “DialogChoice” it fires an event to the server with the parameters of plr (to get the plr) and “Wood” so the server knows what the player is trying to sell. None of the prints are found in the output.
The script is on Roblox Studio, Team Create, inside of a Dummy Head as a local script next to a dialog.
Follow up questions:
If I can’t fire remote events using dialog choice events how do I change the stats of a player using dialog choice events?