I'm attempting to create a GUI menu where interacting with one of the various buttons gives the player a tool with all of its children and scripts and such. Here's the code I've been using so far:
local button = script.Parent
local tool = game.ReplicatedStorage("Fist Combat")
local plr = game.Players.LocalPlayer
button.MouseButton1Click:Connect(function()
tool:Clone().Parent = plr.Backpack
end)
This works fine for giving the player the tool upon interacting with the GUI however it doesn't contain any of the children that are found in the ReplicatedStorage of the tool.
Is there a way to recreate this process with RemoteEvents? I've been told RemoteEvents is the main solution to also give the children of the tool however any solution that should allow the tool and its children in the same GUI press would be helpful.
Thanks for reading, any insight on what I might be able to do is helpful.

2 comments
Thanks, I tested this out and it works wonderfully. I'm very grateful for your help.
No problem! Would appreciate when you don't forget to accept my answer. :)