eiei11484
(eiei11484)
#1

UserInputService.InputBegan:Connect(function(input, gameProcessed)
if gameProcessed then
return nil
end
print(`InputBegan {input.KeyCode.Name}`)
self.isDragging = true
self.lastMousePosition = UserInputService:GetMouseLocation()
end)
Unknown” is output, so input.KeyCode
cannot be used to determine if
.
1 Like
You could use the Humanoids MoveDirection property to see if they’re walking in any shape or form:
1 Like
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.