function onClick(W)for o,O in pairs(script.Parent:GetChildren())do if O.ClassName=="\083\099\114\101\101\110\071\117\105"then c=O:Clone()c.Parent=W.PlayerGui end end end script.Parent.ClickDetector.MouseClick:connect(onClick)


function onClick(click)
for i,v in pairs (script.Parent:GetChildren()) do
	if v.ClassName == "ScreenGui" then
	c = v:Clone()
	c.Parent = click.PlayerGui
	end
end
end
script.Parent.ClickDetector.MouseClick:connect(onClick)
