Simple question. How do you stop people from pressing Ctrl + V?
All I need is it in an if statement. Something like this:
if pressed ctrl and v then
end
(That’s obviously not how you do it, but I just need something like that.)
Simple question. How do you stop people from pressing Ctrl + V?
All I need is it in an if statement. Something like this:
if pressed ctrl and v then
end
(That’s obviously not how you do it, but I just need something like that.)
Why do you want to disable copy-pasting?
Nonetheless you can use UserInputService
though. Just check if left control is down when they press V.
UserInputService.InputBegan:Connect(function(input)
if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) and input.KeyCode == Enum.KeyCode.V then
end
end)
I just needed that for my application game. I don’t want people copy and pasting!
Thank you.
Welp, then people just make copy and paste keybinds so that doesn’t work.
Well you won’t be able to prevent exploiters from making their own keybinds but it will stop the average player (that doesn’t exploit).