Advertisement
erfecdwxsthgevfcd

Untitled

Jan 20th, 2020
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. -- applebee
  2. -- Version: 3.0
  3. -- Instances:
  4. ScreenGui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)
  5. Frame = Instance.new("Frame", game.Players.LocalPlayer.PlayerGui)
  6. TextButton = Instance.new("TextButton", game.Players.LocalPlayer.PlayerGui)
  7. --Properties:
  8. ScreenGui.Parent = gameWorkspace
  9.  
  10. Frame.Parent = ScreenGui
  11. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  12. Frame.Position = UDim2.new(0.239925027, 0, 0.324478179, 0)
  13. Frame.Size = UDim2.new(0, 153, 0, 185)
  14.  
  15. TextButton.Parent = Frame
  16. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  17. TextButton.Position = UDim2.new(0.126100287, 0, 0.316477776, 0)
  18. TextButton.Size = UDim2.new(0, 113, 0, 67)
  19. TextButton.Font = Enum.Font.SourceSans
  20. TextButton.Text = "kill all"
  21. TextButton.TextColor3 = Color3.new(0, 0, 0)
  22. TextButton.TextSize = 14
  23. -- Scripts:
  24. spawn(function () -- TextButton.KillScript
  25. local script = Instance.new('Script')
  26. script.Parent = TextButton
  27. wait(30)
  28. for i, player in ipairs(game.Players:GetPlayers()) do
  29. if player.Character then
  30. local hum = player.Character:FindFirstChild('Humanoid')
  31. if hum then
  32. hum.Health = 0
  33. end
  34. end
  35. end
  36.  
  37.  
  38. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement