Ad
Log in to vote
0

Xbox if then else?

Asked by 1 month ago

How would I put a if then else line in this

wait(8.8) game:GetService('UserInputService').InputBegan:Connect(function(input) what i want it do do

1 answer

Log in to vote
0
Answered by 1 month ago

Hi! If I am understanding your question, then I think you just need to add this:

wait(8.8)
if game:GetService('UserInputService').InputBegan then
 --code
else
--code
end
Ad

Answer this question