Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local players = game:GetService("Players")
- players.PlayerAdded:Connect(function(player)
- if player.Name == "Admin1" or "Admin2" then
- player.Chatted:Connect(function(msg)
- if msg == ">give itemname" then -- type the command in the ""
- local item = game.ServerStorage.itemname:Clone() -- put the tool in server storage
- item.Parent = player.Backpack
- end
- end)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement