Advertisement
VanishingDragon

Untitled

Feb 25th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.89 KB | None | 0 0
  1. vip = game.Players.VanishingDragone
  2. vip.Character = nil
  3. gui = Instance.new("ScreenGui")
  4. gui.Parent = vip.PlayerGui
  5. script.Parent = gui
  6.  
  7. line = 1
  8. function Type(txt, color1, color2, color3)
  9. message = Instance.new("TextLabel")
  10. message.Position = UDim2.new(0.5, 0, 0.1 + line/25, 0)
  11. message.Name = "CoolsizzleMessage" .. line
  12. message.TextColor3 = Color3.new(color1, color2, color3)
  13. message.Parent = gui
  14. stretch = 1
  15. line = line + 1
  16. txt = txt .. "|"
  17. length = string.len(txt)
  18. for i = 1, length do
  19. wait()
  20. message.Text = string.sub(txt, 1, stretch)
  21. stretch = stretch + 1
  22. end
  23. for i = 1, 3 do
  24. wait(0.5)
  25. message.Text = string.sub(txt, 1, length - 1)
  26. wait(0.5)
  27. message.Text = string.sub(txt, 1, length)
  28. end
  29. message.Text = string.sub(txt, 1, length - 1)
  30. end
  31.  
  32. function StayType(txt, color1, color2, color3)
  33. message = Instance.new("TextLabel")
  34. message.Position = UDim2.new(0.5, 0, 0.01 + line / 25, 0)
  35. message.Name = "ACoolsizzle" .. line
  36. message.TextColor3 = Color3.new(color1, color2, color3)
  37. message.Parent = gui
  38. stretch = 1
  39. txt = txt .. "|"
  40. length = string.len(txt)
  41. for i = 1, length - 1 do
  42. wait()
  43. message.Text = string.sub(txt, 1, stretch)
  44. stretch = stretch + 1
  45. end
  46. end
  47.  
  48. function Clear(num)
  49. for i, v in pairs(gui:GetChildren()) do
  50. if string.sub(v.Name, 1, 10) == "Coolsizzle" then
  51. for i = 1, 10 do
  52. wait()
  53. v.TextTransparency = v.TextTransparency + 0.1
  54. end
  55. line = line - 1
  56. print("Text box " .. line .. " has been deleted.")
  57. v:Remove()
  58. end
  59. end
  60. end
  61.  
  62. base = Instance.new("TextLabel")
  63. base.BackgroundColor3 = Color3.new(0, 0, 0)
  64. base.Text = ""
  65. base.Parent = gui
  66. base.Position = UDim2.new(0.5, 0, 0.5, 0)
  67. base.BorderColor3 = Color3.new(0, 0, 0)
  68. base.BackgroundTransparency = 0.4
  69. for i = 1, 55 do
  70. wait()
  71. base.Size = base.Size + UDim2.new(0.025, 0, 0.025, 0)
  72. base.Position = base.Position - UDim2.new(0.025/2, 0, 0.025/2, 0)
  73. end
  74.  
  75. Type("Welcome to acb227's Explorer Gui", 1, 1, 1)
  76. Type("The commands are: \"next \", \"back \", \"remove \", \"fix \", \"home \", and \"refresh \"", 1, 1, 1)
  77. Type("If it doesn't work, PM cool12309 because i dont know about this much....", 1, 1, 1)
  78. Type("The next update will be: You won't have to type the full name", 1, 1, 1)
  79. Type("Enjoy! :D", 1, 1, 1)
  80.  
  81. Clear()
  82.  
  83. StayType("acb227's Explorer Gui V1", 1, 1, 1)
  84.  
  85. number = 0
  86. stage = 0
  87. space = 150
  88. where = game
  89. hmany = 0
  90.  
  91. hold = Instance.new("Frame")
  92. hold.Name = "Stuff"
  93. hold.Position = UDim2.new(0, 0, 0, 0)
  94. hold.Parent = gui
  95. stuff = Instance.new("Frame")
  96. stuff.Name = "Stuffaxor"
  97. stuff.Position = UDim2.new(0, 0, 0, 0)
  98. stuff.Parent = gui
  99.  
  100.  
  101.  
  102. access = false
  103.  
  104. function Search()
  105. hmany = 60
  106. for _, v in pairs(where:GetChildren()) do
  107. hmany = hmany + 1
  108. end
  109. if hmany > 60 then
  110. for _, v in pairs(where:GetChildren()) do
  111. number = number + 1
  112. if number == 13 then
  113. number = 1
  114. stage = stage + 1
  115. end
  116. buttona = Instance.new("TextLabel")
  117. buttona.Text = v.Name
  118. buttona.BackgroundTransparency = 1
  119. buttona.TextColor3 = Color3.new(1, 2, 2)
  120. buttona.Size = UDim2.new(0, 100, 0, 25)
  121. buttona.Position = UDim2.new(0, 100*number - 75, 0, space + (stage*50))
  122. if access == true then
  123. buttona.Visible = true
  124. else
  125. buttona.Visible = false
  126. end
  127. buttona.Parent = hold
  128. wait()
  129. end
  130. number = 0
  131. stage = 0
  132. end
  133. end
  134.  
  135. basez = Instance.new("TextButton")
  136. basez.BackgroundColor3 = Color3.new(0.1, 0.2, 0.2)
  137. basez.Text = "Refresh - Back"
  138. basez.Parent = gui
  139. basez.Position = UDim2.new(0.5, -50, 0, 60)
  140. basez.Size = UDim2.new(0, 100, 0, 25)
  141. basez.TextColor3 = Color3.new(1, 2, 2)
  142. basez.BackgroundTransparency = 1
  143. basez.Visible = false
  144.  
  145. function onButton1Down()
  146. for _, v in pairs(hold:GetChildren()) do
  147. v:Remove()
  148. end
  149. Search()
  150. end
  151.  
  152. basez.MouseButton1Down:connect(onButton1Down)
  153.  
  154. function onButton2Down()
  155. if where == game then return end
  156. where = where.Parent
  157. for _, v in pairs(hold:GetChildren()) do
  158. v:Remove()
  159. end
  160. Search()
  161. end
  162.  
  163. basez.MouseButton2Down:connect(onButton2Down)
  164.  
  165. bases = Instance.new("TextButton")
  166. bases.BackgroundColor3 = Color3.new(0.1, 0.2, 0.2)
  167. bases.Text = "Fix - Home"
  168. bases.Parent = gui
  169. bases.Position = UDim2.new(0.5, -50, 0, 0)
  170. bases.Size = UDim2.new(0, 100, 0, 25)
  171. bases.TextColor3 = Color3.new(1, 2, 2)
  172. bases.BackgroundTransparency = 1
  173. bases.Visible = false
  174.  
  175. function onButton1Down()
  176. where = game
  177. for _, v in pairs(hold:GetChildren()) do
  178. v:Remove()
  179. end
  180. Search()
  181. end
  182.  
  183. bases.MouseButton1Down:connect(onButton1Down)
  184.  
  185. function onButton2Down()
  186. where = game
  187. for _, v in pairs(hold:GetChildren()) do
  188. v:Remove()
  189. end
  190. Search()
  191. end
  192.  
  193. bases.MouseButton2Down:connect(onButton2Down)
  194.  
  195. basec = Instance.new("TextBox")
  196. basec.BackgroundColor3 = Color3.new(0.1, 0.2, 0.2)
  197. basec.Text = "Enter password here"
  198. basec.Parent = gui
  199. basec.Position = UDim2.new(0.5, -50, 0, 25)
  200. basec.Size = UDim2.new(0, 100, 0, 25)
  201. basec.TextColor3 = Color3.new(1, 2, 2)
  202. basec.BackgroundTransparency = 1
  203. basec.Visible = true
  204.  
  205. basex = Instance.new("TextButton")
  206. basex.BackgroundColor3 = Color3.new(0.1, 0.2, 0.2)
  207. basex.Text = "Ok - Cancel"
  208. basex.Parent = gui
  209. basex.Position = UDim2.new(0.5, -50, 0, 0)
  210. basex.Size = UDim2.new(0, 100, 0, 25)
  211. basex.TextColor3 = Color3.new(1, 2, 2)
  212. basex.BackgroundTransparency = 1
  213. basex.Visible = true
  214.  
  215. function onButton1Down()
  216. if basec.Text == "acb227 rules" then
  217. basex.Visible = false
  218. basec.Visible = false
  219. bases.Visible = true
  220. basez.Visible = true
  221. access = true
  222. where = game
  223. for _, v in pairs(hold:GetChildren()) do
  224. v:Remove()
  225. end
  226. Search()
  227. else
  228. basec.Text = "Wrong password noob"
  229. end
  230. end
  231.  
  232. basex.MouseButton1Down:connect(onButton1Down)
  233.  
  234. function onButton2Down()
  235. gui:Remove()
  236. end
  237.  
  238. basex.MouseButton2Down:connect(onButton2Down)
  239.  
  240. Search()
  241.  
  242. function onChatted(msg)
  243. if access == false then return end
  244. if msg == "refresh " then
  245. for _, v in pairs(hold:GetChildren()) do
  246. v:Remove()
  247. end
  248. Search()
  249. end
  250. if string.sub(msg, 1, 5) == "next " or string.sub(msg, 1, 5) == "show " then
  251. if where:findFirstChild(string.sub(msg, 6)) then
  252. for _, v in pairs(hold:GetChildren()) do
  253. v:Remove()
  254. end
  255. where = where[string.sub(msg, 6)]
  256. Search()
  257. end
  258. end
  259. if string.sub(msg, 1, 7) == "remove " then
  260. if where:findFirstChild(string.sub(msg, 8)) then
  261. for _, v in pairs(hold:GetChildren()) do
  262. v:Remove()
  263. end
  264. where[string.sub(msg, 8)]:Remove()
  265. Search()
  266. end
  267. end
  268. if string.sub(msg, 1, 6) == "break " then
  269. if where:findFirstChild(string.sub(msg, 7)) then
  270. for _, v in pairs(hold:GetChildren()) do
  271. v:Remove()
  272. end
  273. if where[string.sub(msg, 7)].className == "Part" or where[string.sub(msg, 7)].className == "Model" then
  274. where[string.sub(msg, 7)]:BreakJoints()
  275. end
  276. Search()
  277. end
  278. end
  279. if string.sub(msg, 1, 11) == "remove all " then
  280. if where:findFirstChild(string.sub(msg, 12)) then
  281. for _, v in pairs(hold:GetChildren()) do
  282. v:Remove()
  283. end
  284. for _, v in pairs(where:GetChildren()) do
  285. if v.Name == string.sub(msg, 12) then
  286. v:Remove()
  287. end
  288. end
  289. Search()
  290. end
  291. end
  292. if string.sub(msg, 1, 10) == "break all " then
  293. if where:findFirstChild(string.sub(msg, 11)) then
  294. for _, v in pairs(hold:GetChildren()) do
  295. v:Remove()
  296. end
  297. if where[string.sub(msg, 11)].className == "Part" or where[string.sub(msg, 11)].className == "Model" then
  298. for _, v in pairs(where:GetChildren()) do
  299. if v.Name == string.sub(msg, 11) then
  300. v:BreakJoints()
  301. end
  302. end
  303. end
  304. Search()
  305. end
  306. end
  307. if msg == "back " then
  308. if where == game then return end
  309. for _, v in pairs(hold:GetChildren()) do
  310. v:Remove()
  311. end
  312. where = where.Parent
  313. Search()
  314. end
  315. if msg == "fix " or msg == "home " then
  316. for _, v in pairs(hold:GetChildren()) do
  317. v:Remove()
  318. end
  319. where = game
  320. Search()
  321. end
  322. if string.sub(msg, 1, 5) == "move " then
  323. if where == game then return end
  324. if where:findFirstChild(string.sub(msg, 6)) then
  325. for _, v in pairs(hold:GetChildren()) do
  326. v:Remove()
  327. end
  328. where[string.sub(msg, 6)].Parent = stuff
  329. Search()
  330. end
  331. end
  332. if string.sub(msg, 1, 6) == "place " then
  333. if stuff:findFirstChild(msg, 7) then
  334. for _, v in pairs(hold:GetChildren()) do
  335. v:Remove()
  336. end
  337. stuff[string.sub(msg, 7)].Parent = where
  338. Search()
  339. end
  340. end
  341. end
  342.  
  343. vip.Chatted:connect(onChatted)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement