The issue seems to be with pressing W, I tried it without the isTyping portion and it still wouldn’t print W. I am confused.
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local UserInputService = game:GetService("UserInputService")
local player = Players.LocalPlayer
UserInputService.InputBegan:Connect(function(input, isTyping)
if not isTyping and input == Enum.KeyCode.W then
ReplicatedStorage.Fly:FireServer()
end
end)