Advertisement
noslenpo

Cool Trolling Script 2

Aug 11th, 2015
350
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. --by JoshJosh117, modified by ireallylikepi
  2. --Put your name on line 15
  3.  
  4. function close()
  5. posnum = math.random(-300,300)
  6. posnum2 = math.random(-100,100)
  7. cgui = script.Parent.Parent.Parent:Clone()
  8. cgui2 = cgui:clone()
  9. cgui.Parent = script.Parent.Parent.Parent.Parent
  10. cgui.Window.Position = UDim2.new(0.5,-200 - posnum,0.5,-200 - posnum2)
  11. cgui.Window.TopBar.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  12. posnum = math.random(-300,300)
  13. posnum2 = math.random(-100,100)
  14. cgui2.Parent = script.Parent.Parent.Parent.Parent
  15. cgui2.Window.Position = UDim2.new(0.5,-200 - posnum,0.5,-200 - posnum2)
  16. cgui2.Window.TopBar.BackgroundColor3 = Color3.new(math.random(), math.random(), math.random())
  17. script.Parent.Parent.Parent:remove()
  18. end
  19.  
  20.  
  21.  
  22. script.Parent.MouseButton1Click:connect(close)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement