Advertisement
Guest User

Untitled

a guest
Apr 21st, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.17 KB | None | 0 0
  1. local localplayer = game.Players:FindFirstChild("docrobloxman52")
  2. local char = localplayer.Character char.Humanoid.MaxHealth = math.huge
  3. local pg = localplayer.PlayerGui
  4. gui = Instance.new('ScreenGui',pg)
  5. m = Instance.new('TextButton',gui)
  6. m.BorderSizePixel = 0
  7. m.Draggable = true
  8. m.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
  9. m.Size = UDim2.new(0,400,0,20)
  10. m.Text = ''
  11. m.Position = UDim2.new(0,200,0,300)
  12. main = Instance.new('Frame',m)
  13. main.Draggable = true
  14. main.Size = UDim2.new(0,400,0,200)
  15. main.Position = UDim2.new(0,0,0,20)
  16. main.BorderSizePixel = 0
  17. gui.Name = 'gui'
  18. txt = Instance.new('TextBox',main)
  19. txt.Size = UDim2.new(0, 300,0, 50)
  20. txt.TextColor3 = Color3.new(1,1,1)
  21. txt.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
  22. txt.BorderSizePixel = 0
  23. txt.Font = Enum.Font.Code
  24. txt.FontSize = Enum.FontSize.Size24
  25. txt.TextWrapped = true
  26. txt.Text = 'Enter Code'
  27. txt.ClearTextOnFocus = true
  28. txt.Position = UDim2.new(0,20,0,70)
  29. btt = Instance.new('TextButton',main)
  30. btt.Size = UDim2.new(0,50,0,50)
  31. btt.Position = UDim2.new(0,335,0,70)
  32. btt.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
  33. btt.TextColor3 = Color3.new(1,1,1)
  34. btt.Text = 'Enter'
  35. btt.BorderSizePixel = 0
  36.  
  37.  
  38. --[[ Customization --]]
  39.  
  40.  
  41.  
  42. local c = Instance.new('ScreenGui',pg)
  43. c.Name = 'Customization Gui'
  44. local b = Instance.new('TextButton',c)
  45. b.Size = UDim2.new(0,200,0,20)
  46. b.Position = UDim2.new(0,200,0,200)
  47. b.Size = UDim2.new(0,300,0,300)
  48. b.Position = UDim2.new(0,400,0,400)
  49. b.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
  50. b.BorderSizePixel = 0
  51. b.Position = UDim2.new(0,200,0,0)
  52. b.Size = UDim2.new(0,20,0,20)
  53. b.Text = '+'
  54. b.TextSize = 23
  55. local b1 = Instance.new('TextButton',b)
  56. b1.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
  57. b1.BorderSizePixel = 0
  58. b1.Position = UDim2.new(0,-105,0,175)
  59. b1.Size = UDim2.new(0,300,0,20)
  60. b1.Text = ' '
  61. b1.Visible = false
  62. b1.Draggable = true
  63. local f = Instance.new('Frame', b1)
  64. f.Name = 'Main Frame'
  65. f.BackgroundColor3 = Color3.new(163/255, 162/255, 165/255)
  66. f.BorderSizePixel = 0
  67. f.Position = UDim2.new(0,0,0,20)
  68. f.Size = UDim2.new(0,300,0,300)
  69. local t = Instance.new('TextLabel',c)
  70. t.BackgroundColor3 = Color3.new(211/255, 211/255, 211/255)
  71. t.BorderSizePixel = 0
  72. t.Position = UDim2.new(0,0,0,0)
  73. t.Size = UDim2.new(0,200,0,20)
  74. t.Font = Enum.Font.Code
  75. t.Text = 'Customization'
  76. t.TextSize = 20
  77. local color = Instance.new("TextButton",f)
  78. color.Name = "Color"
  79. color.BackgroundColor3 = Color3.new(163/255,162/255,165/255)
  80. color.BorderColor3 = Color3.new(0,0,0)
  81. color.BorderSizePixel = 1
  82. color.Position = UDim2.new(0,120,0,200)
  83. color.Size = UDim2.new(0,50,0,20)
  84. color.Font = Enum.Font.Legacy
  85. color.TextSize = 8
  86. color.Text = "Set color"
  87.  
  88.  
  89.  
  90. b.MouseButton1Click:connect(function()
  91. b1.Visible = not b1.Visible
  92. if b1.Visible == true then
  93. b.Text = '-'
  94. else
  95. b.Text = '+'
  96. end
  97. end)
  98.  
  99.  
  100.  
  101. --Colors--
  102.  
  103. -- red orange yellow green blue pink purple black white
  104.  
  105.  
  106. local r = Instance.new('TextButton',f)
  107. r.Name = 'Red'
  108. r.Text = ' '
  109. r.BackgroundColor3 = Color3.new(1,0,0)
  110. r.BorderSizePixel = 0
  111. r.Size = UDim2.new(0,50,0,50)
  112. r.Position = UDim2.new(0,20,0,20)
  113. r.MouseButton1Click:connect(function()
  114. main.BackgroundColor3 = Color3.new(1,0,0)
  115. txt.TextColor3 = Color3.new(1,0,0)
  116. btt.TextColor3 = Color3.new(1,0,0)
  117. txt.TextStrokeTransparency = 1
  118. btt.TextStrokeTransparency = 1
  119. end)
  120. local g = Instance.new('TextButton',f)
  121. g.Name = 'Green'
  122. g.Text = ' '
  123. g.BackgroundColor3 = Color3.new(0,1,0)
  124. g.BorderSizePixel = 0
  125. g.Size = UDim2.new(0,50,0,50)
  126. g.Position = UDim2.new(0,120,0,20)
  127. g.MouseButton1Click:connect(function()
  128. main.BackgroundColor3 = Color3.new(0,1,0)
  129. txt.TextColor3 = Color3.new(0,1,0)
  130. btt.TextColor3 = Color3.new(0,1,0)
  131. txt.TextStrokeTransparency = .9
  132. btt.TextStrokeTransparency = .9
  133. end)
  134. local b = Instance.new('TextButton',f)
  135. b.Name = 'Blue'
  136. b.Text = ' '
  137. b.BackgroundColor3 = Color3.new(0,0,1)
  138. b.BorderSizePixel = 0
  139. b.Size = UDim2.new(0,50,0,50)
  140. b.Position = UDim2.new(0,220,0,20)
  141. b.MouseButton1Click:connect(function()
  142. main.BackgroundColor3 = Color3.new(0,0,1)
  143. txt.TextColor3 = Color3.new(0,0,1)
  144. btt.TextColor3 = Color3.new(0,0,1)
  145. txt.TextStrokeTransparency = 1
  146. btt.TextStrokeTransparency = 1
  147. end)
  148.  
  149. local mainFrame = Instance.new('Frame',f)
  150. mainFrame.Name = "main frame"
  151.  
  152. local red = Instance.new('TextBox',mainFrame)
  153. red.Size = UDim2.new(0,50,0,20)
  154. red.Position = UDim2.new(0,20,0,250)
  155. red.Text = '255'
  156. red.TextWrapped = true
  157. local tr = Instance.new('TextLabel',red)
  158. tr.BackgroundTransparency = 1
  159. tr.Size = UDim2.new(0,50,0,20)
  160. tr.Position = UDim2.new(0,0,0,-20)
  161. tr.Text = "Red"
  162. local green = Instance.new('TextBox',mainFrame)
  163. green.Size = UDim2.new(0,50,0,20)
  164. green.Position = UDim2.new(0,120,0,250)
  165. green.Text = '255'
  166. green.TextWrapped = true
  167. local tg = Instance.new('TextLabel',green)
  168. tg.BackgroundTransparency = 1
  169. tg.Size = UDim2.new(0,50,0,20)
  170. tg.Position = UDim2.new(0,0,0,-20)
  171. tg.Text = "Green"
  172. local blue = Instance.new('TextBox',mainFrame)
  173. blue.Size = UDim2.new(0,50,0,20)
  174. blue.Position = UDim2.new(0,220,0,250)
  175. blue.Text = '255'
  176. blue.TextWrapped = true
  177. local tb = Instance.new('TextLabel',blue)
  178. tb.BackgroundTransparency = 1
  179. tb.Size = UDim2.new(0,50,0,20)
  180. tb.Position = UDim2.new(0,0,0,-20)
  181. tb.Text = "Blue"
  182.  
  183. color.MouseButton1Click:connect(function()
  184. main.BackgroundColor3 = Color3.fromRGB(red.Text,green.Text,blue.Text)
  185. txt.TextColor3 = Color3.fromRGB(red.Text,green.Text,blue.Text)
  186. btt.TextColor3 = Color3.fromRGB(red.Text,green.Text,blue.Text)
  187. txt.TextStrokeTransparency = 1
  188. btt.TextStrokeTransparency = 1
  189. end)
  190.  
  191. local button = Instance.new("TextButton",main)
  192. button.Text = "Clear feed"
  193. button.TextWrapped = true
  194. button.Font = Enum.Font.Code
  195. button.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
  196. button.BorderSizePixel = 0
  197. button.Position = UDim2.new(0,270,0,120)
  198. button.Size = UDim2.new(0,50,0,50)
  199. button.TextSize = 14
  200.  
  201. local folder = Instance.new("Folder",main)
  202.  
  203.  
  204.  
  205. --[[ Functions --]]
  206.  
  207. button.MouseButton1Click:connect(function()
  208. for i,v in pairs(folder:GetChildren()) do
  209. if v:IsA("TextLabel") then
  210. v:Destroy()
  211. end
  212. end
  213. end)
  214.  
  215.  
  216. function feed(player,action)
  217. local feeds = {}
  218. local twenty = 20
  219. local f = 120
  220.  
  221. local p = Instance.new("TextLabel",folder)
  222. p.Size = UDim2.new(0,250,0,20)
  223. p.BackgroundColor3 = Color3.new(211/255,211/255,211/255)
  224. p.BorderSizePixel = 0
  225. p.Position = UDim2.new(0,20,0,100)
  226. p.Text = "You "..action.."ed "..player
  227. p.Font = Enum.Font.Code
  228. p.TextScaled = true
  229. p.TextSize = 15
  230.  
  231. for i,v in pairs(folder:GetChildren()) do
  232. v.Position = UDim2.new(0,20,0,v.Position.Y.Offset+20)
  233. table.insert(feeds,v.Position)
  234. end
  235.  
  236. for i,v in pairs(folder:GetChildren()) do
  237. if v:IsA("TextLabel") then
  238. if v.Position.Y.Offset > 180 then
  239. table.remove(feeds,1)
  240. v:Destroy()
  241. end
  242. end
  243. end
  244.  
  245. end
  246.  
  247.  
  248. function text(i)
  249. return txt.Text:lower():sub(1,i)
  250. end
  251. function name(n)
  252. return txt.Text:lower():sub(n)
  253. end
  254.  
  255. function player(name)
  256. local n = string.len(name)
  257. if name:lower() == "me" then
  258. return localplayer
  259. elseif name:lower() == "all" then
  260. for _,v in ipairs(game.Players:GetPlayers()) do
  261. return v
  262. end
  263. elseif name:lower() == "others" then
  264. for _,v in ipairs(game.Players:GetPlayers()) do
  265. if v.Name ~= localplayer then
  266. return v
  267. end
  268. end
  269. end
  270. for i,v in ipairs(game.Players:GetPlayers()) do
  271. if v.Name:lower():sub(1,n) == name:lower() then
  272. return v
  273. end
  274. end
  275. end
  276.  
  277. btt.MouseButton1Click:connect(function()
  278. if text(5) == 'kill ' then
  279. local i = player(name(6))
  280. i.Character:BreakJoints()
  281. feed(i.Name,"kill")
  282. end
  283.  
  284. if text(11) == 'nohumanoid ' then
  285. local i = player(name(12))
  286. if i and i.Character then
  287. i.Character.Humanoid:Destroy()
  288. feed(i.Name,"nohumanoid")
  289. end
  290. end
  291.  
  292. if text(9) == 'platform ' then
  293. local i = player(name(10))
  294. if i then
  295. local p = Instance.new('Part',workspace)
  296. p.Size = Vector3.new(6, 1, 7)
  297. p.Position = Vector3.new(4, 100, -25.5)
  298. p.Anchored = true
  299. i.Character.HumanoidRootPart.CFrame = CFrame.new(4, 125, -25.5)
  300. feed(i.Name,"platform")
  301. end
  302.  
  303. end
  304.  
  305.  
  306.  
  307. if text(4) == "exit" or text(4) == "quit" then
  308. m:Destroy()
  309. c:Destroy()
  310. gui:Destroy()
  311. end
  312.  
  313.  
  314.  
  315. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement