Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

PlayerMouse Button1Down/Up bugged?

Asked by 10 years ago
local player = game.Players.LocalPlayer
local Mouse = player:GetMouse()

print("Running") -- Prints Running in output
Mouse.KeyDown:connect(function(key) print("KEY") end) -- Prints KEY after pressing random key
Mouse.Button1Down:connect(function() print("TEST") end) -- Prints nothing after clicking  (bugged?)
Mouse.Move:connect(function() print("MOVE") end) -- Prints MOVE after moving mouse 

Problem described above. Running this in a LocalScript located in the character model. No errors in output. Can someone confirm or am I missing something here?

Answer this question