return BoatModule The boat movement system uses Roblox's built-in physics to simulate movement and interactions. The script applies forces to the boat based on user input, causing it to accelerate, brake, and turn.
-- BoatModule.lua
return treasure end
-- Snap the part to the grid part.CFrame = CFrame.new(part.Position.X, part.Position.Y, part.Position.Z) end build a boat for treasure script