Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

[*it would be **le epic** if you answered this**] Whats the function for jumping?

Example: I'm trying to make a script so when you jump a frame comes on your screen, how would the script know if someone jumped?

Someone said

UserInputService.JumpRequest:Connect(function() 
--the script
end)

would work but in "UserInputService" theres a blue line under it that says "(some thing i dont wan to type)Unknown global(some other thing I dont want to type) PLease help.

2 comments

0

By in I mean when I typed my script there was a blue line under UserInputService

0

just check if spacebar was pressed or check if the humanoid.Jump changed (bool)

1 answer

✓ Accepted answer

bruh did you even bother googling UserInputService ?

you gotta define it first like this local UserInputService = game:GetService("UserInputService")

see wiki

This discussion is preserved as it was. New answers, comments, and votes are closed.