Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  1. -- Objects
  2.  
  3. local DrownGUI = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Exe = Instance.new("TextButton")
  6. local Name = Instance.new("TextBox")
  7. local BounceFrame = Instance.new("Frame")
  8. local Cre = Instance.new("TextLabel")
  9.  
  10. -- Properties
  11.  
  12. DrownGUI.Name = "DrownGUI"
  13. DrownGUI.Parent = game.StarterGui
  14.  
  15. Frame.Parent = DrownGUI
  16. Frame.BackgroundColor3 = Color3.new(0.490196, 0.631373, 0.937255)
  17. Frame.BorderSizePixel = 0
  18. Frame.Position = UDim2.new(0.0162037034, 0, 0.030927835, 0)
  19. Frame.Size = UDim2.new(0, 277, 0, 384)
  20.  
  21. Exe.Name = "Exe"
  22. Exe.Parent = Frame
  23. Exe.BackgroundColor3 = Color3.new(0.411765, 0.533333, 0.792157)
  24. Exe.BorderSizePixel = 0
  25. Exe.Position = UDim2.new(0, 0, 0.221354172, 0)
  26. Exe.Size = UDim2.new(0, 277, 0, 50)
  27. Exe.Font = Enum.Font.SciFi
  28. Exe.Text = "Drown"
  29. Exe.TextSize = 14
  30.  
  31. Name.Name = "Name"
  32. Name.Parent = Frame
  33. Name.BackgroundColor3 = Color3.new(0.411765, 0.533333, 0.792157)
  34. Name.BorderSizePixel = 0
  35. Name.Size = UDim2.new(0, 277, 0, 55)
  36. Name.Font = Enum.Font.SciFi
  37. Name.Text = "Player Name"
  38. Name.TextSize = 14
  39.  
  40. BounceFrame.Name = "BounceFrame"
  41. BounceFrame.Parent = Frame
  42. BounceFrame.BackgroundColor3 = Color3.new(1, 1, 1)
  43. BounceFrame.BackgroundTransparency = 1
  44. BounceFrame.BorderSizePixel = 0
  45. BounceFrame.Position = UDim2.new(0, 0, 0.463541657, 0)
  46. BounceFrame.Size = UDim2.new(0, 277, 0, 61)
  47.  
  48. Cre.Name = "Cre"
  49. Cre.Parent = BounceFrame
  50. Cre.BackgroundColor3 = Color3.new(0.411765, 0.533333, 0.792157)
  51. Cre.BorderSizePixel = 0
  52. Cre.Position = UDim2.new(0, 0, 2.21311474, 0)
  53. Cre.Size = UDim2.new(0, 277, 0, 62)
  54. Cre.Font = Enum.Font.SourceSans
  55. Cre.Text = "Created By minecraftisawsome17"
  56. Cre.TextSize = 14
  57.  
  58. DrownGUI.Parent = game.Players.LocalPlayer.PlayerGui
  59.  
  60. Frame.Draggable = true
  61. Frame.Active = true
  62.  
  63. Exe.MouseButton1Click:connect(function()
  64. local f = Instance.new("Part")
  65. local rar = Name.Text
  66. local target = game.Workspace[rar]
  67. f.Parent = target
  68. f.Material = "Granite"
  69. f.Transparency = 0.15
  70. f.Anchored = true
  71. f.CanCollide = true
  72. f.BrickColor = BrickColor.new("Cyan")
  73. f.CanCollide = false
  74. f.Size = Vector3.new(15.39, 12.67, 12.85)
  75. f.Name = "DeadlyWater"
  76. while wait() do
  77. f.Position = Vector3.new(target.HumanoidRootPart.Position.X,target.HumanoidRootPart.Position.Y, target.HumanoidRootPart.Position.Z)
  78. target.Humanoid.Health = target.Humanoid.Health - 0.5
  79. end
  80. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement