Hack To Kick Out Roblox Players
Local Target = Players:FindFirstChild (string.sub (Message,6)) - Defending the target using a varbile. Stirng.sub is the time used to get all of the characters behind 'kick '. If Target = nil then Checking if the target is found using a if statement.
Aug 24th, 2019
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
Roblox Kick Off Hack Script
- -- Version: 2.82
- local KickGui = Instance.new('ScreenGui')
- local Frame = Instance.new('Frame')
- local Kick = Instance.new('TextButton')
- local Reason = Instance.new('TextBox')
- KickGui.Name = 'KickGui'
- KickGui.Parent = game.ServerScriptService.KickHandler
- KickGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- GuiToggle.Parent = KickGui
- GuiToggle.BackgroundTransparency = 0.20000000298023
- GuiToggle.Position = UDim2.new(0.00616903137, 0, 0.903864682, 0)
- GuiToggle.Size = UDim2.new(0.0876619443, 0, 0.0782608688, 0)
- GuiToggle.Text = 'Kick Player'
- GuiToggle.TextScaled = true
- GuiToggle.TextWrapped = true
- Frame.Parent = KickGui
- Frame.BackgroundTransparency = 0.20000000298023
- Frame.Position = UDim2.new(0.400000006, 0, 0.349999994, 0)
- Frame.Size = UDim2.new(0.200000003, 0, 0.300000012, 0)
- Player.Parent = Frame
- Player.BackgroundTransparency = 0.10000000149012
- Player.Position = UDim2.new(0.0500000641, 0, 0.059661787, 0)
- Player.Size = UDim2.new(0.899999976, 0, 0.158454224, 0)
- Player.PlaceholderColor3 = Color3.new(0, 0, 0)
- Player.Text = '
- Player.TextSize = 30
- Kick.Parent = Frame
- Kick.BackgroundTransparency = 0.10000000149012
- Kick.Position = UDim2.new(0.049352251, 0, 0.63285023, 0)
- Kick.Size = UDim2.new(0.302590966, 0, 0.300000012, 0)
- Kick.Text = 'Kick'
- Kick.TextSize = 25
- Cancel.Parent = Frame
- Cancel.BackgroundTransparency = 0.10000000149012
- Cancel.Position = UDim2.new(0.644663751, 0, 0.63285023, 0)
- Cancel.Size = UDim2.new(0.302590966, 0, 0.300000012, 0)
- Cancel.Text = 'Cancel'
- Cancel.TextSize = 25
- Reason.Parent = Frame
- Reason.BackgroundTransparency = 0.10000000149012
- Reason.Position = UDim2.new(0.0500000641, 0, 0.248067647, 0)
- Reason.Size = UDim2.new(0.899999976, 0, 0.361352742, 0)
- Reason.PlaceholderColor3 = Color3.new(0, 0, 0)
- Reason.Text = '
- Reason.TextSize = 30
- -- Scripts:
- function SCRIPT_YUCB77_FAKESCRIPT() -- KickGui.LocalScript
- script.Parent = KickGui
- script.Parent.GuiToggle.MouseButton1Click:connect(function()
- frame.Visible = false
- frame.Visible = true
- end)
- frame.Cancel.MouseButton1Click:connect(function()
- 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
- coroutine.resume(coroutine.create(SCRIPT_YUCB77_FAKESCRIPT))
Nov 27th, 2014
Never
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
- local admin = 'itsJaden2' --Who is the one who has the admin.
- local Players = Game:GetService('Players') Definding service using a varaiable.
- Players.PlayerAdded:connect(function(Player)--Event and function when a player has joined.
- if Player.Name Admin then --Checking if the player is the admin.
- Player.Chatted:connect(function(Message)-- Event
- if Message ~= nil then --Checking if the message is not nil with the if statement. (The Message is in nil when teamchat is used.
- if string.lower(string.sub(Message,1, 4) 'kick' then --Checking if the kick command is used string.sub is used to get serval characters of the string, this cause the first four. string.lower is used to convert the string to a lowercase string. Saying KICK or Kick instead of kick would work as well.
- local Target = Players:FindFirstChild(string.sub(Message,6)) -- Defending the target using a varbile. stirng.sub is the time used to get all of the characters behind 'kick '.
- if Target ~= nil then Checking if the target is found using a if statement.
- Target:Kick() --Removing the target from the game using the: Kick() method on the player object.
- end -- Closing the statement if event at line twevle
- end) --Closing the statement if event at line nine.
- end) --Closing the statement if event at line eight.
- end) -- Closing the if statement at line six.
RAW Paste Data