How to detect if input is being held down, using UserInputService?
COMMUNITY QUESTION
How to detect if input is being held down, using UserInputService?
1 answer
Here is a answer of my question, now make it your, understand how does it works and then edit it, good luck:
script.Parent.MouseButton1Down:Connect(function()
local isholding = true
script.Parent.MouseButton1Up:Connect(function()
isholding = false
end)
wait()
if isholding then
end
end)
Ok hope you can do it
1 comment
0
ok, thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Please attempt this code yourself and post it here so we can help you understand how to fix this issue. This is not a request site.
bruh