Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local KickGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local Cancel = Instance.new("TextButton")
- local Kick = Instance.new("TextButton")
- local Reason = Instance.new("TextBox")
- local Player = Instance.new("TextBox")
- local Open = Instance.new("TextButton")
- --Properties:
- KickGui.Name = "KickGui"
- KickGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Frame.Parent = KickGui
- Frame.BackgroundColor3 = Color3.fromRGB(48, 255, 210)
- Frame.Position = UDim2.new(0.339047641, 0, 0.285123974, 0)
- Frame.Size = UDim2.new(0, 530, 0, 311)
- Frame.Visible = false
- Cancel.Name = "Cancel"
- Cancel.Parent = Frame
- Cancel.BackgroundColor3 = Color3.fromRGB(32, 67, 255)
- Cancel.Position = UDim2.new(0.53396225, 0, 0.778135061, 0)
- Cancel.Size = UDim2.new(0, 200, 0, 50)
- Cancel.Font = Enum.Font.SourceSans
- Cancel.Text = "Cancel"
- Cancel.TextColor3 = Color3.fromRGB(113, 255, 19)
- Cancel.TextScaled = true
- Cancel.TextSize = 14.000
- Cancel.TextWrapped = true
- Kick.Name = "Kick"
- Kick.Parent = Frame
- Kick.BackgroundColor3 = Color3.fromRGB(32, 67, 255)
- Kick.Position = UDim2.new(0.0886792243, 0, 0.778135061, 0)
- Kick.Size = UDim2.new(0, 200, 0, 50)
- Kick.Font = Enum.Font.SourceSans
- Kick.Text = "Kick"
- Kick.TextColor3 = Color3.fromRGB(113, 255, 19)
- Kick.TextScaled = true
- Kick.TextSize = 14.000
- Kick.TextWrapped = true
- Reason.Name = "Reason"
- Reason.Parent = Frame
- Reason.BackgroundColor3 = Color3.fromRGB(196, 124, 255)
- Reason.Position = UDim2.new(0.179245278, 0, 0.305466235, 0)
- Reason.Size = UDim2.new(0, 340, 0, 133)
- Reason.Font = Enum.Font.SourceSans
- Reason.Text = "Reason"
- Reason.TextColor3 = Color3.fromRGB(19, 0, 255)
- Reason.TextSize = 23.000
- Reason.TextWrapped = true
- Reason.TextXAlignment = Enum.TextXAlignment.Left
- Reason.TextYAlignment = Enum.TextYAlignment.Top
- Player.Name = "Player"
- Player.Parent = Frame
- Player.BackgroundColor3 = Color3.fromRGB(34, 255, 44)
- Player.Position = UDim2.new(0.311320752, 0, 0.0771704167, 0)
- Player.Size = UDim2.new(0, 200, 0, 50)
- Player.Font = Enum.Font.SourceSans
- Player.Text = "Enter Username"
- Player.TextColor3 = Color3.fromRGB(252, 0, 99)
- Player.TextSize = 19.000
- Open.Name = "Open"
- Open.Parent = KickGui
- Open.BackgroundColor3 = Color3.fromRGB(55, 255, 95)
- Open.Position = UDim2.new(0, 0, 0.415977955, 0)
- Open.Size = UDim2.new(0, 200, 0, 50)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextColor3 = Color3.fromRGB(255, 255, 255)
- Open.TextScaled = true
- Open.TextSize = 14.000
- Open.TextWrapped = true
- -- Scripts:
- local function QVROBDG_fake_script() -- Frame.LocalScript
- local script = Instance.new('LocalScript', Frame)
- Frame = script.Parent
- Frame.Draggable = true
- Frame.Selectable = true
- Frame.Active = true
- end
- coroutine.wrap(QVROBDG_fake_script)()
- local function TPTBH_fake_script() -- KickGui.LocalScript
- local script = Instance.new('LocalScript', KickGui)
- script.Parent.Open.MouseButton1Click:Connect(function()
- script.Parent.Frame.Visible = true
- script.Parent.Open.Visible = true
- end)
- script.Parent.Frame.Cancel.MouseButton1Click:Connect(function()
- script.Parent.Frame.Visible = false
- script.Parent.Cancel.Visible = false
- end)
- script.Parent.Frame.Kick.MouseButton1Click:Connect(function()
- game.Players:WaitForChild(script.Parent.Frame.Player.Text):Kick(script.Parent.Frame.Reason.Text)
- end)
- end
- coroutine.wrap(TPTBH_fake_script)()
Add Comment
Please, Sign In to add comment