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 Title = Instance.new("TextLabel")
- local PlayerTarget = Instance.new("TextBox")
- local Kill = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.StarterGui
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.Position = UDim2.new(0.56222415, 0, 0.163779527, 0)
- Frame.Size = UDim2.new(0, 251, 0, 239)
- Frame.Draggable = true
- Frame.Active = true
- Frame.Selectable = true
- Title.Name = "Title"
- Title.Parent = Frame
- Title.BackgroundColor3 = Color3.new(1, 1, 1)
- Title.Size = UDim2.new(0, 251, 0, 50)
- Title.Font = Enum.Font.SourceSans
- Title.Text = "FE Kill Gui"
- Title.TextColor3 = Color3.new(0, 0, 0)
- Title.TextSize = 30
- PlayerTarget.Name = "PlayerTarget"
- PlayerTarget.Parent = Frame
- PlayerTarget.BackgroundColor3 = Color3.new(1, 1, 1)
- PlayerTarget.Position = UDim2.new(0.0239043832, 0, 0.280334741, 0)
- PlayerTarget.Selectable = false
- PlayerTarget.Size = UDim2.new(0, 239, 0, 50)
- PlayerTarget.Font = Enum.Font.SourceSans
- PlayerTarget.Text = "PlrName Here"
- PlayerTarget.TextColor3 = Color3.new(0, 0, 0)
- PlayerTarget.TextSize = 20
- Kill.Name = "Kill"
- Kill.Parent = Frame
- Kill.BackgroundColor3 = Color3.new(1, 1, 1)
- Kill.Position = UDim2.new(0.0239043832, 0, 0.594142258, 0)
- Kill.Selectable = false
- Kill.Size = UDim2.new(0, 239, 0, 50)
- Kill.Font = Enum.Font.SourceSans
- Kill.Text = "Kill"
- Kill.TextColor3 = Color3.new(0, 0, 0)
- Kill.TextSize = 20
- Kill.MouseButton1Click:connect(function()
- local target = game.Players:FindFirstChild(PlayerTarget.Text)
- target:Move(Vector3.new(math.huge,math.huge,math.huge))
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement