Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------No Problem. Its a plug-in.
- plugin = PluginManager():CreatePlugin()
- toolbar = plugin:CreateToolbar("Plugins")
- toolbarbutton = toolbar:CreateButton("Script Maker","Script Maker","sct.png")
- while game:GetService("CoreGui"):FindFirstChild("CommandBar" )== nil do
- wait()
- if game:GetService("CoreGui"):FindFirstChild("CommandBar" )== nil then
- local screengui = Instance.new("ScreenGui")
- screengui.Parent = game:GetService("CoreGui")
- screengui.Name = ("CommandBar")
- local textlabel = Instance.new("TextLabel")
- textlabel.Parent = screengui
- textlabel.Name = "Title"
- textlabel.Active = true
- textlabel.BackgroundColor = BrickColor.new("Really black")
- textlabel.BorderColor3 = Color3.new(255/255,0/0,0/0)
- textlabel.Draggable = true
- textlabel.Font = "ArialBold"
- textlabel.FontSize = "Size14"
- textlabel.Position = UDim2.new(0,129,0,7)
- textlabel.Size = UDim2.new(0.65,0,0.05,0)
- textlabel.Text = "Enter your script nigga"
- textlabel.TextColor3 = Color3.new(255/255,255/255,255/255)
- local textbox = Instance.new("TextBox")
- textbox.Parent = textlabel
- textbox.BackgroundColor = BrickColor.new("Really black")
- textbox.BackgroundTransparency = 0.3
- textbox.Position = UDim2.new(0,0,1,0)
- textbox.Size = UDim2.new(1,0,9,0)
- textbox.Text = ""
- textbox.TextColor3 = Color3.new(255/255,255/255,255/255)
- textbox.TextXAlignment = "Left"
- textbox.TextYAlignment = "Top"
- textbox.BorderColor3 = Color3.new(255/255,0/0,0/0)
- textbox.FontSize = "Size11"
- textbox.ClearTextOnFocus = false
- textbox.Draggable = false
- textbox.MultiLine = true
- textbox.TextWrap = true
- local textbutton = Instance.new("TextButton")
- textbutton.Parent = textbox
- textbutton.BackgroundColor = BrickColor.new("Really black")
- textbutton.Font = "ArialBold"
- textbutton.FontSize = "Size14"
- textbutton.Position = UDim2.new(0,0,1,0)
- textbutton.Size = UDim2.new(1,0,0.1,0)
- textbutton.TextColor3 = Color3.new(255/255,255/255,255/255)
- textbutton.BorderColor3 = Color3.new(255/255,0/0,0/0)
- textbutton.Text = "Execute script"
- textbutton.MouseButton1Down:connect(function()
- pcall(function()
- loadstring(textbox.Text)()
- end)
- end)
- else
- game:GetService("CoreGui").CommandBar:Remove()
- end
- end
Add Comment
Please, Sign In to add comment