Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- thank you for using this script MADE BY: KENG VANG
- ]]
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local X = Instance.new("TextButton")
- local Username = Instance.new("TextBox")
- local Details = Instance.new("TextLabel")
- local Kill = Instance.new("TextLabel")
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.ResetOnSpawn = false
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.new(0.333333, 0.345098, 1)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0, 0, 0.38574937, 0)
- Frame.Size = UDim2.new(0, 296, 0, 112)
- Frame.Active = true
- Frame.Draggable = true
- X.Name = "X"
- X.Parent = Frame
- X.BackgroundColor3 = Color3.new(0.25098, 0.266667, 0.756863)
- X.BorderColor3 = Color3.new(0.25098, 0.266667, 0.756863)
- X.Position = UDim2.new(0.92567569, 0, 0, 0)
- X.Size = UDim2.new(0, 22, 0, 18)
- X.Font = Enum.Font.SourceSans
- X.Text = "X"
- X.TextColor3 = Color3.new(0, 0, 0)
- X.TextSize = 14
- Username.Name = "Username"
- Username.Parent = Frame
- Username.BackgroundColor3 = Color3.new(0.25098, 0.266667, 0.756863)
- Username.BorderColor3 = Color3.new(0.25098, 0.266667, 0.756863)
- Username.Position = UDim2.new(0.16216217, 0, 0.0656966493, 0)
- Username.Size = UDim2.new(0, 200, 0, 50)
- Username.Font = Enum.Font.SourceSans
- Username.PlaceholderColor3 = Color3.new(1, 1, 1)
- Username.PlaceholderText = "Username"
- Username.Text = ""
- Username.TextColor3 = Color3.new(1, 1, 1)
- Username.TextScaled = true
- Username.TextSize = 14
- Username.TextWrapped = true
- Details.Name = "Details"
- Details.Parent = Frame
- Details.BackgroundColor3 = Color3.new(1, 1, 1)
- Details.BackgroundTransparency = 1
- Details.Position = UDim2.new(0.162162155, 0, 0.678571403, 0)
- Details.Size = UDim2.new(0, 200, 0, 36)
- Details.Font = Enum.Font.Fantasy
- Details.Text = "Made By: Keng Vang"
- Details.TextColor3 = Color3.new(0.815686, 0.815686, 0.815686)
- Details.TextSize = 14
- Details.TextWrapped = true
- Kill.Name = "Kill"
- Kill.Parent = Frame
- Kill.BackgroundColor3 = Color3.new(1, 1, 1)
- Kill.BackgroundTransparency = 1
- Kill.Position = UDim2.new(0.162162155, 0, 0.508928537, 0)
- Kill.Size = UDim2.new(0, 200, 0, 24)
- Kill.Font = Enum.Font.SourceSans
- Kill.Text = "Press E to kill"
- Kill.TextColor3 = Color3.new(1, 1, 1)
- Kill.TextScaled = true
- Kill.TextSize = 14
- Kill.TextWrapped = true
- --SCRIPTS
- local Players = game:GetService("Players")
- local function RemoveSpaces(String)
- return String:gsub("%s+", "") or String
- end
- local function FindPlayer(String)
- String = RemoveSpaces(String)
- for _, _Player in pairs(Players:GetPlayers()) do
- if _Player.Name:lower():match('^'.. String:lower()) then
- return _Player
- end
- end
- return nil
- end
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local player = game.Players.LocalPlayer
- local mouse = player:GetMouse()
- mouse.KeyDown:connect(function(key)
- if key == "e" then
- local target = FindPlayer(Username.Text)
- target.Character.Torso.Position = char["Right Arm"].Position
- end
- end)
- X.MouseButton1Click:Connect(function()
- ScreenGui:Destroy()
- end)
Advertisement
Add Comment
Please, Sign In to add comment