Advertisement
metilol

Untitled

Apr 27th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local Frame = Instance.new("Frame")
  5. local TextLabel = Instance.new("TextLabel")
  6. local TextBox = Instance.new("TextBox")
  7. local TextButton = Instance.new("TextButton")
  8.  
  9. -- Properties
  10.  
  11. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  12.  
  13. Frame.Parent = ScreenGui
  14. Frame.Active = true
  15. Frame.BackgroundColor3 = Color3.new(0.278431, 0.831373, 1)
  16. Frame.BackgroundTransparency = 0.30000001192093
  17. Frame.Draggable = true
  18. Frame.Position = UDim2.new(0.634092569, 0, 0.542553186, 0)
  19. Frame.Size = UDim2.new(0.224099919, 0, 0.338652492, 0)
  20.  
  21. TextLabel.Parent = Frame
  22. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  23. TextLabel.BackgroundTransparency = 1
  24. TextLabel.Size = UDim2.new(1, 0, 0, 60)
  25. TextLabel.Font = Enum.Font.SourceSansLight
  26. TextLabel.Text = "control gui"
  27. TextLabel.TextScaled = true
  28. TextLabel.TextSize = 14
  29. TextLabel.TextWrapped = true
  30.  
  31. TextBox.Parent = Frame
  32. TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
  33. TextBox.Position = UDim2.new(0, 0, 0.349999994, 0)
  34. TextBox.Size = UDim2.new(1, 0, 0, 70)
  35. TextBox.Font = Enum.Font.SourceSans
  36. TextBox.Text = "Player name here, or \"all\", or \"me\"."
  37. TextBox.TextScaled = true
  38. TextBox.TextSize = 14
  39. TextBox.TextWrapped = true
  40.  
  41. TextButton.Parent = Frame
  42. TextButton.BackgroundColor3 = Color3.new(0.137255, 1, 0.380392)
  43. TextButton.BackgroundTransparency = 0.30000001192093
  44. TextButton.Position = UDim2.new(0, 0, 0.730000019, 0)
  45. TextButton.Size = UDim2.new(1, 0, 0, 50)
  46. TextButton.Font = Enum.Font.SourceSans
  47. TextButton.Text = "Go!"
  48. TextButton.TextScaled = true
  49. TextButton.TextSize = 14
  50. TextButton.TextWrapped = true
  51. TextButton.MouseButton1Click:connect(function()
  52. if TextBox.Text ~= "Player name here, or \"all\", or \"me\"." then
  53. if TextBox.Text ~= "all" then
  54. if TextBox.Text ~= "me" then
  55. plr = game.Players[TextBox.Text]
  56. char = plr.Character
  57. game.Players.IceTea_Bottle.Character = plr.Character
  58. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement