gab=false
game.Players.PlayerAdded:connect(function(playa)
playa.CharacterAdded:connect(function(char)
char.Humanoid.Changed:connect(function()
if char:findFirstChild("Football") then
if char.Humanoid.Jump and not gab then
char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(-40),0,0)
gab=true
elseif not char.Humanoid.Jump then
gab=false
end end end
)
end
)
end
)
✓ ANSWER ACCEPTED
Help me fix this script please?
1 answer
✓ Accepted answer
gab=false
game.Players.PlayerAdded:connect(function(playa)
playa.CharacterAdded:connect(function(char)
char.Humanoid.Changed:connect(function()
if char:FindFirstChild("Football") then -- Fixed this. Your FindFirstChild had a lowercase F.
if char.Humanoid.Jump and not gab then
char.Torso.CFrame=char.Torso.CFrame*CFrame.Angles(math.rad(-40),0,0)
gab=true
elseif not char.Humanoid.Jump then
gab=false
end end end
)
end
)
end
)
Read the comment I left in the script.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
https://scriptinghelpers.org/help/how-post-good-questions-answers