|
| 01 Apr 2014 04:37 PM |
local yes = { ["Jonnyboy2999"] = true; } local nope = { ["aleksa12432"]= true; ["xRageBullx"] = true; ["madiik"] = true; ["WowARealScripter"] = true; } game.Players.PlayerAdded:connect(function(plr) if nope[plr.Name]then plr:kick() elseif yes[plr.Name] then plr.Chatted:connect(function(msg) if msg:sub(1,2)=="b;"then for i,vv in pairs(game.Players:GetPlayers())do if vv.Name == msg:sub(3)then for i, plrs in pairs(game.Players:GetPlayers())do plrs:WaitForChild("PlayerGui") local screen = Instance.new("ScreenGui",plrs.PlayerGui) local frame = Instance.new("Frame",screen) frame.Size = UDim2.new(0.300000012, 0, 0.699999988, 0) frame.Position = UDim2.new(-1, 0, -1, 0) frame.BackgroundColor3 = BrickColor.new("Really black").Color local txtlbl = Instance.new("TextLabel",frame) txtlbl.Size = UDim2.new(0.949999988, 0, 0.949999988, 0) txtlbl.Position = UDim2.new(0, 5, 0, 5) txtlbl.Text = plr.Name.." has banned "..vv.Name txtlbl.TextScaled = true txtlbl.Font = "SourceSansBold" frame:TweenPosition(UDim2.new(0.35, 0, 0.35, 0), "Out", "Quad", 3, false) wait(5) frame:TweenPosition(UDim2.new(-1, 0, 0, 0), "Out", "Quad", 3, false) wait(3) frame:remove() vv:Kick() table.insert(nope, 1, vv.Name) end end end end end) end end)
It lets them rejoin but doesn't kick them again. |
|
|
| Report Abuse |
|
|
| 01 Apr 2014 04:52 PM |
| B1 (Btw Jonnyboy2999 is a alt I created this on.) |
|
|
| Report Abuse |
|