0% found this document useful (0 votes)
139 views2 pages

Kick Script

This document describes an Anti-griffers GUI created by Seonix for Roblox, which includes various UI elements such as text boxes for entering player nicknames and buttons for kicking or freezing players. The GUI is designed to be draggable and features a title and author label. It also contains functions that execute the kick and freeze actions based on the inputted nicknames when the respective buttons are clicked.

Uploaded by

yenihesapkanzi61
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
139 views2 pages

Kick Script

This document describes an Anti-griffers GUI created by Seonix for Roblox, which includes various UI elements such as text boxes for entering player nicknames and buttons for kicking or freezing players. The GUI is designed to be draggable and features a title and author label. It also contains functions that execute the kick and freeze actions based on the inputted nicknames when the respective buttons are clicked.

Uploaded by

yenihesapkanzi61
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

--Anti-griffers gui made by Seonix in Roblox, Pastebin and GitHub

--Instances:

local gui = Instance.new("ScreenGui")


local Frame = Instance.new("Frame")
local nkick = Instance.new("TextBox")
local nfreeze = Instance.new("TextBox")
local kick = Instance.new("TextButton")
local freeze = Instance.new("TextButton")
local namelab = Instance.new("TextLabel")
local madeby = Instance.new("TextLabel")
--Properties:
gui.Parent = game.CoreGui

Frame.Parent = gui
Frame.Name = "Anti-griffers frame"
Frame.Size = UDim2.new(0, 217, 0, 167)
Frame.Position = UDim2.new(0.781, 0, 0.732, 0)
Frame.BackgroundColor3 = Color3.new(255, 228, 179)
Frame.BorderSizePixel = 3
Frame.Active = true
Frame.Selectable = true
Frame.Draggable = true

namelab.Parent = Frame
namelab.Name = "Tittle"
namelab.Size = UDim2.new(0, 217, 0, 37)
namelab.BorderSizePixel = 3
namelab.BackgroundColor3 = Color3.new(255, 168, 105)
namelab.Text = "Anti-griffers gui"
namelab.Font = "Cartoon"
namelab.TextScaled = true

madeby.Parent = Frame
madeby.Name = "Autor"
madeby.Size = UDim2.new(0, 200, 0, 19)
madeby.Position = UDim2.new(0.037, 0, 0.269, 0)
madeby.BackgroundColor3 = Color3.new(255, 131, 69)
madeby.BorderSizePixel = 2
madeby.Text = "By Seonix"
madeby.Font = "ArialBold"
madeby.TextSize = 14

nkick.Parent = Frame
nkick.Name = "KickName"
nkick.Size = UDim2.new(0, 143, 0, 37)
nkick.Position = UDim2.new(0.051, 0, 0.437, 0)
nkick.BorderSizePixel = 3
nkick.BackgroundColor3 = Color3.new(255, 191, 0)
nkick.Text = "Nickname"
nkick.Font = "Cartoon"
nkick.TextSize = 27

nfreeze.Parent = Frame
nfreeze.Name = "FreezeName"
nfreeze.Size = UDim2.new(0, 143, 0, 37)
nfreeze.Position = UDim2.new(0.051, 0, 0.707, 0)
nfreeze.BorderSizePixel = 3
nfreeze.BackgroundColor3 = Color3.new(255, 191, 0)
nfreeze.Text = "Nickname"
nfreeze.Font = "Cartoon"
nfreeze.TextSize = 27

kick.Parent = Frame
kick.Name = "Kick"
kick.Size = UDim2.new(0, 46, 0, 37)
kick.Position = UDim2.new(0.747, 0, 0.437, 0)
kick.BorderSizePixel = 3
kick.BackgroundColor3 = Color3.new(255, 119, 0)
kick.Text = "Kick"
kick.Font = "Cartoon"
kick.TextSize = 20

freeze.Parent = Frame
freeze.Name = "Freeze"
freeze.Size = UDim2.new(0, 46, 0, 37)
freeze.Position = UDim2.new(0.747, 0, 0.707, 0)
freeze.BorderSizePixel = 3
freeze.BackgroundColor3 = Color3.new(255, 119, 0)
freeze.Text = "Freeze"
freeze.Font = "Cartoon"
freeze.TextSize = 14
--Functions:
local namek = nkick.Text
local namef = nfreeze.Text

kick.MouseButton1Click:Connect(function()
local ooooooof = nkick.Text
local plr1 = game.Players.LocalPlayer.Character
local plr2 = game.Players:FindFirstChild(ooooooof)
local plr22 = game.Workspace:FindFirstChild(ooooooof)
plr22:Remove()
plr2:Remove()
end)
freeze.MouseButton1Click:Connect(function()
local ooooooof = nfreeze.Text
local plr1 = game.Players.LocalPlayer.Character
local plr2 = game.Workspace:FindFirstChild(ooooooof)
plr2.HumanoidRootPart.Anchored = true
end)

You might also like