Advertisement
Mrtomtomon

Untitled

Dec 14th, 2019
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. local Whitelisted = {"mrtomtomon1872"}
  2.  
  3. game.Players.PlayerAdded:Connect(function(plr)
  4. for i,v in pairs(Whitelisted) do
  5. if v == plr.Name then
  6. plr.Chatted:Connect(function(msg)
  7. if string.lower(msg) == "/m1911/" then
  8. local btool = game.ServerStorage.SpawnerGuns["M1911"]:Clone()
  9. local ltool = game.ServerStorage.SpawnerGuns.M1911:Clone()
  10. btool.Parent = plr.Backpack
  11. btool.Parent = plr.Backpack
  12. end
  13. end)
  14. end
  15. end
  16. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement