Error in Plugin Script

I’m making a plugin so that if you click the button, a dev pack (folder of dev stuff) will clone to workspace. The dev pack is parented to the script.

DevPack is not a valid member of Script "user_Script.lua.Script"

Block Code:

	local NewDevPack = script.DevPack:Clone()
	NewDevPack.Parent = workspace

How do I clone a folder into the workspace using a plugin?

You may need to have everything contained within another folder (this folder should contain the script as well), which is then uploaded as the plugin

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