No no it’s just putting it together that’s a tad confusing for me, thats all!
If you could, can you possibly provide a sample/full code for this please? i know i sound a bit beggarish but i’m not trying to be, thanks!
Sure, can you give me some time tho I’m finishing something for my game. I’ll give you the code when I’m done with everything.
Sure! i’ll wait however long it takes, thanks man!
Do you mind if I send you a place directly instead of just giving the code? This way you can try it out by yourself. I’ll also add some comments so you can understand the pieces of code.
Sure! i don’t mind! a place is fine!
Alrighty, give me 5 minutes then so I can script it all and add comments as I said.
Oki doki! thank you so much! i cant express how thankful i am!
Here you go:
Sitting (No ClickDetectors and Seats).rbxl (35.6 KB)
Sorry if it took me a while more but I didn’t think about all the testing and possible errors that I was going to encounter. 5 minutes was too low anyways lmao.
That’s perfect! it’s exactly what i needed! just 1 last thing, is it possible so when you’re sitting in a seat, you can only sit in another seat if you hop out the one you’re sitting in? apart from that it’s perfect!
Oh sure you can. In the lines where I check if there already is another WeldConstraint (under the Target block not JumpRequest), instead of destroying the already existing weld and setting Humanoid.Sit
to false, return the function.
works! thanks so much! this is so helpful!
Ah… there is just 1 more thing before i stop posting on this thread
Is it possible to make an FE version? at the moment it’s Non-FE which is a bit of a bugger
Other people will see the character on the seats too tho, what do you mean that it’s not “FE”?
when i tried it with 2 players, no one could see anyone else on the seat or it was a bit buggy, another issue is that multiple people can sit in the same seat, but still its a great bit of code!
image to show what i meanon the ‘‘sitting’’ players screen they’re sitting on the chair, on the others screen they are just floating like that
Oh, I might know the reason. Instead of using Humanoid.Sit
make your own sitting animation and play it when the player seats and stop it when the player gets up. To prevent multiple players sitting in the same spot then you might need to use RemoteEvents.