Situation:
Script:
local UIS = game:GetService("UserInputService")
local player = game.Players.LocalPlayer
local char = player.Character
UIS.InputBegan:Connect(function(input, isTyping) -- MASK
if isTyping then
return
elseif input.KeyCode == Enum.KeyCode.K then
print("hey")
end
end)
UIS.InputBegan:Connect(function(input, isTyping) -- HOOD
if isTyping then
return
elseif input.KeyCode == Enum.KeyCode.H then
local clonedhood = game.ReplicatedStorage.Hood:Clone()
clonedhood.Parent = player.Character
clonedhood.Handle.AccessoryWeld.Part1 = char.Head
end
end)