Tool cloned from replicated storage not working

I’m having a problem, where when the tool I clone from replicated storage (using a local script in starterPlayerScripts), it simply won’t activate. However, if I place the tool in starterPack instead of cloning it from replicated storage, the tool works just fine.

link to video since “new users cannot upload attachments”:catbox.moe

Here’s the local script placed in startPlayerScripts:

local dialog = game.Workspace:WaitForChild("SketchyGuy"):WaitForChild("Head2"):WaitForChild("Dialog") --wait for dialog to exist
player = game.Players.LocalPlayer
firework = game.ReplicatedStorage.Firework2010

dialog.DialogChoiceSelected:Connect(function(player, choice) --function for when a dialogue choice is picked
	if choice.Name == "trigger1" or "trigger2" then --check to see if the choice selected is the confirm option for the bandit quest
		firework:Clone().Parent = player.Backpack --clone the instance to workspace, this is so that it can be used more than once (not cloning it will make it be parented in its entirety, leaving nothing behind)
	end
end)

Note: The children and scripts of the tool inside ReplicatedStorage are the same as the one inside of the StarterPack. The tool is unanchored. They are identical.

:wave: First off, hello and a massive warm welcome to the community! We pleased to have you here!

:question: Second off, have you made sure that the scripts that are within the tool that make it launch are in the ReplicatedStorage tool, and is the tool Unanchored?

Yes, the children and scripts of the tool inside ReplicatedStorage are the same as the one inside of the StarterPack. The tool is unanchored. They are identical.

[SOLUTION FOUND]
I found this old post that solves my problem.
In short, it’s because I’m cloning the tool locally. If you clone locally, the whole tool breaks, and other players can’t see you holding the tool. Instead, you should use a remote event and clone the tool in a server (normal) script.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.