Hello, I am very confused, and someone with patience and kindness can explain to me somethings. I have made the following script:
function onKeyPress(key)
if key == Enum.KeyCode.R then
print("R was pressed")
end
end
game.ContextActionService:BindAction(onKeyPress)
Can someone explain to me why in the wiki there are three parameters? Also, what is ContextActionService and BindAction? Thanks for reading, and again, sorry for my confusion. ~Yoman1776

1 comment
Wow, thanks so much. That clarified absolutely everything! Thanks again!