Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game.Players:FindFirstChild("asbuff")
- local p = game.Players.asbuff
- local c = p.Character
- local gui = Instance.new("ScreenGui",p.PlayerGui)
- local fra = Instance.new("Frame")
- fra.Size = UDim2.new(1,0,1,0)
- fra.Position = UDim2.new(0,0,.1,0)
- fra.Parent = gui
- fra.BackgroundTransparency = 1
- local txt = Instance.new("TextBox")
- txt.Size = UDim2.new(1,0,1,0)
- txt.BackgroundColor3 = Color3.new()
- txt.BackgroundTransparency = .1
- txt.TextXAlignment = "Left"
- txt.TextYAlignment = "Top"
- txt.MultiLine = true
- txt.ClearTextOnFocus = false
- txt.TextWrapped = true
- txt.Parent = fra
- txt.TextColor3 = Color3.fromRGB(0,255,0)
- txt.Font = "Code"
- txt.FontSize = Enum.FontSize.Size10
- txt.Text = ""
- local button = Instance.new("TextButton")
- button.Position = UDim2.new(.9,0,0,0)
- button.Size = UDim2.new(.1,0,.1,0)
- button.Text = "Go"
- button.Parent = gui
- local closebutton = Instance.new("TextButton")
- closebutton.Position = UDim2.new(0,0,0,0)
- closebutton.Size = UDim2.new(.1,0,.1,0)
- closebutton.Text = "Toggle"
- closebutton.Parent = gui
- local m = p:GetMouse()
- function send(msg)
- --print(msg)
- loadstring(msg)()
- end
- button.MouseButton1Down:connect(function()
- delay(0,function()
- send(txt.Text)
- end)
- end)
- local close = false
- closebutton.MouseButton1Down:connect(function()
- if close then
- fra.Visible = true
- close = false
- else
- fra.Visible = false
- close = true
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement