I made a dialogue shop but in FE the tools dont give to the players backpack when they 30 ROBUX FOR WHOEVER SOLVES! This works in studio but not server the game is FE
I think when they buy the item from the dialogue it should fire a RE in rep storage and then a server script service script should respond to it and get the player as a parameter and then give the player the tool?
Code ((code also provided below) but recommended to check img)
script.Parent.DialogChoiceSelected:connect(function(player, choice)
if choice == script.Parent.DialogChoice.Sword.Yes then
game.ReplicatedStorage.RemoteEvent:FireServer()
end
end)
Code that recieves the remoteveentfireserver ((also below))
game.ReplicatedStorage.RemoteEvent.OnServerEvent:connect(function(player)
game.Lighting.Sword:Clone().Parent = player.Backpack
game.Lighting.Sword:Clone().Parent = player.StarterGear
local gui = game.Lighting.Success:Clone()
gui.Parent = player.PlayerGui
gui.Script.Disabled = false
end)

4 comments
Can you give more information, like the scripts, and maybe a pic of the explorer where everything is located...
I agree with Ben... How are we supposed to help you if you didn't give us any scripts or maybe a screenshot of the explorer?
I did it
connect should have a capital C since connect is depricated. I would put the tools in Server storage since this is coming from the server