Hey, I am trying to figure out how to make a tool become a starter tool and go into your backpack when you click a button or step on something to activate it. I am trying to make this go into your backpack so that you have an item to continue the quest.
I would assume it is something like this.
function onClicked()
local tool = game.ServerStorage.Key1 -- Item in game I am trying to make apart of a local players starter pack and backpack
OnClick = QI --Something that should make the script run if clicking a block named QI
do (tool = local character) -- Tool that I want to be apart of the starter tools in a local player
script.Parent.ClickDetector.MouseClick:connect(onClicked)
This is probably not how it is done, but this is kinda what I am trying to do. Any help?

1 comment
Is it important this it's in StarterTool or can it just be in the player's backpack?