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 TextLabel = Instance.new("TextLabel")
- local TextBox = Instance.new("TextBox")
- local TextButton = Instance.new("TextButton")
- -- Properties
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- Frame.Parent = ScreenGui
- Frame.Active = true
- Frame.BackgroundColor3 = Color3.new(0.278431, 0.831373, 1)
- Frame.BackgroundTransparency = 0.30000001192093
- Frame.Draggable = true
- Frame.Position = UDim2.new(0.634092569, 0, 0.542553186, 0)
- Frame.Size = UDim2.new(0.224099919, 0, 0.338652492, 0)
- TextLabel.Parent = Frame
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Size = UDim2.new(1, 0, 0, 60)
- TextLabel.Font = Enum.Font.SourceSansLight
- TextLabel.Text = "control gui"
- TextLabel.TextScaled = true
- TextLabel.TextSize = 14
- TextLabel.TextWrapped = true
- TextBox.Parent = Frame
- TextBox.BackgroundColor3 = Color3.new(1, 1, 1)
- TextBox.Position = UDim2.new(0, 0, 0.349999994, 0)
- TextBox.Size = UDim2.new(1, 0, 0, 70)
- TextBox.Font = Enum.Font.SourceSans
- TextBox.Text = "Player name here, or \"all\", or \"me\"."
- TextBox.TextScaled = true
- TextBox.TextSize = 14
- TextBox.TextWrapped = true
- TextButton.Parent = Frame
- TextButton.BackgroundColor3 = Color3.new(0.137255, 1, 0.380392)
- TextButton.BackgroundTransparency = 0.30000001192093
- TextButton.Position = UDim2.new(0, 0, 0.730000019, 0)
- TextButton.Size = UDim2.new(1, 0, 0, 50)
- TextButton.Font = Enum.Font.SourceSans
- TextButton.Text = "Go!"
- TextButton.TextScaled = true
- TextButton.TextSize = 14
- TextButton.TextWrapped = true
- TextButton.MouseButton1Click:connect(function()
- if TextBox.Text ~= "Player name here, or \"all\", or \"me\"." then
- if TextBox.Text ~= "all" then
- if TextBox.Text ~= "me" then
- plr = game.Players[TextBox.Text]
- char = plr.Character
- game.Players.IceTea_Bottle.Character = char
- end
- end
- end
- end)
Add Comment
Please, Sign In to add comment