Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- loadstring(game:HttpGet("https://pastebin.com/raw/L3b1573b"))()
- local gui = Instance.new("ScreenGui")
- gui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- gui.ResetOnSpawn = false
- gui.IgnoreGuiInset = true
- gui.Enabled = true
- local container = Instance.new("Frame")
- container.Size = UDim2.new(0.3, 0, 0.2, 0)
- container.Position = UDim2.new(0.7, 0, 0, 0)
- container.BackgroundTransparency = 0.5
- container.BackgroundColor3 = Color3.fromRGB(28, 28, 28)
- container.BorderSizePixel = 0
- container.Parent = gui
- local scriptTextBox = Instance.new("TextBox")
- scriptTextBox.Size = UDim2.new(1, 0, 0.75, 0)
- scriptTextBox.Position = UDim2.new(0, 0, 0, 0)
- scriptTextBox.Text = "..."
- scriptTextBox.TextWrapped = true
- scriptTextBox.TextXAlignment = Enum.TextXAlignment.Center
- scriptTextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- scriptTextBox.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- scriptTextBox.BackgroundTransparency = 0.5
- scriptTextBox.Font = Enum.Font.SourceSans
- scriptTextBox.TextSize = 20
- scriptTextBox.Parent = container
- local executeButton = Instance.new("TextButton")
- executeButton.Size = UDim2.new(1, 0, 0.25, 0)
- executeButton.Position = UDim2.new(0, 0, 0.75, 0)
- executeButton.Text = "kick player"
- executeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- executeButton.BackgroundColor3 = Color3.fromRGB(37, 37, 37)
- executeButton.BackgroundTransparency = 0.5
- executeButton.Font = Enum.Font.SourceSansBold
- executeButton.TextSize = 20
- executeButton.Parent = container
- local function executeScript()
- local targetAbbreviation = scriptTextBox.Text
- local targetPlayer
- for _, v in pairs(game.Players:GetPlayers()) do
- if string.sub(v.Name, 1, #targetAbbreviation):lower() == targetAbbreviation:lower() then
- targetPlayer = v
- break
- end
- end
- if targetPlayer then
- local PlayerKickRecall = targetPlayer.Name
- local OGL = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- for i, v in pairs(game.Workspace.Lobby.brazil:GetChildren()) do
- v.CanTouch = false
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(-725, 310, -2)
- task.wait(0.25)
- game:GetService("ReplicatedStorage").Recall:InvokeServer(game:GetService("Players").LocalPlayer.Character.Recall)
- wait(2.7)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players[PlayerKickRecall].Character.HumanoidRootPart.CFrame
- task.wait(1)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = OGL
- for i, v in pairs(game.Workspace.Lobby.brazil:GetChildren()) do
- v.CanTouch = true
- end
- else
- warn("This player doesn't exist.")
- end
- end
- executeButton.MouseButton1Click:Connect(executeScript)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement