Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How would I make a boat dissapear after you get off it?

function on Player.Leave.Model
model:destory()
end

I don't know any other way to make that work.

2 answers

✓ Accepted answer

Easy, When you get in the boat it creates a weld.

So do

while true do
wait()
if script.Parent:FindFirstChild("Weld") ~= nil --Change the weld name to the actual welds name. 
then
script.Parent.Parent:remove()
end
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 :/

This discussion is preserved as it was. New answers, comments, and votes are closed.