Banana slip script not working

Annotation 2020-09-01 101950
Annotation 2020-09-01 102412

what is wrong with my script?

Do this!
1 part.Touched:connect( function (hit)

2 if hit and hit.Parent and hit.Parent.Humanoid then

3 hit.Parent.Humanoid.Sit = true

4 else

5 wait()

6 end

7 end )

If you do use this, make sure you define your variable part.

1 Like

ohh okay thanks ( im new to scripting )

No problem, you can mark this thread as solved :slight_smile:

how do I do that? ( im new to the dev forum also )

1 Like

The spelling of Humanoid was wrong I guess

Yes I guess so :slight_smile: Glad I can help, let me know if you need any other help!

1 Like

I guess he means that change the variable of the part like
part.touched: to
(your name of the part).Touched and so on
I’m new to scripting too so I might be wrong

It is ok it is just he did not spell humanoid right so it could not add the script to the model, that is all