Advertisement
Guest User

Untitled

a guest
Oct 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. local Player = game:GetService("Players").LocalPlayer
  2.  
  3.  
  4. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  5.     if v.Name ~= Player.Name then
  6.         local Mouse = v:GetMouse()
  7.         Mouse.KeyDown:Connect(function(Key)
  8.             print("["..v.Name.."]: Has pressed: "..Key)
  9.         end)
  10.     end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement