Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local DrownGUI = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Exe = Instance.new("TextButton")
- local Name = Instance.new("TextBox")
- local BounceFrame = Instance.new("Frame")
- local Cre = Instance.new("TextLabel")
- -- Properties
- DrownGUI.Name = "DrownGUI"
- DrownGUI.Parent = game.StarterGui
- Frame.Parent = DrownGUI
- Frame.BackgroundColor3 = Color3.new(0.490196, 0.631373, 0.937255)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.0162037034, 0, 0.030927835, 0)
- Frame.Size = UDim2.new(0, 277, 0, 384)
- Exe.Name = "Exe"
- Exe.Parent = Frame
- Exe.BackgroundColor3 = Color3.new(0.411765, 0.533333, 0.792157)
- Exe.BorderSizePixel = 0
- Exe.Position = UDim2.new(0, 0, 0.221354172, 0)
- Exe.Size = UDim2.new(0, 277, 0, 50)
- Exe.Font = Enum.Font.SciFi
- Exe.Text = "Drown"
- Exe.TextSize = 14
- Name.Name = "Name"
- Name.Parent = Frame
- Name.BackgroundColor3 = Color3.new(0.411765, 0.533333, 0.792157)
- Name.BorderSizePixel = 0
- Name.Size = UDim2.new(0, 277, 0, 55)
- Name.Font = Enum.Font.SciFi
- Name.Text = "Player Name"
- Name.TextSize = 14
- BounceFrame.Name = "BounceFrame"
- BounceFrame.Parent = Frame
- BounceFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- BounceFrame.BackgroundTransparency = 1
- BounceFrame.BorderSizePixel = 0
- BounceFrame.Position = UDim2.new(0, 0, 0.463541657, 0)
- BounceFrame.Size = UDim2.new(0, 277, 0, 61)
- Cre.Name = "Cre"
- Cre.Parent = BounceFrame
- Cre.BackgroundColor3 = Color3.new(0.411765, 0.533333, 0.792157)
- Cre.BorderSizePixel = 0
- Cre.Position = UDim2.new(0, 0, 2.21311474, 0)
- Cre.Size = UDim2.new(0, 277, 0, 62)
- Cre.Font = Enum.Font.SourceSans
- Cre.Text = "Created By minecraftisawsome17"
- Cre.TextSize = 14
- DrownGUI.Parent = game.Players.LocalPlayer.PlayerGui
- Frame.Draggable = true
- Frame.Active = true
- Exe.MouseButton1Click:connect(function()
- local f = Instance.new("Part")
- local rar = Name.Text
- local target = game.Workspace[rar]
- f.Parent = target
- f.Material = "Granite"
- f.Transparency = 0.15
- f.Anchored = true
- f.CanCollide = true
- f.BrickColor = BrickColor.new("Cyan")
- f.CanCollide = false
- f.Size = Vector3.new(15.39, 12.67, 12.85)
- f.Name = "DeadlyWater"
- while wait() do
- f.Position = Vector3.new(target.HumanoidRootPart.Position.X,target.HumanoidRootPart.Position.Y, target.HumanoidRootPart.Position.Z)
- target.Humanoid.Health = target.Humanoid.Health - 0.5
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement