Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Objects
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local TextBox_2 = Instance.new("TextBox")
- local TextButton = Instance.new("TextButton")
- -- Properties
- if game.PlaceId == "843495510,843468296" then
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- ScreenGui.ResetOnSpawn = false
- else
- ScreenGui.Parent = game.CoreGui
- end
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 1
- Frame.Position = UDim2.new(0, 0, 0, 698)
- Frame.Size = UDim2.new(0, 100, 0, 100)
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(0, 0, 0)
- TextBox.BackgroundTransparency = 0.5
- TextBox.Size = UDim2.new(0, 100, 0, 24)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.FontSize = Enum.FontSize.Size14
- TextBox.Text = "Username"
- TextBox.TextColor3 = Color3.new(0, 1, 1)
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- TextBox_2.Parent = Frame
- TextBox_2.BackgroundColor3 = Color3.new(0, 0, 0)
- TextBox_2.BackgroundTransparency = 0.5
- TextBox_2.Position = UDim2.new(0, 0, 0, 26)
- TextBox_2.Size = UDim2.new(0, 100, 0, 24)
- TextBox_2.Font = Enum.Font.SourceSans
- TextBox_2.FontSize = Enum.FontSize.Size14
- TextBox_2.Text = "Name"
- TextBox_2.TextColor3 = Color3.new(0, 1, 1)
- TextBox_2.TextScaled = true
- TextBox_2.TextSize = 14
- TextBox_2.TextWrapped = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
- TextButton.BackgroundTransparency = 0.5
- TextButton.Position = UDim2.new(0, 0, 0, 76)
- TextButton.Size = UDim2.new(0, 100, 0, 24)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.FontSize = Enum.FontSize.Size14
- TextButton.Text = "Execute"
- TextButton.TextColor3 = Color3.new(0, 1, 1)
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Down:connect(function()
- local You = (TextBox.Text) local head = workspace[You].Head:Clone() local model = Instance.new("Model",workspace) local humanoid = Instance.new("Humanoid",model) head.Parent = model model.Name = (TextBox_2.Text) humanoid.MaxHealth = 0 local w = Instance.new("Weld",model) w.Part0,w.Part1 = workspace[You].Head,head
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement