Advertisement
Guest User

Roblox FE Kill Gui

a guest
Nov 24th, 2018
8,845
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local Title = Instance.new("TextLabel")
  6. local PlayerTarget = Instance.new("TextBox")
  7. local Kill = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.StarterGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  15. Frame.Position = UDim2.new(0.56222415, 0, 0.163779527, 0)
  16. Frame.Size = UDim2.new(0, 251, 0, 239)
  17. Frame.Draggable = true
  18. Frame.Active = true
  19. Frame.Selectable = true
  20.  
  21. Title.Name = "Title"
  22. Title.Parent = Frame
  23. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  24. Title.Size = UDim2.new(0, 251, 0, 50)
  25. Title.Font = Enum.Font.SourceSans
  26. Title.Text = "FE Kill Gui"
  27. Title.TextColor3 = Color3.new(0, 0, 0)
  28. Title.TextSize = 30
  29.  
  30. PlayerTarget.Name = "PlayerTarget"
  31. PlayerTarget.Parent = Frame
  32. PlayerTarget.BackgroundColor3 = Color3.new(1, 1, 1)
  33. PlayerTarget.Position = UDim2.new(0.0239043832, 0, 0.280334741, 0)
  34. PlayerTarget.Selectable = false
  35. PlayerTarget.Size = UDim2.new(0, 239, 0, 50)
  36. PlayerTarget.Font = Enum.Font.SourceSans
  37. PlayerTarget.Text = "PlrName Here"
  38. PlayerTarget.TextColor3 = Color3.new(0, 0, 0)
  39. PlayerTarget.TextSize = 20
  40.  
  41. Kill.Name = "Kill"
  42. Kill.Parent = Frame
  43. Kill.BackgroundColor3 = Color3.new(1, 1, 1)
  44. Kill.Position = UDim2.new(0.0239043832, 0, 0.594142258, 0)
  45. Kill.Selectable = false
  46. Kill.Size = UDim2.new(0, 239, 0, 50)
  47. Kill.Font = Enum.Font.SourceSans
  48. Kill.Text = "Kill"
  49. Kill.TextColor3 = Color3.new(0, 0, 0)
  50. Kill.TextSize = 20
  51.  
  52. Kill.MouseButton1Click:connect(function()
  53. local target = game.Players:FindFirstChild(PlayerTarget.Text)
  54. target:Move(Vector3.new(math.huge,math.huge,math.huge))
  55. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement