local player = game.Players.LocalPlayer
local remote = player.Character:FindFirstChild("Invisibility").Inv
local ui = script.Parent.Parent
local uis = game:GetService("UserInputService")
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.E and ui.Parent == player.PlayerGui then
print("keycode")
remote:FireServer(player)
end
end)
how do i make it not count when the player is writing in the chat?
** You are now Level 7! **