Advertisement
shad0wzombie

Untitled

Jul 28th, 2016
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 KB | None | 0 0
  1. person = game.Players.SHAD0WZOMBIE
  2. it = game
  3. Gui = Instance.new("ScreenGui")
  4. Gui.Parent = person.PlayerGui
  5. Gui2 = Instance.new("ScreenGui")
  6. Gui2.Parent = person.PlayerGui
  7. Gui3 = Instance.new("ScreenGui")
  8. Gui3.Parent = person.PlayerGui
  9. Gui4 = Instance.new("ScreenGui")
  10. Gui4.Parent = person.PlayerGui
  11. val = Instance.new("StringValue")
  12. val.Parent = Gui2
  13. val.Value = "game"
  14. function guigen(name, text, position, size, is)
  15. wait()
  16. gg = Instance.new(is)
  17. gg.Parent = Gui
  18. gg.Name = name
  19. gg.Text = text
  20. gg.Size = size
  21. gg.Position = position
  22. gg.TextColor = BrickColor.new("Lime green")
  23. gg.BorderColor = BrickColor.new("Really red")
  24. gg.BackgroundColor = BrickColor.new("Really black")
  25. end
  26. function list(it2)
  27. end
  28. nameit = "Button" --Gui Name
  29. textit = "Search/" -- Gui Text
  30. positionit = UDim2.new(0, 10,0, 250) -- Gui Posiion
  31. sizeit = UDim2.new(0, 300, 0, 20) -- Gui Size
  32. isit = "TextBox" -- Gui's type, like "TextButton"
  33. guigen(nameit, textit, positionit, sizeit, isit) -- Gui Genorator Function
  34. rmg = Gui.Button -- index so old functions still work
  35. nameit = "Display"
  36. textit = "in: game"
  37. positionit = UDim2.new(0, 10,0, 226)
  38. sizeit = UDim2.new(0, 300, 0, 20)
  39. isit = "TextLabel"
  40. guigen(nameit, textit, positionit, sizeit, isit)
  41. rmg2 = Gui.Display
  42. nameit = "DoButton"
  43. textit = "Do-->"
  44. positionit = UDim2.new(0, 360,0, 226)
  45. sizeit = UDim2.new(0, 46, 0, 44)
  46. isit = "TextButton"
  47. guigen(nameit, textit, positionit, sizeit, isit)
  48. db = Gui.DoButton
  49. nameit = "HelpButton"
  50. textit = "Help"
  51. positionit = UDim2.new(0, 312,0, 226)
  52. sizeit = UDim2.new(0, 46, 0, 44)
  53. isit = "TextButton"
  54. guigen(nameit, textit, positionit, sizeit, isit)
  55. hb = Gui.HelpButton
  56. nameit = "BrowseButton"
  57. textit = "Browse"
  58. positionit = UDim2.new(0, 10,0, 272)
  59. sizeit = UDim2.new(0, 50, 0, 10)
  60. isit = "TextButton"
  61. guigen(nameit, textit, positionit, sizeit, isit)
  62. bb = Gui.BrowseButton
  63. function hbButtonClicked()
  64. local MainH = Instance.new("TextLabel")
  65. MainH.Name = "HelpButton"
  66. MainH.Text = "HelpButton"
  67. MainH.Size = UDim2.new(0, 300, 0, 10)
  68. MainH.TextColor = BrickColor.new("Lime red")
  69. MainH.BorderColor = BrickColor.new("Lime green")
  70. MainH.BackgroundColor = BrickColor.new("Really black")
  71. collection = {"Say to/Workspace to browse", "Say remove/ to remove", "Say color/Really red to color", "Say insert/Part to insert something", "Say root/ to return to game", "Say anchor/ to anchor", "Say unancher/ to unancher"}
  72. for i, a in pairs(collection) do
  73. wait()
  74. local h = MainH:Clone()
  75. h.Text = a
  76. h.Parent = Gui3
  77. h.Position = UDim2.new(0, 300, 0, 213 + (i * 12))
  78. end
  79. MainB = Instance.new("TextButton")
  80. MainB.Parent = Gui3
  81. MainB.Name = "HelpButton2"
  82. MainB.Text = "Exit"
  83. MainB.Size = UDim2.new(0, 300, 0, 10)
  84. MainB.TextColor = BrickColor.new("Lime red")
  85. MainB.Position = UDim2.new(0, 300, 0, 213 + ((#collection + 1) * 12))
  86. MainB.BorderColor = BrickColor.new("Lime green")
  87. MainB.BackgroundColor = BrickColor.new("Really black")
  88. MainB.MouseButton1Click:connect(function()
  89. Gui3:Remove()
  90. Gui3 = Instance.new("ScreenGui")
  91. Gui3.Parent = person.PlayerGui
  92. end)
  93. end
  94. hb.MouseButton1Click:connect(hbButtonClicked)
  95. function dbButtonClicked()
  96. if (string.lower(string.sub(rmg.Text,1,3)) == "to/") then
  97. g = it:GetChildren()
  98. for i = 1, #g do
  99. msg = g[i].Name
  100. if string.find(msg, ""..string.sub(rmg.Text,4).."") ~= nil then
  101. x = g[i]
  102. if x ~= nil then
  103. it = x
  104. rmg2.Text = "in: "..it.Name..""
  105. end
  106. end
  107. end
  108. elseif (rmg.Text == "remove/") then
  109. v = Instance.new("StringValue")
  110. v.Parent = Gui
  111. v.Value = ""..it.Name..""
  112. it2 = it.Parent:FindFirstChild(""..v.Value.."")
  113. v:Remove()
  114. if it2 ~= nil then
  115. it:Remove()
  116. rmg2.Text = "Removed: "..it2.Name..""
  117. wait(1)
  118. it = it2
  119. rmg2.Text = "in: "..it.Name..""
  120. end
  121. elseif (string.lower(string.sub(rmg.Text,1,6)) == "color/") then
  122. if it.className == "Part" then
  123. it.BrickColor = BrickColor.new(""..string.sub(rmg.Text,7).."")
  124. end
  125. rmg2.Text = "colored: "..string.sub(rmg.Text,7)..""
  126. wait(1)
  127. rmg2.Text = "in: "..it.Name..""
  128. elseif (string.lower(string.sub(rmg.Text,1,7)) == "insert/") then
  129. new = Instance.new(""..string.sub(rmg.Text,8).."")
  130. new.Parent = it
  131. rmg2.Text = "inserted: "..string.sub(rmg.Text,8)..""
  132. wait(1)
  133. rmg2.Text = "in: "..it.Name..""
  134. elseif (string.lower(string.sub(rmg.Text,1,7)) == "anchor/") then
  135. it.Anchored = true
  136. rmg2.Text = "Anchored"
  137. wait(1)
  138. rmg2.Text = "in: "..it.Name..""
  139. elseif (string.lower(string.sub(rmg.Text,1,9)) == "unanchor/") then
  140. it.Anchored = false
  141. rmg2.Text = "Unanchored..."
  142. wait(1)
  143. rmg2.Text = "in: "..it.Name..""
  144. elseif (string.lower(string.sub(rmg.Text,1,5)) == "root/") then
  145. it = game
  146. rmg2.Text = "in: "..it.Name..""
  147. end
  148. end
  149. db.MouseButton1Click:connect(dbButtonClicked)
  150. function bbButtonClicked()
  151. num1 = 0
  152. g55 = Gui4:GetChildren()
  153. for i = 1, #g55 do
  154. wait()
  155. g55[i]:Remove()
  156. end
  157. g2 = game:GetChildren()
  158. for i = 1, #g2 do
  159. wait()
  160. item = Instance.new("TextLabel")
  161. item.Parent = Gui4
  162. item.Name = ""..g2[i].Name..""
  163. item.Text = ""..g2[i].Name..""
  164. item.Size = UDim2.new(0, 150, 0, 10)
  165. item.Position = UDim2.new(0, 10,0, 284) + UDim2.new(0, 0,0, 12*num1)
  166. item.TextColor = BrickColor.new("Lime green")
  167. item.BorderColor = BrickColor.new("Really red")
  168. item.BackgroundColor = BrickColor.new("Really black")
  169. num1 = num1 + 1
  170. end
  171. end
  172. bb.MouseButton1Click:connect(bbButtonClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement