come on, you read the title.
1 | local part = script.Parent |
2 |
3 | part.Touched:Connect( function (hit) |
4 | if hit.Parent:FindFirstChild( "Humanoid" ) then print ( "jumped" ) |
5 | hit.Parent.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) |
6 | end |
7 | end ) |