Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make a copy of something and add to startpack?

How do I make a copy of something and add to startpack? Also how do i access ServerStorage How do I acess MouseButton1click two times?(Say I want click to open menu and click to close menu?)

If i use mousebutton1click two times to close and open it doesn't work

1 comment

0

You need to put your code in aw script to access serverstorage. You cannot access server storage with a local script

1 answer

✓ 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!

This discussion is preserved as it was. New answers, comments, and votes are closed.