Оптом и в розницу
Build A Boat For Treasure Script __link__ -
-- Snap the part to the grid part.CFrame = CFrame.new(part.Position.X, part.Position.Y, part.Position.Z) end
local BoatModule = {}
function BoatModule:createBoat(player, components) -- Create a new boat model local boat = Instance.new("Model") boat.Name = player.Name .. "'s Boat" build a boat for treasure script
return treasure end
-- Loop through components and add them to the boat for _, component in pairs(components) do local part = Instance.new("Part") part.Name = component.name part.Size = component.size part.Material = component.material part.Parent = boat -- Snap the part to the grid part