Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local KickGui = Instance.new("ScreenGui")
- local GuiToggle = Instance.new("TextButton")
- local Frame = Instance.new("Frame")
- local Player = Instance.new("TextBox")
- local Kick = Instance.new("TextButton")
- local Cancel = Instance.new("TextButton")
- local Reason = Instance.new("TextBox")
- --Properties:
- KickGui.Name = "KickGui"
- KickGui.Parent = game.ServerScriptService.KickHandler
- KickGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- KickGui.ResetOnSpawn = false
- GuiToggle.Name = "GuiToggle"
- GuiToggle.Parent = KickGui
- GuiToggle.BackgroundColor3 = Color3.new(0, 0, 0)
- GuiToggle.BackgroundTransparency = 0.20000000298023
- GuiToggle.BorderSizePixel = 0
- GuiToggle.Position = UDim2.new(0.00616903137, 0, 0.903864682, 0)
- GuiToggle.Size = UDim2.new(0.0876619443, 0, 0.0782608688, 0)
- GuiToggle.Font = Enum.Font.Cartoon
- GuiToggle.Text = "Kick Player"
- GuiToggle.TextColor3 = Color3.new(1, 1, 1)
- GuiToggle.TextScaled = true
- GuiToggle.TextSize = 25
- GuiToggle.TextWrapped = true
- Frame.Parent = KickGui
- Frame.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.400000006, 0, 0.349999994, 0)
- Frame.Size = UDim2.new(0.200000003, 0, 0.300000012, 0)
- Frame.Visible = false
- Player.Name = "Player"
- Player.Parent = Frame
- Player.BackgroundColor3 = Color3.new(1, 1, 1)
- Player.BackgroundTransparency = 0.10000000149012
- Player.BorderSizePixel = 0
- Player.Position = UDim2.new(0.0500000641, 0, 0.059661787, 0)
- Player.Size = UDim2.new(0.899999976, 0, 0.158454224, 0)
- Player.Font = Enum.Font.SourceSansBold
- Player.PlaceholderColor3 = Color3.new(0, 0, 0)
- Player.PlaceholderText = "Player Name"
- Player.Text = ""
- Player.TextColor3 = Color3.new(0, 0, 0)
- Player.TextSize = 30
- Player.TextWrapped = true
- Kick.Name = "Kick"
- Kick.Parent = Frame
- Kick.BackgroundColor3 = Color3.new(1, 1, 1)
- Kick.BackgroundTransparency = 0.10000000149012
- Kick.BorderSizePixel = 0
- Kick.Position = UDim2.new(0.049352251, 0, 0.63285023, 0)
- Kick.Size = UDim2.new(0.302590966, 0, 0.300000012, 0)
- Kick.Font = Enum.Font.SourceSans
- Kick.Text = "Kick"
- Kick.TextColor3 = Color3.new(0, 0, 0)
- Kick.TextSize = 25
- Kick.TextWrapped = true
- Cancel.Name = "Cancel"
- Cancel.Parent = Frame
- Cancel.BackgroundColor3 = Color3.new(1, 1, 1)
- Cancel.BackgroundTransparency = 0.10000000149012
- Cancel.BorderSizePixel = 0
- Cancel.Position = UDim2.new(0.644663751, 0, 0.63285023, 0)
- Cancel.Size = UDim2.new(0.302590966, 0, 0.300000012, 0)
- Cancel.Font = Enum.Font.SourceSans
- Cancel.Text = "Cancel"
- Cancel.TextColor3 = Color3.new(0, 0, 0)
- Cancel.TextSize = 25
- Cancel.TextWrapped = true
- Reason.Name = "Reason"
- Reason.Parent = Frame
- Reason.BackgroundColor3 = Color3.new(1, 1, 1)
- Reason.BackgroundTransparency = 0.10000000149012
- Reason.BorderSizePixel = 0
- Reason.Position = UDim2.new(0.0500000641, 0, 0.248067647, 0)
- Reason.Size = UDim2.new(0.899999976, 0, 0.361352742, 0)
- Reason.Font = Enum.Font.SourceSansBold
- Reason.PlaceholderColor3 = Color3.new(0, 0, 0)
- Reason.PlaceholderText = "Reason"
- Reason.Text = ""
- Reason.TextColor3 = Color3.new(0, 0, 0)
- Reason.TextSize = 30
- Reason.TextWrapped = true
- -- Scripts:
- function SCRIPT_YUCB77_FAKESCRIPT() -- KickGui.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = KickGui
- local frame = script.Parent.Frame
- script.Parent.GuiToggle.MouseButton1Click:connect(function()
- if frame.Visible == true then
- frame.Visible = false
- else
- frame.Visible = true
- end
- end)
- frame.Cancel.MouseButton1Click:connect(function()
- frame.Visible = false
- end)
- frame.Kick.MouseButton1Click:connect(function()
- if game.Players:FindFirstChild(frame.Player.Text) then
- game.ReplicatedStorage.KickPlayer:FireServer(frame.Player.Text, frame.Reason.Text)
- end
- end)
- end
- coroutine.resume(coroutine.create(SCRIPT_YUCB77_FAKESCRIPT))
Advertisement
Advertisement