Advertisement
therobIoxadmin

Untitled

May 3rd, 2015
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. Allowed = {"iWafflecious"}
  2. msgg = "lol." --Message you have to say to initiate the private server
  3.  
  4. s = Instance.new("StringValue",game.Lighting)
  5. s.Name = "LockServ()"
  6. s.Value = [[
  7.  
  8. game.Players.PlayerAdded:connect(function(plr)
  9. wait(.1)
  10. plr:Kick()
  11. end)
  12.  
  13. ]]
  14.  
  15. game.Players.LocalPlayer.Chatted:connect(function(msg)
  16. for i,v in pairs(Allowed) do
  17. if v:lower() == game.Players.LocalPlayer.Name:lower() then
  18. if msg:lower() == msgg:lower() then
  19. loadstring(game.Lighting:FindFirstChild("LockServ()").Value)()
  20. end end end end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement