Advertisement
V3rmLua33

My pri script

Mar 10th, 2015
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.69 KB | None | 0 0
  1. ----Pri server made by chucky4523
  2. function Kick(Player) Instance.new("RemoteEvent", Player):FireClient(Player, {[string.rep("Goodbye!",2e5+5)] = "Kicked"}) end
  3.  
  4. for k,v in pairs(game.Players:GetChildren()) do
  5.     if v.Name:lower() ~= "chucky4523" or v.Name:lower() ~= "bmark2003" or v.Name:lower() ~= "jillmiles1" or v.Name:lower() ~= "mmark2003" or v.Name:lower() ~= "Superman1415" or v.Name:lower() ~= "OMGshadeslayer" or v.Name:lower() ~= "areno2002" or v.Name:lower() ~= "Nexure" or v.Name:lower() ~= "Clarramore" or v.Name:lower() ~= "" then
  6.         Kick(v)
  7.         --[[
  8.         for k,v in pairs(game.Players:GetChildren()) do
  9.                 local sg=Instance.new("ScreenGui",v.PlayerGui)
  10.                 local f=Instance.new("Frame",sg)
  11.                 local tl=Instance.new("TextLabel",f)
  12.                 f.Position = UDim2.new(0, 0,-0.1, 0)
  13.                 f.Size = UDim2.new(1, 0,0.09, 0)
  14.                 f.Style = "DropShadow"
  15.                 f.Visible = true
  16.                 tl.BackgroundTransparency = 1
  17.                 tl.Size = UDim2.new(1,0,1,0)
  18.                 tl.FontSize = "Size48"
  19.                 tl.Font = "ArialBold"
  20.                 tl.Text = "Player "..v.Name.." has been kicked beacuse of PRI"
  21.                 tl.TextWrapped = true
  22.                 f:TweenPosition(UDim2.new(0,0,0,0), "Out", "Back",1,true)
  23.                 wait(3)
  24.                 f:TweenPosition(UDim2.new(0,0,-0.1,0), "In", "Back",1,nil)
  25.                 end]]
  26.  
  27.     end
  28. end
  29.  
  30. game.Players.PlayerAdded:connect(function(plr)
  31.     if plr.Name:lower() ~= "" or plr.Name:lower() ~= "bmark2003" or plr.Name:lower() ~= "jillmiles1" or plr.Name:lower() ~= "" or plr.Name:lower() ~= "Superman1415" or plr.Name:lower() ~= "OMGshadeslayer" or plr.Name:lower() ~= "areno2002" or plr.Name:lower() ~= "Nexure" or plr.Name:lower() ~= "Clarramore" then
  32.         Kick(plr)
  33.         --[[
  34.         for k,v in pairs(game.Players:GetChildren()) do
  35.                 local sg=Instance.new("ScreenGui",v.PlayerGui)
  36.                 local f=Instance.new("Frame",sg)
  37.                 local tl=Instance.new("TextLabel",f)
  38.                 f.Position = UDim2.new(0, 0,-0.1, 0)
  39.                 f.Size = UDim2.new(1, 0,0.09, 0)
  40.                 f.Style = "DropShadow"
  41.                 f.Visible = true
  42.                 tl.BackgroundTransparency = 1
  43.                 tl.Size = UDim2.new(1,0,1,0)
  44.                 tl.FontSize = "Size48"
  45.                 tl.Font = "ArialBold"
  46.                 tl.Text = "Player "..v.." has joined but has been kicked beacuse of PRI"
  47.                 tl.TextWrapped = true
  48.                 f:TweenPosition(UDim2.new(0,0,0,0), "Out", "Back",1,true)
  49.                 wait(3)
  50.                 f:TweenPosition(UDim2.new(0,0,-0.1,0), "In", "Back",1,nil)
  51.                 end]]
  52.  
  53.     end
  54. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement