Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- person = game.Players.SHAD0WZOMBIE
- it = game
- Gui = Instance.new("ScreenGui")
- Gui.Parent = person.PlayerGui
- Gui2 = Instance.new("ScreenGui")
- Gui2.Parent = person.PlayerGui
- Gui3 = Instance.new("ScreenGui")
- Gui3.Parent = person.PlayerGui
- Gui4 = Instance.new("ScreenGui")
- Gui4.Parent = person.PlayerGui
- val = Instance.new("StringValue")
- val.Parent = Gui2
- val.Value = "game"
- function guigen(name, text, position, size, is)
- wait()
- gg = Instance.new(is)
- gg.Parent = Gui
- gg.Name = name
- gg.Text = text
- gg.Size = size
- gg.Position = position
- gg.TextColor = BrickColor.new("Lime green")
- gg.BorderColor = BrickColor.new("Really red")
- gg.BackgroundColor = BrickColor.new("Really black")
- end
- function list(it2)
- end
- nameit = "Button" --Gui Name
- textit = "Search/" -- Gui Text
- positionit = UDim2.new(0, 10,0, 250) -- Gui Posiion
- sizeit = UDim2.new(0, 300, 0, 20) -- Gui Size
- isit = "TextBox" -- Gui's type, like "TextButton"
- guigen(nameit, textit, positionit, sizeit, isit) -- Gui Genorator Function
- rmg = Gui.Button -- index so old functions still work
- nameit = "Display"
- textit = "in: game"
- positionit = UDim2.new(0, 10,0, 226)
- sizeit = UDim2.new(0, 300, 0, 20)
- isit = "TextLabel"
- guigen(nameit, textit, positionit, sizeit, isit)
- rmg2 = Gui.Display
- nameit = "DoButton"
- textit = "Do-->"
- positionit = UDim2.new(0, 360,0, 226)
- sizeit = UDim2.new(0, 46, 0, 44)
- isit = "TextButton"
- guigen(nameit, textit, positionit, sizeit, isit)
- db = Gui.DoButton
- nameit = "HelpButton"
- textit = "Help"
- positionit = UDim2.new(0, 312,0, 226)
- sizeit = UDim2.new(0, 46, 0, 44)
- isit = "TextButton"
- guigen(nameit, textit, positionit, sizeit, isit)
- hb = Gui.HelpButton
- nameit = "BrowseButton"
- textit = "Browse"
- positionit = UDim2.new(0, 10,0, 272)
- sizeit = UDim2.new(0, 50, 0, 10)
- isit = "TextButton"
- guigen(nameit, textit, positionit, sizeit, isit)
- bb = Gui.BrowseButton
- function hbButtonClicked()
- local MainH = Instance.new("TextLabel")
- MainH.Name = "HelpButton"
- MainH.Text = "HelpButton"
- MainH.Size = UDim2.new(0, 300, 0, 10)
- MainH.TextColor = BrickColor.new("Lime red")
- MainH.BorderColor = BrickColor.new("Lime green")
- MainH.BackgroundColor = BrickColor.new("Really black")
- 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"}
- for i, a in pairs(collection) do
- wait()
- local h = MainH:Clone()
- h.Text = a
- h.Parent = Gui3
- h.Position = UDim2.new(0, 300, 0, 213 + (i * 12))
- end
- MainB = Instance.new("TextButton")
- MainB.Parent = Gui3
- MainB.Name = "HelpButton2"
- MainB.Text = "Exit"
- MainB.Size = UDim2.new(0, 300, 0, 10)
- MainB.TextColor = BrickColor.new("Lime red")
- MainB.Position = UDim2.new(0, 300, 0, 213 + ((#collection + 1) * 12))
- MainB.BorderColor = BrickColor.new("Lime green")
- MainB.BackgroundColor = BrickColor.new("Really black")
- MainB.MouseButton1Click:connect(function()
- Gui3:Remove()
- Gui3 = Instance.new("ScreenGui")
- Gui3.Parent = person.PlayerGui
- end)
- end
- hb.MouseButton1Click:connect(hbButtonClicked)
- function dbButtonClicked()
- if (string.lower(string.sub(rmg.Text,1,3)) == "to/") then
- g = it:GetChildren()
- for i = 1, #g do
- msg = g[i].Name
- if string.find(msg, ""..string.sub(rmg.Text,4).."") ~= nil then
- x = g[i]
- if x ~= nil then
- it = x
- rmg2.Text = "in: "..it.Name..""
- end
- end
- end
- elseif (rmg.Text == "remove/") then
- v = Instance.new("StringValue")
- v.Parent = Gui
- v.Value = ""..it.Name..""
- it2 = it.Parent:FindFirstChild(""..v.Value.."")
- v:Remove()
- if it2 ~= nil then
- it:Remove()
- rmg2.Text = "Removed: "..it2.Name..""
- wait(1)
- it = it2
- rmg2.Text = "in: "..it.Name..""
- end
- elseif (string.lower(string.sub(rmg.Text,1,6)) == "color/") then
- if it.className == "Part" then
- it.BrickColor = BrickColor.new(""..string.sub(rmg.Text,7).."")
- end
- rmg2.Text = "colored: "..string.sub(rmg.Text,7)..""
- wait(1)
- rmg2.Text = "in: "..it.Name..""
- elseif (string.lower(string.sub(rmg.Text,1,7)) == "insert/") then
- new = Instance.new(""..string.sub(rmg.Text,8).."")
- new.Parent = it
- rmg2.Text = "inserted: "..string.sub(rmg.Text,8)..""
- wait(1)
- rmg2.Text = "in: "..it.Name..""
- elseif (string.lower(string.sub(rmg.Text,1,7)) == "anchor/") then
- it.Anchored = true
- rmg2.Text = "Anchored"
- wait(1)
- rmg2.Text = "in: "..it.Name..""
- elseif (string.lower(string.sub(rmg.Text,1,9)) == "unanchor/") then
- it.Anchored = false
- rmg2.Text = "Unanchored..."
- wait(1)
- rmg2.Text = "in: "..it.Name..""
- elseif (string.lower(string.sub(rmg.Text,1,5)) == "root/") then
- it = game
- rmg2.Text = "in: "..it.Name..""
- end
- end
- db.MouseButton1Click:connect(dbButtonClicked)
- function bbButtonClicked()
- num1 = 0
- g55 = Gui4:GetChildren()
- for i = 1, #g55 do
- wait()
- g55[i]:Remove()
- end
- g2 = game:GetChildren()
- for i = 1, #g2 do
- wait()
- item = Instance.new("TextLabel")
- item.Parent = Gui4
- item.Name = ""..g2[i].Name..""
- item.Text = ""..g2[i].Name..""
- item.Size = UDim2.new(0, 150, 0, 10)
- item.Position = UDim2.new(0, 10,0, 284) + UDim2.new(0, 0,0, 12*num1)
- item.TextColor = BrickColor.new("Lime green")
- item.BorderColor = BrickColor.new("Really red")
- item.BackgroundColor = BrickColor.new("Really black")
- num1 = num1 + 1
- end
- end
- bb.MouseButton1Click:connect(bbButtonClicked)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement