Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local localplayer = game.Players:findFirstChild("docrobloxman52")
- local char = localplayer.Character char.Humanoid.MaxHealth = math.huge
- local pg = localplayer.PlayerGui
- gui = Instance.new('ScreenGui',pg)
- m = Instance.new('TextButton',gui)
- m.BorderSizePixel = 0
- m.Draggable = true
- m.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
- m.Size = UDim2.new(0,400,0,20)
- m.Text = ''
- m.Position = UDim2.new(0,200,0,300)
- main = Instance.new('Frame',m)
- main.Draggable = true
- main.Size = UDim2.new(0,400,0,200)
- main.Position = UDim2.new(0,0,0,20)
- main.BorderSizePixel = 0
- gui.Name = 'gui'
- txt = Instance.new('TextBox',main)
- txt.Size = UDim2.new(0, 300,0, 50)
- txt.TextColor3 = Color3.new(1,1,1)
- txt.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
- txt.BorderSizePixel = 0
- txt.Font = Enum.Font.Code
- txt.FontSize = Enum.FontSize.Size24
- txt.TextWrapped = true
- txt.Text = 'Enter Code'
- txt.ClearTextOnFocus = true
- txt.Position = UDim2.new(0,20,0,70)
- btt = Instance.new('TextButton',main)
- btt.Size = UDim2.new(0,50,0,50)
- btt.Position = UDim2.new(0,335,0,70)
- btt.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
- btt.TextColor3 = Color3.new(1,1,1)
- btt.Text = 'Enter'
- btt.BorderSizePixel = 0
- --[[ Customization ]]--
- local c = Instance.new('ScreenGui',pg)
- c.Name = 'Customization Gui'
- local b = Instance.new('TextButton',c)
- b.Size = UDim2.new(0,200,0,20)
- b.Position = UDim2.new(0,200,0,200)
- b.Size = UDim2.new(0,300,0,300)
- b.Position = UDim2.new(0,400,0,400)
- b.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
- b.BorderSizePixel = 0
- b.Position = UDim2.new(0,200,0,0)
- b.Size = UDim2.new(0,20,0,20)
- b.Text = '+'
- b.TextSize = 23
- local b1 = Instance.new('TextButton',b)
- b1.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
- b1.BorderSizePixel = 0
- b1.Position = UDim2.new(0,-105,0,175)
- b1.Size = UDim2.new(0,300,0,20)
- b1.Text = ' '
- b1.Visible = false
- b1.Draggable = true
- local f = Instance.new('Frame', b1)
- f.Name = 'Main Frame'
- f.BackgroundColor3 = Color3.new(163/255, 162/255, 165/255)
- f.BorderSizePixel = 0
- f.Position = UDim2.new(0,0,0,20)
- f.Size = UDim2.new(0,300,0,300)
- local t = Instance.new('TextLabel',c)
- t.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
- t.BorderSizePixel = 0
- t.Position = UDim2.new(0,0,0,0)
- t.Size = UDim2.new(0,200,0,20)
- t.Font = Enum.Font.Code
- t.Text = 'Customization'
- t.TextSize = 20
- local color = Instance.new("TextButton",f)
- color.Name = "Color"
- color.BackgroundColor3 = Color3.new(163/255,162/255,165/255)
- color.BorderColor3 = Color3.new(0,0,0)
- color.BorderSizePixel = 1
- color.Position = UDim2.new(0,120,0,200)
- color.Size = UDim2.new(0,50,0,20)
- color.Font = Enum.Font.Legacy
- color.TextSize = 8
- color.Text = "Set color"
- b.MouseButton1Click:connect(function()
- b1.Visible = not b1.Visible
- if b1.Visible == true then
- b.Text = '-'
- else
- b.Text = '+'
- end
- end)
- --Colors--
- -- red orange yellow green blue pink purple black white
- local r = Instance.new('TextButton',f)
- r.Name = 'Red'
- r.Text = ' '
- r.BackgroundColor3 = Color3.new(1,0,0)
- r.BorderSizePixel = 0
- r.Size = UDim2.new(0,50,0,50)
- r.Position = UDim2.new(0,20,0,20)
- r.MouseButton1Click:connect(function()
- main.BackgroundColor3 = Color3.new(1,0,0)
- txt.TextColor3 = Color3.new(1,0,0)
- btt.TextColor3 = Color3.new(1,0,0)
- txt.TextStrokeTransparency = 1
- btt.TextStrokeTransparency = 1
- end)
- local g = Instance.new('TextButton',f)
- g.Name = 'Green'
- g.Text = ' '
- g.BackgroundColor3 = Color3.new(0,1,0)
- g.BorderSizePixel = 0
- g.Size = UDim2.new(0,50,0,50)
- g.Position = UDim2.new(0,120,0,20)
- g.MouseButton1Click:connect(function()
- main.BackgroundColor3 = Color3.new(0,1,0)
- txt.TextColor3 = Color3.new(0,1,0)
- btt.TextColor3 = Color3.new(0,1,0)
- txt.TextStrokeTransparency = .9
- btt.TextStrokeTransparency = .9
- end)
- local b = Instance.new('TextButton',f)
- b.Name = 'Blue'
- b.Text = ' '
- b.BackgroundColor3 = Color3.new(0,0,1)
- b.BorderSizePixel = 0
- b.Size = UDim2.new(0,50,0,50)
- b.Position = UDim2.new(0,220,0,20)
- b.MouseButton1Click:connect(function()
- main.BackgroundColor3 = Color3.new(0,0,1)
- txt.TextColor3 = Color3.new(0,0,1)
- btt.TextColor3 = Color3.new(0,0,1)
- txt.TextStrokeTransparency = 1
- btt.TextStrokeTransparency = 1
- end)
- local mainFrame = Instance.new('Frame',f)
- mainFrame.Name = "main frame"
- local red = Instance.new('TextBox',mainFrame)
- red.Size = UDim2.new(0,50,0,20)
- red.Position = UDim2.new(0,20,0,250)
- red.Text = '255'
- red.TextWrapped = true
- local tr = Instance.new('TextLabel',red)
- tr.BackgroundTransparency = 1
- tr.Size = UDim2.new(0,50,0,20)
- tr.Position = UDim2.new(0,0,0,-20)
- tr.Text = "Red"
- local green = Instance.new('TextBox',mainFrame)
- green.Size = UDim2.new(0,50,0,20)
- green.Position = UDim2.new(0,120,0,250)
- green.Text = '255'
- green.TextWrapped = true
- local tg = Instance.new('TextLabel',green)
- tg.BackgroundTransparency = 1
- tg.Size = UDim2.new(0,50,0,20)
- tg.Position = UDim2.new(0,0,0,-20)
- tg.Text = "Green"
- local blue = Instance.new('TextBox',mainFrame)
- blue.Size = UDim2.new(0,50,0,20)
- blue.Position = UDim2.new(0,220,0,250)
- blue.Text = '255'
- blue.TextWrapped = true
- local tb = Instance.new('TextLabel',blue)
- tb.BackgroundTransparency = 1
- tb.Size = UDim2.new(0,50,0,20)
- tb.Position = UDim2.new(0,0,0,-20)
- tb.Text = "Blue"
- color.MouseButton1Click:connect(function()
- main.BackgroundColor3 = Color3.new(red.Text/255,green.Text/255,blue.Text/255)
- txt.TextColor3 = Color3.new(red.Text/255,green.Text/255,blue.Text/255)
- btt.TextColor3 = Color3.new(red.Text/255,green.Text/255,blue.Text/255)
- txt.TextStrokeTransparency = 1
- btt.TextStrokeTransparency = 1
- end)
- local button = Instance.new("TextButton",main)
- button.Text = "Clear feed"
- button.TextWrapped = true
- button.Font = Enum.Font.Code
- button.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
- button.BorderSizePixel = 0
- button.Position = UDim2.new(0,270,0,120)
- button.Size = UDim2.new(0,50,0,50)
- button.TextSize = 14
- local folder = Instance.new("Folder",main)
- --[[ Functions --]]
- button.MouseButton1Click:connect(function()
- for i,v in pairs(folder:GetChildren()) do
- if v:IsA("TextLabel") then
- v:Destroy()
- end
- end
- end)
- function feed(player,action)
- local feeds = {}
- local twenty = 20
- local f = 120
- local p = Instance.new("TextLabel",folder)
- p.Size = UDim2.new(0,200,0,20)
- p.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
- p.BorderSizePixel = 0
- p.Position = UDim2.new(0,70,0,100)
- p.Text = "You "..action.."ed "..player
- p.Font = Enum.Font.Code
- p.TextSize = 15
- for i,v in pairs(folder:GetChildren()) do
- v.Position = UDim2.new(0,70,0,v.Position.Y.Offset+20)
- table.insert(feeds,v.Position)
- end
- for i,v in pairs(folder:GetChildren()) do
- if v:IsA("TextLabel") then
- if v.Position.Y.Offset > 180 then
- table.remove(feeds,1)
- v:Destroy()
- end
- end
- end
- end
- function text(i)
- return txt.Text:lower():sub(1,i)
- end
- function name(n)
- return txt.Text:lower():sub(n)
- end
- function player(name)
- local n = string.len(name)
- if name:lower() == "me" then
- return localplayer
- elseif name:lower() == "all" then
- for _,v in ipairs(game.Players:GetPlayers()) do
- return v
- end
- elseif name:lower() == "others" then
- for _,v in ipairs(game.Players:GetPlayers()) do
- if v.Name ~= localplayer then
- return v
- end
- end
- end
- for i,v in ipairs(game.Players:GetPlayers()) do
- if v.Name:lower():sub(1,n) == name:lower() then
- return v
- end
- end
- end
- btt.MouseButton1Click:connect(function()
- if text(5) == 'kill ' then
- local i = player(name(6))
- i.Heath -= i.Health
- feed(name(6),"kill")
- end
- if text(11) == 'nohumanoid ' then
- local i = player(name(12))
- if i and i.Character then
- i.Character.Humanoid:Destroy()
- feed(name(12),"nohumanoid")
- end
- end
- if text(9) == 'platform ' then
- local i = player(name(10))
- if i then
- local p = Instance.new('Part',workspace)
- p.Size = Vector3.new(6, 1, 7)
- p.Position = Vector3.new(4, 100, -25.5)
- p.Anchored = true
- i.Character.HumanoidRootPart.CFrame = CFrame.new(4, 125, -25.5)
- feed(name(10),"platform")
- end
- end
- if text(4) == "exit" or text(4) == "quit" then
- m:Destroy()
- c:Destroy()
- gui:Destroy()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement