1 | function on Player.Leave.Model |
2 | model:destory() |
3 | end |
I don't know any other way to make that work.
Easy, When you get in the boat it creates a weld.
So do
1 | while true do |
2 | wait() |
3 | if script.Parent:FindFirstChild( "Weld" ) ~ = nil --Change the weld name to the actual welds name. |
4 | then |
5 | script.Parent.Parent:remove() |
6 | end |
7 | end |
This is a bit rusty. But it should work. Make sure there is a script that enables this one on touch.
You can just add a script on the boat model to delete it. And make it Disabled. Then make another script which detects players and launches the destroy script on the boat :/