Advertisement
erfecdwxsthgevfcd

Untitled

Jan 20th, 2020
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.1
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local Frame = Instance.new("Frame")
  8. local TextButton = Instance.new("TextButton")
  9.  
  10. --Properties:
  11.  
  12. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  13.  
  14. Frame.Parent = ScreenGui
  15. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  16. Frame.Position = UDim2.new(0.109653234, 0, 0.185958251, 0)
  17. Frame.Size = UDim2.new(0, 196, 0, 204)
  18.  
  19. TextButton.Parent = Frame
  20. TextButton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  21. TextButton.Position = UDim2.new(0.190458655, 0, 0.336970299, 0)
  22. TextButton.Size = UDim2.new(0, 101, 0, 50)
  23. TextButton.Font = Enum.Font.SourceSans
  24. TextButton.Text = "KILL ALL"
  25. TextButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  26. TextButton.TextSize = 14.000
  27.  
  28. -- Scripts:
  29.  
  30. local function UOXDFA_fake_script() -- TextButton.KillScript
  31. local script = Instance.new('Script', TextButton)
  32.  
  33. script.Parent.MouseButton1Click:connect(function()
  34. wait(0)
  35. for i, player in ipairs(game.Players:GetPlayers()) do
  36. if player.Character then
  37. local hum = player.Character:FindFirstChild('Humanoid')
  38. if hum then
  39. hum.Health = 0
  40. end
  41. end
  42. end
  43.  
  44. end
  45. coroutine.wrap(UOXDFA_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement