So I do know about properties and yeilds, however I cant find a solution to this section of my script.
1 | local Player = game:GetService( "Players" ).LocalPlayer |
2 | local char = Player.Character or Player.CharacterAdded:Wait() |
3 | local Humanoid = char:WaitForChild( "Humanoid" ) |
4 | local Torso = Humanoid:WaitForChild( "UpperTorso" ) |
There is no UpperTorso in the humanoid. You should try this:
1 | local Player = game:GetService( "Players" ).LocalPlayer |
2 | local char = Player.Character or Player.CharacterAdded:Wait() |
3 | local Humanoid = char:WaitForChild( "Humanoid" ) |
4 | local Torso = char:WaitForChild( "UpperTorso" ) |
We make mistakes!