I'm trying to make a seat so if you sit down it disables your jump power. I assume it would look something like this but it didn't work.
humanoid = script.Parent.Occupant
script.Parent.Touched:Connect(function()
humanoid.JumpPower = 0
end)
I also don't know whether it would be a local script or just a regular script. I also don't think it should be a touched event. If anyone could give some insight on this I'd appreciate it.
