Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --by JoshJosh117, modified by ireallylikepi
- --Put your name on line 15
- function close()
- posnum = math.random(-300,300)
- posnum2 = math.random(-100,100)
- cgui = script.Parent.Parent.Parent:Clone()
- cgui2 = cgui:clone()
- cgui.Parent = script.Parent.Parent.Parent.Parent
- cgui.Window.Position = UDim2.new(0.5,-200 - posnum,0.5,-200 - posnum2)
- cgui.Window.TopBar.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
- posnum = math.random(-300,300)
- posnum2 = math.random(-100,100)
- cgui2.Parent = script.Parent.Parent.Parent.Parent
- cgui2.Window.Position = UDim2.new(0.5,-200 - posnum,0.5,-200 - posnum2)
- cgui2.Window.TopBar.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
- script.Parent.Parent.Parent:remove()
- end
- script.Parent.MouseButton1Click:connect(close)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement