local tabDown = false local input = game:GetService("UserInputService") local player = game.Players.LocalPlayer
input.InputBegan:connect(function(k) local key = k.KeyCode if key == Enum.KeyCode.E then tabDown = true end end)
input.InputEnded:connect(function(k) local key = k.KeyCode if key == Enum.KeyCode.E then tabDown = false end end)
while wait(0.05) do if tabDown then local Event = game:GetService("ReplicatedStorage").Specials.throatslit local A_1 = 2000 Event:FireServer(A_1) end end

3 comments
InputBegan has a second parameter called GameProcessedEvent, if you add that parameter in and add an if statement saying if not GPE then it will not run if ur typing in chat for example
well its just like too mixed and confusing for me if u can i wish pls do it for me
like i want it to be holdable too when doesnt fire when player is typing