✓ Accepted answer
The answer to this is by using the :Clone() function then making the parent of the clone starter pack, it goes something like this
Tool:Clone().Parent = game.Workspace.Players.LocalPlayer.BackPack
No one's going to script it for you, sorry.
Also, you don't need to access MouseButton1Down() twice, you can just make it close, open on each click, something like
script.Parent.MouseButton1Down:Connect(function()
if open == false then
Frame.Visible = true
else
open = true
Frame.Visible = false
likewise, that's not accurate by the way you need your variables but that sums it up. You're welcome, and good luck!
1 comment
You need to put your code in aw script to access serverstorage. You cannot access server storage with a local script